Re: How to compile on one machine and install on another?

2001-06-20 Thread Maciek Nowacki
On Tue, Jun 19, 2001 at 04:55:10PM -0400, Tom Diehl wrote: > On Tue, 19 Jun 2001, Alan Cox wrote: > > > Other than making sure you configure it for the box it will eventually run > > on - nope you have it all sorted. If you use modules you'll want to install > > the modules on the target machine

Re: Busy on BLKFLSBUF w/initrd

2001-05-25 Thread Maciek Nowacki
On Fri, May 25, 2001 at 01:20:00AM -0400, Scott Murray wrote: > On Thu, 24 May 2001, Maciek Nowacki wrote: > > > This method depends on the change_root() mechanism which I had assumed is > > becoming obsolete. It works, and there is no need to mess with > > /proc/sys/ker

Re: Busy on BLKFLSBUF w/initrd

2001-05-24 Thread Maciek Nowacki
Problem seems to be solved. Here is what I did, for anyone who is interested in using a loopback file on a local disk as root: - create a romfs initrd with /linuxrc -> /bin/sh and an empty /initrd dir - boot, with root=/dev/rd/1 init=/bin/sh - when /linuxrc comes up, cat /dev/rd/0 > /dev/rd/1

Re: Busy on BLKFLSBUF w/initrd

2001-05-23 Thread Maciek Nowacki
On Wed, May 23, 2001 at 07:28:14PM -0400, Alexander Viro wrote: > > > On Wed, 23 May 2001, Maciek Nowacki wrote: > > > On Wed, May 23, 2001 at 06:21:23PM -0400, Alexander Viro wrote: > > I wrote out the contents of /dev/rd/0 a few times and diff'ed with the > &g

Re: Busy on BLKFLSBUF w/initrd

2001-05-23 Thread Maciek Nowacki
On Wed, May 23, 2001 at 06:21:23PM -0400, Alexander Viro wrote: > > > On Wed, 23 May 2001, Maciek Nowacki wrote: > > > > If you want to keep it until later (i.e. want to destiry it by hands) > > > mkdir /initrd on your final root and old one will be remounted

Re: Busy on BLKFLSBUF w/initrd

2001-05-23 Thread Maciek Nowacki
On Wed, May 23, 2001 at 06:05:52PM -0400, Alexander Viro wrote: > > > On Wed, 23 May 2001, Maciek Nowacki wrote: > > > May 22 09:14:31 wintermute kernel: RAMDISK: romfs filesystem found at block 0 > > May 22 09:14:31 wintermute kernel: RAMDISK: Loading 28216 blocks

Busy on BLKFLSBUF w/initrd

2001-05-23 Thread Maciek Nowacki
Hi, I have continuing problems with getting the initrd ramdisk out of memory once bootup is complete. This is with recent -ac kernels which have the fix-up posted a few months ago applied. The sequence is roughly: - boot via pxelinux, loads up bzImage <1MB and root.romfs.gz ~7MB, expands to

scripts/Configure patch for automatic module compile

2001-05-06 Thread Maciek Nowacki
Hi, If you're like me, you build everything as modules, boot with an initrd that loads in the disk or net driver and filesystem module, and then let kmod take care of the rest. Here's a patch that changes Configure (make config) to build all possible modules - in other words, to answer 'M' for ev