From owner-freebsd-config Sun Jul 29 23:42: 1 2001 Delivered-To: freebsd-config@freebsd.org Received: from rtp.tfd.com (rtp.tfd.com [198.79.53.206]) by hub.freebsd.org (Postfix) with ESMTP id 13E3B37B401 for ; Sun, 29 Jul 2001 23:41:59 -0700 (PDT) (envelope-from kent@tfd.com) Received: (from kent@localhost) by rtp.tfd.com (8.9.3/8.9.3) id CAA24770 for config@freebsd.org; Mon, 30 Jul 2001 02:42:04 -0400 (EDT) Date: Mon, 30 Jul 2001 02:42:04 -0400 (EDT) From: Kent Hauser Message-Id: <200107300642.CAA24770@rtp.tfd.com> To: config@freebsd.org Subject: scsi controller causes sysinstall to freeze machine Sender: owner-freebsd-config@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi all, I have started running down why my machine won't boot off of a "current" CD when my new SCSI controller is installed. When my scsi controller is installed (with or without the SCSI-bus connected to the controller), `sysinstall' hangs at the "deviceTry" call at line 403 of `devices.c'. A power-cycle is then required. The SCSI controller is a adaptec 29160 (and it works great otherwise). Any thoughts/pointers? Kent To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-config" in the body of the message From owner-freebsd-config Mon Jul 30 10:23: 0 2001 Delivered-To: freebsd-config@freebsd.org Received: from blackcomb.panasas.com (gw2.panasas.com [65.194.124.178]) by hub.freebsd.org (Postfix) with ESMTP id 819D737B401 for ; Mon, 30 Jul 2001 10:22:57 -0700 (PDT) (envelope-from rgrover@panasas.com) Received: from tiltill.panasas.com (IDENT:rgrover@tiltill.panasas.com [172.17.132.191]) by blackcomb.panasas.com (8.9.3/8.9.3) with SMTP id NAA07717 for ; Mon, 30 Jul 2001 13:22:55 -0400 From: Rohit Grover Organization: Panasas Inc. To: freebsd-config@freebsd.org Subject: sysinstall in mfsroot.flp Date: Mon, 30 Jul 2001 10:06:51 -0700 X-Mailer: KMail [version 1.0.29] Content-Type: text/plain MIME-Version: 1.0 Message-Id: <01073010225408.01042@tiltill.panasas.com> Content-Transfer-Encoding: 8bit Sender: owner-freebsd-config@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hello, I need to install freebsd on a large cluster of machines. I am using pxe boot to do this. It essentially sets up your machine to download a kernel and an mfs_root over the network. My mfsroot is a superset of mfsroot.flp from the freebsd distribution. In mfsroot.flp, the /stand directory contains a bunch of executables hardlinked to the same file. a> I'd like to know how this executable was created. I am using sysinstall to setup my machines. Since I don't want my install procedure to be interactive, I am running sysinstall in batch mode (I have an install.cfg which directs its execution). Within install.cfg, I have the following at the top: 'noninteractive=YES'. Inspite of this, right after sysinstall begins to run, it asks me if i'd like to setup IPV6. I don't want to use IPV6 and I'd like to get around this prompt. b> Does anyone know how to get around the IPV6 prompt in sysinstall? regards, Rohit Grover. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-config" in the body of the message From owner-freebsd-config Mon Jul 30 12:42:58 2001 Delivered-To: freebsd-config@freebsd.org Received: from prairieinet.net (dsmmail.prairieinet.net [63.239.190.142]) by hub.freebsd.org (Postfix) with SMTP id 1E7DC37B403 for ; Mon, 30 Jul 2001 12:42:56 -0700 (PDT) (envelope-from rgoodson@p-inet.net) Received: (qmail 26525 invoked from network); 30 Jul 2001 19:42:55 -0000 Received: from unknown (HELO duroc.p-inet.com) ([63.239.190.7]) (envelope-sender ) by dsmmail.prairieinet.net (qmail-ldap-1.03) with SMTP for ; 30 Jul 2001 19:42:55 -0000 Received: by duroc.p-inet.com with Internet Mail Service (5.5.2653.19) id ; Mon, 30 Jul 2001 14:42:41 -0500 Message-ID: <3239C74599195C4D911085B3C2AF66EE20ABA2@duroc.p-inet.com> From: Rich Goodson To: 'Rohit Grover ' Cc: "'freebsd-config@freebsd.org'" Subject: RE: sysinstall in mfsroot.flp Date: Mon, 30 Jul 2001 14:42:32 -0500 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: Content-Type: text/plain; charset="iso-8859-1" Sender: owner-freebsd-config@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG -----Original Message----- From: Rohit Grover To: freebsd-config@freebsd.org Sent: 7/30/2001 12:06 PM Subject: sysinstall in mfsroot.flp Hello, I need to install freebsd on a large cluster of machines. I am using pxe boot to do this. It essentially sets up your machine to download a kernel and an mfs_root over the network. My mfsroot is a superset of mfsroot.flp from the freebsd distribution. In mfsroot.flp, the /stand directory contains a bunch of executables hardlinked to the same file. a> I'd like to know how this executable was created. I am using sysinstall to setup my machines. Since I don't want my install procedure to be interactive, I am running sysinstall in batch mode (I have an install.cfg which directs its execution). Within install.cfg, I have the following at the top: 'noninteractive=YES'. Inspite of this, right after sysinstall begins to run, it asks me if i'd like to setup IPV6. I don't want to use IPV6 and I'd like to get around this prompt. b> Does anyone know how to get around the IPV6 prompt in sysinstall? regards, Rohit Grover. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-config" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-config" in the body of the message From owner-freebsd-config Mon Jul 30 12:49: 1 2001 Delivered-To: freebsd-config@freebsd.org Received: from prairieinet.net (dsmmail.prairieinet.net [63.239.190.142]) by hub.freebsd.org (Postfix) with SMTP id E236A37B401 for ; Mon, 30 Jul 2001 12:48:56 -0700 (PDT) (envelope-from rgoodson@p-inet.net) Received: (qmail 27521 invoked from network); 30 Jul 2001 19:48:56 -0000 Received: from unknown (HELO duroc.p-inet.com) ([63.239.190.7]) (envelope-sender ) by dsmmail.prairieinet.net (qmail-ldap-1.03) with SMTP for ; 30 Jul 2001 19:48:56 -0000 Received: by duroc.p-inet.com with Internet Mail Service (5.5.2653.19) id ; Mon, 30 Jul 2001 14:48:41 -0500 Message-ID: <3239C74599195C4D911085B3C2AF66EE20ABA3@duroc.p-inet.com> From: Rich Goodson To: 'Rohit Grover ' , "'freebsd-config@freebsd.org '" Subject: RE: sysinstall in mfsroot.flp Date: Mon, 30 Jul 2001 14:48:34 -0500 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: Content-Type: text/plain; charset="iso-8859-1" Sender: owner-freebsd-config@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG oopsie. what I meant to say was, using the sysinstall in 4.2-release, I was only able to get around the prompt by setting TryRTSOL=YES. setting TryRTSOL=NO still gave me the IPv6 prompt and I spent much time looking through the source code trying to figure out if I had the right variable. finally, I tried setting it to yes and found that the install script would simply search for an IPv6 server and, not finding one, would time out. then I added a line that read chflags noschg /etc/rc.conf to my custom package post script to prevent sysinstall from adding the IPv6 stuff to the rc.conf file I had just added in the package. this probably isn't technically the correct way to do it, but it was the only way I could figure out to get a completely automated install. -rich goodson -----Original Message----- From: Rohit Grover To: freebsd-config@freebsd.org Sent: 7/30/2001 12:06 PM Subject: sysinstall in mfsroot.flp Hello, I need to install freebsd on a large cluster of machines. I am using pxe boot to do this. It essentially sets up your machine to download a kernel and an mfs_root over the network. My mfsroot is a superset of mfsroot.flp from the freebsd distribution. In mfsroot.flp, the /stand directory contains a bunch of executables hardlinked to the same file. a> I'd like to know how this executable was created. I am using sysinstall to setup my machines. Since I don't want my install procedure to be interactive, I am running sysinstall in batch mode (I have an install.cfg which directs its execution). Within install.cfg, I have the following at the top: 'noninteractive=YES'. Inspite of this, right after sysinstall begins to run, it asks me if i'd like to setup IPV6. I don't want to use IPV6 and I'd like to get around this prompt. b> Does anyone know how to get around the IPV6 prompt in sysinstall? regards, Rohit Grover. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-config" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-config" in the body of the message From owner-freebsd-config Mon Jul 30 13:44:40 2001 Delivered-To: freebsd-config@freebsd.org Received: from winston.freebsd.org (adsl-64-173-15-98.dsl.sntc01.pacbell.net [64.173.15.98]) by hub.freebsd.org (Postfix) with ESMTP id 492F137B401 for ; Mon, 30 Jul 2001 13:44:37 -0700 (PDT) (envelope-from jkh@freebsd.org) Received: from localhost (jkh@localhost [127.0.0.1]) by winston.freebsd.org (8.11.4/8.11.4) with ESMTP id f6UKhit33754; Mon, 30 Jul 2001 13:43:44 -0700 (PDT) (envelope-from jkh@freebsd.org) To: rgoodson@p-inet.net Cc: rgrover@panasas.com, freebsd-config@freebsd.org Subject: RE: sysinstall in mfsroot.flp In-Reply-To: <3239C74599195C4D911085B3C2AF66EE20ABA3@duroc.p-inet.com> References: <3239C74599195C4D911085B3C2AF66EE20ABA3@duroc.p-inet.com> X-Mailer: Mew version 1.94.1 on Emacs 20.7 / Mule 4.0 (HANANOEN) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-Id: <20010730134344J.jkh@freebsd.org> Date: Mon, 30 Jul 2001 13:43:44 -0700 From: Jordan Hubbard X-Dispatcher: imput version 20000228(IM140) Lines: 51 Sender: owner-freebsd-config@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG The ipv6 selection dialog was added by 3rd parties and it's never, no insult to them intended, worked quite right. Since this is actually more indicative of *another* problem, e.g. the whole yes/no dialog thing popping up even when the user has ask for a nonInteractive script, what do people think of the following sysinstall patch: Index: media.c =================================================================== RCS file: /home/ncvs/src/usr.sbin/sysinstall/media.c,v retrieving revision 1.115 diff -u -r1.115 media.c --- media.c 2001/07/09 09:24:03 1.115 +++ media.c 2001/07/30 20:41:27 @@ -323,10 +323,8 @@ mediaClose(); cp = variable_get(VAR_FTP_PATH); /* If we've been through here before ... */ - if (!variable_get(VAR_NONINTERACTIVE)) - if (networkDev && cp && msgYesNo("Re-use old FTP site selection values?")) - cp = NULL; - + if (networkDev && cp && msgYesNo("Re-use old FTP site selection values?")) + cp = NULL; if (!cp) { if (!dmenuOpenSimple(&MenuMediaFTP, FALSE)) return DITEM_FAILURE; Index: msg.c =================================================================== RCS file: /home/ncvs/src/usr.sbin/sysinstall/msg.c,v retrieving revision 1.57 diff -u -r1.57 msg.c --- msg.c 2001/07/05 09:51:09 1.57 +++ msg.c 2001/07/30 20:38:21 @@ -237,6 +237,8 @@ ioctl(0, VT_ACTIVATE, 1); /* Switch back */ msgInfo(NULL); } + if (variable_get(VAR_NONINTERACTIVE)) + return 1; /* If non-interactive, return YES all the time */ ret = dialog_yesno("User Confirmation Requested", errstr, -1, -1); restorescr(w); return ret; @@ -261,6 +263,8 @@ ioctl(0, VT_ACTIVATE, 1); /* Switch back */ msgInfo(NULL); } + if (variable_get(VAR_NONINTERACTIVE)) + return 0; /* If non-interactive, return NO all the time */ ret = dialog_noyes("User Confirmation Requested", errstr, -1, -1); restorescr(w); return ret; To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-config" in the body of the message From owner-freebsd-config Mon Jul 30 23:22:16 2001 Delivered-To: freebsd-config@freebsd.org Received: from falcon.mail.pas.earthlink.net (falcon.mail.pas.earthlink.net [207.217.120.74]) by hub.freebsd.org (Postfix) with ESMTP id C692137B403 for ; Mon, 30 Jul 2001 23:22:13 -0700 (PDT) (envelope-from tlambert2@mindspring.com) Received: from mindspring.com (dialup-209.247.143.182.Dial1.SanJose1.Level3.net [209.247.143.182]) by falcon.mail.pas.earthlink.net (EL-8_9_3_3/8.9.3) with ESMTP id XAA05911; Mon, 30 Jul 2001 23:19:39 -0700 (PDT) Message-ID: <3B664DFC.CE2D3CB1@mindspring.com> Date: Mon, 30 Jul 2001 23:19:40 -0700 From: Terry Lambert Reply-To: tlambert2@mindspring.com X-Mailer: Mozilla 4.7 [en]C-CCK-MCD {Sony} (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: Rohit Grover Cc: freebsd-config@freebsd.org Subject: Re: sysinstall in mfsroot.flp References: <01073010225408.01042@tiltill.panasas.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-config@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Rohit Grover wrote: > > Hello, > > I need to install freebsd on a large cluster of machines. I am using > pxe boot to do this. It essentially sets up your machine to download > a kernel and an mfs_root over the network. My mfsroot is a > superset of mfsroot.flp from the freebsd distribution. In > mfsroot.flp, the /stand directory contains a bunch of executables > hardlinked to the same file. > > a> I'd like to know how this executable was created. FWIW, it's called a "crunched" binary, and it's made by linking all the programs into one binary, and then having the binary differentiate how it's supposed to behave based on argv[0]. This binary is built in /usr/src/release wjen you type "make release", and it's built from the normal sources (look at the systinstall target, in particular, since it is one of these "crunched" binaries). In simple terms, this is a "poor man's shared library", since it implements shared code at a time that shared libraries are not accessible (this is mostly an administrative issue: FreeBSD does not like shared libraries early on, even though you are in just as much danger of losing /bin/sh, /etc/rc, /kernel, /boot/loader, or some other single point of failure as you are ld.so or libc.so). > b> Does anyone know how to get around the IPV6 prompt in sysinstall? See the patch Jordan posted; it's as good a way as any. -- Terry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-config" in the body of the message