From owner-freebsd-small Sun Dec 22 7:18:56 2002 Delivered-To: freebsd-small@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7D51937B401; Sun, 22 Dec 2002 07:18:55 -0800 (PST) Received: from search.sparks.net (d-207-5-180-136.gwi.net [207.5.180.136]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0097943EDE; Sun, 22 Dec 2002 07:18:55 -0800 (PST) (envelope-from dmiller@sparks.net) Received: by search.sparks.net (Postfix, from userid 100) id 4192CD988; Sun, 22 Dec 2002 10:18:49 -0500 (EST) Received: from localhost (localhost [127.0.0.1]) by search.sparks.net (Postfix) with ESMTP id 31F48D987; Sun, 22 Dec 2002 10:18:49 -0500 (EST) Date: Sun, 22 Dec 2002 10:18:49 -0500 (EST) From: David Miller To: randall ehren Cc: freebsd-small@freebsd.org, freebsd-hardware@freebsd.org Subject: Re: tripwire on compact flash In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-small@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sat, 21 Dec 2002, randall ehren wrote: > > > i setup a freebsd system running off of a compact flash card. i know that CF > > > cards have a limited life of read & writes so i wanted to know if running > > > tripwire on the card was a bad idea...? > > > > It's fine if you have it mounted read only virtually all the time. You > > don't say what you're using the system for, so we really can't guess > > whether that's possible or not. > > the machine is being used as a ipfilter firewall (in bridge mode) for our > network. i default it to being mounted read-only but currently use mount -uw > so that i can change my ipf.rules file. (and then mount -ur to set it back) > > > As for tripwire, flash would be an OK place to store the checksums. it's > > better if you have physical access to the system to have to change a write > > enable switch on a removable media. If you're talking about a remote > > system flash is as good as anything else. > > well the device sits in a network closet and only has one flash card in it. i > suppose we could stick a floppy drive on it, but i was mostly concerned about > the heavy read operations on the CF card and how damaging that would be. My understanding is that you can read from them an unlimited number of times, it's only the number of times you can write to them that's limited. The last set of flash cards I got were limited to a million write cycles, iirc. --- David To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-small" in the body of the message From owner-freebsd-small Sun Dec 22 8: 1:45 2002 Delivered-To: freebsd-small@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BBD4037B405; Sun, 22 Dec 2002 08:01:42 -0800 (PST) Received: from grosbein.pp.ru (D00015.dialonly.kemerovo.su [213.184.66.105]) by mx1.FreeBSD.org (Postfix) with ESMTP id 51A7343EE6; Sun, 22 Dec 2002 08:01:39 -0800 (PST) (envelope-from eugen@grosbein.pp.ru) Received: from grosbein.pp.ru (smmsp@localhost [127.0.0.1]) by grosbein.pp.ru (8.12.6/8.12.6) with ESMTP id gBMG1WrY000559; Sun, 22 Dec 2002 23:01:32 +0700 (KRAT) (envelope-from eugen@grosbein.pp.ru) Received: (from eugen@localhost) by grosbein.pp.ru (8.12.6/8.12.6/Submit) id gBMG0cUs000541; Sun, 22 Dec 2002 23:00:38 +0700 (KRAT) Date: Sun, 22 Dec 2002 23:00:38 +0700 From: Eugene Grosbein To: stable@freebsd.org Cc: small@freebsd.org Subject: 4.7-STABLE on HP Omnibook 5000C: /etc/rc does not start Message-ID: <20021222230038.A243@grosbein.pp.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i Sender: owner-freebsd-small@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi! I've got HP Omnibook 5000C notebook with Pentium90/16Mb RAM and trying to install FreeBSD. I have no pccards so plan to make bootable floppy, establish PPP over serial with my desctop running FreeBSD 4.7-STABLE on Celeron-900 and in run installworld over NFS. I did that many times with desktop machines without a problem. So I've build custom PicoBSD and tried to boot it. Pico uses stock init(8), not oinit. Kernel boots fine, detects all devices and tries to run /sbin/init and hangs. The same floppy boots to multiuser on my Celeron-900E. I've MAXMEM="(16*1024)" in Pico's kernel so it must be not memory problem. Btw, the notebook runs Windows 95 currently and successfully establishes ether PPP or SLIP connection with my desktop. I've added some printf's to the kernel and see that kick_init() (src/sys/kern/init_main.c) is really invoked and execve() inside start_main() does return without an error (error==0) so start_init return happy. Here I'm stuck. I've also DDB in a kernel but don't know how to use it for remote debugging. Please help! Eugene Grosbein To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-small" in the body of the message From owner-freebsd-small Wed Dec 25 0:51:46 2002 Delivered-To: freebsd-small@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5E0DF37B401 for ; Wed, 25 Dec 2002 00:51:45 -0800 (PST) Received: from axus.com.tw (c180.h061016063.is.net.tw [61.16.63.180]) by mx1.FreeBSD.org (Postfix) with ESMTP id C49DA43EC2 for ; Wed, 25 Dec 2002 00:51:43 -0800 (PST) (envelope-from mapping@axus.com.tw) Received: from lancelot (c178.h061016063.is.net.tw [61.16.63.178]) by axus.com.tw (8.11.4/8.11.4) with SMTP id gBP8fWQ27211 for ; Wed, 25 Dec 2002 16:41:33 +0800 (CST) (envelope-from mapping@axus.com.tw) Message-ID: <000501c2abf3$417a9370$21010101@lancelot> From: "Lancelot" To: Subject: Date: Wed, 25 Dec 2002 16:54:37 +0800 MIME-Version: 1.0 Content-Type: text/plain; charset="big5" Content-Transfer-Encoding: 8bit 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 Sender: owner-freebsd-small@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Best Regards, Software Engineer Lancelot Kao TelĄG886-2-32348686-311 e-mailĄGmapping@axus.com.tw AXUS Microsystems Inc. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-small" in the body of the message From owner-freebsd-small Thu Dec 26 21:21:26 2002 Delivered-To: freebsd-small@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8CBD337B401; Thu, 26 Dec 2002 21:21:25 -0800 (PST) Received: from www.svzserv.kemerovo.su (www.svzserv.kemerovo.su [213.184.65.80]) by mx1.FreeBSD.org (Postfix) with ESMTP id CC1CE43EC5; Thu, 26 Dec 2002 21:21:23 -0800 (PST) (envelope-from eugen@kuzbass.ru) Received: from kuzbass.ru (kost [213.184.65.82]) by www.svzserv.kemerovo.su (8.12.6/8.12.6) with ESMTP id gBR5LADf070036; Fri, 27 Dec 2002 12:21:11 +0700 (KRAT) (envelope-from eugen@kuzbass.ru) Message-ID: <3E0BE336.1E490CBA@kuzbass.ru> Date: Fri, 27 Dec 2002 12:20:54 +0700 From: Eugene Grosbein Organization: SVZServ X-Mailer: Mozilla 4.79 [en] (Win95; U) X-Accept-Language: ru,en MIME-Version: 1.0 To: stable@FreeBSD.ORG Cc: small@FreeBSD.ORG Subject: SOLVED: 4.7-STABLE on HP Omnibook 5000C: /etc/rc does not start References: <20021222230038.A243@grosbein.pp.ru> Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: 7bit Sender: owner-freebsd-small@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Eugene Grosbein wrote: > I've got HP Omnibook 5000C notebook with Pentium90/16Mb RAM > and trying to install FreeBSD. I have no pccards so plan to > make bootable floppy, establish PPP over serial with my desctop > running FreeBSD 4.7-STABLE on Celeron-900 and in run installworld > over NFS. I did that many times with desktop machines without a problem. > > So I've build custom PicoBSD and tried to boot it. Pico uses stock init(8), > not oinit. Kernel boots fine, detects all devices and tries to run /sbin/init > and hangs. The same floppy boots to multiuser on my Celeron-900E. > I've MAXMEM="(16*1024)" in Pico's kernel so it must be not memory problem. > Btw, the notebook runs Windows 95 currently and successfully establishes > ether PPP or SLIP connection with my desktop. The problem was that I used i686-optimized system to build PicoBSD for i586. I turned off all optimizations for building of Pico so kernel and object files for crunched binary were built right. Kernel was linked OK but crunched binary was linked using system /usr/lib that is optimized for i686 here. So kernel booted normally and init died at once. I already have a world built for i586 so I just installed it into new direcory on my i686 system, chrooted into that directory and made new floppy there. And it boots as expected now. So, it would be nice to have an opportunity to cross-compile PicoBSD without having to rebuilt a whole world just to get 10 libraries. Eugene Grosbein To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-small" in the body of the message