From owner-freebsd-questions Tue Mar 30 8:57:56 1999 Delivered-To: freebsd-questions@freebsd.org Received: from gateman.zeus.leitch.com (gateman.zeus.leitch.com [204.187.61.193]) by hub.freebsd.org (Postfix) with ESMTP id 3C13014EA6 for ; Tue, 30 Mar 1999 08:57:49 -0800 (PST) (envelope-from Francis.Lam@Leitch.com) Received: (from root@localhost) by gateman.zeus.leitch.com (8.8.8/8.8.8) id LAA04753; Tue, 30 Mar 1999 11:57:40 -0500 (EST) Received: from stork.mars.leitch.com (stork.mars.leitch.com [205.210.39.29]) by gateman.zeus.leitch.com (8.8.8/8.8.8) with ESMTP id LAA04750 for ; Tue, 30 Mar 1999 11:57:40 -0500 (EST) Received: by stork.mars.leitch.com with Internet Mail Service (5.5.2448.0) id ; Tue, 30 Mar 1999 11:58:11 -0500 Message-ID: From: "Francis.Lam" To: "'freebsd-questions@FreeBSD.ORG'" Subject: Compile Amanda 2.4.1 with FreeBSD 3.1 Date: Tue, 30 Mar 1999 11:58:04 -0500 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2448.0) Content-Type: text/plain Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > -----Original Message----- > From: eric@cirr.com [SMTP:eric@cirr.com] > Sent: Tuesday, March 30, 1999 11:16 AM > To: Alexandre Oliva > Cc: Francis.Lam; amanda-users@amanda.org > Subject: Re: Kerberos in Amanda 2.4.1 and compile with 3.1 > > > Alexandre Oliva writes: > - On Mar 29, 1999, "Francis.Lam" wrote: > - > scsi-chio.c:138: structure has no member named `ces_data' > - > scsi-chio.c:138: `CESTATUS_FULL' undeclared (first use this > function) > - > - > Should the `CESTATUS_FULL' is `CES_STATUS_FULL' defined in > - > /sys/sys/chio.h. > - > - Dunno. Eric (CC'ed) might be able to tell if this changed from > - FreeBSD 2 to 3, together with the camlib changes. Maybe the code > - shouldn't even be compiled, if chg-scsi was disabled. Please try the > - second attached patch. > - > - > I cannot find the 'ces_data' in the structure changer_element_status. > What > - > should it be? > - > - No idea; maybe it changed with the camlib interface change, introduced > - in FreeBSD 3.0. Amanda doens't support it yet. Thomas Hepper, who's > - been doing a great job in chg-scsi, may be willing to introduce > - support for it... > > The ``answer'' to the above questions is that FreeBSD > changed the contents of chio.h to be incompatible with the other > implementations. > > CESTATUS_FULL is a macro in the NetBSD and Linux > implementations, while freeBSD created an enum, cs_status_flags, > containing similar information, with slightly different names. > > The same is true of changer_element_status. FreeBSD > _greatly_ extended that structure to break out the information > that was prevously handled opaquely in ces_data. > > From the looks of things, the scsi-chio interfaces > should not be built on FreeBSD 3.x and later. > > -- > Eric Schnoebelen eric@cirr.com http://www.cirr.com > As folks might have suspected, not much survives except roaches, > and they don't carry large enough packets fast enough... > --About the Internet and nuclear war. > [Francis.Lam] Hi, Is there any one out there had come accross with the same problem? Any solution? My Tape drive is HP SureStore DAT24X6. [Francis.Lam] Thanks Francis Lam Francis.Lam@Leitch.com > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message