From owner-freebsd-chat Sun Nov 26 14:28:09 1995 Return-Path: owner-chat Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id OAA07223 for chat-outgoing; Sun, 26 Nov 1995 14:28:09 -0800 Received: from crh.cl.msu.edu (crh.cl.msu.edu [35.8.1.24]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id OAA07156 for ; Sun, 26 Nov 1995 14:27:46 -0800 Received: (from henrich@localhost) by crh.cl.msu.edu (8.6.12/8.6.12) id RAA19720; Sun, 26 Nov 1995 17:26:19 -0500 Date: Sun, 26 Nov 1995 17:26:19 -0500 From: Charles Henrich Message-Id: <199511262226.RAA19720@crh.cl.msu.edu> To: petzi@zit.th-darmstadt.de, freebsd-chat@freebsd.org Subject: Re: Barracuda woes Newsgroups: lists.freebsd.chat References: <4985vc$fae@msunews.cl.msu.edu> X-Newsreader: NN version 6.5.0 #3 (NOV) Sender: owner-chat@freebsd.org Precedence: bulk In lists.freebsd.chat you write: >>My Barracuda just quit on me today taking a large chunk >>of this month's work with it. >> >>Major, heavy-duty sigh. >> >>Can someone with a similiar experience tell me how seagate >>was able to miraculously restore their data. Please. >I heard about companies specialized in this. They take the disks out of the >damaged drive (in clean rooms) and place them in a new drive, for example. >They can also recover disks from burnt computers etc. >I have no addresses, though. Sometimes there are advertisments in "Byte", About 80% of our Barracuda drives have gone south, I would highly recommend against buying any of them. Lately we've been having good luck with Connor 4207S drives, fast, and much cheaper than the seacrates. -Crh -- Charles Henrich Michigan State University henrich@crh.cl.msu.edu http://rs560.msu.edu/~henrich/ From owner-freebsd-chat Mon Nov 27 18:20:26 1995 Return-Path: owner-chat Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id SAA21732 for chat-outgoing; Mon, 27 Nov 1995 18:20:26 -0800 Received: from bunyip.cc.uq.oz.au (pp@bunyip.cc.uq.oz.au [130.102.2.1]) by freefall.freebsd.org (8.6.12/8.6.6) with SMTP id SAA21724 for ; Mon, 27 Nov 1995 18:20:22 -0800 Received: from cc.uq.oz.au by bunyip.cc.uq.oz.au id <24030-0@bunyip.cc.uq.oz.au>; Tue, 28 Nov 1995 12:20:11 +1000 Received: from netfl15a.devetir.qld.gov.au by pandora.devetir.qld.gov.au (8.6.10/DEVETIR-E0.3a) with ESMTP id MAA21357 for ; Tue, 28 Nov 1995 12:25:37 +1000 Received: from localhost by netfl15a.devetir.qld.gov.au (8.6.8.1/DEVETIR-0.1) id CAA04740 for ; Tue, 28 Nov 1995 02:25:57 GMT Message-Id: <199511280225.CAA04740@netfl15a.devetir.qld.gov.au> X-Mailer: exmh version 1.6.4 10/10/95 To: chat@freebsd.org Subject: Anybody with a Turbo C++ compiler able to answer a couple of questions? X-Face: 3}heU+2?b->-GSF-G4T4>jEB9~FR(V9lo&o>kAy=Pj&;oVOc<|pr%I/VSG"ZD32J>5gGC0N 7gj]^GI@M:LlqNd]|(2OxOxy@$6@/!,";-!OlucF^=jq8s57$%qXd/ieC8DhWmIy@J1AcnvSGV\|*! >Bvu7+0h4zCY^]{AxXKsDTlgA2m]fX$W@'8ev-Qi+-;%L'CcZ'NBL!@n?}q!M&Em3*eW7,093nOeV8 M)(u+6D;%B7j\XA/9j4!Gj~&jYzflG[#)E9sI&Xe9~y~Gn%fA7>F:YKr"Wx4cZU*6{^2ocZ!YyR Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Tue, 28 Nov 1995 12:25:57 +1000 From: Stephen Hocking Sender: owner-chat@freebsd.org Precedence: bulk What do the macros FP_SEG & FP_OFF do? I think that they are for getting the segment number & offset respectively of a pointer, but am not sure. Stephen -- I do not speak for the Worker's Compensation Board of Queensland - They don't pay me enough for that! From owner-freebsd-chat Mon Nov 27 21:43:28 1995 Return-Path: owner-chat Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id VAA04207 for chat-outgoing; Mon, 27 Nov 1995 21:43:28 -0800 Received: from mramirez.sy.yale.edu (mramirez.sy.yale.edu [130.132.57.207]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id VAA04197 for ; Mon, 27 Nov 1995 21:43:21 -0800 Received: (from mrami@localhost) by mramirez.sy.yale.edu (8.6.12/8.6.9) id AAA04469; Tue, 28 Nov 1995 00:43:01 -0500 Date: Tue, 28 Nov 1995 00:43:00 -0500 (EST) From: Marc Ramirez Reply-To: mrami@minerva.cis.yale.edu To: Stephen Hocking cc: chat@freebsd.org Subject: Re: Anybody with a Turbo C++ compiler able to answer a couple of questions? In-Reply-To: <199511280225.CAA04740@netfl15a.devetir.qld.gov.au> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-chat@freebsd.org Precedence: bulk On Tue, 28 Nov 1995, Stephen Hocking wrote: > What do the macros FP_SEG & FP_OFF do? I think that they are for getting the > segment number & offset respectively of a pointer, but am not sure. I believe you're right. Grep (TC comes with grep! I love that!) through dos.h. If I remember correctly, it's in there (god, I haven't used Turbo C since I was 15 or so). It should, of course, say something like #define FP_SEG(x) ((long)(x)<<16L) #define FP_OFF(x) ((long)(x)&65535L) Marc. From owner-freebsd-chat Tue Nov 28 14:37:47 1995 Return-Path: owner-chat Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id OAA12251 for chat-outgoing; Tue, 28 Nov 1995 14:37:47 -0800 Received: from tubkom.prz.tu-berlin.de (root@tubkom.prz.tu-berlin.de [130.149.62.9]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id OAA12242 for ; Tue, 28 Nov 1995 14:37:36 -0800 From: wolf@prz.tu-berlin.de Received: from marvin.prz.tu-berlin.de (marvin.prz.tu-berlin.de [130.149.62.25]) by tubkom.prz.tu-berlin.de (8.6.11/8.6.9) with SMTP id XAA26907; Tue, 28 Nov 1995 23:37:01 +0100 Message-Id: <199511282237.XAA26907@tubkom.prz.tu-berlin.de> Received: by marvin.prz.tu-berlin.de (1.38.193.4/15.6) id AA06080; Tue, 28 Nov 1995 23:37:01 +0100 Subject: Re: Anybody with a Turbo C++ compiler able to answer a couple of questions? To: mrami@minerva.cis.yale.edu Date: Tue, 28 Nov 1995 23:37:00 +0100 (MEZ) Cc: sysseh@devetir.qld.gov.au, chat@freebsd.org In-Reply-To: from "Marc Ramirez" at Nov 28, 95 00:43:00 am X-Mailer: ELM [version 2.4 PL24 ME8b] Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Length: 1393 Sender: owner-chat@freebsd.org Precedence: bulk Marc Ramirez wrote: > > On Tue, 28 Nov 1995, Stephen Hocking wrote: > > > What do the macros FP_SEG & FP_OFF do? I think that they are for getting the > > segment number & offset respectively of a pointer, but am not sure. > > I believe you're right. Grep (TC comes with grep! I love that!) through > dos.h. If I remember correctly, it's in there (god, I haven't used Turbo > C since I was 15 or so). It should, of course, say something like > > #define FP_SEG(x) ((long)(x)<<16L) > #define FP_OFF(x) ((long)(x)&65535L) > At least in Borland C++ the definition is actually: #define FP_SEG( fp ) ( (unsigned) (void _seg *)(void far *)( fp )) #define FP_OFF( fp ) ( (unsigned) ( fp )) This is because a "far" pointer ("far" means more then 64k) is 32 bits long but not stored as any normal human expects, but instead with a 16 bit offset in the first two bytes and a 16 bit segment in the second two bytes, as in the 8086/8088 days (at least in the classical "memory models"). Thomas -- Thomas Wolfram Germany: 0 30 31421171 PRZ TU Berlin abroad: +49 30 31421171 EANTC WWW: http://www.prz.tu-berlin.de/~wolf _____________________________________________________________________________ _____S__I__C____T__R__A__N__S__I__T____G__L__O__R__I__A____M__U__N__D__I_____ From owner-freebsd-chat Tue Nov 28 16:26:27 1995 Return-Path: owner-chat Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id QAA20784 for chat-outgoing; Tue, 28 Nov 1995 16:26:27 -0800 Received: from bunyip.cc.uq.oz.au (pp@bunyip.cc.uq.oz.au [130.102.2.1]) by freefall.freebsd.org (8.6.12/8.6.6) with SMTP id QAA20746 for ; Tue, 28 Nov 1995 16:26:11 -0800 Received: from cc.uq.oz.au by bunyip.cc.uq.oz.au id <01022-0@bunyip.cc.uq.oz.au>; Wed, 29 Nov 1995 10:25:07 +1000 Received: from netfl15a.devetir.qld.gov.au by pandora.devetir.qld.gov.au (8.6.10/DEVETIR-E0.3a) with ESMTP id KAA06597; Wed, 29 Nov 1995 10:04:05 +1000 Received: from localhost by netfl15a.devetir.qld.gov.au (8.6.8.1/DEVETIR-0.1) id AAA11210; Wed, 29 Nov 1995 00:04:38 GMT Message-Id: <199511290004.AAA11210@netfl15a.devetir.qld.gov.au> X-Mailer: exmh version 1.6.4 10/10/95 To: wolf@prz.tu-berlin.de cc: chat@freebsd.org Subject: Re: Anybody with a Turbo C++ compiler able to answer a couple of questions? In-reply-to: Your message of "Tue, 28 Nov 1995 23:37:00 +0100." <199511282237.XAA26907@tubkom.prz.tu-berlin.de> X-Face: 3}heU+2?b->-GSF-G4T4>jEB9~FR(V9lo&o>kAy=Pj&;oVOc<|pr%I/VSG"ZD32J>5gGC0N 7gj]^GI@M:LlqNd]|(2OxOxy@$6@/!,";-!OlucF^=jq8s57$%qXd/ieC8DhWmIy@J1AcnvSGV\|*! >Bvu7+0h4zCY^]{AxXKsDTlgA2m]fX$W@'8ev-Qi+-;%L'CcZ'NBL!@n?}q!M&Em3*eW7,093nOeV8 M)(u+6D;%B7j\XA/9j4!Gj~&jYzflG[#)E9sI&Xe9~y~Gn%fA7>F:YKr"Wx4cZU*6{^2ocZ!YyR Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Wed, 29 Nov 1995 10:04:36 +1000 From: Stephen Hocking Sender: owner-chat@freebsd.org Precedence: bulk [much stuff about perverse memory models deleted] Yea, I used have a 286 running Microport Unix. I also had all the iNTEL data books on the chip & support chips. About 8 months ago, after having used a 386 unix exclusively since 1992 and not having read them for about that long, I threw the damn things out. Now I find myself having to hand-translate 286 assembler back into C (it's the Wolf3d source if you must know, if someone's done this already please let me know - it's terrible!) Stephen -- I do not speak for the Worker's Compensation Board of Queensland - They don't pay me enough for that! From owner-freebsd-chat Wed Nov 29 23:19:14 1995 Return-Path: owner-chat Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id XAA03084 for chat-outgoing; Wed, 29 Nov 1995 23:19:14 -0800 Received: from main.gbdata.com (dial4.phoenix.net [199.3.234.35]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id XAA02968 for ; Wed, 29 Nov 1995 23:17:40 -0800 Received: (from gclarkii@localhost) by main.gbdata.com (8.6.12/8.6.9) id BAA05810 for freebsd-chat@freebsd.org; Thu, 30 Nov 1995 01:17:31 -0600 From: Gary Clark II Message-Id: <199511300717.BAA05810@main.gbdata.com> Subject: A test device driver To: freebsd-chat@freebsd.org Date: Thu, 30 Nov 1995 01:17:25 -0600 (CST) Reply-To: gclarkii@freebsd.org X-Mailer: ELM [version 2.4 PL24] Content-Type: text Content-Length: 1134 Sender: owner-chat@freebsd.org Precedence: bulk Hi, Would anyone feel "bad" if we put a `test` device driver in the tree in /sys/i386/isa ? This could be nothing more than a dummy device that would open, close and accept ioctls. We could use this to document the new devfs stuff (which is driving me batty...:)) and other things which have to be done for a basic device to function. We could have two of these... One that shows how a block device is setup and another for character. Side-Track: If "possible" I would like to see more comments on ANY new things that go into the kernel. Examples of these are devfs, vm-buffer cache, procfs and so on. Alot of people have the Daemon book, but we have deviated so far from this, that it is starting to be worse than useless to even have it. These comments can either be in the source files OR they can go into a seperate file in the handbook area. I'm willing to put these into SGML if you send me the ascii versions. Gary -- Gary Clark II (N5VMF) | gclarkii@FreeBSD.ORG | FreeBSD FAQ at ftp.FreeBSD.ORG in ~pub/FreeBSD/docs/freebsd-faq.ascii