Perhaps you are beyond the following suggestions, but you might consider the following. From /opt/ltsp/i386/etc/rc.local, I see the following four lines, echo "Creating ramdisk on /tmp" RAMDISK_SIZE=`get_cfg RAMDISK_SIZE 1024` /sbin/mke2fs -q -m0 /dev/ram1 ${RAMDISK_SIZE} /bin/mount -n /dev/ram1 /tmp Once your diskless computer has largely started, you might try entering these lines by hand, something like, /sbin/mke2fs -v /dev/ram2 1024 /bin/mount /dev/ram2 /tmp This will merely verify that these commands (mke2fs and mount) work as expected.
I suspect your "mke2fs" is failing. Perhaps you compiled your own 2.4.20 kernel, although "2.4.20-ltsp-1" implies you used an LTSP premade kernel. Looking at one of my kernel configuration's .config files (although used for non-LTSP), I notice that I ended up with the following amongst the many lines of .config CONFIG_BLK_DEV_LOOP=y CONFIG_BLK_DEV_RAM=y CONFIG_RAMFS=y Perhaps you need to set those: "make xconfig" would work best to compile your kernel, but then you need to infer the proper GUI buttons to push. On Wed, Mar 19, 2003 at 05:29:48PM -0800, rwillis wrote: > Here is a dump from a serial console : > > Linux version 2.4.20-ltsp-1 ([EMAIL PROTECTED]) (gcc version 3.2 20020903 (Red Hat > Linux 8.0 3.2-7)) #2 Wed Mar 19 17:02:34 PST 2003 > BIOS-provided physical RAM map: > BIOS-e820: 0000000000000000 - 0000000000087000 (usable) > BIOS-e820: 0000000000087000 - 00000000000a0000 (reserved) > BIOS-e820: 00000000000dc000 - 0000000000100000 (reserved) > BIOS-e820: 0000000000100000 - 000000003fef0000 (usable) > BIOS-e820: 000000003fef0000 - 000000003fefc000 (ACPI data) > BIOS-e820: 000000003fefc000 - 000000003ff00000 (ACPI NVS) > BIOS-e820: 000000003ff00000 - 000000003ff80000 (usable) > BIOS-e820: 000000003ff80000 - 0000000040000000 (reserved) > BIOS-e820: 00000000fec00000 - 00000000fec10000 (reserved) > BIOS-e820: 00000000fee00000 - 00000000fee01000 (reserved) > BIOS-e820: 00000000ff800000 - 00000000ffc00000 (reserved) > BIOS-e820: 00000000fff00000 - 0000000100000000 (reserved) > Warning only 896MB will be used. > Use a HIGHMEM enabled kernel. > 896MB LOWMEM available. > On node 0 totalpages: 229376 > zone(0): 4096 pages. > zone(1): 225280 pages. > zone(2): 0 pages. > Kernel command line: init=/linuxrc rw root=/dev/ram0 > initrd=initrd-2.4.20-ltsp-1.gz ether=eth0 console=ttyS0,9600 > BOOT_IMAGE=bzImage-2.4.20-ltsp-1 auto > Initializing CPU#0 > Detected 2400.120 MHz processor. > Console: colour VGA+ 80x25 > Calibrating delay loop... 4784.12 BogoMIPS > Memory: 904664k/917504k available (1391k kernel code, 12356k reserved, 307k > data, 264k init, 0k highmem) > Dentry cache hash table entries: 131072 (order: 8, 1048576 bytes) > Inode cache hash table entries: 65536 (order: 7, 524288 bytes) > Mount-cache hash table entries: 16384 (order: 5, 131072 bytes) > Buffer-cache hash table entries: 65536 (order: 6, 262144 bytes) > Page-cache hash table entries: 262144 (order: 8, 1048576 bytes) > CPU: L1 I cache: 0K, L1 D cache: 8K > CPU: L2 cache: 512K > Intel machine check architecture supported. > Intel machine check reporting enabled on CPU#0. > CPU: Intel(R) Xeon(TM) CPU 2.40GHz stepping 07 > Enabling fast FPU save and restore... done. > Enabling unmasked SIMD FPU exception support... done. > Checking 'hlt' instruction... OK. > POSIX conformance testing by UNIFIX > PCI: PCI BIOS revision 2.10 entry at 0xfd8b5, last bus=4 > PCI: Using configuration type 1 > PCI: Probing PCI hardware > Transparent bridge - Intel Corp. 82801BA/CA/DB PCI Bridge > PCI: Discovered primary peer bus 10 [IRQ] > PCI: Discovered primary peer bus 11 [IRQ] > PCI: Discovered primary peer bus 12 [IRQ] > PCI: Using IRQ router PIIX [8086/2480] at 00:1f.0 > PCI: Found IRQ 11 for device 00:1f.1 > Linux NET4.0 for Linux 2.4 > Based upon Swansea University Computer Society NET3.039 > Initializing RT netlink socket > Starting kswapd > Journalled Block Device driver loaded > devfs: v1.12c (20020818) Richard Gooch ([EMAIL PROTECTED]) > devfs: boot_options: 0x0 > Installing knfsd (copyright (C) 1996 [EMAIL PROTECTED]). > ACPI: Core Subsystem version [20011018] > ACPI: Subsystem enabled > parport0: PC-style at 0x378 (0x778) [PCSPP(,...)] > parport0: irq 7 detected > pty: 256 Unix98 ptys configured > Serial driver version 5.05c (2001-07-08) with MANY_PORTS SHARE_IRQ > SERIAL_PCI enabled > ttyS00 at 0x03f8 (irq = 4) is a 16550A > ttyS01 at 0x02f8 (irq = 3) is a 16550A > FDC 0 is a post-1991 82077 > RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize > loop: loaded (max 8 devices) > Intel(R) PRO/1000 Network Driver - version 4.4.12-k1 > Copyright (c) 1999-2002 Intel Corporation. > PCI: Found IRQ 11 for device 02:03.0 > PCI: Sharing IRQ 11 with 02:01.0 > eth0: Intel(R) PRO/1000 Network Connection > NET4: Linux TCP/IP 1.0 for NET4.0 > IP Protocols: ICMP, UDP, TCP > IP: routing cache hash table of 8192 buckets, 64Kbytes > TCP: Hash tables configured (established 262144 bind 65536) > NET4: Unix domain sockets 1.0/SMP for Linux NET4.0. > RAMDISK: Compressed image found at block 0 > Freeing initrd memory: 271k freed > VFS: Mounted root (ext2 filesystem). > Freeing unused kernel memory: 264k freed > ============================================================================ > === > Running /linuxrc > Mounting /proc > Running dhclient > e1000: eth0 NIC Link is Up 1000 Mbps Full Duplex > Mounting root filesystem: /opt/ltsp/i386 from: 192.168.20.2 > Doing the pivot_root > Mounting the devfs filesystem > Running /sbin/init > Started device management daemon for /dev > Mounting /proc filesystem > Creating ramdisk on /tmp > mke2fs 1.18, 11-Nov-1999 for EXT2 FS 0.5b, 95/08/09 > Current hostname: lister > /etc/rc.local: /tmp/mtab: Permission denied > /etc/rc.local: /tmp/resolv.conf: Permission denied > Setting up loopback device > mkdir: Cannot create directory `/tmp/compiled': Operation not permitted > mkdir: Cannot create directory `/tmp/var': Operation not permitted > mkdir: Cannot create directory `/tmp/var/run': No such file or dire > > > As you can see, I used kernel version 2.4.20. I did this to get the > e1000 ethernet driver inside the kernel. I commented out the section > in the linuxrc file that tried to modprobe for a driver as it was > already running by the time the linuxrc file was started. (NOTE: do > NOT enable IP:Kernel Level Autoconfiguration in the kernel config, it > just messes things up for LTSP). > > > So now the rc.local script is trying to create files on the new RAMdrive > mounted to /tmp and is getting denyed... any ideas? I did notice that the > mke2fs command that make the RAMdisk does not reserve anything for root, but > I don't think that this is the problem. > -- Jameson C. Burt, NJ9L Fairfax, Virginia, USA [EMAIL PROTECTED] http://www.coost.com
pgp00000.pgp
Description: PGP signature