Results 1 to 1 of 1
I am having some trouble setting up a diskless server using SUSE 10.1 release.
I'm a newby to this so I will provide as much info as possible, but I ...
- 04-01-2007 #1Just Joined!
- Join Date
- Apr 2007
- Posts
- 3
diskless server initrd woes - INIT: cannot execute "/etc/init.d/rc"
I am having some trouble setting up a diskless server using SUSE 10.1 release.
I'm a newby to this so I will provide as much info as possible, but I would like to know if anyone can point me in the right direction. In particular, if you could let me know of any tool I could use to troubleshoot this, it would be great.
I have created a kernel that has initrd enabled and I have created a rootfs.gz filesystem, with almost everything that is in my Dell 1850 servers, minus some of the X11 and X11R6 stuff and manpages
everything seems to go well, up till I see a "not found" after freeing initrd memory (see
below). it looks like it found my /etc/inittab as well, but then it comes unglued becasue it doesn't locate my /sbin and /etc...like they aren't mounted. Can I stick something in my inittab to tell me what is mounted where?
Here is a portion of my pxelinux.cfg too. See where I pointed the root= option
LABEL suse10
KERNEL bzImage
APPEND console=ttyS0,19200n8 initrd=rootfs.gz root=/dev/ram0 rw ramdisk_size=524288
I also saw a post that indicated this kind of behavior could be related to a missing /bin/bash or /bin/sh issue. They seem to be in place in my /loop directory where I am building the root filesystem at.
Any help is appriciated. If it helps, I can post my image and kernel for someone to pickup too.
Thanks,
ootdata ok (command line is console=ttyS0,19200n8 initrd=rootfs.gz root=/dev/ram0 rw ramdisk_size=524288 BOOT_IMAGE=bzImage )
Linux version 2.6.16.13-4-default (geeko@buildhost) (gcc version 4.1.0 (SUSE Linux)) #2 SMP Thu Mar 29 19:23:14 EDT 2007
BIOS-provided physical RAM map:
-- removed BIOS/PCI messages for clarity
Checking aperture...
CPU 0: aperture @ 2bc8000000 size 32 MB
Aperture from northbridge cpu 0 too small (32 MB)
AGP bridge at 00:00:00
Aperture from AGP @ fc000000 size 4096 MB (APSIZE 0)
Aperture from AGP bridge too small (0 MB)
Your BIOS doesn't leave a aperture memory hole
Please enable the IOMMU option in the BIOS setup
This costs you 64 MB of RAM
Mapping aperture over 65536 KB of RAM @ 4000000
Built 2 zonelists
Kernel command line: console=ttyS0,19200n8 initrd=rootfs.gz root=/dev/ram0 rw ramdisk_size=524288 BOOT_IMAGE=bzImage
Initializing CPU#0
PID hash table entries: 4096 (order: 12, 131072 bytes)
Disabling vsyscall due to use of PM timer
time.c: Using 3.579545 MHz WALL PM GTOD PM timer.
time.c: Detected 2411.045 MHz processor.
Console: colour dummy device 80x25
Dentry cache hash table entries: 2097152 (order: 12, 16777216 bytes)
Inode-cache hash table entries: 1048576 (order: 11, 8388608 bytes)
Memory: 16332124k/17022976k available (2314k kernel code, 444120k reserved, 954k data, 208k init)
Calibrating delay using timer specific routine.. 4827.90 BogoMIPS (lpj=9655817)
Security Framework v1.0.0 initialized
Mount-cache hash table entries: 256
CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)
CPU: L2 Cache: 1024K (64 bytes/line)
CPU 0(1) -> Node 0 -> Core 0
checking if image is initramfs...it isn't (no cpio magic); looks like an initrd
Freeing initrd memory: 116472k freed
not found!
Using local APIC timer interrupts.
result 12557540
Detected 12.557 MHz APIC timer.
Booting processor 1/2 APIC 0x1
Initializing CPU#1
Calibrating delay using timer specific routine.. 4822.35 BogoMIPS (lpj=9644710)
CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)
CPU: L2 Cache: 1024K (64 bytes/line)
CPU 1(1) -> Node 1 -> Core 0
AMD Opteron(tm) Processor 250 stepping 01
CPU 1: Syncing TSC to CPU 0.
CPU 1: synchronized TSC with CPU 0 (last diff -149 cycles, maxerr 955 cycles)
Brought up 2 CPUs
testing NMI watchdog ... OK.
migration_cost=0,687
DMI present.
NET: Registered protocol family 16
ACPI: bus type pci registered
PCI: Using configuration type 1
ACPI: Subsystem revision 20060127
ACPI: Interpreter enabled
ACPI: Using IOAPIC for interrupt routing
ACPI: PCI Root Bridge [PCI0] (0000:00)
ACPI: Assume root bridge [\_SB_.PCI0] bus is 0
ACPI: PCI Interrupt Link [LNK1] (IRQs 16 17 18 19) *0, disabled.
ACPI: PCI Interrupt Link [LNK2] (IRQs 16 17 18 19) *0, disabled.
ACPI: PCI Interrupt Link [LNK3] (IRQs 16 17 18 19) *0, disabled.
ACPI: PCI Interrupt Link [LNK4] (IRQs 16 17 18 19) *0, disabled.
ACPI: PCI Interrupt Link [LNK5] (IRQs 16 17 18 19) *0, disabled.
ACPI: PCI Interrupt Link [LSMB] (IRQs 20 21 22 23) *0
ACPI: PCI Interrupt Link [LUS0] (IRQs 20 21 22 23) *0
ACPI: PCI Interrupt Link [LUS1] (IRQs 20 21 22 23) *0
ACPI: PCI Interrupt Link [LUS2] (IRQs 20 21 22 23) *0
ACPI: PCI Interrupt Link [LMAC] (IRQs 20 21 22 23) *0
ACPI: PCI Interrupt Link [LACI] (IRQs 20 21 22 23) *0, disabled.
ACPI: PCI Interrupt Link [LMCI] (IRQs 20 21 22 23) *0, disabled.
ACPI: PCI Interrupt Link [LPID] (IRQs 20 21 22 23) *0, disabled.
ACPI: PCI Interrupt Link [LTID] (IRQs 20 21 22 23) *0
ACPI: PCI Interrupt Link [LSI1] (IRQs 20 21 22 23) *0, disabled.
ACPI: PCI Interrupt Link [APCP] (IRQs 20 21 22 23) *0, disabled.
Generic PHY: Registered new driver
usbcore: registered new driver usbfs
usbcore: registered new driver hub
PCI: Using ACPI for IRQ routing
PCI: If a device doesn't work, try "pci=routeirq". If it helps, post a report
TC classifier action (bugs to netdev@vger.kernel.org cc hadi@cyberus.ca)
agpgart: Detected AGP bridge 0
agpgart: Aperture conflicts with PCI mapping.
agpgart: Aperture from AGP @ fc000000 size 4096 MB
agpgart: Aperture too small (0 MB)
agpgart: No usable aperture found.
agpgart: Consider rebooting with iommu=memaper=2 to get a good aperture.
PCI-DMA: Disabling AGP.
PCI-DMA: aperture base @ 4000000 size 65536 KB
PCI-DMA: using GART IOMMU.
PCI-DMA: Reserving 64MB of IOMMU area in the AGP aperture
PCI: Bridge: 0000:00:0b.0
IO window: disabled.
MEM window: disabled.
PREFETCH window: disabled.
PCI: Bridge: 0000:00:0e.0
IO window: disabled.
MEM window: disabled.
PREFETCH window: disabled.
Simple Boot Flag at 0x36 set to 0x1
IA32 emulation $Id: sys_ia32.c,v 1.32 2002/03/24 13:02:28 ak Exp $
audit: initializing netlink socket (disabled)
audit(1046048411.496:1): initialized
Total HugeTLB memory allocated, 0
VFS: Disk quotas dquot_6.5.1
Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
Initializing Cryptographic API
io scheduler noop registered
io scheduler anticipatory registered
io scheduler deadline registered
io scheduler cfq registered (default)
Real Time Clock Driver v1.12ac
Non-volatile memory driver v1.2
Linux agpgart interface v0.101 (c) Dave Jones
serio: i8042 AUX port at 0x60,0x64 irq 12
serio: i8042 KBD port at 0x60,0x64 irq 1
Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing disabled
serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
serial8250: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
RAMDISK driver initialized: 16 RAM disks of 524288K size 1024 blocksize
nbd: registered device at major 43
Marvell 88E1101: Registered new driver
forcedeth.c: Reverse Engineered nForce ethernet driver. Version 0.60-Driver Package V1.21.
ACPI: PCI Interrupt Link [LMAC] enabled at IRQ 23
GSI 16 sharing vector 0xB1 and IRQ 16
ACPI: PCI Interrupt 0000:00:05.0[A] -> Link [LMAC] -> GSI 23 (level, high) -> IRQ 177
eth0: forcedeth.c: subsystem: 00000:0000 bound to 0000:00:05.0
mice: PS/2 mouse device common for all mice
input: PC Speaker as /class/input/input0
i2c /dev entries driver
i2c_adapter i2c-0: nForce2 SMBus adapter at 0x1840
i2c_adapter i2c-1: nForce2 SMBus adapter at 0x1800
md: md driver 0.90.3 MAX_MD_DEVS=256, MD_SB_DISKS=27
md: bitmap version 4.39
NET: Registered protocol family 2
IP route cache hash table entries: 524288 (order: 10, 4194304 bytes)
TCP established hash table entries: 262144 (order: 10, 4194304 bytes)
TCP bind hash table entries: 65536 (order: 8, 1048576 bytes)
TCP: Hash tables configured (established 262144 bind 65536)
TCP reno registered
NET: Registered protocol family 1
md: Autodetecting RAID arrays.
md: autorun ...
md: ... autorun DONE.
RAMDISK: Compressed image found at block 0
VFS: Mounted root (ext2 filesystem).
Freeing unused kernel memory: 208k freed
Write protecting the kernel read-only data: 432k
INIT: version 2.86 booting
INIT: Entering runlevel: 3
INIT: cannot execute "/etc/init.d/rc"
INIT: cannot execute "/sbin/mingetty"
INIT: cannot execute "/bin/msg.txt"
INIT: cannot execute "/sbin/mingetty"
INIT: cannot execute "/sbin/mingetty"
INIT: cannot execute "/sbin/mingetty"
INIT: cannot execute "/sbin/mingetty"
cannot execute "/sbin/mingetty"
INIT: cannot execute "/sbin/mingetty"
INIT: cannot execute "/sbin/mingetty"
INIT: cannot execute "/sbin/mingetty"
INIT: cannot execute "/sbin/mingetty"
INIT: cannot execute "/sbin/mingetty"
INIT: cannot execute "/sbin/mingetty"
INIT: cannot execute "/sbin/mingetty"
INIT: cannot execute "/sbin/mingetty"
INIT: cannot execute "/sbin/mingetty"
INIT: cannot execute "/sbin/mingetty"
INIT: cannot execute "/sbin/mingetty"
INIT: cannot execute "/sbin/mingetty"cannot execute "/sbin/mingetty"


Reply With Quote