From owner-freebsd-ia64 Wed Feb 21 18:51:37 2001 Delivered-To: freebsd-ia64@freebsd.org Received: from bizville.com (bizville.com [161.58.227.153]) by hub.freebsd.org (Postfix) with ESMTP id 25AC537B491 for ; Wed, 21 Feb 2001 18:51:35 -0800 (PST) (envelope-from seiterva@bizville.com) Received: (seiterva@localhost) by bizville.com (8.8.8) id RAA46057; Wed, 21 Feb 2001 17:28:32 -0700 (MST) Date: Wed, 21 Feb 2001 17:28:32 -0700 (MST) Message-Id: <200102220028.RAA46057@bizville.com> To: ia64@FreeBSD.org Subject: Обращаюсь к Вам с просьбой помочь мне в приобретении лекарства From: lepeshkinan@aport2000.ru MIME-Version: 1.0 Content-Type: multipart/mixed; boundary = b297553f1365b23d6f4f4e361c5af33d3 Sender: owner-freebsd-ia64@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org This is a MIME encoded message. --b297553f1365b23d6f4f4e361c5af33d3 Content-Type: text/html ; charset="windows-1251" Content-Transfer-Encoding: base64 PCFET0NUWVBFIEhUTUwgUFVCTElDICItLy9XM0MvL0RURCBIVE1MIDQuMCBUcmFuc2l0aW9uYWwv L0VOIj4NCg0KPGh0bWw+DQo8aGVhZD4NCgk8dGl0bGU+zuHw4Png/vH8IOogwuDsIPEg7/Du8fzh 7ukg7+7s7vf8IOzt5SDiIO/w6O7h8OXy5e3o6CDr5erg8PHy4uA8L3RpdGxlPg0KPC9oZWFkPg0K DQo8Ym9keT4NCjxkaXYgYWxpZ249IkNFTlRFUiI+PGZvbnQgc2l6ZT0iKzEiPjxpPjxiPtPi4Obg 5ez75SDj7vHv7uTgITwvYj48L2k+PC9mb250Pjxicj48L2Rpdj4NCg0KPHA+zuHw4Png/vH8IOog wuDsIPEg7/Du8fzh7ukg7+7s7vf8IOzt5SDiIO/w6O7h8OXy5e3o6CDr5erg8PHy4uAuIMXx6+gg 4fsg/fLuIO3lIOH76yDi7u/w7vEg5ujn7egg6CDx7OXw8ugsIP8g4fsg7ejq7uPk4CDt5SDw5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Mg 1sEg0NQgIO/uIMzu8eru4vHq7ukg7uHr4PHy6CDBzcoguTA0NDY1MjMyMyAg8ffl8iC5IDQyMzAx LjgxMC42LjQwMTcuMTUxMjg0Mi48YnI+DQoNCjxwPsIg4evo5uDp+OXlIOLw5ez/IP8g4fPk8yDv 8O717uTo8vwg6vPw8SDu4evz9+Xt6P8g4iDu7eru9uXt8vDlLiDP7v3y7uzzIOXx6+ggwvsg7eUg 8ezu5uXy5SDx4v/n4PL88f8g8e4g7O3u6SDv7iDy5evl9O7t8ywg7vLv8ODi/PLlLCDv7ubg6/Pp 8fLgLCDo7fTu8Ozg9uj+IOzu6Owg5+3g6u7s++wg7eAgICAgICAgICAgICAgPGEgaHJlZj0ibWFp bHRvOmxlcGVzaGtpbmFAYXBvcnQyMDAwLnJ1Ij5sZXBlc2hraW5hQGFwb3J0MjAwMC5ydTwvYT4u PC9wPg0KPHA+0SDh6+Dj7uTg8O3u8fL8/iDL5e/l+Oro7eAgzeXr6+ggyOLg7e7i7eAuPC9wPg0K DQoNCg0KDQo8L2JvZHk+DQo8L2h0bWw+DQo= --b297553f1365b23d6f4f4e361c5af33d3-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ia64" in the body of the message From owner-freebsd-ia64 Thu Feb 22 7:10:40 2001 Delivered-To: freebsd-ia64@freebsd.org Received: from meow.osd.bsdi.com (meow.osd.bsdi.com [204.216.28.88]) by hub.freebsd.org (Postfix) with ESMTP id 9C79E37B684 for ; Thu, 22 Feb 2001 07:10:34 -0800 (PST) (envelope-from jhb@FreeBSD.org) Received: from laptop.baldwin.cx (john@jhb-laptop.osd.bsdi.com [204.216.28.241]) by meow.osd.bsdi.com (8.11.2/8.11.2) with ESMTP id f1MF8Nl91243 for ; Thu, 22 Feb 2001 07:08:23 -0800 (PST) (envelope-from jhb@FreeBSD.org) Message-ID: X-Mailer: XFMail 1.4.0 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 Date: Thu, 22 Feb 2001 07:10:20 -0800 (PST) From: John Baldwin To: ia64@FreeBSD.org Subject: Oh what the heck.. Sender: owner-freebsd-ia64@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Well, I figured that I'd try to fix switch_trampoline anyway. I also needed to remove all traces of sched_lock setting from cpu_switch() since that is now done in mi_switch(). The end result is this patch. I have no idea if it is correct or not. Comments? (I still need to fix userret() to take a pointer to a trapframe). Index: swtch.s =================================================================== RCS file: /usr/cvs/src/sys/ia64/ia64/swtch.s,v retrieving revision 1.8 diff -u -r1.8 swtch.s --- swtch.s 2001/02/22 13:29:22 1.8 +++ swtch.s 2001/02/22 15:04:47 @@ -205,14 +205,8 @@ st8 [r17]=r18,8 ;; // ar.bspstore st8 [r17]=r19,8 ;; // our NaT bits st8 [r17]=r16,8 ;; // ar.rnat - st8 [r17]=r20,8 ;; // pr + st8 [r17]=r20 ;; // pr - addl r15=@ltoff(sched_lock),gp ;; - ld8 r15=[r15] ;; - add r15=MTX_RECURSE,r15 ;; - ld4 r15=[r15] ;; - st8 [r17]=r15 ;; // save sched_lock.mtx_recurse - mov ar.rsc=3 // turn RSE back on br.call.sptk.few rp=chooseproc @@ -283,7 +277,7 @@ ld8 r17=[r15],8 ;; // ar.pfs ld8 r18=[r15],16 ;; // ar.bspstore, skip ar.unat ld8 r19=[r15],8 ;; // ar.rnat - ld8 r20=[r15],8 ;; // pr + ld8 r20=[r15] ;; // pr mov ar.unat=r16 mov ar.pfs=r17 @@ -296,12 +290,6 @@ mov ar.rsc=3 // restart RSE invala ;; - ld8 r14=[r15] // restore sched_lock.mtx_recurse - addl r16=@ltoff(sched_lock),gp ;; - ld8 r15=[r16] ;; - add r15=MTX_RECURSE,r15 ;; - st4 [r15]=r14 - 9: br.ret.sptk.few rp @@ -627,20 +615,23 @@ * switch_trampoline() * * Arrange for a function to be invoked neatly, after a cpu_switch(). + * + * Invokes fork_exit() passing in three arguments: a callout function, an + * argument to the callout, and a trapframe pointer. For child processes + * returning from fork(2), the argument is a pointer to the child process. * - * Invokes the function specified by the r4 register with the return - * address specified by the r5 register and with one argument, taken - * from r6. + * The callout function is in r4, the address to return to after executing + * fork_exit() is in r5, and the proc pointer is in r6. */ ENTRY(switch_trampoline, 0) - MTX_EXIT(sched_lock, r14, r15) - - alloc r14=ar.pfs,0,0,1,0 - mov b7=r4 + alloc r14=ar.pfs,0,0,3,0 + ;; mov b0=r5 - mov out0=r6 + mov out0=r4 + mov out1=r6 + mov out2=sp ;; - br.call.sptk.few b6=b7 + br.call.sptk.few b6=fork_exit END(switch_trampoline) -- John Baldwin -- http://www.FreeBSD.org/~jhb/ PGP Key: http://www.baldwin.cx/~john/pgpkey.asc "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ia64" in the body of the message From owner-freebsd-ia64 Thu Feb 22 7:10:48 2001 Delivered-To: freebsd-ia64@freebsd.org Received: from meow.osd.bsdi.com (meow.osd.bsdi.com [204.216.28.88]) by hub.freebsd.org (Postfix) with ESMTP id 5A00B37B4EC for ; Thu, 22 Feb 2001 07:10:34 -0800 (PST) (envelope-from jhb@FreeBSD.org) Received: from laptop.baldwin.cx (john@jhb-laptop.osd.bsdi.com [204.216.28.241]) by meow.osd.bsdi.com (8.11.2/8.11.2) with ESMTP id f1MF8Nl91237 for ; Thu, 22 Feb 2001 07:08:23 -0800 (PST) (envelope-from jhb@FreeBSD.org) Message-ID: X-Mailer: XFMail 1.4.0 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 Date: Thu, 22 Feb 2001 07:10:20 -0800 (PST) From: John Baldwin To: ia64@FreeBSD.org Subject: TODO: update teh fork return code.. Sender: owner-freebsd-ia64@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hey gang, One thing that ia64 needs to happen to catch up with the other arch's is to update the fork return trampoline to call the fork_exit() function passing in the pointer to the callout function and callout argument. This would involve changes to switch_trampoline() in swtch.s similar to the changes to switch_trampoline() in sys/alpha/alpha/swtch.s and fork_trampoline() in sys/i386/i386/exception.s (or maybe swtch.s) as well as the following diff: Hmm, actually, I may need to fix userret() some to take a pointer to a trapframe, but I'll do that in a second. The big change I need help with is the swtch.s change.. Index: trap.c =================================================================== RCS file: /usr/cvs/src/sys/ia64/ia64/trap.c,v retrieving revision 1.14 diff -u -r1.14 trap.c --- trap.c 2001/02/22 13:29:22 1.14 +++ trap.c 2001/02/22 14:41:26 @@ -628,31 +628,6 @@ } /* - * Process the tail end of a fork() for the child. - */ -void -child_return(p) - struct proc *p; -{ - - /* - * Return values in the frame set by cpu_fork(). - */ - - userret(p, p->p_md.md_tf, 0); -#ifdef KTRACE - if (KTRPOINT(p, KTR_SYSRET)) { - if (!mtx_owned(&Giant)) - mtx_lock(&Giant); - ktrsysret(p->p_tracep, SYS_fork, 0, 0); - } -#endif - - if (mtx_owned(&Giant)) - mtx_unlock(&Giant); -} - -/* * Process an asynchronous software trap. * This is relatively easy. */ Index: vm_machdep.c =================================================================== RCS file: /usr/cvs/src/sys/ia64/ia64/vm_machdep.c,v retrieving revision 1.11 diff -u -r1.11 vm_machdep.c --- vm_machdep.c 2001/02/09 06:09:35 1.11 +++ vm_machdep.c 2001/02/09 08:50:05 @@ -261,7 +261,7 @@ * right value for gp. */ up->u_pcb.pcb_sp = (u_int64_t)p2tf - 16; - up->u_pcb.pcb_r4 = FDESC_FUNC(child_return); + up->u_pcb.pcb_r4 = FDESC_FUNC(fork_return); up->u_pcb.pcb_r5 = FDESC_FUNC(exception_restore); up->u_pcb.pcb_r6 = (u_int64_t)p2; up->u_pcb.pcb_b0 = FDESC_FUNC(switch_trampoline); -- John Baldwin -- http://www.FreeBSD.org/~jhb/ PGP Key: http://www.baldwin.cx/~john/pgpkey.asc "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ia64" in the body of the message From owner-freebsd-ia64 Thu Feb 22 7:31:48 2001 Delivered-To: freebsd-ia64@freebsd.org Received: from finch-post-10.mail.demon.net (finch-post-10.mail.demon.net [194.217.242.38]) by hub.freebsd.org (Postfix) with ESMTP id 9406637B503; Thu, 22 Feb 2001 07:31:46 -0800 (PST) (envelope-from dfr@nlsystems.com) Received: from [62.49.251.130] (helo=herring.nlsystems.com) by finch-post-10.mail.demon.net with esmtp (Exim 2.12 #1) id 14Vxib-000Lnc-0A; Thu, 22 Feb 2001 15:31:45 +0000 Received: from herring (herring [10.0.0.2]) by herring.nlsystems.com (8.11.2/8.11.2) with ESMTP id f1MFVi732647; Thu, 22 Feb 2001 15:31:44 GMT (envelope-from dfr@nlsystems.com) Date: Thu, 22 Feb 2001 15:31:44 +0000 (GMT) From: Doug Rabson To: John Baldwin Cc: Subject: Re: Oh what the heck.. In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-ia64@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Thu, 22 Feb 2001, John Baldwin wrote: > Well, I figured that I'd try to fix switch_trampoline anyway. I also needed to > remove all traces of sched_lock setting from cpu_switch() since that is now > done in mi_switch(). The end result is this patch. I have no idea if it is > correct or not. Comments? (I still need to fix userret() to take a pointer to > a trapframe). I haven't tested it but it looks correct to me. -- Doug Rabson Mail: dfr@nlsystems.com Phone: +44 20 8348 6160 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ia64" in the body of the message From owner-freebsd-ia64 Thu Feb 22 7:56:18 2001 Delivered-To: freebsd-ia64@freebsd.org Received: from meow.osd.bsdi.com (meow.osd.bsdi.com [204.216.28.88]) by hub.freebsd.org (Postfix) with ESMTP id E8F5037B491 for ; Thu, 22 Feb 2001 07:56:15 -0800 (PST) (envelope-from jhb@FreeBSD.org) Received: from laptop.baldwin.cx (john@jhb-laptop.osd.bsdi.com [204.216.28.241]) by meow.osd.bsdi.com (8.11.2/8.11.2) with ESMTP id f1MFral92635; Thu, 22 Feb 2001 07:53:36 -0800 (PST) (envelope-from jhb@FreeBSD.org) Message-ID: X-Mailer: XFMail 1.4.0 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: Date: Thu, 22 Feb 2001 07:55:33 -0800 (PST) From: John Baldwin To: Doug Rabson Subject: Re: Oh what the heck.. Cc: ia64@FreeBSD.org Sender: owner-freebsd-ia64@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On 22-Feb-01 Doug Rabson wrote: > On Thu, 22 Feb 2001, John Baldwin wrote: > >> Well, I figured that I'd try to fix switch_trampoline anyway. I also needed >> to >> remove all traces of sched_lock setting from cpu_switch() since that is now >> done in mi_switch(). The end result is this patch. I have no idea if it is >> correct or not. Comments? (I still need to fix userret() to take a pointer >> to >> a trapframe). > > I haven't tested it but it looks correct to me. Hmmmm, ok. I guess I'll be a little daring and commit it. I guess I need to sit down and finish getting a compile environment (and possibly ski) setup so I can test this stuff, and so I can keep the ia64 from falling too far behind the other architectures. -- John Baldwin -- http://www.FreeBSD.org/~jhb/ PGP Key: http://www.baldwin.cx/~john/pgpkey.asc "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ia64" in the body of the message From owner-freebsd-ia64 Thu Feb 22 8: 7:17 2001 Delivered-To: freebsd-ia64@freebsd.org Received: from anchor-post-34.mail.demon.net (anchor-post-34.mail.demon.net [194.217.242.92]) by hub.freebsd.org (Postfix) with ESMTP id 9464137B4EC; Thu, 22 Feb 2001 08:07:14 -0800 (PST) (envelope-from dfr@nlsystems.com) Received: from [62.49.251.130] (helo=herring.nlsystems.com) by anchor-post-34.mail.demon.net with esmtp (Exim 2.12 #1) id 14VyGt-000HuM-0Y; Thu, 22 Feb 2001 16:07:11 +0000 Received: from herring (herring [10.0.0.2]) by herring.nlsystems.com (8.11.2/8.11.2) with ESMTP id f1MG7B732920; Thu, 22 Feb 2001 16:07:11 GMT (envelope-from dfr@nlsystems.com) Date: Thu, 22 Feb 2001 16:07:11 +0000 (GMT) From: Doug Rabson To: John Baldwin Cc: Subject: Re: Oh what the heck.. In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-ia64@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Thu, 22 Feb 2001, John Baldwin wrote: > > On 22-Feb-01 Doug Rabson wrote: > > On Thu, 22 Feb 2001, John Baldwin wrote: > > > >> Well, I figured that I'd try to fix switch_trampoline anyway. I also needed > >> to > >> remove all traces of sched_lock setting from cpu_switch() since that is now > >> done in mi_switch(). The end result is this patch. I have no idea if it is > >> correct or not. Comments? (I still need to fix userret() to take a pointer > >> to > >> a trapframe). > > > > I haven't tested it but it looks correct to me. > > Hmmmm, ok. I guess I'll be a little daring and commit it. I guess I need to > sit down and finish getting a compile environment (and possibly ski) setup so I > can test this stuff, and so I can keep the ia64 from falling too far behind the > other architectures. Its pretty painless. I have a toolchain sitting around in http://people.freebsd.org/~dfr/ia64-toolchain.tar.gz and a sample filesystem in ia64-fs.tar.gz. Ski runs quite well on -current with the one problem that it sets vmin and vtime for the console pty to 255 instead of zero. If you can work out which pty its using (just look for bogus vmin values with stty), you can use something like: $ stty min 0 time 0 < /dev/ttypXX as a workaround. -- Doug Rabson Mail: dfr@nlsystems.com Phone: +44 20 8348 6160 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ia64" in the body of the message From owner-freebsd-ia64 Thu Feb 22 17:53: 6 2001 Delivered-To: freebsd-ia64@freebsd.org Received: from pike.osd.bsdi.com (pike.osd.bsdi.com [204.216.28.222]) by hub.freebsd.org (Postfix) with ESMTP id 112FA37B503 for ; Thu, 22 Feb 2001 17:53:03 -0800 (PST) (envelope-from jhb@foo.osd.bsdi.com) Received: from foo.osd.bsdi.com (root@foo.osd.bsdi.com [204.216.28.137]) by pike.osd.bsdi.com (8.11.1/8.9.3) with ESMTP id f1N1qpK06785; Thu, 22 Feb 2001 17:52:51 -0800 (PST) (envelope-from jhb@foo.osd.bsdi.com) Received: (from jhb@localhost) by foo.osd.bsdi.com (8.11.1/8.11.1) id f1N1qBd62997; Thu, 22 Feb 2001 17:52:11 -0800 (PST) (envelope-from jhb) Message-ID: X-Mailer: XFMail 1.4.0 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <3A418F67.445AD89@cup.hp.com> Date: Thu, 22 Feb 2001 17:52:10 -0800 (PST) Organization: BSD, Inc. From: John Baldwin To: Marcel Moolenaar Subject: RE: FYI: Porting ski Cc: ia64@FreeBSD.ORG Sender: owner-freebsd-ia64@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On 21-Dec-00 Marcel Moolenaar wrote: > Guys, > > I just received the sources of ski and I'm going to start porting during > the holidays. A FreeBSD/i386 port is first. A FreeBSD/alpha port is > planned and will be made either at the same time as the i386 port or > shortly afterwards, depending on what works best and if I have an Alpha > in the mean time... > > We're still talking about how this can be distributed, but it looks like > it's going through the official channels. More to come... How is the porting effort coming along. Anything anyone cna do to help or is it all enshrouded in NDA's? -- John Baldwin -- http://www.FreeBSD.org/~jhb/ PGP Key: http://www.Baldwin.cx/~john/pgpkey.asc "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ia64" in the body of the message From owner-freebsd-ia64 Thu Feb 22 18:16:45 2001 Delivered-To: freebsd-ia64@freebsd.org Received: from meow.osd.bsdi.com (meow.osd.bsdi.com [204.216.28.88]) by hub.freebsd.org (Postfix) with ESMTP id C82AF37B4EC for ; Thu, 22 Feb 2001 18:16:43 -0800 (PST) (envelope-from jhb@FreeBSD.org) Received: from laptop.baldwin.cx (john@jhb-laptop.osd.bsdi.com [204.216.28.241]) by meow.osd.bsdi.com (8.11.2/8.11.2) with ESMTP id f1N2EPl12982 for ; Thu, 22 Feb 2001 18:14:25 -0800 (PST) (envelope-from jhb@FreeBSD.org) Message-ID: X-Mailer: XFMail 1.4.0 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 Date: Thu, 22 Feb 2001 18:16:29 -0800 (PST) From: John Baldwin To: ia64@FreeBSD.org Subject: Troubles getting a kernel to compile.. Sender: owner-freebsd-ia64@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Welp, I'm attempting to at least make sure that the kernel compiles now, and once I can get past that step, I'll mess with ski. I have Doug's toolchain tarball from his home directory on freefall, but it seems to be incomplete. I think it is missing the ia64-unknown-linux/libexec directory that contains 'cc1' and friends, because I get the following error trying to compile: > make depend rm -f .depend make _kernel-depend ia64-unknown-linux-gcc -D__FreeBSD__ -U__linux__ -c -O -pipe -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -ansi -g -nostdinc -I- -I. -I../.. -I../../dev -I../../../include -I../../contrib/dev/acpica/Subsystem/Include -D_KERNEL -include opt_global.h -ffixed-r13 -mfixed-range=f32-f127 ../../ia64/ia64/genassym.c ia64-unknown-linux-gcc: installation problem, cannot exec `cc1': No such file or directory I'm attempting this by untar'ing the archive in /usr/local and then adding the following to the kernel config file: makeoptions CC=ia64-unknown-linux-gcc I hope I'm not missing something really simple here... -- John Baldwin -- http://www.FreeBSD.org/~jhb/ PGP Key: http://www.baldwin.cx/~john/pgpkey.asc "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ia64" in the body of the message From owner-freebsd-ia64 Thu Feb 22 18:32:29 2001 Delivered-To: freebsd-ia64@freebsd.org Received: from palrel3.hp.com (palrel3.hp.com [156.153.255.226]) by hub.freebsd.org (Postfix) with ESMTP id BE4D737B503 for ; Thu, 22 Feb 2001 18:32:24 -0800 (PST) (envelope-from marcel@cup.hp.com) Received: from adlmail.cup.hp.com (adlmail.cup.hp.com [15.0.100.30]) by palrel3.hp.com (Postfix) with ESMTP id 41CADC33; Thu, 22 Feb 2001 18:32:24 -0800 (PST) Received: from cup.hp.com (gauss.cup.hp.com [15.28.97.152]) by adlmail.cup.hp.com (8.9.3 (PHNE_18546)/8.9.3 SMKit7.02) with ESMTP id SAA04154; Thu, 22 Feb 2001 18:32:23 -0800 (PST) Message-ID: <3A95CBB7.144971F3@cup.hp.com> Date: Thu, 22 Feb 2001 18:32:23 -0800 From: Marcel Moolenaar Organization: Hewlett-Packard X-Mailer: Mozilla 4.76 [en] (X11; U; Linux 2.2.12 i386) X-Accept-Language: en MIME-Version: 1.0 To: John Baldwin Cc: ia64@FreeBSD.ORG Subject: Re: FYI: Porting ski References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-ia64@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org John Baldwin wrote: > > How is the porting effort coming along. Anything anyone cna do to help or is > it all enshrouded in NDA's? > Slow. I first started off with the original (HP-UX) sources. I just recently received the Linux patches, which is a big help. Most big-endian and little-endian stuff is already there. Getting the FreeBSD port from that should not be a big problem. Unfortunately, it's more a matter of having way too little time and energy... As for help -- impossible. The agreement is personal and short-term (ie I have to return the sources and destroy any copies of it). Technically speaking, I can't even send beta-versions around for people to test. The distribution aspects still have to be discussed [note to self: bug the guys again...] -- Marcel Moolenaar mail: marcel@cup.hp.com / marcel@FreeBSD.org tel: (408) 447-4222 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ia64" in the body of the message From owner-freebsd-ia64 Thu Feb 22 23:20: 6 2001 Delivered-To: freebsd-ia64@freebsd.org Received: from mobile.wemm.org (c1315225-a.plstn1.sfba.home.com [65.0.135.147]) by hub.freebsd.org (Postfix) with ESMTP id 27CB637B4EC; Thu, 22 Feb 2001 23:19:59 -0800 (PST) (envelope-from peter@netplex.com.au) Received: from netplex.com.au (localhost [127.0.0.1]) by mobile.wemm.org (8.11.1/8.11.1) with ESMTP id f1N7Jsf45595; Thu, 22 Feb 2001 23:19:58 -0800 (PST) (envelope-from peter@netplex.com.au) Message-Id: <200102230719.f1N7Jsf45595@mobile.wemm.org> X-Mailer: exmh version 2.2 06/23/2000 with nmh-1.0.4 To: John Baldwin Cc: ia64@FreeBSD.ORG Subject: Re: Troubles getting a kernel to compile.. In-Reply-To: Date: Thu, 22 Feb 2001 23:19:54 -0800 From: Peter Wemm Sender: owner-freebsd-ia64@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org John Baldwin wrote: > Welp, I'm attempting to at least make sure that the kernel compiles now, > and once I can get past that step, I'll mess with ski. I have Doug's toolcha in > tarball from his home directory on freefall, but it seems to be incomplete. I > think it is missing the ia64-unknown-linux/libexec directory that contains > 'cc1' and friends, because I get the following error trying to compile: > > > make depend > rm -f .depend > make _kernel-depend > ia64-unknown-linux-gcc -D__FreeBSD__ -U__linux__ -c -O -pipe -Wall > -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes > -Wpointer-arith -Winline -Wcast-qual -ansi -g -nostdinc -I- -I. -I../.. > -I../../dev -I../../../include -I../../contrib/dev/acpica/Subsystem/Include > -D_KERNEL -include opt_global.h -ffixed-r13 -mfixed-range=f32-f127 > ../../ia64/ia64/genassym.c > ia64-unknown-linux-gcc: installation problem, cannot exec `cc1': No such file > or directory > > I'm attempting this by untar'ing the archive in /usr/local and then adding th e > following to the kernel config file: > > makeoptions CC=ia64-unknown-linux-gcc > > I hope I'm not missing something really simple here... You are probably going to need a backend path with -B. see the output of a64-unknown-linux-gcc -v -c foo.c and see where it is looking for the backends. You will need to add paths to where you have extracted it. Cheers, -Peter -- Peter Wemm - peter@FreeBSD.org; peter@yahoo-inc.com; peter@netplex.com.au "All of this is for nothing if we don't go to the stars" - JMS/B5 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ia64" in the body of the message From owner-freebsd-ia64 Fri Feb 23 4:36: 6 2001 Delivered-To: freebsd-ia64@freebsd.org Received: from finch-post-10.mail.demon.net (finch-post-10.mail.demon.net [194.217.242.38]) by hub.freebsd.org (Postfix) with ESMTP id 2C0DC37B401; Fri, 23 Feb 2001 04:36:03 -0800 (PST) (envelope-from dfr@nlsystems.com) Received: from [62.49.251.130] (helo=herring.nlsystems.com) by finch-post-10.mail.demon.net with esmtp (Exim 2.12 #1) id 14WHS6-000O1L-0A; Fri, 23 Feb 2001 12:36:02 +0000 Received: from herring (herring [10.0.0.2]) by herring.nlsystems.com (8.11.2/8.11.2) with ESMTP id f1NCa1739294; Fri, 23 Feb 2001 12:36:01 GMT (envelope-from dfr@nlsystems.com) Date: Fri, 23 Feb 2001 12:36:01 +0000 (GMT) From: Doug Rabson To: John Baldwin Cc: Subject: Re: Troubles getting a kernel to compile.. In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-ia64@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Thu, 22 Feb 2001, John Baldwin wrote: > Welp, I'm attempting to at least make sure that the kernel compiles now, > and once I can get past that step, I'll mess with ski. I have Doug's toolchain > tarball from his home directory on freefall, but it seems to be incomplete. I > think it is missing the ia64-unknown-linux/libexec directory that contains > 'cc1' and friends, because I get the following error trying to compile: Oops. I'll rebuild that tarball with the right contents. -- Doug Rabson Mail: dfr@nlsystems.com Phone: +44 20 8348 6160 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ia64" in the body of the message From owner-freebsd-ia64 Sat Feb 24 8:59:21 2001 Delivered-To: freebsd-ia64@freebsd.org Received: from finch-post-12.mail.demon.net (finch-post-12.mail.demon.net [194.217.242.41]) by hub.freebsd.org (Postfix) with ESMTP id 7A7B937B491; Sat, 24 Feb 2001 08:59:19 -0800 (PST) (envelope-from dfr@nlsystems.com) Received: from [62.49.251.130] (helo=herring.nlsystems.com) by finch-post-12.mail.demon.net with esmtp (Exim 2.12 #1) id 14Wi2N-0003ra-0C; Sat, 24 Feb 2001 16:59:15 +0000 Received: from salmon.nlsystems.com (salmon [10.0.0.3]) by herring.nlsystems.com (8.11.2/8.11.2) with ESMTP id f1OGxE118473; Sat, 24 Feb 2001 16:59:14 GMT (envelope-from dfr@nlsystems.com) Date: Sat, 24 Feb 2001 16:59:12 +0000 (GMT) From: Doug Rabson To: John Baldwin Cc: ia64@FreeBSD.org Subject: Re: Troubles getting a kernel to compile.. In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-ia64@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Thu, 22 Feb 2001, John Baldwin wrote: > Welp, I'm attempting to at least make sure that the kernel compiles now, > and once I can get past that step, I'll mess with ski. I have Doug's toolchain > tarball from his home directory on freefall, but it seems to be incomplete. I > think it is missing the ia64-unknown-linux/libexec directory that contains > 'cc1' and friends, because I get the following error trying to compile: I've uploaded a new copy of ia64-toolchain.tar.gz if you want to try again. -- Doug Rabson Mail: dfr@nlsystems.com Phone: +44 20 8348 6160 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ia64" in the body of the message