From owner-freebsd-hackers@FreeBSD.ORG Sun Sep 11 03:15:38 2005 Return-Path: X-Original-To: freebsd-hackers@freebsd.org 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 51D5A16A41F for ; Sun, 11 Sep 2005 03:15:38 +0000 (GMT) (envelope-from killing@multiplay.co.uk) Received: from multiplay.co.uk (core6.multiplay.co.uk [85.236.96.23]) by mx1.FreeBSD.org (Postfix) with ESMTP id BD75543D45 for ; Sun, 11 Sep 2005 03:15:37 +0000 (GMT) (envelope-from killing@multiplay.co.uk) Received: from vader ([212.135.219.179]) by multiplay.co.uk (multiplay.co.uk [85.236.96.23]) (MDaemon.PRO.v8.1.1.R) with ESMTP id md50001809503.msg for ; Sun, 11 Sep 2005 04:14:56 +0100 Message-ID: <003801c5b67e$f4c96120$b3db87d4@multiplay.co.uk> From: "Steven Hartland" To: Date: Sun, 11 Sep 2005 04:14:39 +0100 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.2670 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2670 X-Spam-Processed: multiplay.co.uk, Sun, 11 Sep 2005 04:14:56 +0100 (not processed: message from valid local sender) X-MDRemoteIP: 212.135.219.179 X-Return-Path: killing@multiplay.co.uk X-MDaemon-Deliver-To: freebsd-hackers@freebsd.org X-MDAV-Processed: multiplay.co.uk, Sun, 11 Sep 2005 04:14:57 +0100 Subject: setsockopt 228K fails with ERR#55 'No buffer space available' X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 11 Sep 2005 03:15:38 -0000 The following fails with ERR#55 'No buffer space available' int buf_size = (228*1024); int ret = setsockopt( s, SOL_SOCKET, SO_SNDBUF, (void*) &buf_size, sizeof( buf_size ) ); This appears like its controlled by kern.ipc.maxsockbuf which is default of 256k so the above should work if its per socket and not total? Does anyone know the implications of increasing this to say 512k and is it per socket or global? Does anyone have any experience with apps setting SNDBUF to large values like 256k? Steve / K ================================================ This e.mail is private and confidential between Multiplay (UK) Ltd. and the person or entity to whom it is addressed. In the event of misdirection, the recipient is prohibited from using, copying, printing or otherwise disseminating it or any information contained in it. In the event of misdirection, illegible or incomplete transmission please telephone (023) 8024 3137 or return the E.mail to postmaster@multiplay.co.uk. From owner-freebsd-hackers@FreeBSD.ORG Sun Sep 11 04:22:43 2005 Return-Path: X-Original-To: freebsd-hackers@freebsd.org 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 A3A5516A420 for ; Sun, 11 Sep 2005 04:22:43 +0000 (GMT) (envelope-from dan@dan.emsphone.com) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by mx1.FreeBSD.org (Postfix) with ESMTP id 38C8743D46 for ; Sun, 11 Sep 2005 04:22:43 +0000 (GMT) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.13.1/8.13.3) id j8B4MgO5030811; Sat, 10 Sep 2005 23:22:42 -0500 (CDT) (envelope-from dan) Date: Sat, 10 Sep 2005 23:22:42 -0500 From: Dan Nelson To: Steven Hartland Message-ID: <20050911042242.GM84582@dan.emsphone.com> References: <003801c5b67e$f4c96120$b3db87d4@multiplay.co.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <003801c5b67e$f4c96120$b3db87d4@multiplay.co.uk> X-OS: FreeBSD 5.4-STABLE X-message-flag: Outlook Error User-Agent: Mutt/1.5.10i Cc: freebsd-hackers@freebsd.org Subject: Re: setsockopt 228K fails with ERR#55 'No buffer space available' X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 11 Sep 2005 04:22:43 -0000 In the last episode (Sep 11), Steven Hartland said: > The following fails with ERR#55 'No buffer space available' > int buf_size = (228*1024); > int ret = setsockopt( s, SOL_SOCKET, SO_SNDBUF, (void*) &buf_size, sizeof( > buf_size ) ); > > This appears like its controlled by kern.ipc.maxsockbuf which is > default of 256k so the above should work if its per socket and not > total? I think you want net.inet.tcp.sendspace; kern.ipc.maxsockbuf seems to be unused based on a quick grep of the source. Also check the sockbufsize rlimit, although I think that defaults to unlimited. -- Dan Nelson dnelson@allantgroup.com From owner-freebsd-hackers@FreeBSD.ORG Sun Sep 11 09:40:09 2005 Return-Path: X-Original-To: hackers@FreeBSD.org 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 5F77216A41F for ; Sun, 11 Sep 2005 09:40:09 +0000 (GMT) (envelope-from andreas@klemm.apsfilter.org) Received: from srv1.cosmo-project.de (srv1.cosmo-project.de [213.83.6.106]) by mx1.FreeBSD.org (Postfix) with ESMTP id D37CE43D45 for ; Sun, 11 Sep 2005 09:40:08 +0000 (GMT) (envelope-from andreas@klemm.apsfilter.org) Received: from srv1.cosmo-project.de (localhost [IPv6:::1]) by srv1.cosmo-project.de (8.12.10/8.12.10) with ESMTP id j8B9e6BS064023 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO) for ; Sun, 11 Sep 2005 11:40:06 +0200 (CEST) (envelope-from andreas@klemm.apsfilter.org) Received: (from uucp@localhost) by srv1.cosmo-project.de (8.12.10/8.12.10/Submit) with UUCP id j8B9e6K9064022 for hackers@FreeBSD.org; Sun, 11 Sep 2005 11:40:06 +0200 (CEST) (envelope-from andreas@klemm.apsfilter.org) Received: from titan.klemm.apsfilter.org (localhost [127.0.0.1]) by klemm.apsfilter.org (8.13.3/8.13.1) with ESMTP id j8B9dXMg007824 for ; Sun, 11 Sep 2005 11:39:33 +0200 (CEST) (envelope-from andreas@titan.klemm.apsfilter.org) Received: (from andreas@localhost) by titan.klemm.apsfilter.org (8.13.3/8.13.1/Submit) id j8B9dXqQ007823 for hackers@FreeBSD.org; Sun, 11 Sep 2005 11:39:33 +0200 (CEST) (envelope-from andreas) Date: Sun, 11 Sep 2005 11:39:33 +0200 From: Andreas Klemm To: hackers@FreeBSD.org Message-ID: <20050911093933.GA7277@titan.klemm.apsfilter.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Operating-System: FreeBSD 5.4-STABLE X-Disclaimer: A free society is one where it is safe to be unpopular User-Agent: Mutt/1.5.9i X-Mailman-Approved-At: Sun, 11 Sep 2005 11:09:01 +0000 Cc: Subject: need hints to recover lost FreeBSD partition entries in MBR ... X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 11 Sep 2005 09:40:09 -0000 I unluckily lost the partition table of my 1st disc in a 2 disc system. Tip: avoid gag boot manager and don't do my mistakes ... Having a printout of the df command I was able to re-create all of my fat32 partitions on disc XP boot and 4x FAT32 in an extended part. Now I'm looking for suggestions how to be able to compute the correct values for Slice 3 and 4 which I could not recover so far. It irritates me a bit, that the slices 1+2 already work so well, so theoretically mounting of at least slice 3 should be possible now. Or are there some sanity checks in the kernel that only allows creating the devices in devfs if the size entries in the disklabel and the entry in the partition table of the MBR fit both ?? Maybe I'm only off-by 1 or 2 cylinders in the partition table. Do you know a tool or a method how I can compute/find the start cylinder of FreeBSD partitions ? Perhaps Im already at the right start cylinder and now only have to de-chiffre the entries of the BSD disklabel, which should be in the 1st sector of sector 312581808 ??? This I was able to restore, which works well. Disk name: ad4 FDISK Partition Editor DISK Geometry: 19457 cyls/255 heads/63 sectors = 312576705 sectors (152625MB) Offset Size(ST) End Name PType Desc Subtype Flags 0 63 62 - 12 unused 0 63 24579387 24579449 ad4s1 7 fat 11 24579450 174080340 198659789 ad4s2 4 extended DOS 5 198659790 113922018 312581807 - 12 unused 0 I only had this data available to compute the rest... Filesystem 1k-blocks Used Avail Capacity Mounted on /dev/ad4s3d 8119448 4 7469890 0% /test /dev/ad4s4d 46026106 24134198 18209820 57% /data This resulted in that partitioning, which unluckily doesnt work. Disk name: ad4 FDISK Partition Editor DISK Geometry: 19457 cyls/255 heads/63 sectors = 312576705 sectors (152625MB) Offset Size(ST) End Name PType Desc Subtype Flags 0 63 62 - 12 unused 0 63 24579387 24579449 ad4s1 7 fat 11 24579450 174080340 198659789 ad4s2 4 extended DOS 5 198659790 17077095 215736884 ad4s3 8 freebsd 165 215736885 96839820 312576704 ad4s4 8 freebsd 165 312576705 5103 312581807 - 12 unused 0 In devfs I only see the devices rw-r----- 1 root operator 4, 17 11 Sep 09:56 ad4s3 crw-r----- 1 root operator 4, 27 11 Sep 09:56 ad4s3c crw-r----- 1 root operator 4, 18 11 Sep 09:56 ad4s4 crw-r----- 1 root operator 4, 28 11 Sep 09:56 ad4s4c But not ad4s3d and ad4s4d which would indicate I got the partition table entries for Slice 3+4 right. Andreas /// -- http://www.64bits.de http://www.apsfilter.org http://people.FreeBSD.org/~andreas From owner-freebsd-hackers@FreeBSD.ORG Sun Sep 11 10:34:28 2005 Return-Path: X-Original-To: hackers@FreeBSD.org 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 A195516A41F for ; Sun, 11 Sep 2005 10:34:28 +0000 (GMT) (envelope-from andreas@klemm.apsfilter.org) Received: from srv1.cosmo-project.de (srv1.cosmo-project.de [213.83.6.106]) by mx1.FreeBSD.org (Postfix) with ESMTP id E709143D45 for ; Sun, 11 Sep 2005 10:34:27 +0000 (GMT) (envelope-from andreas@klemm.apsfilter.org) Received: from srv1.cosmo-project.de (localhost [IPv6:::1]) by srv1.cosmo-project.de (8.12.10/8.12.10) with ESMTP id j8BAYQBS065431 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO) for ; Sun, 11 Sep 2005 12:34:26 +0200 (CEST) (envelope-from andreas@klemm.apsfilter.org) Received: (from uucp@localhost) by srv1.cosmo-project.de (8.12.10/8.12.10/Submit) with UUCP id j8BAYQDD065430 for hackers@FreeBSD.org; Sun, 11 Sep 2005 12:34:26 +0200 (CEST) (envelope-from andreas@klemm.apsfilter.org) Received: from titan.klemm.apsfilter.org (localhost [127.0.0.1]) by klemm.apsfilter.org (8.13.3/8.13.1) with ESMTP id j8BAYAW8009559 for ; Sun, 11 Sep 2005 12:34:10 +0200 (CEST) (envelope-from andreas@titan.klemm.apsfilter.org) Received: (from andreas@localhost) by titan.klemm.apsfilter.org (8.13.3/8.13.1/Submit) id j8BAYARg009558 for hackers@FreeBSD.org; Sun, 11 Sep 2005 12:34:10 +0200 (CEST) (envelope-from andreas) Date: Sun, 11 Sep 2005 12:34:10 +0200 From: Andreas Klemm To: hackers@FreeBSD.org Message-ID: <20050911103410.GA9536@titan.klemm.apsfilter.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Operating-System: FreeBSD 5.4-STABLE X-Disclaimer: A free society is one where it is safe to be unpopular User-Agent: Mutt/1.5.9i X-Mailman-Approved-At: Sun, 11 Sep 2005 11:46:40 +0000 Cc: Subject: need hints to recover lost FreeBSD partition entries in MBR ... X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 11 Sep 2005 10:34:28 -0000 I unluckily lost the partition table of my 1st disc in a 2 disc system. Tip: avoid gag boot manager and don't do my mistakes ... Having a printout of the df command I was able to re-create all of my fat32 partitions on disc XP boot and 4x FAT32 in an extended part. Now I'm looking for suggestions how to be able to compute the correct values for Slice 3 and 4 which I could not recover so far. It irritates me a bit, that the slices 1+2 already work so well, so theoretically mounting of at least slice 3 should be possible now. Or are there some sanity checks in the kernel that only allows creating the devices in devfs if the size entries in the disklabel and the entry in the partition table of the MBR fit both ?? Maybe I'm only off-by 1 or 2 cylinders in the partition table. Do you know a tool or a method how I can compute/find the start cylinder of FreeBSD partitions ? Perhaps Im already at the right start cylinder and now only have to de-chiffre the entries of the BSD disklabel, which should be in the 1st sector of sector 312581808 ??? This I was able to restore, which works well. Disk name: ad4 FDISK Partition Editor DISK Geometry: 19457 cyls/255 heads/63 sectors = 312576705 sectors (152625MB) Offset Size(ST) End Name PType Desc Subtype Flags 0 63 62 - 12 unused 0 63 24579387 24579449 ad4s1 7 fat 11 24579450 174080340 198659789 ad4s2 4 extended DOS 5 198659790 113922018 312581807 - 12 unused 0 I only had this data available to compute the rest... Filesystem 1k-blocks Used Avail Capacity Mounted on /dev/ad4s3d 8119448 4 7469890 0% /test /dev/ad4s4d 46026106 24134198 18209820 57% /data This resulted in that partitioning, which unluckily doesnt work. Disk name: ad4 FDISK Partition Editor DISK Geometry: 19457 cyls/255 heads/63 sectors = 312576705 sectors (152625MB) Offset Size(ST) End Name PType Desc Subtype Flags 0 63 62 - 12 unused 0 63 24579387 24579449 ad4s1 7 fat 11 24579450 174080340 198659789 ad4s2 4 extended DOS 5 198659790 17077095 215736884 ad4s3 8 freebsd 165 215736885 96839820 312576704 ad4s4 8 freebsd 165 312576705 5103 312581807 - 12 unused 0 In devfs I only see the devices rw-r----- 1 root operator 4, 17 11 Sep 09:56 ad4s3 crw-r----- 1 root operator 4, 27 11 Sep 09:56 ad4s3c crw-r----- 1 root operator 4, 18 11 Sep 09:56 ad4s4 crw-r----- 1 root operator 4, 28 11 Sep 09:56 ad4s4c But not ad4s3d and ad4s4d which would indicate I got the partition table entries for Slice 3+4 right. Andreas /// -- Andreas Klemm - Powered by FreeBSD 5.4 Need a magic printfilter today ? -> http://www.apsfilter.org/ From owner-freebsd-hackers@FreeBSD.ORG Sun Sep 11 12:17:08 2005 Return-Path: X-Original-To: hackers@freebsd.org 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 B71D716A41F for ; Sun, 11 Sep 2005 12:17:08 +0000 (GMT) (envelope-from danger@wilbury.sk) Received: from mail.rulez.sk (DaEmoN.RuLeZ.sK [84.16.32.226]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3809A43D45 for ; Sun, 11 Sep 2005 12:17:08 +0000 (GMT) (envelope-from danger@wilbury.sk) Received: from localhost (localhost [127.0.0.1]) by mail.rulez.sk (Postfix) with ESMTP id 95A251CC68 for ; Sun, 11 Sep 2005 14:17:06 +0200 (CEST) Received: from danger.mcrn.sk (danger.mcrn.sk [84.16.37.254]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mail.rulez.sk (Postfix) with ESMTP id CE93F1CC61 for ; Sun, 11 Sep 2005 14:17:02 +0200 (CEST) Date: Sun, 11 Sep 2005 14:16:49 +0200 From: Daniel Gerzo X-Mailer: The Bat! (v3.5) UNREG / CD5BF9353B3B7091 X-Priority: 3 (Normal) Message-ID: <406058807.20050911141649@rulez.sk> To: hackers@freebsd.org In-Reply-To: <1567405732.20050910234315@rulez.sk> References: <1567405732.20050910234315@rulez.sk> MIME-Version: 1.0 Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg=sha1; boundary="----------721DC16E37777FAF" X-Virus-Scanned: by amavisd-new at mail.rulez.sk X-Spam-Status: No, score=-5.186 tagged_above=-999 required=5 tests=[ALL_TRUSTED=-3.3, AWL=0.713, BAYES_00=-2.599] X-Spam-Score: -5.186 X-Spam-Level: X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: [SOLVED] Re: Forcing boot to seek for files on other parition then `a' X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Daniel Gerzo List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 11 Sep 2005 12:17:08 -0000 This is a cryptographically signed message in MIME format. ------------721DC16E37777FAF Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Hello hackers, Saturday, September 10, 2005, 11:43:15 PM, I wrote: > Hello hackers, > Ok, I will describe the main problem here; > According to the boot(8) manual the automatic boot will attempt to > load /boot/loader from partition `a'. But there's no such partition > and I have /boot/loader under the `e' partition. I know only one and > the only normal way how to force to use `e' partition. This is done > throught the boot2 stage of boot process, when one need to manually > type 0:ad(0,e)/boot/loader to the console so boot process will be > able to use needed utilities. The main question is: > How to force boot procedure to automatically seek boot images on > other partition then `a', let's say on `e' one. Okay, with help of simon@ I've successfully hacked the boot2.c code so the boot process is seeking for boot images at the right place. Modicifaction I've done: sys/boot/i386/boot2/boot2.c around line 306 on RELENG_5 in the load() function I've added after declaration of variables: dsk.part =3D 4; /* for partition d dsk.part=3D3, for e =3D4,f =3D5 and so */ then in sys/boot/i386/boot2/ # make obj && make depend && make && make install and then # bsdlabel -B ad0s1 this does the trick. --=20 Sincerely, Daniel Gerzo ------------721DC16E37777FAF-- From owner-freebsd-hackers@FreeBSD.ORG Sun Sep 11 13:08:12 2005 Return-Path: X-Original-To: freebsd-hackers@freebsd.org 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 D875516A41F for ; Sun, 11 Sep 2005 13:08:12 +0000 (GMT) (envelope-from killing@multiplay.co.uk) Received: from multiplay.co.uk (core6.multiplay.co.uk [85.236.96.23]) by mx1.FreeBSD.org (Postfix) with ESMTP id 453F943D45 for ; Sun, 11 Sep 2005 13:08:11 +0000 (GMT) (envelope-from killing@multiplay.co.uk) Received: from vader ([212.135.219.179]) by multiplay.co.uk (multiplay.co.uk [85.236.96.23]) (MDaemon.PRO.v8.1.1.R) with ESMTP id md50001809958.msg for ; Sun, 11 Sep 2005 14:07:40 +0100 Message-ID: <002901c5b6d1$c1c35030$b3db87d4@multiplay.co.uk> From: "Steven Hartland" To: "Dan Nelson" References: <003801c5b67e$f4c96120$b3db87d4@multiplay.co.uk> <20050911042242.GM84582@dan.emsphone.com> Date: Sun, 11 Sep 2005 14:07:22 +0100 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.2670 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2670 X-Spam-Processed: multiplay.co.uk, Sun, 11 Sep 2005 14:07:40 +0100 (not processed: message from valid local sender) X-MDRemoteIP: 212.135.219.179 X-Return-Path: killing@multiplay.co.uk X-MDaemon-Deliver-To: freebsd-hackers@freebsd.org X-MDAV-Processed: multiplay.co.uk, Sun, 11 Sep 2005 14:07:41 +0100 Cc: freebsd-hackers@freebsd.org Subject: Re: setsockopt 228K fails with ERR#55 'No buffer space available' X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 11 Sep 2005 13:08:13 -0000 Thanks dan but I already tried that and it doesn't work but maxsockbuf does. Really looking for the affects that altering that might have and if its a good idea. 256k send and receive buffers on a socket seem very large to me. Steve ----- Original Message ----- From: "Dan Nelson" > In the last episode (Sep 11), Steven Hartland said: >> The following fails with ERR#55 'No buffer space available' >> int buf_size = (228*1024); >> int ret = setsockopt( s, SOL_SOCKET, SO_SNDBUF, (void*) &buf_size, sizeof( >> buf_size ) ); >> >> This appears like its controlled by kern.ipc.maxsockbuf which is >> default of 256k so the above should work if its per socket and not >> total? > > I think you want net.inet.tcp.sendspace; kern.ipc.maxsockbuf seems to > be unused based on a quick grep of the source. > > Also check the sockbufsize rlimit, although I think that defaults to > unlimited. ================================================ This e.mail is private and confidential between Multiplay (UK) Ltd. and the person or entity to whom it is addressed. In the event of misdirection, the recipient is prohibited from using, copying, printing or otherwise disseminating it or any information contained in it. In the event of misdirection, illegible or incomplete transmission please telephone (023) 8024 3137 or return the E.mail to postmaster@multiplay.co.uk. From owner-freebsd-hackers@FreeBSD.ORG Sun Sep 11 14:01:26 2005 Return-Path: X-Original-To: freebsd-hackers@freebsd.org 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 01B3416A41F for ; Sun, 11 Sep 2005 14:01:26 +0000 (GMT) (envelope-from corecode@fs.ei.tum.de) Received: from stella.fs.ei.tum.de (stella.fs.ei.tum.de [129.187.54.7]) by mx1.FreeBSD.org (Postfix) with ESMTP id C296D43D4C for ; Sun, 11 Sep 2005 14:01:22 +0000 (GMT) (envelope-from corecode@fs.ei.tum.de) Received: from localhost (localhost [127.0.0.1]) by localhost.fs.ei.tum.de (Postfix) with ESMTP id 46BA78D7A1; Sun, 11 Sep 2005 16:01:20 +0200 (CEST) Received: from stella.fs.ei.tum.de ([127.0.0.1]) by localhost (stella [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 29931-02-3; Sun, 11 Sep 2005 16:01:20 +0200 (CEST) Received: from [84.155.225.117] (p549BE175.dip.t-dialin.net [84.155.225.117]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (Client did not present a certificate) by stella.fs.ei.tum.de (Postfix) with ESMTP id 577F68D786; Sun, 11 Sep 2005 16:01:19 +0200 (CEST) In-Reply-To: References: Mime-Version: 1.0 (Apple Message framework v622) Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg=pgp-sha1; boundary="Apple-Mail-3--36297800" Message-Id: Content-Transfer-Encoding: 7bit From: Simon 'corecode' Schubert Date: Sun, 11 Sep 2005 16:01:13 +0200 To: "Mike Adewole" X-Pgp-Agent: GPGMail 1.1.1 (Panther) X-Mailer: Apple Mail (2.622) X-Virus-Scanned: by amavisd-new at fs.ei.tum.de Cc: freebsd-hackers@freebsd.org Subject: Re: syscons and SC_NO_CUTPASTE issue X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 11 Sep 2005 14:01:26 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --Apple-Mail-3--36297800 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII; format=flowed On 08.09.2005, at 11:25, Mike Adewole wrote: > I propose that: > (d) the next release of the generic kernel should be compiled with > SC_NO_CUTPASTE why? I find cut+paste really useful per default. besides, can't this be controlled with a sysctl? cheers simon -- Serve - BSD +++ RENT this banner advert +++ ASCII Ribbon /"\ Work - Mac +++ space for low $$$ NOW!1 +++ Campaign \ / Party Enjoy Relax | http://dragonflybsd.org Against HTML \ Dude 2c 2 the max ! http://golden-apple.biz Mail + News / \ --Apple-Mail-3--36297800 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.4.1 (Darwin) iD8DBQFDJDixr5S+dk6z85oRAhy8AKCMLmDrk2mKrNDzDHL6P7UYwTdC0QCeLXWF T1EhRz/1ZXkhR6NKsj97jHA= =IC8X -----END PGP SIGNATURE----- --Apple-Mail-3--36297800-- From owner-freebsd-hackers@FreeBSD.ORG Sun Sep 11 14:09:55 2005 Return-Path: X-Original-To: freebsd-hackers@freebsd.org 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 10C4A16A41F for ; Sun, 11 Sep 2005 14:09:55 +0000 (GMT) (envelope-from corecode@fs.ei.tum.de) Received: from stella.fs.ei.tum.de (stella.fs.ei.tum.de [129.187.54.7]) by mx1.FreeBSD.org (Postfix) with ESMTP id 845C543D46 for ; Sun, 11 Sep 2005 14:09:54 +0000 (GMT) (envelope-from corecode@fs.ei.tum.de) Received: from localhost (localhost [127.0.0.1]) by localhost.fs.ei.tum.de (Postfix) with ESMTP id AC7C48D7A1; Sun, 11 Sep 2005 16:09:53 +0200 (CEST) Received: from stella.fs.ei.tum.de ([127.0.0.1]) by localhost (stella [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 29599-04; Sun, 11 Sep 2005 16:09:53 +0200 (CEST) Received: from [84.155.225.117] (p549BE175.dip.t-dialin.net [84.155.225.117]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (Client did not present a certificate) by stella.fs.ei.tum.de (Postfix) with ESMTP id 2B05A8D786; Sun, 11 Sep 2005 16:09:53 +0200 (CEST) In-Reply-To: <20050907133239.GA53278@node26.0xfce3.net> References: <20050907133239.GA53278@node26.0xfce3.net> Mime-Version: 1.0 (Apple Message framework v622) Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg=pgp-sha1; boundary="Apple-Mail-4--35796833" Message-Id: Content-Transfer-Encoding: 7bit From: Simon 'corecode' Schubert Date: Sun, 11 Sep 2005 16:09:34 +0200 To: Gordon Bergling X-Pgp-Agent: GPGMail 1.1.1 (Panther) X-Mailer: Apple Mail (2.622) X-Virus-Scanned: by amavisd-new at fs.ei.tum.de Cc: freebsd-hackers@freebsd.org Subject: Re: how to handling read only cvs trees X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 11 Sep 2005 14:09:55 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --Apple-Mail-4--35796833 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII; format=flowed On 07.09.2005, at 15:32, Gordon Bergling wrote: > Has anyone a hint on how to handle this situation? you might want to look at development(7). Not sure if this is being used by many people though. cheers simon -- Serve - BSD +++ RENT this banner advert +++ ASCII Ribbon /"\ Work - Mac +++ space for low $$$ NOW!1 +++ Campaign \ / Party Enjoy Relax | http://dragonflybsd.org Against HTML \ Dude 2c 2 the max ! http://golden-apple.biz Mail + News / \ --Apple-Mail-4--35796833 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.4.1 (Darwin) iD8DBQFDJDqzr5S+dk6z85oRAh7oAJ97nJ66zbm1Ng8WRSFBSnu+K/eejwCgk9cg V3eYk1ScJxQt5qhloIWGymU= =93FK -----END PGP SIGNATURE----- --Apple-Mail-4--35796833-- From owner-freebsd-hackers@FreeBSD.ORG Sun Sep 11 14:43:27 2005 Return-Path: X-Original-To: hackers@FreeBSD.org 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 E3DB416A41F for ; Sun, 11 Sep 2005 14:43:26 +0000 (GMT) (envelope-from joe@osoft.us) Received: from mail.osoft.us (osoft.us [67.14.192.59]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9E28943D4C for ; Sun, 11 Sep 2005 14:43:26 +0000 (GMT) (envelope-from joe@osoft.us) Received: from [10.0.1.105] (adsl-65-67-81-97.dsl.ltrkar.swbell.net [65.67.81.97]) by mail.osoft.us (Postfix) with ESMTP id 82F3FB839; Sun, 11 Sep 2005 09:43:25 -0500 (CDT) Message-ID: <4324426E.4010503@osoft.us> Date: Sun, 11 Sep 2005 09:42:54 -0500 From: Joe Koberg User-Agent: Mozilla Thunderbird 1.0.6 (Windows/20050716) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Andreas Klemm References: <20050911103410.GA9536@titan.klemm.apsfilter.org> In-Reply-To: <20050911103410.GA9536@titan.klemm.apsfilter.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: hackers@FreeBSD.org Subject: Re: need hints to recover lost FreeBSD partition entries in MBR ... X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 11 Sep 2005 14:43:27 -0000 You might want /usr/ports/sysutils/scan_ffs from the package description: scan_ffs(8) recovers accidential lost or deleted disklabels. ... This little program will take a raw disk device (which you might have to create) that covers the whole disk, and finds all probable UFS/FFS parti- tions on the disk. It has various options to make it go faster, and to print out information to help in the reconstruction of the disklabel. I have used this to rebuild slice/partition tables. Run scan_ffs on the raw disk. It will find the superblocks and print the start and length of the each FS from the superblocks. You might have to offset the numbers based on the start of the old slice as the values will probably be referenced to raw disk block 0, not the old slice block 0. Good luck! Joe Koberg joe at osoft dot us Andreas Klemm wrote: >I unluckily lost the partition table of my 1st disc in a 2 disc system. >Tip: avoid gag boot manager and don't do my mistakes ... > >Having a printout of the df command I was able to re-create all of >my fat32 partitions on disc XP boot and 4x FAT32 in an extended part. > >Now I'm looking for suggestions how to be able to compute the >correct values for Slice 3 and 4 which I could not recover so far. > >It irritates me a bit, that the slices 1+2 already work so well, >so theoretically mounting of at least slice 3 should be possible now. > >Or are there some sanity checks in the kernel that only allows >creating the devices in devfs if the size entries in the disklabel >and the entry in the partition table of the MBR fit both ?? > >Maybe I'm only off-by 1 or 2 cylinders in the partition table. > >Do you know a tool or a method how I can compute/find the start cylinder >of FreeBSD partitions ? > >Perhaps Im already at the right start cylinder and now only have >to de-chiffre the entries of the BSD disklabel, which should be >in the 1st sector of sector 312581808 ??? > >This I was able to restore, which works well. > >Disk name: ad4 FDISK Partition Editor >DISK Geometry: 19457 cyls/255 heads/63 sectors = 312576705 sectors (152625MB) > >Offset Size(ST) End Name PType Desc Subtype Flags > > 0 63 62 - 12 unused 0 > 63 24579387 24579449 ad4s1 7 fat 11 > 24579450 174080340 198659789 ad4s2 4 extended DOS 5 > 198659790 113922018 312581807 - 12 unused 0 > >I only had this data available to compute the rest... > >Filesystem 1k-blocks Used Avail Capacity Mounted on >/dev/ad4s3d 8119448 4 7469890 0% /test >/dev/ad4s4d 46026106 24134198 18209820 57% /data > >This resulted in that partitioning, which unluckily doesnt work. > >Disk name: ad4 FDISK Partition Editor >DISK Geometry: 19457 cyls/255 heads/63 sectors = 312576705 sectors (152625MB) > >Offset Size(ST) End Name PType Desc Subtype Flags > > 0 63 62 - 12 unused 0 > 63 24579387 24579449 ad4s1 7 fat 11 > 24579450 174080340 198659789 ad4s2 4 extended DOS 5 > 198659790 17077095 215736884 ad4s3 8 freebsd 165 > 215736885 96839820 312576704 ad4s4 8 freebsd 165 > 312576705 5103 312581807 - 12 unused 0 > >In devfs I only see the devices >rw-r----- 1 root operator 4, 17 11 Sep 09:56 ad4s3 >crw-r----- 1 root operator 4, 27 11 Sep 09:56 ad4s3c >crw-r----- 1 root operator 4, 18 11 Sep 09:56 ad4s4 >crw-r----- 1 root operator 4, 28 11 Sep 09:56 ad4s4c > >But not ad4s3d and ad4s4d which would indicate I got the >partition table entries for Slice 3+4 right. > > > Andreas /// > > > From owner-freebsd-hackers@FreeBSD.ORG Sun Sep 11 17:15:47 2005 Return-Path: X-Original-To: hackers@FreeBSD.org 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 480A716A41F for ; Sun, 11 Sep 2005 17:15:47 +0000 (GMT) (envelope-from andreas@klemm.apsfilter.org) Received: from srv1.cosmo-project.de (srv1.cosmo-project.de [213.83.6.106]) by mx1.FreeBSD.org (Postfix) with ESMTP id A442B43D49 for ; Sun, 11 Sep 2005 17:15:43 +0000 (GMT) (envelope-from andreas@klemm.apsfilter.org) Received: from srv1.cosmo-project.de (localhost [IPv6:::1]) by srv1.cosmo-project.de (8.12.10/8.12.10) with ESMTP id j8BHFgBS075754 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO); Sun, 11 Sep 2005 19:15:42 +0200 (CEST) (envelope-from andreas@klemm.apsfilter.org) Received: (from uucp@localhost) by srv1.cosmo-project.de (8.12.10/8.12.10/Submit) with UUCP id j8BHFfcA075753; Sun, 11 Sep 2005 19:15:41 +0200 (CEST) (envelope-from andreas@klemm.apsfilter.org) Received: from titan.klemm.apsfilter.org (localhost [127.0.0.1]) by klemm.apsfilter.org (8.13.3/8.13.1) with ESMTP id j8BHFRrr001789; Sun, 11 Sep 2005 19:15:27 +0200 (CEST) (envelope-from andreas@titan.klemm.apsfilter.org) Received: (from andreas@localhost) by titan.klemm.apsfilter.org (8.13.3/8.13.1/Submit) id j8BHFQWi001788; Sun, 11 Sep 2005 19:15:26 +0200 (CEST) (envelope-from andreas) Date: Sun, 11 Sep 2005 19:15:26 +0200 From: Andreas Klemm To: Joe Koberg Message-ID: <20050911171526.GA1629@titan.klemm.apsfilter.org> References: <20050911103410.GA9536@titan.klemm.apsfilter.org> <4324426E.4010503@osoft.us> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4324426E.4010503@osoft.us> X-Operating-System: FreeBSD 5.4-STABLE X-Disclaimer: A free society is one where it is safe to be unpopular User-Agent: Mutt/1.5.9i Cc: hackers@FreeBSD.org Subject: Re: need hints to recover lost FreeBSD partition entries in MBR ... X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 11 Sep 2005 17:15:47 -0000 On Sun, Sep 11, 2005 at 09:42:54AM -0500, Joe Koberg wrote: > You might want /usr/ports/sysutils/scan_ffs > > from the package description: > > scan_ffs(8) recovers accidential lost or deleted disklabels. Thanks for the hint. It turns out for me that for some strange reason the FreeBSD Slice 4 doesnt start exactly on a Cylinder boundary :-( DragonFly or Partition Magic, one of these tools must be the culprit. Disk name: ad4 FDISK Partition Editor DISK Geometry: 19457 cyls/255 heads/63 sectors = 312576705 sectors (152625MB) Offset Size(ST) End Name PType Desc Subtype Flags 0 63 62 - 12 unused 0 63 24579387 24579449 ad4s1 7 fat 11 = 24579450 174080340 198659789 ad4s2 4 extended DOS 5 = 198659790 18860310 217520099 ad4s3 8 freebsd 165 = 217520100 95061708 312581807 - 12 unused 0 scan_ffs -s -b 217520100 ad4 ufs2 at 217528802 size 23761975 mount /data time Mon Jan 31 16:49:36 2005 off by 8702 (217528802-217520100=8702) detected partition start doesnt start on cylinder: 217528802/255/63=13540.54 Although I try to make the previous slice 3 a little larger sysinstall doesnt allow me to make the slice greater than up to the partition boundary. So I end up with that, see above 217520100/255/63=13540.00 Using sysinstall I cannot create a slightly wrong but working partition table to access my data again. Question: What can I use now to be able to re-create Slice 4 starting not exactly at partition boundary but instead at Sector 217528802 ???? I tried fdisk but cannot enter something like interactive mode. All it tells me is this: root@titan[ttyp3]{208} ~ fdisk ad4 ******* Working on device /dev/ad4 ******* parameters extracted from in-core disklabel are: cylinders=310101 heads=16 sectors/track=63 (1008 blks/cyl) Figures below won't work with BIOS for partitions not in cyl 1 parameters to be used for BIOS calculations are: cylinders=310101 heads=16 sectors/track=63 (1008 blks/cyl) Media sector size is 512 Warning: BIOS sector numbering starts with sector 1 Information from DOS bootblock is: The data for partition 1 is: sysid 11 (0x0b),(DOS or Windows 95 with 32 bit FAT) start 63, size 24579387 (12001 Meg), flag 0 beg: cyl 0/ head 1/ sector 1; end: cyl 1023/ head 254/ sector 63 The data for partition 2 is: sysid 5 (0x05),(Extended DOS) start 24579450, size 174080340 (85000 Meg), flag 0 beg: cyl 1023/ head 255/ sector 63; end: cyl 1023/ head 254/ sector 63 The data for partition 3 is: sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD) start 198659790, size 18860310 (9209 Meg), flag 80 (active) beg: cyl 1023/ head 255/ sector 63; end: cyl 1023/ head 254/ sector 63 The data for partition 4 is: How can I enter interactice mode in fdisk ??? Andreas /// -- Andreas Klemm - Powered by FreeBSD 5.4 Need a magic printfilter today ? -> http://www.apsfilter.org/ From owner-freebsd-hackers@FreeBSD.ORG Sun Sep 11 18:25:11 2005 Return-Path: X-Original-To: hackers@FreeBSD.org 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 0E19A16A41F for ; Sun, 11 Sep 2005 18:25:11 +0000 (GMT) (envelope-from andreas@klemm.apsfilter.org) Received: from srv1.cosmo-project.de (srv1.cosmo-project.de [213.83.6.106]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5E1F343D53 for ; Sun, 11 Sep 2005 18:25:09 +0000 (GMT) (envelope-from andreas@klemm.apsfilter.org) Received: from srv1.cosmo-project.de (localhost [IPv6:::1]) by srv1.cosmo-project.de (8.12.10/8.12.10) with ESMTP id j8BIP7BS077840 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO); Sun, 11 Sep 2005 20:25:08 +0200 (CEST) (envelope-from andreas@klemm.apsfilter.org) Received: (from uucp@localhost) by srv1.cosmo-project.de (8.12.10/8.12.10/Submit) with UUCP id j8BIP7bi077838; Sun, 11 Sep 2005 20:25:07 +0200 (CEST) (envelope-from andreas@klemm.apsfilter.org) Received: from titan.klemm.apsfilter.org (localhost [127.0.0.1]) by klemm.apsfilter.org (8.13.3/8.13.1) with ESMTP id j8BIOvuI001057; Sun, 11 Sep 2005 20:24:57 +0200 (CEST) (envelope-from andreas@titan.klemm.apsfilter.org) Received: (from andreas@localhost) by titan.klemm.apsfilter.org (8.13.3/8.13.1/Submit) id j8BIOrjw001056; Sun, 11 Sep 2005 20:24:54 +0200 (CEST) (envelope-from andreas) Date: Sun, 11 Sep 2005 20:24:53 +0200 From: Andreas Klemm To: Joe Koberg Message-ID: <20050911182450.GA992@titan.klemm.apsfilter.org> References: <20050911103410.GA9536@titan.klemm.apsfilter.org> <4324426E.4010503@osoft.us> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4324426E.4010503@osoft.us> X-Operating-System: FreeBSD 5.4-STABLE X-Disclaimer: A free society is one where it is safe to be unpopular User-Agent: Mutt/1.5.9i Cc: hackers@FreeBSD.org Subject: Re: need hints to recover lost FreeBSD partition entries in MBR ... X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 11 Sep 2005 18:25:11 -0000 fdisk -u did the trick to interactively edit the partition table. Confusing was then, that the previous FreeBSD partitions /dev/ad4s3d and /dev/ad4s4d were not present anymore. I had to use /dev/ad4s3c and /dev/ad4s4. But now I luckily was able to mount my old filesystems. Am now in the process of cleaning up. Thanks for all the help. -- Andreas Klemm - Powered by FreeBSD 5.4 Need a magic printfilter today ? -> http://www.apsfilter.org/ From owner-freebsd-hackers@FreeBSD.ORG Sun Sep 11 18:52:34 2005 Return-Path: X-Original-To: freebsd-hackers@freebsd.org 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 3164516A41F for ; Sun, 11 Sep 2005 18:52:34 +0000 (GMT) (envelope-from pfak@telus.net) Received: from bpd2mo1no.prod.shawcable.com (shawmail.shawcable.com [64.59.128.220]) by mx1.FreeBSD.org (Postfix) with ESMTP id C51A643D45 for ; Sun, 11 Sep 2005 18:52:33 +0000 (GMT) (envelope-from pfak@telus.net) Received: from bpd2mi3no.prod.shawcable.com (bpd2mi3no-qfe3.prod.shawcable.com [10.0.184.122]) by bpd2mo1no.prod.shawcable.com (Sun ONE Messaging Server 6.0 HotFix 1.01 (built Mar 15 2004)) with ESMTP id <0IMO00KDH1RLDE00@bpd2mo1no.prod.shawcable.com> for freebsd-hackers@freebsd.org; Sun, 11 Sep 2005 12:52:33 -0600 (MDT) Received: from [192.168.1.151] (S01060012174ce02d.vf.shawcable.net [70.68.25.109]) by bpd2mi3no.prod.shawcable.com (Sun ONE Messaging Server 6.0 HotFix 1.01 (built Mar 15 2004)) with ESMTP id <0IMO0064L1RKWU00@bpd2mi3no.prod.shawcable.com> for freebsd-hackers@freebsd.org; Sun, 11 Sep 2005 12:52:32 -0600 (MDT) Date: Sun, 11 Sep 2005 11:52:34 -0700 From: Peter Kieser In-reply-to: <1885923291.20050911015520@rulez.sk> To: Daniel Gerzo , freebsd-hackers@freebsd.org Message-id: <43247CF2.4050701@telus.net> MIME-version: 1.0 Content-type: text/plain; charset=ISO-8859-1; format=flowed Content-transfer-encoding: 7bit X-Accept-Language: en-us, en References: <1567405732.20050910234315@rulez.sk> <17187.23528.480983.263363@bhuda.mired.org> <1494707485.20050911002426@rulez.sk> <17187.25746.157318.605055@bhuda.mired.org> <1744063854.20050911011050@rulez.sk> <4323716D.3090804@telus.net> <1885923291.20050911015520@rulez.sk> User-Agent: Mozilla Thunderbird 1.0.6 (Windows/20050716) Cc: Subject: Re: Forcing boot to seek for files on other parition then `a' X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 11 Sep 2005 18:52:34 -0000 Daniel, Who is this company? I would like to avoid them in the future. --Peter Daniel Gerzo wrote: >Bon jour Peter, > >Sunday, September 11, 2005, 1:51:09 AM, you wrote: > > > >>Why don't you just get them to reinstall the machine? A few dedicated >>server providers have done that to me (Having the whole / and the 4GB >>swap partion), and I told them to reinstall the machine (even when they >>tried to charge me for it, I told them no go.) because they had made a >>mistake themselves with the installation. >> >> > >They told me they will charge $29 for it :/ > > > >>You can explain to them that having one large / on a FreeBSD machine >>will cause performance to be very low because of lack of soft updates. >> >> > > > >>--Peter >> >> > > > From owner-freebsd-hackers@FreeBSD.ORG Mon Sep 12 00:02:07 2005 Return-Path: X-Original-To: hackers@FreeBSD.org 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 8B8F516A41F for ; Mon, 12 Sep 2005 00:02:07 +0000 (GMT) (envelope-from jmg@hydrogen.funkthat.com) Received: from hydrogen.funkthat.com (gate.funkthat.com [69.17.45.168]) by mx1.FreeBSD.org (Postfix) with ESMTP id 279D843D46 for ; Mon, 12 Sep 2005 00:02:07 +0000 (GMT) (envelope-from jmg@hydrogen.funkthat.com) Received: from hydrogen.funkthat.com (localhost.funkthat.com [127.0.0.1]) by hydrogen.funkthat.com (8.13.3/8.13.3) with ESMTP id j8C026lp061243; Sun, 11 Sep 2005 17:02:06 -0700 (PDT) (envelope-from jmg@hydrogen.funkthat.com) Received: (from jmg@localhost) by hydrogen.funkthat.com (8.13.3/8.13.3/Submit) id j8C025ha061012; Sun, 11 Sep 2005 17:02:05 -0700 (PDT) (envelope-from jmg) Date: Sun, 11 Sep 2005 17:02:05 -0700 From: John-Mark Gurney To: Andreas Klemm Message-ID: <20050912000205.GH793@funkthat.com> Mail-Followup-To: Andreas Klemm , hackers@FreeBSD.org References: <20050911093933.GA7277@titan.klemm.apsfilter.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050911093933.GA7277@titan.klemm.apsfilter.org> User-Agent: Mutt/1.4.2.1i X-Operating-System: FreeBSD 5.4-RELEASE-p6 i386 X-PGP-Fingerprint: B7 EC EF F8 AE ED A7 31 96 7A 22 B3 D8 56 36 F4 X-Files: The truth is out there X-URL: http://resnet.uoregon.edu/~gurney_j/ X-Resume: http://resnet.uoregon.edu/~gurney_j/resume.html Cc: hackers@FreeBSD.org Subject: Re: need hints to recover lost FreeBSD partition entries in MBR ... X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 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: Mon, 12 Sep 2005 00:02:07 -0000 Andreas Klemm wrote this message on Sun, Sep 11, 2005 at 11:39 +0200: > I unluckily lost the partition table of my 1st disc in a 2 disc system. > Tip: avoid gag boot manager and don't do my mistakes ... > > Having a printout of the df command I was able to re-create all of > my fat32 partitions on disc XP boot and 4x FAT32 in an extended part. > > Now I'm looking for suggestions how to be able to compute the > correct values for Slice 3 and 4 which I could not recover so far. > > It irritates me a bit, that the slices 1+2 already work so well, > so theoretically mounting of at least slice 3 should be possible now. > > Or are there some sanity checks in the kernel that only allows > creating the devices in devfs if the size entries in the disklabel > and the entry in the partition table of the MBR fit both ?? > > Maybe I'm only off-by 1 or 2 cylinders in the partition table. > > Do you know a tool or a method how I can compute/find the start cylinder > of FreeBSD partitions ? I've just been working on rewriting ffsrecov in python so that it supports both UFS1 and UFS2 filesystems... I've put up a preliminary copy at http://people.FreeBSD.org/~jmg/ffsrecov/ You'll need all three files in the directory. It uses a modified version of Dug Song's dpkt for reading data from disk. It doesn't search out disklabel magic's, but can help you locate your UFS partitions... In the old days, the disklabel started as the same address as the first partion, but newer installs start the first partition 16 blocks into the disk, so this should give you options for adjusting where the disklabel might be... ffsrecov.py -f will return all the block offsets that contain a valid superblock magic... you can then use -s to print out where the file system starts... so: disk=/dev/ad0 size=`diskinfo $disk | awk '{ print $3 }' for i in `./ffsrecov.py -z $size -f $disk`; do ./ffsrecov.py -z $size -s -o $i $disk; done | sort -u will print out a list of block offsets where all the file systems start... (the reason you have to provide size is that I don't have code to detect the size of disk devices yet)... becareful, it can take a while as it scans the disk, or you can scan a smaller part of the disk by replacing disk and size with the proper settings... Then you can adjust your partition table to be either at the start of the x'th filesystem, or 16 sectors before that... Hope this helps.. Though it might be easier to search for the disklabel magic block directly... It wouldn't be too hard to modify the -f to search for a disklabel magic instead of superblock magic... Good luck! -- 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 Mon Sep 12 03:22:36 2005 Return-Path: X-Original-To: hackers@freebsd.org 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 DE47716A41F for ; Mon, 12 Sep 2005 03:22:36 +0000 (GMT) (envelope-from anderson@centtech.com) Received: from mh2.centtech.com (moat3.centtech.com [207.200.51.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7B65E43D45 for ; Mon, 12 Sep 2005 03:22:35 +0000 (GMT) (envelope-from anderson@centtech.com) Received: from [192.168.42.23] (andersonbox3.centtech.com [192.168.42.23]) by mh2.centtech.com (8.13.1/8.13.1) with ESMTP id j8C3MYWP060692; Sun, 11 Sep 2005 22:22:34 -0500 (CDT) (envelope-from anderson@centtech.com) Message-ID: <4324F482.1000204@centtech.com> Date: Sun, 11 Sep 2005 22:22:42 -0500 From: Eric Anderson User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.11) Gecko/20050904 X-Accept-Language: en-us, en MIME-Version: 1.0 To: polytopes@gmail.com References: <1126200580.4320750472d15@mail.nipsi.de> <432178EA.2040602@centtech.com> <8059f9a80509101117b3336bf@mail.gmail.com> In-Reply-To: <8059f9a80509101117b3336bf@mail.gmail.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV 0.82/1078/Sun Sep 11 15:23:36 2005 on mh2.centtech.com X-Virus-Status: Clean Cc: hackers@freebsd.org Subject: Re: status of ufsj and gjournal X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Sep 2005 03:22:37 -0000 Brian Wilson wrote: > On 9/9/05, Eric Anderson wrote: > >>db@nipsi.de wrote: >> >>>Hi list, >>>I wonder whats the status of those summer of code projects. >>>>From gjournal we heard that it has been completed but then nothing happens, any >>>further information about this? >>>Is somebody working on ufsj? Was the summer of code project successful? >> >>Scott Long is the core person working on ufsj, and I have seen some >>stuff worked on in his perforce tree, but I think it's a ways away from >>being beta. I'm sure he would welcome help. > > > I was working on the ufsj stuff as a Google SoC project with Scott. > > It is very close to beta, however this past week involved school > starting back up, so I have been unable to do any work at all. > > However, now that I am settled in at school (for some definition of > settled in), I have time to devote to ufsj again. > > I hope to release a beta "real soon now", so stay tuned. Hey Brian! Thanks for the info - I've been very interested in the development of the project, but Scott is too busy doing other real stuff, and I oddly didn't even think to ask you anything. :( I'm willing to play with pre-beta patches or tarballs/etc. Feel free to contact me off list if you'd like a guinea pig. Eric -- ------------------------------------------------------------------------ Eric Anderson Sr. Systems Administrator Centaur Technology Anything that works is better than anything that doesn't. ------------------------------------------------------------------------ From owner-freebsd-hackers@FreeBSD.ORG Mon Sep 12 06:22:55 2005 Return-Path: X-Original-To: hackers@freebsd.org 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 B79BB16A41F for ; Mon, 12 Sep 2005 06:22:55 +0000 (GMT) (envelope-from xride@x12.dk) Received: from swip.net (mailfe03.swip.net [212.247.154.65]) by mx1.FreeBSD.org (Postfix) with ESMTP id 15A1C43D46 for ; Mon, 12 Sep 2005 06:22:54 +0000 (GMT) (envelope-from xride@x12.dk) X-T2-Posting-ID: lkM/Dn7LTUP9vUt2XCoVCw== Received: from x12.dk ([83.72.97.237] verified) by mailfe03.swip.net (CommuniGate Pro SMTP 4.3.4) with ESMTP id 257834628; Mon, 12 Sep 2005 08:22:53 +0200 Received: from localhost (unknown [127.0.0.1]) by x12.dk (Postfix) with ESMTP id 9002C5081A; Mon, 12 Sep 2005 08:22:52 +0200 (CEST) Received: from x12.dk ([127.0.0.1]) by localhost (x12.dk [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 30755-03; Mon, 12 Sep 2005 08:21:28 +0200 (CEST) Received: from x12.dk (localhost [127.0.0.1]) by x12.dk (Postfix) with ESMTP; Mon, 12 Sep 2005 08:21:28 +0200 (CEST) Received: from localhost (xride@localhost) by x12.dk (8.13.3/8.13.3/Submit) with ESMTP id j8C6LRrH031451; Mon, 12 Sep 2005 08:21:28 +0200 (CEST) (envelope-from xride@x12.dk) Date: Mon, 12 Sep 2005 08:21:26 +0200 (CEST) From: Soeren Straarup To: Eric Anderson In-Reply-To: <4324F482.1000204@centtech.com> Message-ID: <20050912081952.H87302@x12.dk> References: <1126200580.4320750472d15@mail.nipsi.de> <432178EA.2040602@centtech.com> <8059f9a80509101117b3336bf@mail.gmail.com> <4324F482.1000204@centtech.com> MIME-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="0-1705398723-1126506086=:87302" X-Virus-Scanned: amavisd-new at x12.dk Cc: hackers@freebsd.org, polytopes@gmail.com Subject: Re: status of ufsj and gjournal X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Sep 2005 06:22:55 -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-1705398723-1126506086=:87302 Content-Type: TEXT/PLAIN; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: QUOTED-PRINTABLE On Sun, 11 Sep 2005, Eric Anderson wrote: > Brian Wilson wrote: >> On 9/9/05, Eric Anderson wrote: >>=20 >>> db@nipsi.de wrote: >>>=20 >>>> Hi list, >>>> I wonder whats the status of those summer of code projects. >>>>> From gjournal we heard that it has been completed but then nothing=20 >>>>> happens, any >>>> further information about this? >>>> Is somebody working on ufsj? Was the summer of code project successful= ? >>>=20 >>> Scott Long is the core person working on ufsj, and I have seen some >>> stuff worked on in his perforce tree, but I think it's a ways away from >>> being beta. I'm sure he would welcome help. >>=20 >>=20 >> I was working on the ufsj stuff as a Google SoC project with Scott. >>=20 >> It is very close to beta, however this past week involved school >> starting back up, so I have been unable to do any work at all. >>=20 >> However, now that I am settled in at school (for some definition of >> settled in), I have time to devote to ufsj again. >>=20 >> I hope to release a beta "real soon now", so stay tuned. > > Hey Brian! Thanks for the info - I've been very interested in the=20 > development of the project, but Scott is too busy doing other real stuff,= and=20 > I oddly didn't even think to ask you anything. :( > > I'm willing to play with pre-beta patches or tarballs/etc. Feel free to= =20 > contact me off list if you'd like a guinea pig. > So am I.. I have the hw to test on too and i wanna test geomgui too (8 \S=F8ren Soeren Straarup | aka OZ2DAK aka Xride FreeBSD wannabe | FreeBSD since 2.2.6-R 'We wanted to believe. But the tools had been taken away..' Mulder --0-1705398723-1126506086=:87302-- From owner-freebsd-hackers@FreeBSD.ORG Mon Sep 12 08:15:07 2005 Return-Path: X-Original-To: hackers@freebsd.org 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 CF68916A41F for ; Mon, 12 Sep 2005 08:15:07 +0000 (GMT) (envelope-from des@des.no) Received: from tim.des.no (tim.des.no [194.63.250.121]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5FDD443D45 for ; Mon, 12 Sep 2005 08:15:07 +0000 (GMT) (envelope-from des@des.no) Received: from tim.des.no (localhost [127.0.0.1]) by spam.des.no (Postfix) with ESMTP id 44A0A6155; Mon, 12 Sep 2005 10:14:49 +0200 (CEST) Received: from xps.des.no (des.no [80.203.228.37]) by tim.des.no (Postfix) with ESMTP id 321536152; Mon, 12 Sep 2005 10:14:49 +0200 (CEST) Received: by xps.des.no (Postfix, from userid 1001) id 13B0533DA1; Mon, 12 Sep 2005 10:14:59 +0200 (CEST) To: Andrea Campi References: <3581.66.166.104.222.1126276770.squirrel@66.166.104.222> <20050909144841.GP91865@webcom.it> From: des@des.no (=?iso-8859-1?q?Dag-Erling_Sm=F8rgrav?=) Date: Mon, 12 Sep 2005 10:14:59 +0200 In-Reply-To: <20050909144841.GP91865@webcom.it> (Andrea Campi's message of "Fri, 9 Sep 2005 16:48:41 +0200") Message-ID: <86d5ne66t8.fsf@xps.des.no> User-Agent: Gnus/5.110002 (No Gnus v0.2) Emacs/21.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Spam-Tests: ALL_TRUSTED,AWL,BAYES_00 X-Spam-Learn: ham X-Spam-Score: -5.2/3.0 X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on tim.des.no Cc: "Ryan P. Sommers" , hackers@freebsd.org Subject: Re: "Smart" Hubs X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Sep 2005 08:15:07 -0000 Andrea Campi writes: > Linksys is sort of well known for playing this trick: they call entry > level switches "hub" and reserve "switch" for higher-level equipment. > Which is fine for people who just have to check email and play Quake, but > screws you to no end when you actually need a hub :-/ Just flood the switch's MAC table (by sending packets with fake destination ethernet addresses) to force it into learning mode. DES --=20 Dag-Erling Sm=F8rgrav - des@des.no From owner-freebsd-hackers@FreeBSD.ORG Mon Sep 12 08:30:59 2005 Return-Path: X-Original-To: hackers@FreeBSD.org 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 B292C16A430; Mon, 12 Sep 2005 08:30:59 +0000 (GMT) (envelope-from flz@xbsd.org) Received: from smtp.xbsd.org (xbsd.org [82.233.2.192]) by mx1.FreeBSD.org (Postfix) with ESMTP id D9E2243D45; Mon, 12 Sep 2005 08:30:58 +0000 (GMT) (envelope-from flz@xbsd.org) Received: from localhost (localhost.xbsd.org [127.0.0.1]) by smtp.xbsd.org (Postfix) with ESMTP id 1085F1188A; Mon, 12 Sep 2005 10:30:57 +0200 (CEST) Received: from smtp.xbsd.org ([127.0.0.1]) by localhost (srv1.xbsd.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 21561-02; Mon, 12 Sep 2005 10:30:49 +0200 (CEST) Received: from cream.xbsd.org (cream.xbsd.org [192.168.42.6]) by smtp.xbsd.org (Postfix) with ESMTP id A531411609; Mon, 12 Sep 2005 10:30:49 +0200 (CEST) From: Florent Thoumie To: Andreas Klemm In-Reply-To: <20050911182450.GA992@titan.klemm.apsfilter.org> References: <20050911103410.GA9536@titan.klemm.apsfilter.org> <4324426E.4010503@osoft.us> <20050911182450.GA992@titan.klemm.apsfilter.org> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-bGZrCL4/IORAdKFKl/6u" Date: Mon, 12 Sep 2005 10:30:51 +0200 Message-Id: <1126513851.1894.20.camel@cream.xbsd.org> Mime-Version: 1.0 X-Mailer: Evolution 2.2.3 FreeBSD GNOME Team Port X-Virus-Scanned: amavisd-new at xbsd.org Cc: hackers@FreeBSD.org, Joe Koberg Subject: Re: need hints to recover lost FreeBSD partition entries in MBR ... X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Sep 2005 08:31:00 -0000 --=-bGZrCL4/IORAdKFKl/6u Content-Type: text/plain; charset=iso8859-15 Content-Transfer-Encoding: quoted-printable Le Dimanche 11 septembre 2005 =E0 20:24 +0200, Andreas Klemm a =E9crit : > fdisk -u did the trick to interactively edit the partition table. >=20 > Confusing was then, that the previous FreeBSD partitions > /dev/ad4s3d and /dev/ad4s4d were not present anymore. >=20 > I had to use /dev/ad4s3c and /dev/ad4s4. >=20 > But now I luckily was able to mount my old filesystems. >=20 > Am now in the process of cleaning up. >=20 > Thanks for all the help. Too late but you might want to have a look at sysutils/testdisk. --=20 Florent Thoumie flz@xbsd.org --=-bGZrCL4/IORAdKFKl/6u Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQBDJTy7MxEkbVFH3PQRApg5AJwNHsZw9aDa0Rb37gpfwDeyEkup5QCeP264 dkpdI38NYbAAgbmTU1h0OuA= =UBoI -----END PGP SIGNATURE----- --=-bGZrCL4/IORAdKFKl/6u-- From owner-freebsd-hackers@FreeBSD.ORG Mon Sep 12 08:54:59 2005 Return-Path: X-Original-To: freebsd-hackers@freebsd.org 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 42D0F16A41F; Mon, 12 Sep 2005 08:54:59 +0000 (GMT) (envelope-from q@galgenberg.net) Received: from wrzx28.rz.uni-wuerzburg.de (wrzx28.rz.uni-wuerzburg.de [132.187.3.28]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3893A43D45; Mon, 12 Sep 2005 08:54:57 +0000 (GMT) (envelope-from q@galgenberg.net) Received: from wrzx30.rz.uni-wuerzburg.de (wrzx30.rz.uni-wuerzburg.de [132.187.1.30]) by wrzx28.rz.uni-wuerzburg.de (Postfix) with ESMTP id 1756D13BBF1; Mon, 12 Sep 2005 10:54:57 +0200 (CEST) Received: from virusscan (localhost [127.0.0.1]) by wrzx30.rz.uni-wuerzburg.de (Postfix) with ESMTP id D71DB9C595; Mon, 12 Sep 2005 10:54:56 +0200 (CEST) Received: from wrzx28.rz.uni-wuerzburg.de (wrzx28.rz.uni-wuerzburg.de [132.187.3.28]) by wrzx30.rz.uni-wuerzburg.de (Postfix) with ESMTP id BCD7A9C550; Mon, 12 Sep 2005 10:54:56 +0200 (CEST) Received: from frodo.galgenberg.net (wwsx14.win-screen.uni-wuerzburg.de [132.187.253.14]) by wrzx28.rz.uni-wuerzburg.de (Postfix) with ESMTP id A309113BBF1; Mon, 12 Sep 2005 10:54:56 +0200 (CEST) Received: from coyote.q.local (gb-21-237.galgenberg.net [172.16.21.237]) by frodo.galgenberg.net (8.13.1/8.13.1) with ESMTP id j8C8suji057063; Mon, 12 Sep 2005 10:54:56 +0200 (CEST) (envelope-from q@galgenberg.net) Received: from roadrunner.q.local (roadrunner.q.local [192.168.0.148]) by coyote.q.local (8.13.3/8.13.1) with ESMTP id j8C8suv3053448; Mon, 12 Sep 2005 10:54:56 +0200 (CEST) (envelope-from q@galgenberg.net) Received: from roadrunner.q.local (localhost [127.0.0.1]) by roadrunner.q.local (8.13.4/8.13.4) with ESMTP id j8C8stwQ002127; Mon, 12 Sep 2005 10:54:55 +0200 (CEST) (envelope-from q@galgenberg.net) Received: (from q@localhost) by roadrunner.q.local (8.13.4/8.13.4/Submit) id j8C8stJp002126; Mon, 12 Sep 2005 10:54:55 +0200 (CEST) (envelope-from q@galgenberg.net) Date: Mon, 12 Sep 2005 10:54:55 +0200 From: Ulrich Spoerlein To: Robert Watson Message-ID: <20050912085455.GA1008@galgenberg.net> Mail-Followup-To: Robert Watson , "Kamal R. Prasad" , freebsd-hackers@freebsd.org References: <868xyack37.fsf@xps.des.no> <20050906191929.E78038@fledge.watson.org> <200509070215.j872FeQE040259@apollo.backplane.com> <20050907111035.B85520@fledge.watson.org> <200509071623.j87GNpal043201@apollo.backplane.com> <20050909122506.K33344@fledge.watson.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="FCuugMFkClbJLl1L" Content-Disposition: inline In-Reply-To: <20050909122506.K33344@fledge.watson.org> User-Agent: mutt-ng/devel-r445 (FreeBSD) X-Virus-Scanned: by amavisd-new (Rechenzentrum Universitaet Wuerzburg) Cc: freebsd-hackers@freebsd.org, "Kamal R. Prasad" Subject: Re: JFS2 on freebsd X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Sep 2005 08:54:59 -0000 --FCuugMFkClbJLl1L Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, 09.09.2005 at 12:28:39 +0100, Robert Watson wrote: > On Thu, 8 Sep 2005, Kamal R. Prasad wrote: > > Has there been any work on porting JFS2 onto Freebsd? > There has been recent work to port several of the newer Linux file system= s to FreeBSD,=20 > including: What about the Google SoC project of porting FUSE to FreeBSD? I think this could be the next best thing with regard to supporting non-BSD filesystems. Iff the user-space FS implementations of FUSE are portable, this would bring support of numerous FS to FreeBSD: SMB via FUSE, SSHFS, gphoto2-fuse-fs (I really could use this one), NTFS (with read/write support) and others. Now some "Linux guy" could re-implement ext3fs in FUSE and some other hacker could do a UFS/UFS2 port and then Linux and FreeBSD would have better implementations of the other's FS. No, I'm not volunteering, and since I don't know much about porting FS anyway, this all might be a dream. But my understanding of FUSE is that this should be possible. Ulrich Spoerlein --=20 PGP Key ID: F0DB9F44 Encrypted mail welcome! Fingerprint: F1CE D062 0CA9 ADE3 349B 2FE8 980A C6B5 F0DB 9F44 Ok, which part of "Ph'nglui mglw'nafh Cthulhu R'lyeh wgah'nagl fhtagn." didn't you understand? --FCuugMFkClbJLl1L Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQFDJUJfmArGtfDbn0QRAmkPAJ92ugzNz/yeBRlegt87Or4k5nwAOgCguYdl DTuqZqN+PxLgKhBxQkVIoIY= =EuHS -----END PGP SIGNATURE----- --FCuugMFkClbJLl1L-- From owner-freebsd-hackers@FreeBSD.ORG Mon Sep 12 09:20:45 2005 Return-Path: X-Original-To: freebsd-hackers@freebsd.org 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 716F916A41F for ; Mon, 12 Sep 2005 09:20:45 +0000 (GMT) (envelope-from rwatson@FreeBSD.org) Received: from cyrus.watson.org (cyrus.watson.org [204.156.12.53]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1B0DC43D45 for ; Mon, 12 Sep 2005 09:20:45 +0000 (GMT) (envelope-from rwatson@FreeBSD.org) Received: from fledge.watson.org (fledge.watson.org [204.156.12.50]) by cyrus.watson.org (Postfix) with ESMTP id A375546BD5; Mon, 12 Sep 2005 05:20:44 -0400 (EDT) Date: Mon, 12 Sep 2005 10:20:44 +0100 (BST) From: Robert Watson X-X-Sender: robert@fledge.watson.org To: Ulrich Spoerlein In-Reply-To: <20050912085455.GA1008@galgenberg.net> Message-ID: <20050912101951.H33344@fledge.watson.org> References: <868xyack37.fsf@xps.des.no> <20050906191929.E78038@fledge.watson.org> <200509070215.j872FeQE040259@apollo.backplane.com> <20050907111035.B85520@fledge.watson.org> <200509071623.j87GNpal043201@apollo.backplane.com> <20050909122506.K33344@fledge.watson.org> <20050912085455.GA1008@galgenberg.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-hackers@freebsd.org, "Kamal R. Prasad" Subject: Re: JFS2 on freebsd X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Sep 2005 09:20:45 -0000 On Mon, 12 Sep 2005, Ulrich Spoerlein wrote: > On Fri, 09.09.2005 at 12:28:39 +0100, Robert Watson wrote: >> On Thu, 8 Sep 2005, Kamal R. Prasad wrote: >>> Has there been any work on porting JFS2 onto Freebsd? >> There has been recent work to port several of the newer Linux file systems to FreeBSD, >> including: > > What about the Google SoC project of porting FUSE to FreeBSD? I think > this could be the next best thing with regard to supporting non-BSD > filesystems. > > Iff the user-space FS implementations of FUSE are portable, this would > bring support of numerous FS to FreeBSD: SMB via FUSE, SSHFS, > gphoto2-fuse-fs (I really could use this one), NTFS (with read/write > support) and others. > > Now some "Linux guy" could re-implement ext3fs in FUSE and some other > hacker could do a UFS/UFS2 port and then Linux and FreeBSD would have > better implementations of the other's FS. > > No, I'm not volunteering, and since I don't know much about porting FS > anyway, this all might be a dream. But my understanding of FUSE is that > this should be possible. I think this is a useful approach for occasional file access, but I think the general interest in the more interesting Linux file systems is for less than occasional use. I.e., not just migration of data from Linux to FreeBSD, but for daily use in production on high performance systems. Robert N M Watson From owner-freebsd-hackers@FreeBSD.ORG Mon Sep 12 10:30:34 2005 Return-Path: X-Original-To: freebsd-hackers@freebsd.org 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 EA9D816A41F for ; Mon, 12 Sep 2005 10:30:33 +0000 (GMT) (envelope-from kamalpr@gmail.com) Received: from xproxy.gmail.com (xproxy.gmail.com [66.249.82.199]) by mx1.FreeBSD.org (Postfix) with ESMTP id F25BC43D46 for ; Mon, 12 Sep 2005 10:30:32 +0000 (GMT) (envelope-from kamalpr@gmail.com) Received: by xproxy.gmail.com with SMTP id i27so1870425wxd for ; Mon, 12 Sep 2005 03:30:32 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:references; b=gm5kebkGRs1eSxMgqPLKyL9+crjTOUkADiNv6E8Ugz5RA9fDwSbAfhU94J/GwPSnmy7OQ6OPbyPcTPbN6UMnn7+zPK2DpPXydou0kwmWXL7piNVH6vsSr4YiFJFafmKSmX0N/S9GDJSlStJwF8yl2XT1fZ0w7Br6TdC8O+x3Eeg= Received: by 10.70.40.7 with SMTP id n7mr113683wxn; Mon, 12 Sep 2005 03:30:32 -0700 (PDT) Received: by 10.70.23.12 with HTTP; Mon, 12 Sep 2005 03:30:32 -0700 (PDT) Message-ID: Date: Mon, 12 Sep 2005 16:00:32 +0530 From: "Kamal R. Prasad" To: Robert Watson In-Reply-To: <20050912101951.H33344@fledge.watson.org> Mime-Version: 1.0 References: <20050906191929.E78038@fledge.watson.org> <200509070215.j872FeQE040259@apollo.backplane.com> <20050907111035.B85520@fledge.watson.org> <200509071623.j87GNpal043201@apollo.backplane.com> <20050909122506.K33344@fledge.watson.org> <20050912085455.GA1008@galgenberg.net> <20050912101951.H33344@fledge.watson.org> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-hackers@freebsd.org, Ulrich Spoerlein Subject: Re: JFS2 on freebsd X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: kamalp@acm.org List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Sep 2005 10:30:34 -0000 > [snip] >=20 I think this is a useful approach for occasional file access, but I think > the general interest in the more interesting Linux file systems is for > less than occasional use. I.e., not just migration of data from Linux to > FreeBSD, but for daily use in production on high performance systems. I read up some info on JFS2 and it seems that it provides value in terms o= f=20 reliability/reoverability and low restart times -which is what carrier class applications desire. Ericsson Inc has deployed= =20 the linux port of jfs2 in its server room -and the results were worth the= =20 effort when compared to ufs. regards -kamal Robert N M Watson > _______________________________________________ > 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 Mon Sep 12 13:38:11 2005 Return-Path: X-Original-To: freebsd-hackers@freebsd.org 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 B09E716A41F; Mon, 12 Sep 2005 13:38:11 +0000 (GMT) (envelope-from max@love2party.net) Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.187]) by mx1.FreeBSD.org (Postfix) with ESMTP id 00B4F43D48; Mon, 12 Sep 2005 13:38:10 +0000 (GMT) (envelope-from max@love2party.net) Received: from p54A3E99D.dip.t-dialin.net [84.163.233.157] (helo=donor.laier.local) by mrelayeu.kundenserver.de with ESMTP (Nemesis), id 0ML29c-1EEoVa4C4A-0003pC; Mon, 12 Sep 2005 15:38:06 +0200 From: Max Laier To: freebsd-hackers@freebsd.org, freebsd-advocacy@freebsd.org Date: Mon, 12 Sep 2005 15:37:50 +0200 User-Agent: KMail/1.8.2 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200509121538.02566.max@love2party.net> X-Provags-ID: kundenserver.de abuse@kundenserver.de login:61c499deaeeba3ba5be80f48ecc83056 Cc: freebsd-chat@freebsd.org Subject: Fwd: [EuroBSDCon 05 News] EuroBSDCon 2005 program and online registration X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Sep 2005 13:38:12 -0000 FYI - I think we managed to produce an interesting program with many good FreeBSD related talks. Hope to see you there! ---------- Forwarded Message ---------- Date: Monday 12 September 2005 14:00 To: news@eurobsdcon.org The EuroBSDCon 2005 organizers are pleased to announce that the conference program and schedule are now defined and online registration on our website is now open. This year's EuroBSDCon will take place from Nov. 25 till Nov. 27. at the University of Basel, Switzerland. The conference will start with the now traditional tutorial day on Friday, offering a selection of five very interesting tutorials aimed at developers, system administrators and BSD users in general. On Saturday and Sunday the technical conference with three plenary sessions and twenty high-level talks will give an overview on the current state of the art. A social event, dubbed "The Night of the Living Dead", on Saturday night in one of Basel's well-known cellars near the conference venue, will round-up the program with a dinner and bars and give attendees the possibility to discuss in a relaxed atmosphere. The conference organizers and the program committee with all speakers and tutors are looking forward to meet you at EuroBSDCon 2005. Please register at our website http://www.eurobsdcon.org/. You find the list of tutorials and the detailed conference schedule below. Marc Balmer, on behalf of the EuroBSDCon 2005 organizers. Tutorials - Kernel Debugging (Greg Lehey) - Single User Secure Shell Installing small systems with FreeBSD using the Secure Shell RAMdisk environment. (Adrian Steinmann) - IPv6 Programming Basics What a developer needs to know about IPv6 - protocol peculiarities, socket API extensions, test bed setups and porting issues. (Benedikt Stockebrand) - Eventdriven programming with libisc Eventdriven programming as an alternative to multi-threading with real world code examination. This is a half day tutorial only. (Poul-Henning Kamp) - OpenBSD-based wireless networks Implementing and deploying OpenBSD based wireless networks using hostapd, new drivers and the improved IEEE 802.11 framework. (Reyk Floeter) Important notes regarding tutorials You must register for the conference to attend a tutorial. Tutorials impose an additional fee. See the registration form for details. Thursday Schedule For people arriving on Thursday evening, the registration will be open in the lobby of the Hotel Europe from 17:00 till 22:00. Friday Schedule 08:00 - 09:00 Registration at the University 13:00 - 14:00 Lunch 14:00 - 17:00 Tutorials 17:00 - 22:00 Registration at the Hotel Europe Saturday Schedule 08:00 - 08:30 Registration at the University 08:30 - 09:30 Welcome, Opening session 09:30 - 10:30 Signal handlers (Henning Brauer) Single User Secure Shell (Adrian Steinmann) 10:30 - 11:00 Coffee break 11:00 - 12:00 Network stack randomness (Ryan McBride) Complete hard disk encryption using FreeBSD's GEOM framework (Marc Schiesser) 12:00 - 13:00 Improving TCP/IP security through randomization without sacrificing interoperability (Michael James Silbersack) A machine-independent port of the MPD language runtime system to NetBSD (Ignatios Souvatzis) 13:00 - 14:00 Sandwich lunch 14:00 - 15:00 New evolutions in the X Window System (Matthieu Herrb & Matthias Hopf 15:00 - 16:00 The design and implementation of OpenOSPFD (Claudio Jeker) Remote user access VPNs (Emmanuel Dreyfus) 16:00 - 16:30 Coffee break 16:30 - 17:30 Building robust firewalls with OpenBSD and PF (Ryan McBride) 17:30 - 18:30 SMPng Development and status report (Robert Watson) Filtering bridges at your duty (Massimiliano Stucchi) 18:30 - 19:30 BOFs 19:30 - 20:30 Free Time 20:30 - 02:00 Social event: The night of the living dead Sunday Schedule 09:30 - 10:30 DVCS, or a new way to use Version control systems on FreeBSD (Ollivier Robert) Porting NetBSD/evbarm to the Arcom Viper (Antti Kantee) 10:30 - 11:00 Coffee break 11:00 - 12:00 New networking features in FreeBSD (Andre Oppermann) Building a FreeBSD appliance with NanoBSD (Poul-Henning Kamp) 12:00 - 13:00 Optimizing the FreeBSD IP and TCP stack (Andre Oppermann) Embedded OpenBSD (Niall O'Higgins & Uwe Stuehler) 13:00 - 14:00 Warm lunch 14:00 - 15:00 A new thread implementation for OpenBSD (Ted Unangst) FreeBSD jails in depth. An implementation walkthrough and usefulness example (Matteo Riondato) 15:00 - 16:00 Mystery Session 16:00 - 17:00 Closing Session ------------------------------------------------------- -- /"\ Best regards, | mlaier@freebsd.org \ / Max Laier | ICQ #67774661 X http://pf4freebsd.love2party.net/ | mlaier@EFnet / \ ASCII Ribbon Campaign | Against HTML Mail and News From owner-freebsd-hackers@FreeBSD.ORG Mon Sep 12 14:41:56 2005 Return-Path: X-Original-To: freebsd-hackers@freebsd.org 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 0B9FA16A41F for ; Mon, 12 Sep 2005 14:41:56 +0000 (GMT) (envelope-from simon@comsys.ntu-kpi.kiev.ua) Received: from comsys.ntu-kpi.kiev.ua (comsys.ntu-kpi.kiev.ua [195.245.194.142]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7B92943D45 for ; Mon, 12 Sep 2005 14:41:37 +0000 (GMT) (envelope-from simon@comsys.ntu-kpi.kiev.ua) Received: from pm514-9.comsys.ntu-kpi.kiev.ua (pm514-9.comsys.ntu-kpi.kiev.ua [10.18.54.109]) (authenticated bits=0) by comsys.ntu-kpi.kiev.ua (8.12.10/8.12.10) with ESMTP id j8CEmv82012942 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 12 Sep 2005 17:48:58 +0300 (EEST) Received: by pm514-9.comsys.ntu-kpi.kiev.ua (Postfix, from userid 1000) id 9CD411A3; Mon, 12 Sep 2005 17:38:26 +0300 (EEST) Date: Mon, 12 Sep 2005 17:38:26 +0300 From: Andrey Simonenko To: Zlatan Ibrahimovic Message-ID: <20050912143826.GA401@pm514-9.comsys.ntu-kpi.kiev.ua> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.1i X-Spam-Status: No, score=-4.0 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.0.1 X-Spam-Checker-Version: SpamAssassin 3.0.1 (2004-10-22) on comsys.ntu-kpi.kiev.ua X-Virus-Scanned: ClamAV 0.82/1049/Wed Aug 31 10:19:01 2005 on comsys.ntu-kpi.kiev.ua X-Virus-Status: Clean Cc: freebsd-hackers@freebsd.org Subject: Re: clock software interrupt X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Sep 2005 14:41:56 -0000 On Sat, Sep 10, 2005 at 09:34:48PM +0200, Zlatan Ibrahimovic wrote: > Hi folks, > I've seen clock software interrupt thread (referring to clk_ithd in > kern/kern_intr.c); watching to manpages I read that priority is used > as vector for that thread. My question is how can I call this software > handler? There's no track in the IDT for the associated handler... > (ia32, for better check see i386/i386/exception.s). The softclock() function is registered as an another one handler for SWI_CLOCK by calling the swi_add() function. Since clk_ithd is NULL at the moment when swi_add() for softclock() handler is called, interrupt thread is created for SWI_CLOCK in swi_addr() by the ithread_create() function. An interrupt thread is a special kthread and interrupt threads run ithread_loop() function as the main function for kthread. Interrupt handler for the softclock() function is returned in softclock_ih. The simplified idea of ithread_loop() is the following: if there is the request for some handler, then process this request by requested handler else voluntary switch context. Another one handler for SWI_CLOCK is siopoll(). If you run "ps auxw | grep clock" you will see two handlers for swi5 (SWI_CLOCK). When hardclock() decides that softclock() should be called is schedules clk_ithd ithread via handler softclock_ih by calling swi_sched(). From owner-freebsd-hackers@FreeBSD.ORG Mon Sep 12 16:45:09 2005 Return-Path: X-Original-To: hackers@FreeBSD.org 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 9A3D216A41F for ; Mon, 12 Sep 2005 16:45:09 +0000 (GMT) (envelope-from andreas@klemm.apsfilter.org) Received: from srv1.cosmo-project.de (srv1.cosmo-project.de [213.83.6.106]) by mx1.FreeBSD.org (Postfix) with ESMTP id CDF7C43D46 for ; Mon, 12 Sep 2005 16:45:07 +0000 (GMT) (envelope-from andreas@klemm.apsfilter.org) Received: from srv1.cosmo-project.de (localhost [IPv6:::1]) by srv1.cosmo-project.de (8.12.10/8.12.10) with ESMTP id j8CGj6BS004570 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO); Mon, 12 Sep 2005 18:45:06 +0200 (CEST) (envelope-from andreas@klemm.apsfilter.org) Received: (from uucp@localhost) by srv1.cosmo-project.de (8.12.10/8.12.10/Submit) with UUCP id j8CGj5DS004569; Mon, 12 Sep 2005 18:45:05 +0200 (CEST) (envelope-from andreas@klemm.apsfilter.org) Received: from titan.klemm.apsfilter.org (localhost [127.0.0.1]) by klemm.apsfilter.org (8.13.3/8.13.1) with ESMTP id j8CGialD099259; Mon, 12 Sep 2005 18:44:36 +0200 (CEST) (envelope-from andreas@titan.klemm.apsfilter.org) Received: (from andreas@localhost) by titan.klemm.apsfilter.org (8.13.3/8.13.1/Submit) id j8CGiarU099258; Mon, 12 Sep 2005 18:44:36 +0200 (CEST) (envelope-from andreas) Date: Mon, 12 Sep 2005 18:44:36 +0200 From: Andreas Klemm To: Florent Thoumie Message-ID: <20050912164436.GA98313@titan.klemm.apsfilter.org> References: <20050911103410.GA9536@titan.klemm.apsfilter.org> <4324426E.4010503@osoft.us> <20050911182450.GA992@titan.klemm.apsfilter.org> <1126513851.1894.20.camel@cream.xbsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <1126513851.1894.20.camel@cream.xbsd.org> X-Operating-System: FreeBSD 5.4-STABLE X-Disclaimer: A free society is one where it is safe to be unpopular User-Agent: Mutt/1.5.9i Cc: hackers@FreeBSD.org Subject: Re: need hints to recover lost FreeBSD partition entries in MBR ... X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Sep 2005 16:45:09 -0000 On Mon, Sep 12, 2005 at 10:30:51AM +0200, Florent Thoumie wrote: > Le Dimanche 11 septembre 2005 à 20:24 +0200, Andreas Klemm a écrit : > > fdisk -u did the trick to interactively edit the partition table. > > > > Confusing was then, that the previous FreeBSD partitions > > /dev/ad4s3d and /dev/ad4s4d were not present anymore. > > > > I had to use /dev/ad4s3c and /dev/ad4s4. > > > > But now I luckily was able to mount my old filesystems. > > > > Am now in the process of cleaning up. > > > > Thanks for all the help. > > Too late but you might want to have a look at sysutils/testdisk. hmmm ... are you sure that it not only displays the filling of mounted filesystems ? >From the ports description it looks to me: "`disktool' is a good sysadmin tool for monitoring diskfull situations to avoid datafile corruption." My situation was way different, since I lost my partition table in MBR and was not able to mount anything since I needed to reconstructure the partitiontable using fdisk 1st. Andreas /// -- Andreas Klemm - Powered by FreeBSD 5.4 Need a magic printfilter today ? -> http://www.apsfilter.org/ From owner-freebsd-hackers@FreeBSD.ORG Mon Sep 12 17:17:43 2005 Return-Path: X-Original-To: hackers@FreeBSD.org 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 8046016A41F; Mon, 12 Sep 2005 17:17:43 +0000 (GMT) (envelope-from flz@xbsd.org) Received: from smtp.xbsd.org (xbsd.org [82.233.2.192]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0311143D46; Mon, 12 Sep 2005 17:17:42 +0000 (GMT) (envelope-from flz@xbsd.org) Received: from localhost (localhost.xbsd.org [127.0.0.1]) by smtp.xbsd.org (Postfix) with ESMTP id 73FF2118A6; Mon, 12 Sep 2005 19:17:41 +0200 (CEST) Received: from smtp.xbsd.org ([127.0.0.1]) by localhost (srv1.xbsd.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 25380-02; Mon, 12 Sep 2005 19:17:32 +0200 (CEST) Received: from [163.5.255.65] (socks.epitech.net [163.5.255.65]) by smtp.xbsd.org (Postfix) with ESMTP id 8C51C117BB; Mon, 12 Sep 2005 19:17:32 +0200 (CEST) Message-ID: <4325B826.1080906@xbsd.org> Date: Mon, 12 Sep 2005 19:17:26 +0200 From: Florent Thoumie User-Agent: Mozilla Thunderbird 1.0.6 (X11/20050824) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Andreas Klemm References: <20050911103410.GA9536@titan.klemm.apsfilter.org> <4324426E.4010503@osoft.us> <20050911182450.GA992@titan.klemm.apsfilter.org> <1126513851.1894.20.camel@cream.xbsd.org> <20050912164436.GA98313@titan.klemm.apsfilter.org> In-Reply-To: <20050912164436.GA98313@titan.klemm.apsfilter.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Scanned: amavisd-new at xbsd.org Cc: hackers@FreeBSD.org Subject: Re: need hints to recover lost FreeBSD partition entries in MBR ... X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Sep 2005 17:17:43 -0000 Andreas Klemm wrote: > On Mon, Sep 12, 2005 at 10:30:51AM +0200, Florent Thoumie wrote: > >>Le Dimanche 11 septembre 2005 à 20:24 +0200, Andreas Klemm a écrit : >> >>>fdisk -u did the trick to interactively edit the partition table. >>> >>>Confusing was then, that the previous FreeBSD partitions >>>/dev/ad4s3d and /dev/ad4s4d were not present anymore. >>> >>>I had to use /dev/ad4s3c and /dev/ad4s4. >>> >>>But now I luckily was able to mount my old filesystems. >>> >>>Am now in the process of cleaning up. >>> >>>Thanks for all the help. >> >> Too late but you might want to have a look at sysutils/testdisk. > > > hmmm ... are you sure that it not only displays the > filling of mounted filesystems ? > >>From the ports description it looks to me: > "`disktool' is a good sysadmin tool for monitoring > diskfull situations to avoid datafile corruption." That is sysutils/disktool, not sysutils/testdisk :-) -- Florent Thoumie FreeBSD Committer flz@FreeBSD.org From owner-freebsd-hackers@FreeBSD.ORG Mon Sep 12 18:19:18 2005 Return-Path: X-Original-To: hackers@freebsd.org 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 6935D16A41F for ; Mon, 12 Sep 2005 18:19:18 +0000 (GMT) (envelope-from polytopes@gmail.com) Received: from xproxy.gmail.com (xproxy.gmail.com [66.249.82.199]) by mx1.FreeBSD.org (Postfix) with ESMTP id BAA1D43D46 for ; Mon, 12 Sep 2005 18:19:17 +0000 (GMT) (envelope-from polytopes@gmail.com) Received: by xproxy.gmail.com with SMTP id i31so2472948wxd for ; Mon, 12 Sep 2005 11:19:16 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=sfvHEJU2vus1BXzlio3RJT4qiT9q+pKWNX7bEH5TCzr986ctr+lfMHgaMKcs8ErUJ1KeLQm1pY3Jck9/t7Dm1vrq4re42qJ4BycXWIFbOgAjVglLHHcnO/zcxD2yvCw2/QGvYl0JXQDeR9KaHi8Yh8nwVkdtw9514/JmDaPoezI= Received: by 10.70.117.20 with SMTP id p20mr3724wxc; Mon, 12 Sep 2005 11:19:16 -0700 (PDT) Received: by 10.70.76.19 with HTTP; Mon, 12 Sep 2005 11:19:16 -0700 (PDT) Message-ID: <8059f9a805091211195db33c96@mail.gmail.com> Date: Mon, 12 Sep 2005 14:19:16 -0400 From: Brian Wilson To: hackers@freebsd.org In-Reply-To: <20050912081952.H87302@x12.dk> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <1126200580.4320750472d15@mail.nipsi.de> <432178EA.2040602@centtech.com> <8059f9a80509101117b3336bf@mail.gmail.com> <4324F482.1000204@centtech.com> <20050912081952.H87302@x12.dk> Cc: xride@x12.dk, Eric Anderson Subject: Re: status of ufsj and gjournal X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: polytopes@gmail.com List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Sep 2005 18:19:18 -0000 On 9/12/05, Soeren Straarup wrote: > On Sun, 11 Sep 2005, Eric Anderson wrote: > > I'm willing to play with pre-beta patches or tarballs/etc. Feel free t= o > > contact me off list if you'd like a guinea pig. > > >=20 > So am I.. I have the hw to test on too and i wanna test geomgui too (8 My current code is running into locking issues and isn't quite stable. I'm doing a partial re-work of managing buffers, so once I get that working I'll be very glad for all of the beta testers that I can get. Thanks, Brian From owner-freebsd-hackers@FreeBSD.ORG Tue Sep 13 04:46:23 2005 Return-Path: X-Original-To: freebsd-hackers@freebsd.org 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 77B2C16A41F for ; Tue, 13 Sep 2005 04:46:23 +0000 (GMT) (envelope-from nsrashmi@gmail.com) Received: from xproxy.gmail.com (xproxy.gmail.com [66.249.82.200]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5408143D60 for ; Tue, 13 Sep 2005 04:46:18 +0000 (GMT) (envelope-from nsrashmi@gmail.com) Received: by xproxy.gmail.com with SMTP id i27so2149395wxd for ; Mon, 12 Sep 2005 21:46:17 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:references; b=tQlDnkAKDRkMtbFCQrCdKGyTpKMKF41HOhm8NDqmiyVJchLMUz45yQxMQS9qx9IyHw3O3rix2UAWtQiDTYuOF/SAi9RZ5kqpdb2b5AWfHMrFWMyELr77ci1Ey8aEUzlFwEGhP/t3xLn9b9ozy25BN7/ufmcT6vQqVZ4qOtoIsjc= Received: by 10.70.35.1 with SMTP id i1mr32223wxi; Mon, 12 Sep 2005 21:46:17 -0700 (PDT) Received: by 10.70.15.12 with HTTP; Mon, 12 Sep 2005 21:46:17 -0700 (PDT) Message-ID: <9f99931605091221463addc8a4@mail.gmail.com> Date: Tue, 13 Sep 2005 10:16:17 +0530 From: rashmi ns To: bugi@lists.redbrick.dcu.ie, freebsd-hackers@freebsd.org In-Reply-To: <9f99931605091200085048847a@mail.gmail.com> Mime-Version: 1.0 References: <9f99931605091200085048847a@mail.gmail.com> X-Mailman-Approved-At: Tue, 13 Sep 2005 10:46:26 +0000 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Re: Porting from linux to freebsd help needed X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: nsrashmi@gmail.com List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Sep 2005 04:46:23 -0000 Hi All, I wanted to add a psuedo network driver can any one tell me what else needs= =20 to be done here to provide a simple psuedo interface=20 test_modevent(module_t mod, int type, void *data) { switch (type) { case MOD_LOAD: uprintf("The psuedo driver loaded\n"); //attach a ifnet structure ip=3D(struct inet *)malloc(sizeof(struct ifnet),M_DEVBUF,M_WAITOK); ip->if_dname=3D"test"; ip->if_flags =3D IFF_UP| IFF_RUNNING| IFF_POINTOPOINT | IFF_MULTICAST |=20 IFF_NEEDSGIANT; ip->if_ioctl =3D test_sioctl; ip->if_start =3D test_ifstart; ip->if_watchdog =3D test_ifwatchdog; ip->if_init =3D test_initialize; strlcpy(ip->if_xname, "test",5); if_attach (ip); break; case MOD_UNLOAD: uprintf("test_ps module unload - not possible for this module type\n"); if_detach (ip); free(ip,M_DEVBUF); return EINVAL; default: return EOPNOTSUPP; } return 0; } Thanks and Regards, Rashmi.N.S From owner-freebsd-hackers@FreeBSD.ORG Tue Sep 13 08:57:59 2005 Return-Path: X-Original-To: freebsd-hackers@freebsd.org 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 7F33016A41F for ; Tue, 13 Sep 2005 08:57:59 +0000 (GMT) (envelope-from fergus@cobbled.net) Received: from ni-mail2.dna.utvinternet.net (mail2.u.tv [194.46.8.26]) by mx1.FreeBSD.org (Postfix) with ESMTP id DECF243D45 for ; Tue, 13 Sep 2005 08:57:58 +0000 (GMT) (envelope-from fergus@cobbled.net) Received: from mail.cobbled.net (unverified [195.218.110.91]) by ni-mail2.dna.utvinternet.net (Vircom SMTPRS 4.1.361.18) with ESMTP id ; Tue, 13 Sep 2005 09:57:56 +0100 Received: from eyore.cobbled.net (localhost [127.0.0.1]) by mail.cobbled.net (8.12.10/8.12.10) with ESMTP id j8D8vt1c002995; Tue, 13 Sep 2005 09:57:55 +0100 (BST) (envelope-from fergus@eyore.public.cobbled.net) Received: (from fergus@localhost) by eyore.cobbled.net (8.12.10/8.12.10/Submit) id j8D8vs9p002994; Tue, 13 Sep 2005 09:57:54 +0100 (BST) (envelope-from fergus) Date: Tue, 13 Sep 2005 09:57:54 +0100 From: n0g0013 To: rashmi ns Message-ID: <20050913085754.GB2948@eyore.cobbled.net> Mail-Followup-To: rashmi ns , bugi@lists.redbrick.dcu.ie, freebsd-hackers@freebsd.org References: <9f99931605091200085048847a@mail.gmail.com> <9f99931605091221463addc8a4@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <9f99931605091221463addc8a4@mail.gmail.com> X-Mailman-Approved-At: Tue, 13 Sep 2005 10:46:26 +0000 Cc: freebsd-hackers@freebsd.org, bugi@lists.redbrick.dcu.ie Subject: Re: [BUGI] Re: Porting from linux to freebsd help needed X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Sep 2005 08:57:59 -0000 On 13.09-10:16, rashmi ns wrote: [ ... ] > I wanted to add a psuedo network driver can any one tell me what else needs > to be done here to provide a simple psuedo interface not to repeat what david said but look at /usr/src/sys/net/if_disc.c for information. the code supplied is only enough to handle the module loading -- nothing to do with network interfaces (except that they may also be modules). most of the magic is handled by the macro definitions and kernel callbacks. if you're really stuck try posting the full source. if you are looking to implement a pseudo device you may wish to look at netgraph -- i have no experience of it but rumour suggests it is an effective way to stack protocol handlers, drivers and other network magic. -- t t w From owner-freebsd-hackers@FreeBSD.ORG Tue Sep 13 10:36:10 2005 Return-Path: X-Original-To: freebsd-hackers@freebsd.org 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 256EF16A41F; Tue, 13 Sep 2005 10:36:10 +0000 (GMT) (envelope-from m.ehinger@ltur.de) Received: from posty.gateway-inter.net (posty.gateway-inter.net [213.144.19.86]) by mx1.FreeBSD.org (Postfix) with ESMTP id CB85B43D45; Tue, 13 Sep 2005 10:36:09 +0000 (GMT) (envelope-from m.ehinger@ltur.de) In-Reply-To: <20050815063855.24333.qmail@web54407.mail.yahoo.com> Sensitivity: To: freebsd-drivers@freebsd.org, freebsd-hackers@freebsd.org, freebsd-questions@freebsd.org Message-ID: From: m.ehinger@ltur.de Date: Tue, 13 Sep 2005 12:35:03 +0200 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII X-Mailman-Approved-At: Tue, 13 Sep 2005 10:46:26 +0000 Cc: Subject: Thinkpad Accelerometer driver new Version 0.5 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Sep 2005 10:36:10 -0000 Hi, anyone who is interested can download the source at https://sourceforge.net/project/showfiles.php?group_id=138242&package_id=160977 Use at your own risk! I've tested it on my T42 M1G with FreeBSD 7.0-Current (Aug 10) only. It now provides a mouse like device (/dev/accelm), which could be used to play "neverball" e.g Please see CHANGELOG and README for further informations. Please let me know what you think. thanks maik From owner-freebsd-hackers@FreeBSD.ORG Tue Sep 13 12:33:03 2005 Return-Path: X-Original-To: hackers@freebsd.org 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 7971E16A41F for ; Tue, 13 Sep 2005 12:33:03 +0000 (GMT) (envelope-from anderson@centtech.com) Received: from mh2.centtech.com (moat3.centtech.com [207.200.51.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id EBBCC43D49 for ; Tue, 13 Sep 2005 12:33:02 +0000 (GMT) (envelope-from anderson@centtech.com) Received: from [10.177.171.220] (neutrino.centtech.com [10.177.171.220]) by mh2.centtech.com (8.13.1/8.13.1) with ESMTP id j8DCX1Qc094920; Tue, 13 Sep 2005 07:33:01 -0500 (CDT) (envelope-from anderson@centtech.com) Message-ID: <4326C703.9050006@centtech.com> Date: Tue, 13 Sep 2005 07:33:07 -0500 From: Eric Anderson User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.11) Gecko/20050904 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Soeren Straarup References: <1126200580.4320750472d15@mail.nipsi.de> <432178EA.2040602@centtech.com> <8059f9a80509101117b3336bf@mail.gmail.com> <4324F482.1000204@centtech.com> <20050912081952.H87302@x12.dk> In-Reply-To: <20050912081952.H87302@x12.dk> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV 0.82/1081/Tue Sep 13 02:06:09 2005 on mh2.centtech.com X-Virus-Status: Clean Cc: hackers@freebsd.org Subject: Re: status of ufsj and gjournal X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Sep 2005 12:33:03 -0000 Soeren Straarup wrote: > On Sun, 11 Sep 2005, Eric Anderson wrote: > >> Brian Wilson wrote: >> >>> On 9/9/05, Eric Anderson wrote: >>> >>>> db@nipsi.de wrote: >>>> >>>>> Hi list, >>>>> I wonder whats the status of those summer of code projects. >>>>> >>>>>> From gjournal we heard that it has been completed but then nothing >>>>>> happens, any >>>>> >>>>> further information about this? >>>>> Is somebody working on ufsj? Was the summer of code project >>>>> successful? >>>> >>>> >>>> Scott Long is the core person working on ufsj, and I have seen some >>>> stuff worked on in his perforce tree, but I think it's a ways away from >>>> being beta. I'm sure he would welcome help. >>> >>> >>> >>> I was working on the ufsj stuff as a Google SoC project with Scott. >>> >>> It is very close to beta, however this past week involved school >>> starting back up, so I have been unable to do any work at all. >>> >>> However, now that I am settled in at school (for some definition of >>> settled in), I have time to devote to ufsj again. >>> >>> I hope to release a beta "real soon now", so stay tuned. >> >> >> Hey Brian! Thanks for the info - I've been very interested in the >> development of the project, but Scott is too busy doing other real >> stuff, and I oddly didn't even think to ask you anything. :( >> >> I'm willing to play with pre-beta patches or tarballs/etc. Feel free >> to contact me off list if you'd like a guinea pig. >> > > So am I.. I have the hw to test on too and i wanna test geomgui too (8 What is geomgui aimed at doing? I've been wanting to write a geom viewer that displays (in near real-time) reads/writes to geom providers at a block level visually. Is geomgui going to do something like that? From the src I downloaded and ran from your site, it looked as though you wanted to show a layout of the geom connections. Eric -- ------------------------------------------------------------------------ Eric Anderson Sr. Systems Administrator Centaur Technology Anything that works is better than anything that doesn't. ------------------------------------------------------------------------ From owner-freebsd-hackers@FreeBSD.ORG Tue Sep 13 13:29:58 2005 Return-Path: X-Original-To: freebsd-hackers@freebsd.org 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 2EA7E16A41F for ; Tue, 13 Sep 2005 13:29:58 +0000 (GMT) (envelope-from vd@datamax.bg) Received: from jengal.datamax.bg (jengal.datamax.bg [82.103.104.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1D04543D60 for ; Tue, 13 Sep 2005 13:29:55 +0000 (GMT) (envelope-from vd@datamax.bg) Received: from sinanica.bg.datamax (sinanica.bg.datamax [192.168.10.1]) by jengal.datamax.bg (Postfix) with QMQP id 35C1487C8; Tue, 13 Sep 2005 16:29:54 +0300 (EEST) Received: (nullmailer pid 46904 invoked by uid 1004); Tue, 13 Sep 2005 13:29:54 -0000 Date: Tue, 13 Sep 2005 16:29:54 +0300 From: Vasil Dimov To: Kris Kennaway Message-ID: <20050913132954.GA43785@sinanica.bg.datamax> References: <20050907184643.GA61702@sinanica.bg.datamax> <20050907233241.GA32464@xor.obsecurity.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050907233241.GA32464@xor.obsecurity.org> X-OS: FreeBSD 5.4-STABLE User-Agent: Mutt/1.5.10i Cc: freebsd-hackers@freebsd.org Subject: Re: Reproducable panic under heavy disk I/O on 5.4-latestandthegreatest X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: vd@datamax.bg List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Sep 2005 13:29:58 -0000 On Wed, Sep 07, 2005 at 07:32:41PM -0400, Kris Kennaway wrote: > On Wed, Sep 07, 2005 at 09:46:43PM +0300, Vasil Dimov wrote: > > Unread portion of the kernel message buffer: > > panic: kmem_malloc(4096): kmem_map too small: 40886272 total allocated > > This indicates you're running your kernel out of memory. Try tuning > VM_KMEM_SIZE_MAX, e.g. > > options VM_KMEM_SIZE_MAX=524288000 #500MB tweaking with vm.kmem_size and vm.kmem_size_max sysctls resolved the problem, thanks. > > lock order reversal > > 1st 0xc15aa798 inp (tcpinp) @ netinet/tcp_usrreq.c:371 > > 2nd 0xc071ae00 ipf filter rwlock (ipf filter rwlock) @ contrib/ipfilter/netinet/fil.c:1107 > > This indicates that ipf is broken on SMP, as is well-known. Well, but this machine is not SMP, neither is has SMP enabled, as dmesg and kernel config (included in the first mail) shows. But this is another issue, not for this thread, I just included the full dmesg. > Kris From owner-freebsd-hackers@FreeBSD.ORG Tue Sep 13 22:35:35 2005 Return-Path: X-Original-To: hackers@freebsd.org 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 9EB2D16A41F for ; Tue, 13 Sep 2005 22:35:35 +0000 (GMT) (envelope-from xride@x12.dk) Received: from swip.net (mailfe09.tele2.se [212.247.155.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id EE0AB43D45 for ; Tue, 13 Sep 2005 22:35:34 +0000 (GMT) (envelope-from xride@x12.dk) X-T2-Posting-ID: lkM/Dn7LTUP9vUt2XCoVCw== Received: from x12.dk ([83.72.97.237] verified) by mailfe09.swip.net (CommuniGate Pro SMTP 4.3.4) with ESMTP id 241350294; Wed, 14 Sep 2005 00:35:32 +0200 Received: from localhost (unknown [127.0.0.1]) by x12.dk (Postfix) with ESMTP id 4AC7A5081A; Wed, 14 Sep 2005 00:35:32 +0200 (CEST) Received: from x12.dk ([127.0.0.1]) by localhost (x12.dk [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 52751-06; Wed, 14 Sep 2005 00:34:06 +0200 (CEST) Received: from x12.dk (localhost [127.0.0.1]) by x12.dk (Postfix) with ESMTP; Wed, 14 Sep 2005 00:33:53 +0200 (CEST) Received: from localhost (xride@localhost) by x12.dk (8.13.3/8.13.3/Submit) with ESMTP id j8DMXqLj053147; Wed, 14 Sep 2005 00:33:52 +0200 (CEST) (envelope-from xride@x12.dk) Date: Wed, 14 Sep 2005 00:33:51 +0200 (CEST) From: Soeren Straarup To: Eric Anderson In-Reply-To: <4326C703.9050006@centtech.com> Message-ID: <20050914003150.C44276@x12.dk> References: <1126200580.4320750472d15@mail.nipsi.de> <432178EA.2040602@centtech.com> <8059f9a80509101117b3336bf@mail.gmail.com> <4324F482.1000204@centtech.com> <20050912081952.H87302@x12.dk> <4326C703.9050006@centtech.com> MIME-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="0-1669617677-1126650831=:44276" X-Virus-Scanned: amavisd-new at x12.dk Cc: hackers@freebsd.org Subject: Re: status of ufsj and gjournal X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Sep 2005 22:35:35 -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-1669617677-1126650831=:44276 Content-Type: TEXT/PLAIN; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: QUOTED-PRINTABLE On Tue, 13 Sep 2005, Eric Anderson wrote: > Soeren Straarup wrote: >> On Sun, 11 Sep 2005, Eric Anderson wrote: >>=20 >>> Brian Wilson wrote: >>>=20 >>>> On 9/9/05, Eric Anderson wrote: >>>>=20 >>>>> db@nipsi.de wrote: >>>>>=20 >>>>>> Hi list, >>>>>> I wonder whats the status of those summer of code projects. >>>>>>=20 >>>>>>> From gjournal we heard that it has been completed but then nothing= =20 >>>>>>> happens, any >>>>>>=20 >>>>>> further information about this? >>>>>> Is somebody working on ufsj? Was the summer of code project successf= ul? >>>>>=20 >>>>>=20 >>>>> Scott Long is the core person working on ufsj, and I have seen some >>>>> stuff worked on in his perforce tree, but I think it's a ways away fr= om >>>>> being beta. I'm sure he would welcome help. >>>>=20 >>>>=20 >>>>=20 >>>> I was working on the ufsj stuff as a Google SoC project with Scott. >>>>=20 >>>> It is very close to beta, however this past week involved school >>>> starting back up, so I have been unable to do any work at all. >>>>=20 >>>> However, now that I am settled in at school (for some definition of >>>> settled in), I have time to devote to ufsj again. >>>>=20 >>>> I hope to release a beta "real soon now", so stay tuned. >>>=20 >>>=20 >>> Hey Brian! Thanks for the info - I've been very interested in the=20 >>> development of the project, but Scott is too busy doing other real stuf= f,=20 >>> and I oddly didn't even think to ask you anything. :( >>>=20 >>> I'm willing to play with pre-beta patches or tarballs/etc. Feel free t= o=20 >>> contact me off list if you'd like a guinea pig. >>>=20 >>=20 >> So am I.. I have the hw to test on too and i wanna test geomgui too (8 > > What is geomgui aimed at doing? I've been wanting to write a geom viewer= =20 > that displays (in near real-time) reads/writes to geom providers at a blo= ck=20 > level visually. Is geomgui going to do something like that? From the sr= c I=20 > downloaded and ran from your site, it looked as though you wanted to show= a=20 > layout of the geom connections. > > Eric Your right so far about geomgui. It is to show the way the different things are hooked up. But i have plans to make it an interface to the geom layer somehow. But i'm hooked up on other stuff at the moment. \S=F8ren Soeren Straarup | aka OZ2DAK aka Xride FreeBSD wannabe | FreeBSD since 2.2.6-R 'We wanted to believe. But the tools had been taken away..' Mulder --0-1669617677-1126650831=:44276-- From owner-freebsd-hackers@FreeBSD.ORG Wed Sep 14 02:49:05 2005 Return-Path: X-Original-To: freebsd-hackers@freebsd.org 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 2D1F516A41F; Wed, 14 Sep 2005 02:49:05 +0000 (GMT) (envelope-from takawata@init-main.com) Received: from ns.init-main.com (104.194.138.210.bn.2iij.net [210.138.194.104]) by mx1.FreeBSD.org (Postfix) with ESMTP id 70AA643D45; Wed, 14 Sep 2005 02:48:54 +0000 (GMT) (envelope-from takawata@init-main.com) Received: from init-main.com (localhost [127.0.0.1]) by ns.init-main.com (8.13.3/8.13.1) with ESMTP id j8E2hXPY049090; Wed, 14 Sep 2005 11:43:34 +0900 (JST) (envelope-from takawata@init-main.com) Message-Id: <200509140243.j8E2hXPY049090@ns.init-main.com> To: freebsd-hackers@freebsd.org, freebsd-fs@freebsd.org From: takawata@jp.freebsd.org Date: Wed, 14 Sep 2005 11:43:33 +0900 Sender: takawata@init-main.com Cc: Subject: devfs file name NLS encoding? X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Sep 2005 02:49:05 -0000 Hi, as you know, we can create arbitaly file name on devfs. But for now, all file names on a devfs are encoded in ASCII. If we want to put Japanese file names in devfs, how should it be encoded? UTF-8 or something convinient for the source encoding? From owner-freebsd-hackers@FreeBSD.ORG Wed Sep 14 03:00:21 2005 Return-Path: X-Original-To: freebsd-hackers@freebsd.org 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 E399E16A41F for ; Wed, 14 Sep 2005 03:00:21 +0000 (GMT) (envelope-from nsrashmi@gmail.com) Received: from xproxy.gmail.com (xproxy.gmail.com [66.249.82.198]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7B07543D49 for ; Wed, 14 Sep 2005 03:00:21 +0000 (GMT) (envelope-from nsrashmi@gmail.com) Received: by xproxy.gmail.com with SMTP id i27so57285wxd for ; Tue, 13 Sep 2005 20:00:20 -0700 (PDT) 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; b=pfTQHddDgWSgneSHB/soB50X0ShXyaVx5mGUhHs3NWapqlSRswLfsMWQP8Zvu75dVjTQtLNMDmD+jQ9ufHEenM0oKwPaXf1zPHMA6xtwtQfgusbAgvZGG48JS457ulpD3hTk2Koy3ZUbvb8hc2AYTF5F+e1hADmUBlgnPmC1AuA= Received: by 10.70.42.8 with SMTP id p8mr31533wxp; Tue, 13 Sep 2005 20:00:20 -0700 (PDT) Received: by 10.70.15.12 with HTTP; Tue, 13 Sep 2005 20:00:20 -0700 (PDT) Message-ID: <9f99931605091320002845705e@mail.gmail.com> Date: Wed, 14 Sep 2005 08:30:20 +0530 From: rashmi ns To: freebsd-hackers@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: PCI_MULTI FUNCTION DEVICE DRIVERS X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: nsrashmi@gmail.com List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Sep 2005 03:00:22 -0000 Hello All, While writing a pci-driver for hdlc controller which has two functions=20 1.BRIDGE 2.Network Do we need to write two separate drivers for each class-code or how can a= =20 single driver manage two different functionalites .Are there any examples o= n=20 pci-multifunction drivers .I read in the documents that we need to use mbuf= =20 structure for multi-function devises are there any drivers which uses the= =20 same. Thanks in advance , Rashmi.N.S From owner-freebsd-hackers@FreeBSD.ORG Wed Sep 14 03:27:39 2005 Return-Path: X-Original-To: freebsd-hackers@freebsd.org 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 E09CE16A41F for ; Wed, 14 Sep 2005 03:27:39 +0000 (GMT) (envelope-from scottl@samsco.org) Received: from pooker.samsco.org (pooker.samsco.org [168.103.85.57]) by mx1.FreeBSD.org (Postfix) with ESMTP id 599DE43D45 for ; Wed, 14 Sep 2005 03:27:36 +0000 (GMT) (envelope-from scottl@samsco.org) Received: from [192.168.254.11] (junior.samsco.home [192.168.254.11]) (authenticated bits=0) by pooker.samsco.org (8.13.3/8.13.3) with ESMTP id j8E3RYN6033594; Tue, 13 Sep 2005 21:27:35 -0600 (MDT) (envelope-from scottl@samsco.org) Message-ID: <432798A5.7070105@samsco.org> Date: Tue, 13 Sep 2005 21:27:33 -0600 From: Scott Long User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.8) Gecko/20050615 X-Accept-Language: en-us, en MIME-Version: 1.0 To: nsrashmi@gmail.com References: <9f99931605091320002845705e@mail.gmail.com> In-Reply-To: <9f99931605091320002845705e@mail.gmail.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.8 required=3.8 tests=ALL_TRUSTED autolearn=failed version=3.0.2 X-Spam-Checker-Version: SpamAssassin 3.0.2 (2004-11-16) on pooker.samsco.org Cc: freebsd-hackers@freebsd.org Subject: Re: PCI_MULTI FUNCTION DEVICE DRIVERS X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Sep 2005 03:27:40 -0000 rashmi ns wrote: > Hello All, > While writing a pci-driver for hdlc controller which has two functions > 1.BRIDGE > 2.Network > Do we need to write two separate drivers for each class-code or how can a > single driver manage two different functionalites .Are there any examples on > pci-multifunction drivers .I read in the documents that we need to use mbuf > structure for multi-function devises are there any drivers which uses the > same. > Thanks in advance , > Rashmi.N.S In the FreeBSD driver model, the driver 'probe' method will get called for each PCI function in the system. The driver can either bid to claim it, or reject it. It's up to the driver author as to what criteria is used to bid/accept vs reject a function. Almost all drivers look at the pci device id set. Looking at merely the PCI class code is not recommended since it it far too ambiguous. Also, unlike Linux, the driver does not have easy access to the PCI enumeration internals of the OS. There are also no guarantees as to what order the bus will be probed or what order functions will be enumerated in. Do you actually need to program both functions of the hardware? Usually a bridge device tends to be passive from a driver standpoint. Is there something special that your bridge does? If so then you'll need to write two sets of drivers, each with a unique probe, attach, and detach method. Making the separate driver instances work together will be a bit tricky. The easy but really messy approach is to create some global variables and methods and have the drivers cheat. I'd avoid this is at all possible. Probably the more correct approach is to have each function walk the device tree and look for its sibling, then communicate via custom DEVMETHOD's. This does have performance implications though, so a combination of walking the tree then calling via direct dispatch is probably the best approach if performance is a factor. If you could provide more information about what your device is and what each function does, I can probably give better answers. Scott From owner-freebsd-hackers@FreeBSD.ORG Wed Sep 14 05:11:54 2005 Return-Path: X-Original-To: freebsd-hackers@freebsd.org 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 6E55D16A41F; Wed, 14 Sep 2005 05:11:54 +0000 (GMT) (envelope-from phk@phk.freebsd.dk) Received: from pasmtp.tele.dk (pasmtp.tele.dk [193.162.159.95]) by mx1.FreeBSD.org (Postfix) with ESMTP id 217E643D45; Wed, 14 Sep 2005 05:11:53 +0000 (GMT) (envelope-from phk@phk.freebsd.dk) Received: from phk.freebsd.dk (0x535c0e2a.sgnxx1.adsl-dhcp.tele.dk [83.92.14.42]) by pasmtp.tele.dk (Postfix) with ESMTP id 6CBCD1EC312; Wed, 14 Sep 2005 07:11:50 +0200 (CEST) To: takawata@jp.freebsd.org From: "Poul-Henning Kamp" In-Reply-To: Your message of "Wed, 14 Sep 2005 11:43:33 +0900." <200509140243.j8E2hXPY049090@ns.init-main.com> Date: Wed, 14 Sep 2005 07:11:44 +0200 Message-ID: <19961.1126674704@phk.freebsd.dk> Sender: phk@phk.freebsd.dk Cc: freebsd-fs@freebsd.org, freebsd-hackers@freebsd.org Subject: Re: devfs file name NLS encoding? X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Sep 2005 05:11:54 -0000 In message <200509140243.j8E2hXPY049090@ns.init-main.com>, takawata@jp.freebsd. org writes: >Hi, as you know, we can create arbitaly file name on devfs. >But for now, all file names on a devfs are encoded in ASCII. > >If we want to put Japanese file names in devfs, how should it >be encoded? UTF-8 or something convinient for the source encoding? All filenames in DEVFS are either created from the device driver 'C' source (as a string literal via sprintf mostly) or from userland as symlink. So whatever works. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence. From owner-freebsd-hackers@FreeBSD.ORG Wed Sep 14 06:39:20 2005 Return-Path: X-Original-To: freebsd-hackers@freebsd.org 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 3996316A41F for ; Wed, 14 Sep 2005 06:39:20 +0000 (GMT) (envelope-from simon@comsys.ntu-kpi.kiev.ua) Received: from comsys.ntu-kpi.kiev.ua (comsys.ntu-kpi.kiev.ua [195.245.194.142]) by mx1.FreeBSD.org (Postfix) with ESMTP id B37B543D45 for ; Wed, 14 Sep 2005 06:39:16 +0000 (GMT) (envelope-from simon@comsys.ntu-kpi.kiev.ua) Received: from pm514-9.comsys.ntu-kpi.kiev.ua (pm514-9.comsys.ntu-kpi.kiev.ua [10.18.54.109]) (authenticated bits=0) by comsys.ntu-kpi.kiev.ua (8.12.10/8.12.10) with ESMTP id j8E6lC82031286 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 14 Sep 2005 09:47:15 +0300 (EEST) Received: by pm514-9.comsys.ntu-kpi.kiev.ua (Postfix, from userid 1000) id 56058115; Wed, 14 Sep 2005 09:36:38 +0300 (EEST) Date: Wed, 14 Sep 2005 09:36:38 +0300 From: Andrey Simonenko To: Zlatan Ibrahimovic Message-ID: <20050914063638.GA258@pm514-9.comsys.ntu-kpi.kiev.ua> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.1i X-Spam-Status: No, score=-4.5 required=5.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.0.1 X-Spam-Checker-Version: SpamAssassin 3.0.1 (2004-10-22) on comsys.ntu-kpi.kiev.ua X-Virus-Scanned: ClamAV 0.82/1049/Wed Aug 31 10:19:01 2005 on comsys.ntu-kpi.kiev.ua X-Virus-Status: Clean Cc: freebsd-hackers@freebsd.org Subject: Re: clock software interrupt X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Sep 2005 06:39:20 -0000 On Sat, Sep 10, 2005 at 09:34:48PM +0200, Zlatan Ibrahimovic wrote: > Hi folks, > I've seen clock software interrupt thread (referring to clk_ithd in > kern/kern_intr.c); watching to manpages I read that priority is used > as vector for that thread. My question is how can I call this software > handler? There's no track in the IDT for the associated handler... > (ia32, for better check see i386/i386/exception.s). The siopoll() function was mentioned in previous answer, but I forgot to continue that sentence. I guess that you need something /sys/dev/sio does with clk_ithd, see in its sources how it adds own handlers to clk_ithd and tty_ithd and schedules these handlers. From owner-freebsd-hackers@FreeBSD.ORG Wed Sep 14 14:50:34 2005 Return-Path: X-Original-To: freebsd-hackers@freebsd.org 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 631FC16A41F for ; Wed, 14 Sep 2005 14:50:34 +0000 (GMT) (envelope-from imp@bsdimp.com) Received: from harmony.bsdimp.com (vc4-2-0-87.dsl.netrack.net [199.45.160.85]) by mx1.FreeBSD.org (Postfix) with ESMTP id D89FB43D45 for ; Wed, 14 Sep 2005 14:50:33 +0000 (GMT) (envelope-from imp@bsdimp.com) Received: from localhost (localhost.village.org [127.0.0.1] (may be forged)) by harmony.bsdimp.com (8.13.3/8.13.3) with ESMTP id j8EEn64q020186; Wed, 14 Sep 2005 08:49:09 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Wed, 14 Sep 2005 08:49:13 -0600 (MDT) Message-Id: <20050914.084913.10907287.imp@bsdimp.com> To: scottl@samsco.org From: "M. Warner Losh" In-Reply-To: <432798A5.7070105@samsco.org> References: <9f99931605091320002845705e@mail.gmail.com> <432798A5.7070105@samsco.org> X-Mailer: Mew version 3.3 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0 (harmony.bsdimp.com [127.0.0.1]); Wed, 14 Sep 2005 08:49:09 -0600 (MDT) Cc: nsrashmi@gmail.com, freebsd-hackers@freebsd.org Subject: Re: PCI_MULTI FUNCTION DEVICE DRIVERS X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Sep 2005 14:50:34 -0000 In message: <432798A5.7070105@samsco.org> Scott Long writes: : In the FreeBSD driver model, the driver 'probe' method will get called : for each PCI function in the system. The driver can either bid to : claim it, or reject it. It's up to the driver author as to what : criteria is used to bid/accept vs reject a function. Almost all drivers : look at the pci device id set. Looking at merely the PCI class code is : not recommended since it it far too ambiguous. Generally speaking this is true. However, the class is available for inspection and is used by some drivers in the tree (cardbus bridges, pci bridge, some serial cards). Extra care has to be taken when matching this way. : Also, unlike Linux, the : driver does not have easy access to the PCI enumeration internals of the : OS. There are also no guarantees as to what order the bus will be : probed or what order functions will be enumerated in. There's also no guarantee that attach will be called after probe without other probe routines being called. That's how it is currently implemented, but there's no iron clad guarnatee that this will always be the case. : Do you actually need to program both functions of the hardware? Usually : a bridge device tends to be passive from a driver standpoint. Is there : something special that your bridge does? If so then you'll need to : write two sets of drivers, each with a unique probe, attach, and detach : method. Making the separate driver instances work together will be a : bit tricky. The easy but really messy approach is to create some global : variables and methods and have the drivers cheat. I'd avoid this is at : all possible. Probably the more correct approach is to have each : function walk the device tree and look for its sibling, then communicate : via custom DEVMETHOD's. This does have performance implications though, : so a combination of walking the tree then calling via direct dispatch : is probably the best approach if performance is a factor. I've done this on other drivers in the past like this, and it works relatively well. Finding siblings can be a bit of a pain, so I usually do it once and cache the results. If your bridge function is just a pci bridge, for example, then the standard driver will likely do all that's required. Warner From owner-freebsd-hackers@FreeBSD.ORG Wed Sep 14 15:04:58 2005 Return-Path: X-Original-To: freebsd-hackers@freebsd.org 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 9983216A41F for ; Wed, 14 Sep 2005 15:04:58 +0000 (GMT) (envelope-from roger@audioweb.no) Received: from mail58-s.fg.online.no (mail58-s.fg.online.no [148.122.161.58]) by mx1.FreeBSD.org (Postfix) with ESMTP id 17D4943D46 for ; Wed, 14 Sep 2005 15:04:57 +0000 (GMT) (envelope-from roger@audioweb.no) Received: from aw001 (ti531210a080-5015.bb.online.no [83.109.211.155]) by mail58.fg.online.no (8.12.11/8.12.11) with ESMTP id j8EF4t4A024815 for ; Wed, 14 Sep 2005 17:04:56 +0200 (MEST) From: "Roger O. Svenning" To: Date: Wed, 14 Sep 2005 17:05:00 +0200 Message-ID: <000601c5b93d$aeb97320$6401a8c0@aw001> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.2616 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 Importance: Normal Subject: Intel 6300ESB SATA and TIMEOUT - WRITE_DMA X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Sep 2005 15:04:58 -0000 Hi I've browsed several topics on the 6300ESB SATA but found no definite answers. Like other people I'm getting messages like this: Sep 14 16:17:39 nwn kernel: ad2: TIMEOUT - WRITE_DMA retrying (2 retries left) LBA=3D181559215 Sep 14 16:17:49 nwn kernel: ad2: TIMEOUT - WRITE_DMA retrying (2 retries left) LBA=3D178887855 Sep 14 16:18:25 nwn kernel: ad2: TIMEOUT - WRITE_DMA retrying (2 retries left) LBA=3D177772175 Sep 14 16:18:54 nwn kernel: ad2: TIMEOUT - WRITE_DMA retrying (2 retries left) LBA=3D181145967 Sep 14 16:48:25 nwn kernel: ad2: TIMEOUT - READ_DMA retrying (2 retries left) LBA=3D111173359 Entire system is brand new. Tried to cvsup and rebuild the system today, still get the same errors and terrible disk performance. Anybody knows the status on this controller, possible fixes or planned fixes? uname: FreeBSD nwn.patnix.nl 5.4-STABLE FreeBSD 5.4-STABLE #0: Wed Sep 14 15:20:01 UTC 2005 dmesg extract: Sep 14 16:06:41 nwn kernel: atapci0: port 0xf000-0xf00f,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 irq 18 at device 31.2 on pci0 Sep 14 16:06:41 nwn kernel: acd0: DVDROM at ata0-slave PIO4 Sep 14 16:06:41 nwn kernel: ad2: 117800MB [239340/16/63] at ata1-master SATA150 Sep 14 16:06:41 nwn kernel: ad3: 117800MB [239340/16/63] at ata1-slave SATA150 Regards Roger O. Svenning Bod=F8 - Norway From owner-freebsd-hackers@FreeBSD.ORG Wed Sep 14 15:14:26 2005 Return-Path: X-Original-To: freebsd-hackers@FreeBSD.org 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 F269916A41F for ; Wed, 14 Sep 2005 15:14:25 +0000 (GMT) (envelope-from sos@FreeBSD.org) 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 6286F43D48 for ; Wed, 14 Sep 2005 15:14:25 +0000 (GMT) (envelope-from sos@FreeBSD.org) Received: from [194.192.25.136] (mac.deepcore.dk [194.192.25.136]) by spider.deepcore.dk (8.13.3/8.13.3) with ESMTP id j8EFE4wJ045509; Wed, 14 Sep 2005 17:14:04 +0200 (CEST) (envelope-from sos@FreeBSD.org) In-Reply-To: <000601c5b93d$aeb97320$6401a8c0@aw001> References: <000601c5b93d$aeb97320$6401a8c0@aw001> Mime-Version: 1.0 (Apple Message framework v734) X-Priority: 3 (Normal) Content-Type: text/plain; charset=ISO-8859-1; delsp=yes; format=flowed Message-Id: <177BC598-8FE1-46D6-8B3D-04112728038D@FreeBSD.org> Content-Transfer-Encoding: quoted-printable From: =?ISO-8859-1?Q?S=F8ren_Schmidt?= Date: Wed, 14 Sep 2005 17:13:52 +0200 To: "Roger O. Svenning" X-Mailer: Apple Mail (2.734) X-mail-scanned: by DeepCore Virus & Spam killer v1.12 Cc: freebsd-hackers@FreeBSD.org Subject: Re: Intel 6300ESB SATA and TIMEOUT - WRITE_DMA X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Sep 2005 15:14:26 -0000 On 14/09/2005, at 17:05, Roger O. Svenning wrote: > Hi > > I've browsed several topics on the 6300ESB SATA but found no definite > answers. > > Like other people I'm getting messages like this: > Sep 14 16:17:39 nwn kernel: ad2: TIMEOUT - WRITE_DMA retrying (2 =20 > retries > left) LBA=3D181559215 > Sep 14 16:17:49 nwn kernel: ad2: TIMEOUT - WRITE_DMA retrying (2 =20 > retries > left) LBA=3D178887855 > Sep 14 16:18:25 nwn kernel: ad2: TIMEOUT - WRITE_DMA retrying (2 =20 > retries > left) LBA=3D177772175 > Sep 14 16:18:54 nwn kernel: ad2: TIMEOUT - WRITE_DMA retrying (2 =20 > retries > left) LBA=3D181145967 > Sep 14 16:48:25 nwn kernel: ad2: TIMEOUT - READ_DMA retrying (2 =20 > retries > left) LBA=3D111173359 > > Entire system is brand new. > > Tried to cvsup and rebuild the system today, still get the same errors > and terrible disk performance. > > Anybody knows the status on this controller, possible fixes or planned > fixes? You should try 6.0-beta4 as that contains the solution to whatever =20 ATA problems you might have on 5.x. Let me know how that goes. S=F8ren Schmidt sos@FreeBSD.org From owner-freebsd-hackers@FreeBSD.ORG Wed Sep 14 15:36:06 2005 Return-Path: X-Original-To: freebsd-hackers@FreeBSD.org 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 F1EEE16A421; Wed, 14 Sep 2005 15:36:05 +0000 (GMT) (envelope-from roger@audioweb.no) Received: from mail43-s.fg.online.no (mail43-s.fg.online.no [148.122.161.43]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3DEB943D53; Wed, 14 Sep 2005 15:36:04 +0000 (GMT) (envelope-from roger@audioweb.no) Received: from aw001 (ti531210a080-5015.bb.online.no [83.109.211.155]) by mail43.fg.online.no (8.12.11/8.12.11) with ESMTP id j8EFa2Cl008754; Wed, 14 Sep 2005 17:36:03 +0200 (CEST) From: "Roger O. Svenning" To: "=?iso-8859-1?Q?'S=F8ren_Schmidt'?=" Date: Wed, 14 Sep 2005 17:36:08 +0200 Message-ID: <000701c5b942$07a08e70$6401a8c0@aw001> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.2616 In-Reply-To: <177BC598-8FE1-46D6-8B3D-04112728038D@FreeBSD.org> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 Importance: Normal Cc: freebsd-hackers@FreeBSD.org Subject: RE: Intel 6300ESB SATA and TIMEOUT - WRITE_DMA X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Sep 2005 15:36:06 -0000 > > Hi > > > > I've browsed several topics on the 6300ESB SATA but found no definite > > answers. > > > > Like other people I'm getting messages like this: > > Sep 14 16:17:39 nwn kernel: ad2: TIMEOUT - WRITE_DMA retrying (2 > > retries left) LBA=3D181559215 > > > > Entire system is brand new. > > > > Tried to cvsup and rebuild the system today, still get the same errors > > and terrible disk performance. > > > > Anybody knows the status on this controller, possible fixes or planned > > fixes? >=20 > You should try 6.0-beta4 as that contains the solution to whatever > ATA problems you might have on 5.x. Let me know how that goes. >=20 > S=F8ren Schmidt > sos@FreeBSD.org >=20 cvsup running as I'm writing this Would I waste my time trying to enable raid on this controller? Roger O. Svenning Bod=F8 - Norway From owner-freebsd-hackers@FreeBSD.ORG Wed Sep 14 15:46:04 2005 Return-Path: X-Original-To: freebsd-hackers@FreeBSD.ORG 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 4C5BB16A41F for ; Wed, 14 Sep 2005 15:46:04 +0000 (GMT) (envelope-from sos@FreeBSD.ORG) 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 B447F43D46 for ; Wed, 14 Sep 2005 15:46:03 +0000 (GMT) (envelope-from sos@FreeBSD.ORG) Received: from [194.192.25.136] (mac.deepcore.dk [194.192.25.136]) by spider.deepcore.dk (8.13.3/8.13.3) with ESMTP id j8EFjhm3048337; Wed, 14 Sep 2005 17:45:43 +0200 (CEST) (envelope-from sos@FreeBSD.ORG) In-Reply-To: <000701c5b942$07a08e70$6401a8c0@aw001> References: <000701c5b942$07a08e70$6401a8c0@aw001> Mime-Version: 1.0 (Apple Message framework v734) X-Priority: 3 (Normal) Content-Type: text/plain; charset=ISO-8859-1; delsp=yes; format=flowed Message-Id: <9CF43267-5DAA-4080-9616-B93D484DC90D@FreeBSD.ORG> Content-Transfer-Encoding: quoted-printable From: =?ISO-8859-1?Q?S=F8ren_Schmidt?= Date: Wed, 14 Sep 2005 17:45:31 +0200 To: "Roger O. Svenning" X-Mailer: Apple Mail (2.734) X-mail-scanned: by DeepCore Virus & Spam killer v1.12 Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: Intel 6300ESB SATA and TIMEOUT - WRITE_DMA X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Sep 2005 15:46:04 -0000 On 14/09/2005, at 17:36, Roger O. Svenning wrote: >> >> You should try 6.0-beta4 as that contains the solution to whatever >> ATA problems you might have on 5.x. Let me know how that goes. >> >> S=F8ren Schmidt >> sos@FreeBSD.org > > cvsup running as I'm writing this > > Would I waste my time trying to enable raid on this controller? Depends, its software RAID, so support relies on ataraid supporting =20 the on-disk metadata format, but you can try to setup a RAID on the =20 disks, it will get picked up if known.. S=F8ren Schmidt sos@FreeBSD.org From owner-freebsd-hackers@FreeBSD.ORG Wed Sep 14 20:54:48 2005 Return-Path: X-Original-To: freebsd-hackers@FreeBSD.ORG 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 520B816A41F; Wed, 14 Sep 2005 20:54:48 +0000 (GMT) (envelope-from roger@audioweb.no) Received: from mail47-s.fg.online.no (mail47-s.fg.online.no [148.122.161.47]) by mx1.FreeBSD.org (Postfix) with ESMTP id AB1B243D48; Wed, 14 Sep 2005 20:54:47 +0000 (GMT) (envelope-from roger@audioweb.no) Received: from aw001 (ti531210a080-5015.bb.online.no [83.109.211.155]) by mail47.fg.online.no (8.12.11/8.12.11) with ESMTP id j8EKsiVb008247; Wed, 14 Sep 2005 22:54:45 +0200 (CEST) From: "Roger O. Svenning" To: "=?iso-8859-1?Q?'S=F8ren_Schmidt'?=" Date: Wed, 14 Sep 2005 22:54:44 +0200 Message-ID: <000a01c5b96e$8a714f70$6401a8c0@aw001> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.2616 In-Reply-To: <9CF43267-5DAA-4080-9616-B93D484DC90D@FreeBSD.ORG> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 Importance: Normal Cc: freebsd-hackers@FreeBSD.ORG Subject: RE: Intel 6300ESB SATA and TIMEOUT - WRITE_DMA X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Sep 2005 20:54:48 -0000 > On 14/09/2005, at 17:36, Roger O. Svenning wrote: >=20 > >> > >> You should try 6.0-beta4 as that contains the solution to whatever > >> ATA problems you might have on 5.x. Let me know how that goes. > >> > >> S=F8ren Schmidt > >> sos@FreeBSD.org > > > > cvsup running as I'm writing this > > > > Would I waste my time trying to enable raid on this controller? >=20 > Depends, its software RAID, so support relies on ataraid supporting > the on-disk metadata format, but you can try to setup a RAID on the > disks, it will get picked up if known.. >=20 > S=F8ren Schmidt > sos@FreeBSD.org Ok, 6.0-beta4 built and installed successfully. I'm sorry to report I still get the timeouts. On the other hand it does recognize the (old) raid arrays now. Not sure where to go from here? dmesg extract: FreeBSD 6.0-BETA4 #1: Wed Sep 14 21:16:19 UTC 2005 root@nwn.patnix.nl:/usr/obj/usr/src/sys/GENERIC WARNING: WITNESS option enabled, expect reduced performance. Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Intel(R) Pentium(R) 4 CPU 3.00GHz (2994.90-MHz 686-class CPU) .... atapci0: port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xf000-0xf00f irq 18 at device 31.2 on pci0 atapci0: failed to enable memory mapping! .... acd0: DVDROM at ata0-slave UDMA33 ad2: 117800MB at ata1-master SATA150 ad3: 117800MB at ata1-slave SATA150 ad3: Intel calc=3D1a354950 meta=3D8d1aa4a8 ar0: 117800MB status: BROKEN ar0: disk0 DOWN no device found for this subdisk ar0: disk1 DOWN no device found for this subdisk ar1: WARNING - mirror protection lost. RAID1 array in DEGRADED mode ar1: 117799MB status: DEGRADED ar1: disk0 DOWN no device found for this subdisk ar1: disk1 READY (mirror) using ad3 at ata1-slave .... ad2: TIMEOUT - WRITE_DMA retrying (1 retry left) LBA=3D174371823 ad2: TIMEOUT - READ_DMA retrying (1 retry left) LBA=3D174373071 ad2: TIMEOUT - WRITE_DMA retrying (1 retry left) LBA=3D174750735 Regards Roger O. Svenning Bod=F8 - Norway From owner-freebsd-hackers@FreeBSD.ORG Wed Sep 14 21:19:44 2005 Return-Path: X-Original-To: freebsd-hackers@FreeBSD.ORG 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 C70FE16A41F; Wed, 14 Sep 2005 21:19:44 +0000 (GMT) (envelope-from roger@audioweb.no) Received: from mail47-s.fg.online.no (mail47-s.fg.online.no [148.122.161.47]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4710E43D46; Wed, 14 Sep 2005 21:19:44 +0000 (GMT) (envelope-from roger@audioweb.no) Received: from aw001 (ti531210a080-5015.bb.online.no [83.109.211.155]) by mail47.fg.online.no (8.12.11/8.12.11) with ESMTP id j8ELJgE6016447; Wed, 14 Sep 2005 23:19:42 +0200 (CEST) From: "Roger O. Svenning" To: Date: Wed, 14 Sep 2005 23:19:43 +0200 Message-ID: <000b01c5b972$06933c50$6401a8c0@aw001> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.2616 In-Reply-To: X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 Importance: Normal Cc: freebsd-hackers@FreeBSD.ORG Subject: RE: Intel 6300ESB SATA and TIMEOUT - WRITE_DMA X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Sep 2005 21:19:44 -0000 > > On 14/09/2005, at 17:36, Roger O. Svenning wrote: > > > > >> > > >> You should try 6.0-beta4 as that contains the solution to whatever > > >> ATA problems you might have on 5.x. Let me know how that goes. > > >> > > >> S=F8ren Schmidt > > >> sos@FreeBSD.org > > > > > > cvsup running as I'm writing this > > > > > > Would I waste my time trying to enable raid on this controller? > > > > Depends, its software RAID, so support relies on ataraid supporting > > the on-disk metadata format, but you can try to setup a RAID on the > > disks, it will get picked up if known.. > > > > S=F8ren Schmidt > > sos@FreeBSD.org >=20 > Ok, 6.0-beta4 built and installed successfully. >=20 > I'm sorry to report I still get the timeouts. >=20 > On the other hand it does recognize the (old) raid arrays now. >=20 Oh well, replacing the SATA cable fixed it, I'm terribly sorry about that :( On the upside the SATA Raid seem to work nicely on 6.0-beta4 so the upgrade did not turn out to be a waste of time. Thanks a lot for the help S=F8ren Regards Roger O. Svenning Bod=F8 - Norway From owner-freebsd-hackers@FreeBSD.ORG Thu Sep 15 10:46:14 2005 Return-Path: X-Original-To: freebsd-hackers@FreeBSD.org 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 DE0CE16A41F for ; Thu, 15 Sep 2005 10:46:14 +0000 (GMT) (envelope-from barner@gmx.de) Received: from mail.gmx.net (mail.gmx.de [213.165.64.20]) by mx1.FreeBSD.org (Postfix) with SMTP id B742B43D46 for ; Thu, 15 Sep 2005 10:46:13 +0000 (GMT) (envelope-from barner@gmx.de) Received: (qmail invoked by alias); 15 Sep 2005 10:46:12 -0000 Received: from unknown (EHLO zi025.glhnet.mhn.de) [129.187.19.157] by mail.gmx.net (mp033) with SMTP; 15 Sep 2005 12:46:12 +0200 X-Authenticated: #147403 Received: by zi025.glhnet.mhn.de (Postfix, from userid 1000) id 800BEC116; Thu, 15 Sep 2005 12:48:39 +0200 (CEST) Date: Thu, 15 Sep 2005 12:48:39 +0200 From: Simon Barner To: freebsd-hackers@FreeBSD.org Message-ID: <20050915104839.GC1098@zi025.glhnet.mhn.de> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="5G06lTa6Jq83wMTw" Content-Disposition: inline User-Agent: Mutt/1.5.10i X-Y-GMX-Trusted: 0 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: {get,set}_fsbase, {get,set}_gsbase and Valgrind X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Sep 2005 10:46:15 -0000 --5G06lTa6Jq83wMTw Content-Type: multipart/mixed; boundary="Bn2rw/3z4jIqBvZU" Content-Disposition: inline --Bn2rw/3z4jIqBvZU Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Doug, hackers, a user of the valgrind port reported that it crashed due to an unhandled sysarch call (ports/86007). I found out, that this was because of the get_fsbase, set_fsbase, get_gsbase and set_gsbase calls, which were introduced in FreeBSD 6. I'd be happy if somebody could review my attached patch. It's quite possible that it does not make sense at all since I created it by adopting the code for the other cases without having a real clue about what I was doing :-/ Also, since I could not find any documentation for these calls, it would be very nice to know what they are good for, and if programs like valgrind have to take special care of them. Best regards, Simon --Bn2rw/3z4jIqBvZU-- --5G06lTa6Jq83wMTw Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQFDKVGHCkn+/eutqCoRAkVDAJ9DYCkYG6d6cxPKVD82P159wZt4NgCguN05 LQcN2R6OLZuMnMlBH9MHuoc= =GY2F -----END PGP SIGNATURE----- --5G06lTa6Jq83wMTw-- From owner-freebsd-hackers@FreeBSD.ORG Thu Sep 15 11:05:31 2005 Return-Path: X-Original-To: freebsd-hackers@FreeBSD.org 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 2139516A41F for ; Thu, 15 Sep 2005 11:05:31 +0000 (GMT) (envelope-from barner@gmx.de) Received: from mail.gmx.net (pop.gmx.de [213.165.64.20]) by mx1.FreeBSD.org (Postfix) with SMTP id 0886A43D45 for ; Thu, 15 Sep 2005 11:05:29 +0000 (GMT) (envelope-from barner@gmx.de) Received: (qmail invoked by alias); 15 Sep 2005 11:05:28 -0000 Received: from unknown (EHLO zi025.glhnet.mhn.de) [129.187.19.157] by mail.gmx.net (mp003) with SMTP; 15 Sep 2005 13:05:28 +0200 X-Authenticated: #147403 Received: by zi025.glhnet.mhn.de (Postfix, from userid 1000) id B70B2C120; Thu, 15 Sep 2005 13:07:56 +0200 (CEST) Date: Thu, 15 Sep 2005 13:07:56 +0200 From: Simon Barner To: Simon Barner Message-ID: <20050915110756.GD1098@zi025.glhnet.mhn.de> References: <20050915104839.GC1098@zi025.glhnet.mhn.de> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="IU5/I01NYhRvwH70" Content-Disposition: inline In-Reply-To: <20050915104839.GC1098@zi025.glhnet.mhn.de> User-Agent: Mutt/1.5.10i X-Y-GMX-Trusted: 0 Cc: freebsd-hackers@FreeBSD.org Subject: Re: {get,set}_fsbase, {get,set}_gsbase and Valgrind X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Sep 2005 11:05:31 -0000 --IU5/I01NYhRvwH70 Content-Type: multipart/mixed; boundary="ZJcv+A0YCCLh2VIg" Content-Disposition: inline --ZJcv+A0YCCLh2VIg Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Here is the patch. --ZJcv+A0YCCLh2VIg Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="patch-coregrind_vg_syscalls.c" --- coregrind/vg_syscalls.c.orig Fri Jul 16 19:21:08 2004 +++ coregrind/vg_syscalls.c Wed Sep 14 22:13:44 2005 @@ -1369,6 +1369,38 @@ &tst->m_eflags, arg1, arg2); break; + case 7: + SYSCALL_TRACK( pre_mem_write, tid, + "sysarch.get_fsbase(args)", arg2, sizeof(UInt)); + tst->m_eax = VG_(do_syscall_err)(__NR_sysarch, + tst->m_edx, + &tst->m_eflags, + arg1, arg2); + break; + case 8: + SYSCALL_TRACK( pre_mem_read, tid, + "sysarch.set_fsbase(args)", arg2, sizeof(UInt)); + tst->m_eax = VG_(do_syscall_err)(__NR_sysarch, + tst->m_edx, + &tst->m_eflags, + arg1, arg2); + break; + case 9: + SYSCALL_TRACK( pre_mem_read, tid, + "sysarch.get_gsbase(args)", arg2, sizeof(UInt)); + tst->m_eax = VG_(do_syscall_err)(__NR_sysarch, + tst->m_edx, + &tst->m_eflags, + arg1, arg2); + break; + case 10: + SYSCALL_TRACK( pre_mem_read, tid, + "sysarch.set_gsbase(args)", arg2, sizeof(UInt)); + tst->m_eax = VG_(do_syscall_err)(__NR_sysarch, + tst->m_edx, + &tst->m_eflags, + arg1, arg2); + break; default: VG_(core_panic)("Unhandled sysarch call"); } @@ -1392,6 +1424,14 @@ break; case 6: /* vm86 */ break; + case 7: /* get_fsbase */ + break; + case 8: /* set_fsbase */ + break; + case 9: /* get_gsbase */ + break; + case 10: /* set_gsbase */ + break; default: VG_(core_panic)("Unhandled sysarch call"); } --ZJcv+A0YCCLh2VIg-- --IU5/I01NYhRvwH70 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQFDKVYMCkn+/eutqCoRAmnAAJ93IVLdJZLsjgmBAe/DOCkJBEFU6gCgv6Fm Kn3CtbtoI82GcRMqcu3KYag= =icL5 -----END PGP SIGNATURE----- --IU5/I01NYhRvwH70-- From owner-freebsd-hackers@FreeBSD.ORG Thu Sep 15 12:52:05 2005 Return-Path: X-Original-To: freebsd-hackers@freebsd.org 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 5C78B16A41F for ; Thu, 15 Sep 2005 12:52:05 +0000 (GMT) (envelope-from pranavpeshwe@gmail.com) Received: from xproxy.gmail.com (xproxy.gmail.com [66.249.82.195]) by mx1.FreeBSD.org (Postfix) with ESMTP id DFAD643D45 for ; Thu, 15 Sep 2005 12:52:04 +0000 (GMT) (envelope-from pranavpeshwe@gmail.com) Received: by xproxy.gmail.com with SMTP id i27so392791wxd for ; Thu, 15 Sep 2005 05:52:03 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:reply-to:from:to:subject:date:mime-version:content-type:content-transfer-encoding:x-priority:x-msmail-priority:x-mailer:x-mimeole; b=sEKsj8eUGwU7KtK9ys9aU7aokpvj1BN95TTeP5Mki3nKqeaa/t3o9k5lmaR9qvX7FCjGfbgFMAB7DOT68DF08VnlZr881oynV1xHHqCbIwVzTvKGPqK13/qrho59VFWSpBTI4Z5gPJ/hQsKnmNWRGu8Xl2U1qX2ABGy7u6/vmjQ= Received: by 10.70.34.17 with SMTP id h17mr167091wxh; Thu, 15 Sep 2005 05:52:03 -0700 (PDT) Received: from pranav ( [59.95.3.0]) by mx.gmail.com with ESMTP id i11sm470868wxd.2005.09.15.05.52.00; Thu, 15 Sep 2005 05:52:03 -0700 (PDT) Message-ID: <00bd01c5b9f7$8f629370$0201a8c0@pranav> From: "Pranav Peshwe" To: Date: Thu, 15 Sep 2005 18:45:27 +0530 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Cc: Subject: IO schedulers in FBSD... X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Pranav Peshwe List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Sep 2005 12:52:05 -0000 Hello, Which is the I/O scheduler used by FBSD 5.4 ? I googled in various ways but could not get an answer. I do not have access to the source code. TIA. Sincere regards, Pranav.J.Peshwe --------------------------------------------------------------------------- A picture is worth a thousand words. A formula is worth a thousand pictures. - Edsger W. Dijkstra From owner-freebsd-hackers@FreeBSD.ORG Thu Sep 15 13:01:32 2005 Return-Path: X-Original-To: freebsd-hackers@freebsd.org 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 D317616A41F for ; Thu, 15 Sep 2005 13:01:32 +0000 (GMT) (envelope-from rizzo@icir.org) Received: from xorpc.icir.org (xorpc.icir.org [192.150.187.68]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9ADCC43D46 for ; Thu, 15 Sep 2005 13:01:32 +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.11) with ESMTP id j8FD1WAQ065070; Thu, 15 Sep 2005 06:01:32 -0700 (PDT) (envelope-from rizzo@xorpc.icir.org) Received: (from rizzo@localhost) by xorpc.icir.org (8.12.11/8.12.3/Submit) id j8FD1WFX065069; Thu, 15 Sep 2005 06:01:32 -0700 (PDT) (envelope-from rizzo) Date: Thu, 15 Sep 2005 06:01:32 -0700 From: Luigi Rizzo To: Pranav Peshwe Message-ID: <20050915060132.A64948@xorpc.icir.org> References: <00bd01c5b9f7$8f629370$0201a8c0@pranav> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <00bd01c5b9f7$8f629370$0201a8c0@pranav>; from pranavpeshwe@gmail.com on Thu, Sep 15, 2005 at 06:45:27PM +0530 Cc: freebsd-hackers@freebsd.org Subject: Re: IO schedulers in FBSD... X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Sep 2005 13:01:32 -0000 On Thu, Sep 15, 2005 at 06:45:27PM +0530, Pranav Peshwe wrote: > Hello, > Which is the I/O scheduler used by FBSD 5.4 ? > I googled in various ways but could not get an answer. it is called FCFSUSIIABPIWCTTOIS, which stands for First Come First Serve Unless Someone Is In A Better Position In Which Case The Temporal Order Is Subverted also known as the standard one-way elevator taught in all operating system courses. > I do not have access to the source code. you do, it is at http://www.freebsd.org/cgi/cvsweb.cgi/ ready for your perusal. cheers luigi > TIA. > > Sincere regards, > Pranav.J.Peshwe > > --------------------------------------------------------------------------- > A picture is worth a thousand words. > A formula is worth a thousand pictures. > - Edsger W. Dijkstra > _______________________________________________ > 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 Thu Sep 15 14:26:17 2005 Return-Path: X-Original-To: freebsd-hackers@freebsd.org 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 AD8EE16A41F for ; Thu, 15 Sep 2005 14:26:17 +0000 (GMT) (envelope-from pranavpeshwe@gmail.com) Received: from xproxy.gmail.com (xproxy.gmail.com [66.249.82.202]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3155343D45 for ; Thu, 15 Sep 2005 14:26:17 +0000 (GMT) (envelope-from pranavpeshwe@gmail.com) Received: by xproxy.gmail.com with SMTP id i31so175628wxd for ; Thu, 15 Sep 2005 07:26:16 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:reply-to:from:to:references:subject:date:mime-version:content-type:content-transfer-encoding:x-priority:x-msmail-priority:x-mailer:x-mimeole; b=iT5WlcBJN+/HR7J2q5ri3B5Tdz8qZLQVUpGE+Uwbl2EGb6i+H0o2qu9/Jrbbvdox7UiLd7zZhhJe4I2vnWZoAprAZDLD4bWUqKMhoJfp6Fg6yjXfAJGYKW7EXksjwisIDfMPJK9f3EEEnP0CLYHVrxF9lDNeET0IUHHUoAOnx0g= Received: by 10.70.126.2 with SMTP id y2mr422099wxc; Thu, 15 Sep 2005 07:26:16 -0700 (PDT) Received: from pranav ( [59.95.1.9]) by mx.gmail.com with ESMTP id i39sm1127469wxd.2005.09.15.07.26.11; Thu, 15 Sep 2005 07:26:16 -0700 (PDT) Message-ID: <000801c5ba04$b82efd90$0201a8c0@pranav> From: "Pranav Peshwe" To: "Luigi Rizzo" , References: <00bd01c5b9f7$8f629370$0201a8c0@pranav> <20050915060132.A64948@xorpc.icir.org> Date: Thu, 15 Sep 2005 19:52:15 +0530 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Cc: Subject: Re: IO schedulers in FBSD... X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Pranav Peshwe List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Sep 2005 14:26:17 -0000 ----- Original Message ----- From: "Luigi Rizzo" To: "Pranav Peshwe" Cc: Sent: Thursday, September 15, 2005 6:31 PM Subject: Re: IO schedulers in FBSD... > On Thu, Sep 15, 2005 at 06:45:27PM +0530, Pranav Peshwe wrote: > > Hello, > > Which is the I/O scheduler used by FBSD 5.4 ? > > I googled in various ways but could not get an answer. > > it is called FCFSUSIIABPIWCTTOIS, which stands for > First Come First Serve Unless Someone Is In A Better Position > In Which Case The Temporal Order Is Subverted > > also known as the standard one-way elevator taught in all operating > system courses. > > > I do not have access to the source code. > > you do, it is at > > http://www.freebsd.org/cgi/cvsweb.cgi/ > > ready for your perusal. > > cheers > luigi Thank you very much for the name and the source link.Is there any documentation available on this topic(fbsd io schedulers) ? Where is the io scheduler located in the src code tree ? -- I found one more source for browsing the sources. http://fxr.watson.org/ -- TIA. Sincere regards, Pranav --------------------------------------------------------------------------- When I die, I want to die like my friend's grandmother, who died peacefully in her sleep. Not screaming like all the passengers in her car. From owner-freebsd-hackers@FreeBSD.ORG Thu Sep 15 14:39:28 2005 Return-Path: X-Original-To: freebsd-hackers@freebsd.org 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 7A28C16A41F for ; Thu, 15 Sep 2005 14:39:28 +0000 (GMT) (envelope-from rizzo@icir.org) Received: from xorpc.icir.org (xorpc.icir.org [192.150.187.68]) by mx1.FreeBSD.org (Postfix) with ESMTP id 28A3343D46 for ; Thu, 15 Sep 2005 14:39:28 +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.11) with ESMTP id j8FEdRw8066107; Thu, 15 Sep 2005 07:39:27 -0700 (PDT) (envelope-from rizzo@xorpc.icir.org) Received: (from rizzo@localhost) by xorpc.icir.org (8.12.11/8.12.3/Submit) id j8FEdRO8066106; Thu, 15 Sep 2005 07:39:27 -0700 (PDT) (envelope-from rizzo) Date: Thu, 15 Sep 2005 07:39:27 -0700 From: Luigi Rizzo To: Pranav Peshwe Message-ID: <20050915073927.A65819@xorpc.icir.org> References: <00bd01c5b9f7$8f629370$0201a8c0@pranav> <20050915060132.A64948@xorpc.icir.org> <000801c5ba04$b82efd90$0201a8c0@pranav> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <000801c5ba04$b82efd90$0201a8c0@pranav>; from pranavpeshwe@gmail.com on Thu, Sep 15, 2005 at 07:52:15PM +0530 Cc: freebsd-hackers@freebsd.org Subject: Re: IO schedulers in FBSD... X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Sep 2005 14:39:28 -0000 On Thu, Sep 15, 2005 at 07:52:15PM +0530, Pranav Peshwe wrote: ... > Thank you very much for the name and the source > link.Is there any documentation available on this > topic(fbsd io schedulers) ? > Where is the io scheduler located in the > src code tree ? see http://wikitest.freebsd.org/moin.cgi/Hybrid there is more docs on this cheers luigi From owner-freebsd-hackers@FreeBSD.ORG Thu Sep 15 15:36:28 2005 Return-Path: X-Original-To: freebsd-hackers@freebsd.org 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 B2A1116A424; Thu, 15 Sep 2005 15:36:28 +0000 (GMT) (envelope-from jhb@FreeBSD.org) Received: from mv.twc.weather.com (mv.twc.weather.com [65.212.71.225]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1942343D46; Thu, 15 Sep 2005 15:36:27 +0000 (GMT) (envelope-from jhb@FreeBSD.org) Received: from [10.50.41.233] (Not Verified[10.50.41.233]) by mv.twc.weather.com with NetIQ MailMarshal (v6, 0, 3, 8) id ; Thu, 15 Sep 2005 11:52:08 -0400 From: John Baldwin To: freebsd-hackers@freebsd.org Date: Thu, 15 Sep 2005 11:37:31 -0400 User-Agent: KMail/1.8 References: <20050915104839.GC1098@zi025.glhnet.mhn.de> In-Reply-To: <20050915104839.GC1098@zi025.glhnet.mhn.de> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-6" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200509151137.32110.jhb@FreeBSD.org> Cc: Simon Barner Subject: Re: {get,set}_fsbase, {get,set}_gsbase and Valgrind X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Sep 2005 15:36:28 -0000 On Thursday 15 September 2005 06:48 am, Simon Barner wrote: > Doug, > hackers, > > a user of the valgrind port reported that it crashed due to an unhandled > sysarch call (ports/86007). > > I found out, that this was because of the get_fsbase, set_fsbase, > get_gsbase and set_gsbase calls, which were introduced in FreeBSD 6. > > I'd be happy if somebody could review my attached patch. It's quite > possible that it does not make sense at all since I created it by > adopting the code for the other cases without having a real clue about > what I was doing :-/ > > Also, since I could not find any documentation for these calls, it would > be very nice to know what they are good for, and if programs like > valgrind have to take special care of them. > > Best regards, > Simon Your best bet is probably to mail the patch in a followup to the PR so that it doesn't get lost. -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve" = http://www.FreeBSD.org From owner-freebsd-hackers@FreeBSD.ORG Fri Sep 16 11:56:10 2005 Return-Path: X-Original-To: freebsd-hackers@freebsd.org 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 6D7BE16A41F for ; Fri, 16 Sep 2005 11:56:10 +0000 (GMT) (envelope-from aentgood@gmail.com) Received: from xproxy.gmail.com (xproxy.gmail.com [66.249.82.200]) by mx1.FreeBSD.org (Postfix) with ESMTP id 03D2E43D45 for ; Fri, 16 Sep 2005 11:56:09 +0000 (GMT) (envelope-from aentgood@gmail.com) Received: by xproxy.gmail.com with SMTP id i31so615519wxd for ; Fri, 16 Sep 2005 04:56:09 -0700 (PDT) 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; b=JiLpKICBENlYV8Cuw+bxpU5AS/jN1G2q7ouHECBxe7D81zb78xGL9vzr987rqN4kTE37pODtA+gEcjyVHVCe+921JoDvxQKRam18YA/qcy2zjahXMPETKoIBoC1A1SNJXMSG7mK1YjE5KoP/cLaWGYLeFCko6UOKbl7mGjAzwQ8= Received: by 10.70.128.4 with SMTP id a4mr96924wxd; Fri, 16 Sep 2005 04:56:09 -0700 (PDT) Received: by 10.70.126.5 with HTTP; Fri, 16 Sep 2005 04:56:09 -0700 (PDT) Message-ID: <7603e5d805091604561e83e2f2@mail.gmail.com> Date: Fri, 16 Sep 2005 11:56:09 +0000 From: Wouter van Rooij To: freebsd-hackers@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: ELF binary type "0" not known. X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: aentgood@gmail.com List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Sep 2005 11:56:10 -0000 I have this error message when i'm wanting to start mozilla for example. Do= =20 some of you know whats wrong and what I can do to get it working again? Wouter van Rooij From owner-freebsd-hackers@FreeBSD.ORG Fri Sep 16 13:20:52 2005 Return-Path: X-Original-To: hackers@freebsd.org 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 2DBDC16A41F for ; Fri, 16 Sep 2005 13:20:52 +0000 (GMT) (envelope-from anderson@centtech.com) Received: from mh2.centtech.com (moat3.centtech.com [207.200.51.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id C72C543D46 for ; Fri, 16 Sep 2005 13:20:51 +0000 (GMT) (envelope-from anderson@centtech.com) Received: from [10.177.171.220] (neutrino.centtech.com [10.177.171.220]) by mh2.centtech.com (8.13.1/8.13.1) with ESMTP id j8GDKn28080975; Fri, 16 Sep 2005 08:20:50 -0500 (CDT) (envelope-from anderson@centtech.com) Message-ID: <432AC6B6.7090301@centtech.com> Date: Fri, 16 Sep 2005 08:20:54 -0500 From: Eric Anderson User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.11) Gecko/20050914 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Soeren Straarup References: <1126200580.4320750472d15@mail.nipsi.de> <432178EA.2040602@centtech.com> <8059f9a80509101117b3336bf@mail.gmail.com> <4324F482.1000204@centtech.com> <20050912081952.H87302@x12.dk> <4326C703.9050006@centtech.com> <20050914003150.C44276@x12.dk> In-Reply-To: <20050914003150.C44276@x12.dk> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV 0.82/1083/Fri Sep 16 04:41:30 2005 on mh2.centtech.com X-Virus-Status: Clean Cc: hackers@freebsd.org Subject: Re: status of ufsj and gjournal X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Sep 2005 13:20:52 -0000 Soeren Straarup wrote: > On Tue, 13 Sep 2005, Eric Anderson wrote: > >> Soeren Straarup wrote: >> >>> On Sun, 11 Sep 2005, Eric Anderson wrote: >>> >>>> Brian Wilson wrote: >>>> >>>>> On 9/9/05, Eric Anderson wrote: >>>>> >>>>>> db@nipsi.de wrote: >>>>>> >>>>>>> Hi list, >>>>>>> I wonder whats the status of those summer of code projects. >>>>>>> >>>>>>>> From gjournal we heard that it has been completed but then >>>>>>>> nothing happens, any >>>>>>> >>>>>>> >>>>>>> further information about this? >>>>>>> Is somebody working on ufsj? Was the summer of code project >>>>>>> successful? >>>>>> >>>>>> >>>>>> >>>>>> Scott Long is the core person working on ufsj, and I have seen some >>>>>> stuff worked on in his perforce tree, but I think it's a ways away >>>>>> from >>>>>> being beta. I'm sure he would welcome help. >>>>> >>>>> >>>>> >>>>> >>>>> I was working on the ufsj stuff as a Google SoC project with Scott. >>>>> >>>>> It is very close to beta, however this past week involved school >>>>> starting back up, so I have been unable to do any work at all. >>>>> >>>>> However, now that I am settled in at school (for some definition of >>>>> settled in), I have time to devote to ufsj again. >>>>> >>>>> I hope to release a beta "real soon now", so stay tuned. >>>> >>>> >>>> >>>> Hey Brian! Thanks for the info - I've been very interested in the >>>> development of the project, but Scott is too busy doing other real >>>> stuff, and I oddly didn't even think to ask you anything. :( >>>> >>>> I'm willing to play with pre-beta patches or tarballs/etc. Feel >>>> free to contact me off list if you'd like a guinea pig. >>>> >>> >>> So am I.. I have the hw to test on too and i wanna test geomgui too (8 >> >> >> What is geomgui aimed at doing? I've been wanting to write a geom >> viewer that displays (in near real-time) reads/writes to geom >> providers at a block level visually. Is geomgui going to do something >> like that? From the src I downloaded and ran from your site, it >> looked as though you wanted to show a layout of the geom connections. >> >> Eric > > > Your right so far about geomgui. It is to show the way the different > things are hooked up. > But i have plans to make it an interface to the geom layer somehow. But > i'm hooked up on other stuff at the moment. Ok, cool. Are your plans to interface to geom going to possibly help me with my quest for a visual display of real-time read/writes to geom devices? If so, then we should work together.. Eric -- ------------------------------------------------------------------------ Eric Anderson Sr. Systems Administrator Centaur Technology Anything that works is better than anything that doesn't. ------------------------------------------------------------------------ From owner-freebsd-hackers@FreeBSD.ORG Fri Sep 16 13:23:18 2005 Return-Path: X-Original-To: freebsd-hackers@freebsd.org 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 1E7A816A41F for ; Fri, 16 Sep 2005 13:23:18 +0000 (GMT) (envelope-from roam@ringlet.net) Received: from gandalf.online.bg (gandalf.online.bg [217.75.128.9]) by mx1.FreeBSD.org (Postfix) with SMTP id 27DDA43D46 for ; Fri, 16 Sep 2005 13:23:16 +0000 (GMT) (envelope-from roam@ringlet.net) Received: (qmail 30315 invoked from network); 16 Sep 2005 13:23:11 -0000 Received: from unknown (HELO straylight.ringlet.net) (85.95.80.104) by gandalf.online.bg with SMTP; 16 Sep 2005 13:23:11 -0000 Received: (qmail 30979 invoked by uid 1000); 16 Sep 2005 16:23:14 +0300 Date: Fri, 16 Sep 2005 16:23:14 +0300 From: Peter Pentchev To: Wouter van Rooij Message-ID: <20050916132314.GA2841@straylight.m.ringlet.net> Mail-Followup-To: Wouter van Rooij , freebsd-hackers@freebsd.org References: <7603e5d805091604561e83e2f2@mail.gmail.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="SLDf9lqlvOQaIe6s" Content-Disposition: inline In-Reply-To: <7603e5d805091604561e83e2f2@mail.gmail.com> User-Agent: Mutt/1.5.10i Cc: freebsd-hackers@freebsd.org Subject: Re: ELF binary type "0" not known. X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Sep 2005 13:23:18 -0000 --SLDf9lqlvOQaIe6s Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Sep 16, 2005 at 11:56:09AM +0000, Wouter van Rooij wrote: > I have this error message when i'm wanting to start mozilla for example. = Do=20 > some of you know whats wrong and what I can do to get it working again? Is this a Linux binary of Mozilla? If you are trying to run a Linux application, you need to do three things: 1. Install a Linux emulation port - ports/emulators/linux_base is a good choice; 2. Load the linux.ko kernel module or compile it into the kernel; 3a. Set the kern.fallback_elf_brand sysctl variable to 3, or 3b. Run 'brandelf -t Linux /path/to/executable' on the file that you want to actually run. For more information, see chapter 10, "Linux Binary Compatibility", of the FreeBSD Handbook. G'luck, Peter --=20 Peter Pentchev roam@ringlet.net roam@cnsys.bg roam@FreeBSD.org PGP key: http://people.FreeBSD.org/~roam/roam.key.asc Key fingerprint FDBA FD79 C26F 3C51 C95E DF9E ED18 B68D 1619 4553 This would easier understand fewer had omitted. --SLDf9lqlvOQaIe6s Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (FreeBSD) iD8DBQFDKsdC7Ri2jRYZRVMRAkg7AJwKYYSWpfBzfX1rbdHMuRfhTqFmXQCfR2YW Lvy5nRUGtKCXDtRwY7VdsOY= =2cHe -----END PGP SIGNATURE----- --SLDf9lqlvOQaIe6s-- From owner-freebsd-hackers@FreeBSD.ORG Fri Sep 16 13:28:09 2005 Return-Path: X-Original-To: freebsd-hackers@freebsd.org 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 119B216A41F for ; Fri, 16 Sep 2005 13:28:09 +0000 (GMT) (envelope-from joerg@britannica.bec.de) Received: from hydra.bec.de (www.ostsee-abc.de [62.206.222.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id A339143D48 for ; Fri, 16 Sep 2005 13:28:08 +0000 (GMT) (envelope-from joerg@britannica.bec.de) Received: from britannica.bec.de (storm.stura.uni-rostock.de [139.30.252.72]) by hydra.bec.de (Postfix) with ESMTP id 3698B35707 for ; Fri, 16 Sep 2005 15:28:06 +0200 (CEST) Received: by britannica.bec.de (Postfix, from userid 1001) id 13493100F7; Fri, 16 Sep 2005 15:18:06 +0200 (CEST) Date: Fri, 16 Sep 2005 15:18:05 +0200 From: Joerg Sonnenberger To: freebsd-hackers@freebsd.org Message-ID: <20050916131804.GB2069@britannica.bec.de> Mail-Followup-To: freebsd-hackers@freebsd.org References: <7603e5d805091604561e83e2f2@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <7603e5d805091604561e83e2f2@mail.gmail.com> User-Agent: Mutt/1.5.10i Subject: Re: ELF binary type "0" not known. X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Sep 2005 13:28:09 -0000 On Fri, Sep 16, 2005 at 11:56:09AM +0000, Wouter van Rooij wrote: > I have this error message when i'm wanting to start mozilla for example. Do > some of you know whats wrong and what I can do to get it working again? Is it by any chance a Linux binary? Try brandelf in that case. Well, try brandelf anyway, but use the right type :-) Joerg From owner-freebsd-hackers@FreeBSD.ORG Fri Sep 16 13:33:50 2005 Return-Path: X-Original-To: freebsd-hackers@freebsd.org 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 816FC16A41F for ; Fri, 16 Sep 2005 13:33:50 +0000 (GMT) (envelope-from eirik@bsdbox.org) Received: from brainstorm.bsdbox.org (187.80-202-178.nextgentel.com [80.202.178.187]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7854443D46 for ; Fri, 16 Sep 2005 13:33:46 +0000 (GMT) (envelope-from eirik@bsdbox.org) Received: from brainstorm.bsdbox.org (localhost [127.0.0.1]) by brainstorm.bsdbox.org (8.13.3/8.13.3) with ESMTP id j8GDXjRB072548 for ; Fri, 16 Sep 2005 15:33:45 +0200 (CEST) (envelope-from eirik@bsdbox.org) Received: (from eirik@localhost) by brainstorm.bsdbox.org (8.13.3/8.13.3/Submit) id j8GDXi2q072547 for freebsd-hackers@freebsd.org; Fri, 16 Sep 2005 15:33:44 +0200 (CEST) (envelope-from eirik@bsdbox.org) X-Authentication-Warning: brainstorm.bsdbox.org: eirik set sender to eirik@bsdbox.org using -f Date: Fri, 16 Sep 2005 15:33:44 +0200 From: Eirik Mikkelsen To: freebsd-hackers@freebsd.org Message-ID: <20050916133343.GA72516@bsdbox.org> References: <7603e5d805091604561e83e2f2@mail.gmail.com> <20050916131804.GB2069@britannica.bec.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050916131804.GB2069@britannica.bec.de> User-Agent: Mutt/1.4.2.1i X-PGP-Key: http://bsdbox.org/eirik.asc X-PGP-Key-FingerPrint: 7AD0 2ABE AD1D 6A00 C97B 0314 29C2 2076 65DF B17D Subject: Re: ELF binary type "0" not known. X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Sep 2005 13:33:50 -0000 On Fri, Sep 16, 2005 at 03:18:05PM +0200, Joerg Sonnenberger wrote: > On Fri, Sep 16, 2005 at 11:56:09AM +0000, Wouter van Rooij wrote: > > I have this error message when i'm wanting to start mozilla for example. Do > > some of you know whats wrong and what I can do to get it working again? > > Is it by any chance a Linux binary? Try brandelf in that case. Well, try > brandelf anyway, but use the right type :-) It could also be something with linux binary plugins, e.g. java, flash or adobe reader. -- Eirik Mikkelsen From owner-freebsd-hackers@FreeBSD.ORG Fri Sep 16 13:38:04 2005 Return-Path: X-Original-To: freebsd-hackers@freebsd.org 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 4141616A41F for ; Fri, 16 Sep 2005 13:38:04 +0000 (GMT) (envelope-from doconnor@gsoft.com.au) Received: from cain.gsoft.com.au (cain.gsoft.com.au [203.31.81.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 61F3843D45 for ; Fri, 16 Sep 2005 13:38:02 +0000 (GMT) (envelope-from doconnor@gsoft.com.au) Received: from inchoate.gsoft.com.au (ppp233-172.lns2.adl4.internode.on.net [203.122.233.172]) (authenticated bits=0) by cain.gsoft.com.au (8.13.4/8.13.4) with ESMTP id j8GDbpVX096846 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NO); Fri, 16 Sep 2005 23:07:59 +0930 (CST) (envelope-from doconnor@gsoft.com.au) From: "Daniel O'Connor" To: freebsd-hackers@freebsd.org Date: Fri, 16 Sep 2005 23:07:31 +0930 User-Agent: KMail/1.8.1 References: <7603e5d805091604561e83e2f2@mail.gmail.com> <20050916132314.GA2841@straylight.m.ringlet.net> In-Reply-To: <20050916132314.GA2841@straylight.m.ringlet.net> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart1236866.QgYaNejLue"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200509162307.39783.doconnor@gsoft.com.au> X-Spam-Score: 0.05 () FORGED_RCVD_HELO X-Scanned-By: MIMEDefang 2.51 on 203.31.81.10 Cc: Wouter van Rooij Subject: Re: ELF binary type "0" not known. X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Sep 2005 13:38:04 -0000 --nextPart1236866.QgYaNejLue Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Friday 16 September 2005 22:53, Peter Pentchev wrote: > On Fri, Sep 16, 2005 at 11:56:09AM +0000, Wouter van Rooij wrote: > > I have this error message when i'm wanting to start mozilla for example. > > Do some of you know whats wrong and what I can do to get it working > > again? > > Is this a Linux binary of Mozilla? If you are trying to run a Linux > application, you need to do three things: > 1. Install a Linux emulation port - ports/emulators/linux_base is a good > choice; > 2. Load the linux.ko kernel module or compile it into the kernel; > 3a. Set the kern.fallback_elf_brand sysctl variable to 3, or > 3b. Run 'brandelf -t Linux /path/to/executable' on the file that you want > to actually run. > > For more information, see chapter 10, "Linux Binary Compatibility", of > the FreeBSD Handbook. Or.. cd /usr/ports/www/linux-mozilla make install :) (or firefox, or..) =2D-=20 Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au "The nice thing about standards is that there are so many of them to choose from." -- Andrew Tanenbaum GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C --nextPart1236866.QgYaNejLue Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (FreeBSD) iD8DBQBDKsqj5ZPcIHs/zowRAiq6AKCQl854N4UWvH1QT8/Mt+i+XVJFQwCeMRLh XGWVgM6G2AGe67hfDvnv0Ro= =1LYK -----END PGP SIGNATURE----- --nextPart1236866.QgYaNejLue-- From owner-freebsd-hackers@FreeBSD.ORG Fri Sep 16 13:56:17 2005 Return-Path: X-Original-To: freebsd-hackers@freebsd.org 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 40DDC16A41F for ; Fri, 16 Sep 2005 13:56:17 +0000 (GMT) (envelope-from roam@ringlet.net) Received: from gandalf.online.bg (gandalf.online.bg [217.75.128.9]) by mx1.FreeBSD.org (Postfix) with SMTP id 5524543D48 for ; Fri, 16 Sep 2005 13:56:16 +0000 (GMT) (envelope-from roam@ringlet.net) Received: (qmail 26706 invoked from network); 16 Sep 2005 13:56:11 -0000 Received: from unknown (HELO straylight.ringlet.net) (85.95.80.104) by gandalf.online.bg with SMTP; 16 Sep 2005 13:56:11 -0000 Received: (qmail 32492 invoked by uid 1000); 16 Sep 2005 16:56:14 +0300 Date: Fri, 16 Sep 2005 16:56:14 +0300 From: Peter Pentchev To: Daniel O'Connor Message-ID: <20050916135614.GF2813@straylight.m.ringlet.net> Mail-Followup-To: Daniel O'Connor , freebsd-hackers@freebsd.org, Wouter van Rooij References: <7603e5d805091604561e83e2f2@mail.gmail.com> <20050916132314.GA2841@straylight.m.ringlet.net> <200509162307.39783.doconnor@gsoft.com.au> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="+jhVVhN62yS6hEJ8" Content-Disposition: inline In-Reply-To: <200509162307.39783.doconnor@gsoft.com.au> User-Agent: Mutt/1.5.10i Cc: freebsd-hackers@freebsd.org, Wouter van Rooij Subject: Re: ELF binary type "0" not known. X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Sep 2005 13:56:17 -0000 --+jhVVhN62yS6hEJ8 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Sep 16, 2005 at 11:07:31PM +0930, Daniel O'Connor wrote: > On Friday 16 September 2005 22:53, Peter Pentchev wrote: > > On Fri, Sep 16, 2005 at 11:56:09AM +0000, Wouter van Rooij wrote: > > > I have this error message when i'm wanting to start mozilla for examp= le. > > > Do some of you know whats wrong and what I can do to get it working > > > again? > > > > Is this a Linux binary of Mozilla? If you are trying to run a Linux > > application, you need to do three things: > > 1. Install a Linux emulation port - ports/emulators/linux_base is a good > > choice; > > 2. Load the linux.ko kernel module or compile it into the kernel; > > 3a. Set the kern.fallback_elf_brand sysctl variable to 3, or > > 3b. Run 'brandelf -t Linux /path/to/executable' on the file that you wa= nt > > to actually run. > > > > For more information, see chapter 10, "Linux Binary Compatibility", of > > the FreeBSD Handbook. >=20 > Or.. > cd /usr/ports/www/linux-mozilla > make install > :) >=20 > (or firefox, or..) Yep, I think this probably takes care of step 1 and possibly 3b, although the message that Wouter gets is making me think that for some reason the port has *not* run brandelf on the executables - if brandelf had been run, wouldn't the error message mention ELF binary type 3, not 0? So I went ahead and included all the steps, just to cover all bases :) G'luck, Peter --=20 Peter Pentchev roam@ringlet.net roam@cnsys.bg roam@FreeBSD.org PGP key: http://people.FreeBSD.org/~roam/roam.key.asc Key fingerprint FDBA FD79 C26F 3C51 C95E DF9E ED18 B68D 1619 4553 What would this sentence be like if pi were 3? --+jhVVhN62yS6hEJ8 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (FreeBSD) iD8DBQFDKs7+7Ri2jRYZRVMRAiWHAJ9+nZTluHa1u56UjaLXPrMyCDM6uQCgxtiV vzQ0z0wXzoAO1fz9AzmFojk= =3K7c -----END PGP SIGNATURE----- --+jhVVhN62yS6hEJ8-- From owner-freebsd-hackers@FreeBSD.ORG Fri Sep 16 14:00:05 2005 Return-Path: X-Original-To: freebsd-hackers@freebsd.org 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 4589A16A41F for ; Fri, 16 Sep 2005 14:00:05 +0000 (GMT) (envelope-from doconnor@gsoft.com.au) Received: from cain.gsoft.com.au (cain.gsoft.com.au [203.31.81.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6C8FA43D46 for ; Fri, 16 Sep 2005 14:00:04 +0000 (GMT) (envelope-from doconnor@gsoft.com.au) Received: from inchoate.gsoft.com.au (ppp233-172.lns2.adl4.internode.on.net [203.122.233.172]) (authenticated bits=0) by cain.gsoft.com.au (8.13.4/8.13.4) with ESMTP id j8GDxtEk096959 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NO); Fri, 16 Sep 2005 23:30:01 +0930 (CST) (envelope-from doconnor@gsoft.com.au) From: "Daniel O'Connor" To: Peter Pentchev Date: Fri, 16 Sep 2005 23:29:48 +0930 User-Agent: KMail/1.8.1 References: <7603e5d805091604561e83e2f2@mail.gmail.com> <200509162307.39783.doconnor@gsoft.com.au> <20050916135614.GF2813@straylight.m.ringlet.net> In-Reply-To: <20050916135614.GF2813@straylight.m.ringlet.net> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart1544925.qmPJAtRVJK"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200509162329.49465.doconnor@gsoft.com.au> X-Spam-Score: 0.05 () FORGED_RCVD_HELO X-Scanned-By: MIMEDefang 2.51 on 203.31.81.10 Cc: freebsd-hackers@freebsd.org, Wouter van Rooij Subject: Re: ELF binary type "0" not known. X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Sep 2005 14:00:05 -0000 --nextPart1544925.qmPJAtRVJK Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Friday 16 September 2005 23:26, Peter Pentchev wrote: > Yep, I think this probably takes care of step 1 and possibly 3b, although > the message that Wouter gets is making me think that for some reason > the port has *not* run brandelf on the executables - if brandelf had been > run, wouldn't the error message mention ELF binary type 3, not 0? > > So I went ahead and included all the steps, just to cover all bases :) I'd be *very* suprised.. I expect he just downloaded an RPM from somewhere.. =2D-=20 Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au "The nice thing about standards is that there are so many of them to choose from." -- Andrew Tanenbaum GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C --nextPart1544925.qmPJAtRVJK Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (FreeBSD) iD8DBQBDKs/V5ZPcIHs/zowRArnpAJ9riyVJtwJPLmlb2kYJgl4+T2ck1gCgpeTg WkwGgNSBWAzTZ+JTzybXYjg= =XnY7 -----END PGP SIGNATURE----- --nextPart1544925.qmPJAtRVJK-- From owner-freebsd-hackers@FreeBSD.ORG Fri Sep 16 14:12:37 2005 Return-Path: X-Original-To: freebsd-hackers@freebsd.org 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 43CFD16A41F for ; Fri, 16 Sep 2005 14:12:37 +0000 (GMT) (envelope-from deischen@freebsd.org) Received: from mail.ntplx.net (mail.ntplx.net [204.213.176.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id D569743D48 for ; Fri, 16 Sep 2005 14:12:36 +0000 (GMT) (envelope-from deischen@freebsd.org) Received: from sea.ntplx.net (sea.ntplx.net [204.213.176.11]) by mail.ntplx.net (8.13.4/8.13.4/NETPLEX) with ESMTP id j8GECZVC018258; Fri, 16 Sep 2005 10:12:35 -0400 (EDT) Date: Fri, 16 Sep 2005 10:12:34 -0400 (EDT) From: Daniel Eischen X-X-Sender: eischen@sea.ntplx.net To: "Daniel O'Connor" In-Reply-To: <200509162329.49465.doconnor@gsoft.com.au> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Virus-Scanned: by AMaViS and Clam AntiVirus (mail.ntplx.net) Cc: freebsd-hackers@freebsd.org, Wouter van Rooij Subject: Re: ELF binary type "0" not known. X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Daniel Eischen List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Sep 2005 14:12:37 -0000 On Fri, 16 Sep 2005, Daniel O'Connor wrote: > On Friday 16 September 2005 23:26, Peter Pentchev wrote: > > Yep, I think this probably takes care of step 1 and possibly 3b, although > > the message that Wouter gets is making me think that for some reason > > the port has *not* run brandelf on the executables - if brandelf had been > > run, wouldn't the error message mention ELF binary type 3, not 0? > > > > So I went ahead and included all the steps, just to cover all bases :) > > I'd be *very* suprised.. > I expect he just downloaded an RPM from somewhere.. It's probably just not having linux.ko/linprocfs.ko loaded. $ kldstat Id Refs Address Size Name 1 1 0xc0400000 498518 kernel $ /usr/compat/linux/bin/ls ELF binary type "0" not known. $ sudo kldload linux.ko $ kldstat Id Refs Address Size Name 1 5 0xc0400000 498518 kernel 2 1 0xc2a1a000 16000 linux.ko $ /usr/compat/linux/bin/ls /bin basename chgrp cp echo fgrep ls mv rm setserial stty true bash chmod date egrep grep mkdir nice rmdir sh sync uname bash2 chown dd false ln mknod pwd rpm sleep touch -- DE From owner-freebsd-hackers@FreeBSD.ORG Fri Sep 16 14:27:44 2005 Return-Path: X-Original-To: freebsd-hackers@freebsd.org 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 2DA4F16A41F; Fri, 16 Sep 2005 14:27:44 +0000 (GMT) (envelope-from doconnor@gsoft.com.au) Received: from cain.gsoft.com.au (cain.gsoft.com.au [203.31.81.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8244F43D46; Fri, 16 Sep 2005 14:27:43 +0000 (GMT) (envelope-from doconnor@gsoft.com.au) Received: from inchoate.gsoft.com.au (ppp233-172.lns2.adl4.internode.on.net [203.122.233.172]) (authenticated bits=0) by cain.gsoft.com.au (8.13.4/8.13.4) with ESMTP id j8GERYvS097133 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NO); Fri, 16 Sep 2005 23:57:40 +0930 (CST) (envelope-from doconnor@gsoft.com.au) From: "Daniel O'Connor" To: Daniel Eischen Date: Fri, 16 Sep 2005 23:57:21 +0930 User-Agent: KMail/1.8.1 References: In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart1483992.FsbauTkprY"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200509162357.22204.doconnor@gsoft.com.au> X-Spam-Score: 0.05 () FORGED_RCVD_HELO X-Scanned-By: MIMEDefang 2.51 on 203.31.81.10 Cc: freebsd-hackers@freebsd.org, Wouter van Rooij Subject: Re: ELF binary type "0" not known. X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Sep 2005 14:27:44 -0000 --nextPart1483992.FsbauTkprY Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Friday 16 September 2005 23:42, Daniel Eischen wrote: > > I'd be *very* suprised.. > > I expect he just downloaded an RPM from somewhere.. > > It's probably just not having linux.ko/linprocfs.ko loaded. > > $ kldstat > Id Refs Address Size Name > 1 1 0xc0400000 498518 kernel > $ /usr/compat/linux/bin/ls > ELF binary type "0" not known. > > $ sudo kldload linux.ko > $ kldstat > Id Refs Address Size Name > 1 5 0xc0400000 498518 kernel > 2 1 0xc2a1a000 16000 linux.ko > $ /usr/compat/linux/bin/ls /bin > basename chgrp cp echo fgrep ls mv rm setserial stt= y=20 > true bash chmod date egrep grep mkdir nice rmdir sh = =20 > sync uname bash2 chown dd false ln mknod pwd rpm sle= ep > touch Wow that's weird.. I wonder why that happens? =2D-=20 Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au "The nice thing about standards is that there are so many of them to choose from." -- Andrew Tanenbaum GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C --nextPart1483992.FsbauTkprY Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (FreeBSD) iD8DBQBDKtZK5ZPcIHs/zowRApwzAJ9BXJ4zCMryuwk7VLBoTrCd75rblACghkDZ sLYaWmja6te3L17Uy3LcEd0= =Wfwo -----END PGP SIGNATURE----- --nextPart1483992.FsbauTkprY-- From owner-freebsd-hackers@FreeBSD.ORG Fri Sep 16 14:46:57 2005 Return-Path: X-Original-To: freebsd-hackers@freebsd.org 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 9B59116A421 for ; Fri, 16 Sep 2005 14:46:57 +0000 (GMT) (envelope-from roam@ringlet.net) Received: from gandalf.online.bg (gandalf.online.bg [217.75.128.9]) by mx1.FreeBSD.org (Postfix) with SMTP id 3279043D46 for ; Fri, 16 Sep 2005 14:46:55 +0000 (GMT) (envelope-from roam@ringlet.net) Received: (qmail 707 invoked from network); 16 Sep 2005 14:46:50 -0000 Received: from unknown (HELO straylight.ringlet.net) (85.95.80.104) by gandalf.online.bg with SMTP; 16 Sep 2005 14:46:50 -0000 Received: (qmail 34401 invoked by uid 1000); 16 Sep 2005 17:46:53 +0300 Date: Fri, 16 Sep 2005 17:46:53 +0300 From: Peter Pentchev To: Daniel O'Connor Message-ID: <20050916144653.GG2813@straylight.m.ringlet.net> Mail-Followup-To: Daniel O'Connor , Daniel Eischen , freebsd-hackers@freebsd.org, Wouter van Rooij References: <200509162357.22204.doconnor@gsoft.com.au> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="+sHJum3is6Tsg7/J" Content-Disposition: inline In-Reply-To: <200509162357.22204.doconnor@gsoft.com.au> User-Agent: Mutt/1.5.10i Cc: Daniel Eischen , freebsd-hackers@freebsd.org, Wouter van Rooij Subject: Re: ELF binary type "0" not known. X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Sep 2005 14:46:57 -0000 --+sHJum3is6Tsg7/J Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Sep 16, 2005 at 11:57:21PM +0930, Daniel O'Connor wrote: > On Friday 16 September 2005 23:42, Daniel Eischen wrote: > > > I'd be *very* suprised.. > > > I expect he just downloaded an RPM from somewhere.. > > > > It's probably just not having linux.ko/linprocfs.ko loaded. > > > > $ kldstat > > Id Refs Address Size Name > > 1 1 0xc0400000 498518 kernel > > $ /usr/compat/linux/bin/ls > > ELF binary type "0" not known. > > > > $ sudo kldload linux.ko > > $ kldstat > > Id Refs Address Size Name > > 1 5 0xc0400000 498518 kernel > > 2 1 0xc2a1a000 16000 linux.ko > > $ /usr/compat/linux/bin/ls /bin > > basename chgrp cp echo fgrep ls mv rm setserial s= tty=20 > > true bash chmod date egrep grep mkdir nice rmdir sh = =20 > > sync uname bash2 chown dd false ln mknod pwd rpm s= leep > > touch >=20 > Wow that's weird.. > I wonder why that happens? What is weird? The fact that if linux.ko is not loaded, the kernel does not know what to do with an unknown ELF binary type? :) What I find weird is the fact that as soon as linux.ko is loaded, the kernel "learns" to treat type 0 binaries as type 3; but this is probably because Daniel Eischen has at some earlier time set the kern.fallback_elf_brand sysctl to 3. G'luck, Peter --=20 Peter Pentchev roam@ringlet.net roam@cnsys.bg roam@FreeBSD.org PGP key: http://people.FreeBSD.org/~roam/roam.key.asc Key fingerprint FDBA FD79 C26F 3C51 C95E DF9E ED18 B68D 1619 4553 This sentence is false. --+sHJum3is6Tsg7/J Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (FreeBSD) iD8DBQFDKtrd7Ri2jRYZRVMRAsQrAJ9jtEEiPG7MwKGEyCkgQnP0JyPWFACeNsiC ajxDf1NeSTlMapnV5Wf76HM= =v7jD -----END PGP SIGNATURE----- --+sHJum3is6Tsg7/J-- From owner-freebsd-hackers@FreeBSD.ORG Fri Sep 16 15:07:14 2005 Return-Path: X-Original-To: freebsd-hackers@freebsd.org 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 ED30216A41F; Fri, 16 Sep 2005 15:07:14 +0000 (GMT) (envelope-from doconnor@gsoft.com.au) Received: from cain.gsoft.com.au (cain.gsoft.com.au [203.31.81.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5010343D45; Fri, 16 Sep 2005 15:07:13 +0000 (GMT) (envelope-from doconnor@gsoft.com.au) Received: from inchoate.gsoft.com.au (ppp233-172.lns2.adl4.internode.on.net [203.122.233.172]) (authenticated bits=0) by cain.gsoft.com.au (8.13.4/8.13.4) with ESMTP id j8GF75GY097383 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NO); Sat, 17 Sep 2005 00:37:12 +0930 (CST) (envelope-from doconnor@gsoft.com.au) From: "Daniel O'Connor" To: Peter Pentchev Date: Sat, 17 Sep 2005 00:36:57 +0930 User-Agent: KMail/1.8.1 References: <200509162357.22204.doconnor@gsoft.com.au> <20050916144653.GG2813@straylight.m.ringlet.net> In-Reply-To: <20050916144653.GG2813@straylight.m.ringlet.net> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart2861364.t62uzUTcex"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200509170036.58660.doconnor@gsoft.com.au> X-Spam-Score: 0.05 () FORGED_RCVD_HELO X-Scanned-By: MIMEDefang 2.51 on 203.31.81.10 Cc: Daniel Eischen , freebsd-hackers@freebsd.org, Wouter van Rooij Subject: Re: ELF binary type "0" not known. X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Sep 2005 15:07:15 -0000 --nextPart2861364.t62uzUTcex Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Saturday 17 September 2005 00:16, Peter Pentchev wrote: > > Wow that's weird.. > > I wonder why that happens? > > What is weird? The fact that if linux.ko is not loaded, the kernel > does not know what to do with an unknown ELF binary type? :) I misread that as having linprocfs loaded :) > What I find weird is the fact that as soon as linux.ko is loaded, > the kernel "learns" to treat type 0 binaries as type 3; but this is > probably because Daniel Eischen has at some earlier time set > the kern.fallback_elf_brand sysctl to 3. Yes that is pretty odd.. =2D-=20 Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au "The nice thing about standards is that there are so many of them to choose from." -- Andrew Tanenbaum GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C --nextPart2861364.t62uzUTcex Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (FreeBSD) iD8DBQBDKt+S5ZPcIHs/zowRAnrDAJ43GxzTaSOHoOw4AOU7IM7TH1T8wQCeJqid OT9t8U8EgIG/xtb2PfCG4dg= =ejF/ -----END PGP SIGNATURE----- --nextPart2861364.t62uzUTcex-- From owner-freebsd-hackers@FreeBSD.ORG Fri Sep 16 17:52:37 2005 Return-Path: X-Original-To: freebsd-hackers@freebsd.org 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 BF53716A41F for ; Fri, 16 Sep 2005 17:52:37 +0000 (GMT) (envelope-from deischen@freebsd.org) Received: from mail.ntplx.net (mail.ntplx.net [204.213.176.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4822A43D46 for ; Fri, 16 Sep 2005 17:52:37 +0000 (GMT) (envelope-from deischen@freebsd.org) Received: from sea.ntplx.net (sea.ntplx.net [204.213.176.11]) by mail.ntplx.net (8.13.4/8.13.4/NETPLEX) with ESMTP id j8GHqZjl008974; Fri, 16 Sep 2005 13:52:35 -0400 (EDT) Date: Fri, 16 Sep 2005 13:52:35 -0400 (EDT) From: Daniel Eischen X-X-Sender: eischen@sea.ntplx.net To: Peter Pentchev In-Reply-To: <20050916144653.GG2813@straylight.m.ringlet.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Virus-Scanned: by AMaViS and Clam AntiVirus (mail.ntplx.net) Cc: Wouter van Rooij , freebsd-hackers@freebsd.org Subject: Re: ELF binary type "0" not known. X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Daniel Eischen List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Sep 2005 17:52:37 -0000 On Fri, 16 Sep 2005, Peter Pentchev wrote: > > What is weird? The fact that if linux.ko is not loaded, the kernel > does not know what to do with an unknown ELF binary type? :) > > What I find weird is the fact that as soon as linux.ko is loaded, > the kernel "learns" to treat type 0 binaries as type 3; but this is > probably because Daniel Eischen has at some earlier time set > the kern.fallback_elf_brand sysctl to 3. Huh? I've done nothing of the sort ;-) -- DE From owner-freebsd-hackers@FreeBSD.ORG Fri Sep 16 19:46:28 2005 Return-Path: X-Original-To: hackers@freebsd.org 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 B200A16A41F for ; Fri, 16 Sep 2005 19:46:28 +0000 (GMT) (envelope-from xride@x12.dk) Received: from swip.net (mailfe05.swip.net [212.247.154.129]) by mx1.FreeBSD.org (Postfix) with ESMTP id 47E8243D45 for ; Fri, 16 Sep 2005 19:46:26 +0000 (GMT) (envelope-from xride@x12.dk) X-T2-Posting-ID: lkM/Dn7LTUP9vUt2XCoVCw== Received: from x12.dk ([83.72.97.237] verified) by mailfe05.swip.net (CommuniGate Pro SMTP 4.3.4) with ESMTP id 259574100; Fri, 16 Sep 2005 21:46:25 +0200 Received: from localhost (unknown [127.0.0.1]) by x12.dk (Postfix) with ESMTP id 18F0050818; Fri, 16 Sep 2005 21:46:24 +0200 (CEST) Received: from x12.dk ([127.0.0.1]) by localhost (x12.dk [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 97199-02; Fri, 16 Sep 2005 21:44:57 +0200 (CEST) Received: from x12.dk (localhost [127.0.0.1]) by x12.dk (Postfix) with ESMTP; Fri, 16 Sep 2005 21:44:57 +0200 (CEST) Received: from localhost (xride@localhost) by x12.dk (8.13.3/8.13.3/Submit) with ESMTP id j8GJiuQ9097351; Fri, 16 Sep 2005 21:44:56 +0200 (CEST) (envelope-from xride@x12.dk) Date: Fri, 16 Sep 2005 21:44:56 +0200 (CEST) From: Soeren Straarup To: Eric Anderson In-Reply-To: <432AC6B6.7090301@centtech.com> Message-ID: <20050916214325.U44276@x12.dk> References: <1126200580.4320750472d15@mail.nipsi.de> <432178EA.2040602@centtech.com> <8059f9a80509101117b3336bf@mail.gmail.com> <4324F482.1000204@centtech.com> <20050912081952.H87302@x12.dk> <4326C703.9050006@centtech.com> <20050914003150.C44276@x12.dk> <432AC6B6.7090301@centtech.com> MIME-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="0-1881880773-1126899896=:44276" X-Virus-Scanned: amavisd-new at x12.dk Cc: hackers@freebsd.org Subject: Re: status of ufsj and gjournal X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Sep 2005 19:46:28 -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-1881880773-1126899896=:44276 Content-Type: TEXT/PLAIN; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: QUOTED-PRINTABLE On Fri, 16 Sep 2005, Eric Anderson wrote: > Soeren Straarup wrote: >> On Tue, 13 Sep 2005, Eric Anderson wrote: >>=20 >>> Soeren Straarup wrote: >>>=20 >>>> On Sun, 11 Sep 2005, Eric Anderson wrote: >>>>=20 >>>>> Brian Wilson wrote: >>>>>=20 >>>>>> On 9/9/05, Eric Anderson wrote: >>>>>>=20 >>>>>>> db@nipsi.de wrote: >>>>>>>=20 >>>>>>>> Hi list, >>>>>>>> I wonder whats the status of those summer of code projects. >>>>>>>>=20 >>>>>>>>> From gjournal we heard that it has been completed but then nothin= g=20 >>>>>>>>> happens, any >>>>>>>>=20 >>>>>>>>=20 >>>>>>>> further information about this? >>>>>>>> Is somebody working on ufsj? Was the summer of code project=20 >>>>>>>> successful? >>>>>>>=20 >>>>>>>=20 >>>>>>>=20 >>>>>>> Scott Long is the core person working on ufsj, and I have seen some >>>>>>> stuff worked on in his perforce tree, but I think it's a ways away= =20 >>>>>>> from >>>>>>> being beta. I'm sure he would welcome help. >>>>>>=20 >>>>>>=20 >>>>>>=20 >>>>>>=20 >>>>>> I was working on the ufsj stuff as a Google SoC project with Scott. >>>>>>=20 >>>>>> It is very close to beta, however this past week involved school >>>>>> starting back up, so I have been unable to do any work at all. >>>>>>=20 >>>>>> However, now that I am settled in at school (for some definition of >>>>>> settled in), I have time to devote to ufsj again. >>>>>>=20 >>>>>> I hope to release a beta "real soon now", so stay tuned. >>>>>=20 >>>>>=20 >>>>>=20 >>>>> Hey Brian! Thanks for the info - I've been very interested in the=20 >>>>> development of the project, but Scott is too busy doing other real=20 >>>>> stuff, and I oddly didn't even think to ask you anything. :( >>>>>=20 >>>>> I'm willing to play with pre-beta patches or tarballs/etc. Feel free= to=20 >>>>> contact me off list if you'd like a guinea pig. >>>>>=20 >>>>=20 >>>> So am I.. I have the hw to test on too and i wanna test geomgui too (8 >>>=20 >>>=20 >>> What is geomgui aimed at doing? I've been wanting to write a geom view= er=20 >>> that displays (in near real-time) reads/writes to geom providers at a= =20 >>> block level visually. Is geomgui going to do something like that? Fro= m=20 >>> the src I downloaded and ran from your site, it looked as though you=20 >>> wanted to show a layout of the geom connections. >>>=20 >>> Eric >>=20 >>=20 >> Your right so far about geomgui. It is to show the way the different >> things are hooked up. >> But i have plans to make it an interface to the geom layer somehow. But >> i'm hooked up on other stuff at the moment. > > > Ok, cool. Are your plans to interface to geom going to possibly help me = with=20 > my quest for a visual display of real-time read/writes to geom devices? = If=20 > so, then we should work together.. > I'll gladly add stuff (patches (;) and make a new release, but i don't have any time atm to develop on it, sorry. S=F8ren Soeren Straarup | aka OZ2DAK aka Xride FreeBSD wannabe | FreeBSD since 2.2.6-R 'We wanted to believe. But the tools had been taken away..' Mulder --0-1881880773-1126899896=:44276-- From owner-freebsd-hackers@FreeBSD.ORG Fri Sep 16 21:30:05 2005 Return-Path: X-Original-To: freebsd-hackers@freebsd.org 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 B066616A420 for ; Fri, 16 Sep 2005 21:30:05 +0000 (GMT) (envelope-from sl151@waikato.ac.nz) Received: from newman.its.waikato.ac.nz (newman.its.waikato.ac.nz [130.217.66.62]) by mx1.FreeBSD.org (Postfix) with ESMTP id 91EFE43D46 for ; Fri, 16 Sep 2005 21:30:04 +0000 (GMT) (envelope-from sl151@waikato.ac.nz) Received: from ex4.its.waikato.ac.nz (ex4.its.waikato.ac.nz [130.217.70.144]) by newman.its.waikato.ac.nz (Postfix) with ESMTP id 00D231277C3 for ; Sat, 17 Sep 2005 09:30:04 +1200 (NZST) X-MimeOLE: Produced By Microsoft Exchange V6.5.7226.0 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----_=_NextPart_001_01C5BB05.CD127B08" Date: Sat, 17 Sep 2005 09:29:55 +1200 Message-ID: <53EF8EA01F1F5241BAB680A851B4F03F1E1225@ex4.its.waikato.ac.nz> X-MS-Has-Attach: X-MS-TNEF-Correlator: <53EF8EA01F1F5241BAB680A851B4F03F1E1225@ex4.its.waikato.ac.nz> Thread-Topic: freebsd-hackers Digest, Vol 130, Issue 5 Thread-Index: AcW6tndm4pFZDh1ASfqd9V8TbIllHQAT1CvF From: "Lin, Shih-Min" To: , X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: RE: freebsd-hackers Digest, Vol 130, Issue 5 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Sep 2005 21:30:05 -0000 This is a multi-part message in MIME format. ------_=_NextPart_001_01C5BB05.CD127B08 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable -----Original Message----- From: owner-freebsd-hackers@freebsd.org on behalf of = freebsd-hackers-request@freebsd.org Sent: Sat 9/17/2005 12:00 AM To: freebsd-hackers@freebsd.org Subject: freebsd-hackers Digest, Vol 130, Issue 5 =20 Send freebsd-hackers mailing list submissions to freebsd-hackers@freebsd.org To subscribe or unsubscribe via the World Wide Web, visit http://lists.freebsd.org/mailman/listinfo/freebsd-hackers or, via email, send a message with subject or body 'help' to freebsd-hackers-request@freebsd.org You can reach the person managing the list at freebsd-hackers-owner@freebsd.org When replying, please edit your Subject line so it is more specific than "Re: Contents of freebsd-hackers digest..." Today's Topics: 1. IO schedulers in FBSD... (Pranav Peshwe) 2. Re: IO schedulers in FBSD... (Luigi Rizzo) 3. Re: IO schedulers in FBSD... (Pranav Peshwe) 4. Re: IO schedulers in FBSD... (Luigi Rizzo) 5. Re: {get,set}_fsbase, {get,set}_gsbase and Valgrind (John Baldwin) 6. ELF binary type "0" not known. (Wouter van Rooij) ---------------------------------------------------------------------- Message: 1 Date: Thu, 15 Sep 2005 18:45:27 +0530 From: "Pranav Peshwe" Subject: IO schedulers in FBSD... To: Message-ID: <00bd01c5b9f7$8f629370$0201a8c0@pranav> Content-Type: text/plain; charset=3D"iso-8859-1" Hello, Which is the I/O scheduler used by FBSD 5.4 ?=20 I googled in various ways but could not get an answer. I do not have access to the source code. TIA. Sincere regards, Pranav.J.Peshwe -------------------------------------------------------------------------= -- A picture is worth a thousand words. A formula is worth a thousand pictures. - Edsger W. Dijkstra ------------------------------ Message: 2 Date: Thu, 15 Sep 2005 06:01:32 -0700 From: Luigi Rizzo Subject: Re: IO schedulers in FBSD... To: Pranav Peshwe Cc: freebsd-hackers@freebsd.org Message-ID: <20050915060132.A64948@xorpc.icir.org> Content-Type: text/plain; charset=3Dus-ascii On Thu, Sep 15, 2005 at 06:45:27PM +0530, Pranav Peshwe wrote: > Hello, > Which is the I/O scheduler used by FBSD 5.4 ?=20 > I googled in various ways but could not get an answer. it is called FCFSUSIIABPIWCTTOIS, which stands for First Come First Serve Unless Someone Is In A Better Position In Which Case The Temporal Order Is Subverted also known as the standard one-way elevator taught in all operating system courses. > I do not have access to the source code. you do, it is at =09 http://www.freebsd.org/cgi/cvsweb.cgi/ ready for your perusal. cheers luigi > TIA. >=20 > Sincere regards, > Pranav.J.Peshwe >=20 > = -------------------------------------------------------------------------= -- > A picture is worth a thousand words. > A formula is worth a thousand pictures. > - Edsger W. Dijkstra > _______________________________________________ > 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" ------------------------------ Message: 3 Date: Thu, 15 Sep 2005 19:52:15 +0530 From: "Pranav Peshwe" Subject: Re: IO schedulers in FBSD... To: "Luigi Rizzo" , Message-ID: <000801c5ba04$b82efd90$0201a8c0@pranav> Content-Type: text/plain; charset=3D"iso-8859-1" ----- Original Message ----- From: "Luigi Rizzo" To: "Pranav Peshwe" Cc: Sent: Thursday, September 15, 2005 6:31 PM Subject: Re: IO schedulers in FBSD... > On Thu, Sep 15, 2005 at 06:45:27PM +0530, Pranav Peshwe wrote: > > Hello, > > Which is the I/O scheduler used by FBSD 5.4 ? > > I googled in various ways but could not get an answer. > > it is called FCFSUSIIABPIWCTTOIS, which stands for > First Come First Serve Unless Someone Is In A Better Position > In Which Case The Temporal Order Is Subverted > > also known as the standard one-way elevator taught in all operating > system courses. > > > I do not have access to the source code. > > you do, it is at > > http://www.freebsd.org/cgi/cvsweb.cgi/ > > ready for your perusal. > > cheers > luigi Thank you very much for the name and the source link.Is there any documentation available on this topic(fbsd io schedulers) ? Where is the io scheduler located in the src code tree ? -- I found one more source for browsing the sources. http://fxr.watson.org/ -- TIA. Sincere regards, Pranav -------------------------------------------------------------------------= -- When I die, I want to die like my friend's grandmother, who died = peacefully in her sleep. Not screaming like all the passengers in her car. ------------------------------ Message: 4 Date: Thu, 15 Sep 2005 07:39:27 -0700 From: Luigi Rizzo Subject: Re: IO schedulers in FBSD... To: Pranav Peshwe Cc: freebsd-hackers@freebsd.org Message-ID: <20050915073927.A65819@xorpc.icir.org> Content-Type: text/plain; charset=3Dus-ascii On Thu, Sep 15, 2005 at 07:52:15PM +0530, Pranav Peshwe wrote: ... > Thank you very much for the name and the source > link.Is there any documentation available on this > topic(fbsd io schedulers) ? > Where is the io scheduler located in the > src code tree ? see http://wikitest.freebsd.org/moin.cgi/Hybrid there is more docs on = this cheers luigi ------------------------------ Message: 5 Date: Thu, 15 Sep 2005 11:37:31 -0400 From: John Baldwin Subject: Re: {get,set}_fsbase, {get,set}_gsbase and Valgrind To: freebsd-hackers@freebsd.org Cc: Simon Barner Message-ID: <200509151137.32110.jhb@FreeBSD.org> Content-Type: text/plain; charset=3D"iso-8859-6" On Thursday 15 September 2005 06:48 am, Simon Barner wrote: > Doug, > hackers, > > a user of the valgrind port reported that it crashed due to an = unhandled > sysarch call (ports/86007). > > I found out, that this was because of the get_fsbase, set_fsbase, > get_gsbase and set_gsbase calls, which were introduced in FreeBSD 6. > > I'd be happy if somebody could review my attached patch. It's quite > possible that it does not make sense at all since I created it by > adopting the code for the other cases without having a real clue about > what I was doing :-/ > > Also, since I could not find any documentation for these calls, it = would > be very nice to know what they are good for, and if programs like > valgrind have to take special care of them. > > Best regards, > Simon Your best bet is probably to mail the patch in a followup to the PR so = that it=20 doesn't get lost. --=20 John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve" =3D http://www.FreeBSD.org ------------------------------ Message: 6 Date: Fri, 16 Sep 2005 11:56:09 +0000 From: Wouter van Rooij Subject: ELF binary type "0" not known. To: freebsd-hackers@freebsd.org Message-ID: <7603e5d805091604561e83e2f2@mail.gmail.com> Content-Type: text/plain; charset=3DISO-8859-1 I have this error message when i'm wanting to start mozilla for example. = Do=20 some of you know whats wrong and what I can do to get it working again? Wouter van Rooij ------------------------------ _______________________________________________ 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" End of freebsd-hackers Digest, Vol 130, Issue 5 *********************************************** ------_=_NextPart_001_01C5BB05.CD127B08--