Ok, I'm frustrated. :-) I have the kernel loaded and running via serial/TFTP into an NSLU2. It may not be configured correctly (duh), and the kernel command line might not be correct (also, duh). I've tried so many variants of the two, I can't see straight. I've also tried a gzip'd ramdisk, bzip2'd ramdisk, and a cpio ramdisk. Nothing works. /sbin/init is in the ramdisk. /dev/console and /dev/null are there also.
I'm missing something basic. Could someone look over the output below and point me in the right direction? I suspect 'invalid compressed format (err=1)' might be a good indicator of what is wrong, but google isn't being cooperative today. I'm not touching the flash until I can safely, and repeatably, boot from ram and run from ram. thx, Jason. PS - I did have this running once before on the same board back in may, but a hard drive crash taught me a valuable lesson on backups and the need for them. :-) ### Kernel Output ### RedBoot> load -r -v -b 0x01000000 ramdisk.gz Using default protocol (TFTP) | Raw file loaded 0x01000000-0x01507836, assumed entry at 0x01000000 RedBoot> load -r -v -b 0x01d00000 vmlinuz Using default protocol (TFTP) - Raw file loaded 0x01d00000-0x01e4a267, assumed entry at 0x01d00000 RedBoot> exec 0x01d00000 Using base address 0x01d00000 and length 0x0014a268 Uncompressing Linux............................................................. .............................. done, booting the kernel. Linux version 2.6.19-gentoo-r5 ([EMAIL PROTECTED]) (gcc version 3.4.6 (Gentoo 3.4.6 p 1.0, ssp-3.4.5-1.0, pie-8.7.9)) #17 PREEMPT Mon Oct 1 18:01:10 EDT 2007 CPU: XScale-IXP42x Family [690541f1] revision 1 (ARMv5TE), cr=000039ff Machine: Intel IXDP425 Development Platform Warning: bad configuration page, trying to continue Memory policy: ECC disabled, Data cache writeback CPU0: D VIVT undefined 5 cache CPU0: I cache: 32768 bytes, associativity 32, 32 byte lines, 32 sets CPU0: D cache: 32768 bytes, associativity 32, 32 byte lines, 32 sets Built 1 zonelists. Total pages: 16256 Kernel command line: console=ttyS0,115200 root=/dev/ram0 initrd=0x01000000,16M [EMAIL PROTECTED] ramdisk_size=16384 PID hash table entries: 256 (order: 8, 1024 bytes) Dentry cache hash table entries: 8192 (order: 3, 32768 bytes) Inode-cache hash table entries: 4096 (order: 2, 16384 bytes) Memory: 64MB = 64MB total Memory: 45580KB available (2600K code, 208K data, 96K init) Mount-cache hash table entries: 512 CPU: Testing write buffer coherency: ok checking if image is initramfs...it isn't (no cpio magic); looks like an initrd Freeing initrd memory: 16384K NET: Registered protocol family 16 IXP4xx: Using 16MiB expansion bus window size PCI: IXP4xx is host PCI: IXP4xx Using direct access for memory space PCI: bus0: Fast back to back transfers disabled dmabounce: registered device 0000:00:01.0 on pci bus dmabounce: registered device 0000:00:01.1 on pci bus dmabounce: registered device 0000:00:01.2 on pci bus SCSI subsystem initialized usbcore: registered new interface driver usbfs usbcore: registered new interface driver hub usbcore: registered new device driver usb NET: Registered protocol family 2 IP route cache hash table entries: 512 (order: -1, 2048 bytes) TCP established hash table entries: 2048 (order: 1, 8192 bytes) TCP bind hash table entries: 1024 (order: 0, 4096 bytes) TCP: Hash tables configured (established 2048 bind 1024) TCP reno registered NetWinder Floating Point Emulator V0.97 (double precision) squashfs: version 3.1 (2006/08/19) Phillip Lougher NTFS driver 2.1.27 [Flags: R/W]. JFFS2 version 2.2. (NAND) (C) 2001-2006 Red Hat, Inc. io scheduler noop registered io scheduler deadline registered (default) Serial: 8250/16550 driver $Revision: 1.90 $ 2 ports, IRQ sharing disabled serial8250.0: ttyS0 at MMIO 0xc8000000 (irq = 15) is a XScale serial8250.0: ttyS1 at MMIO 0xc8001000 (irq = 13) is a XScale RAMDISK driver initialized: 1 RAM disks of 16384K size 1024 blocksize NFTL driver: nftlcore.c $Revision: 1.98 $, nftlmount.c $Revision: 1.41 $ IXP4XX-Flash.0: Found 1 x16 devices at 0x0 in 16-bit bank Intel/Sharp Extended Query Table at 0x0031 Using buffer write method cfi_cmdset_0001: Erase suspend on write enabled Searching for RedBoot partition table in IXP4XX-Flash.0 at offset 0x7e0000 No RedBoot partition table detected in IXP4XX-Flash.0 cmdlinepart partition parsing not available PCI: enabling device 0000:00:01.2 (0140 -> 0142) ehci_hcd 0000:00:01.2: EHCI Host Controller ehci_hcd 0000:00:01.2: new USB bus registered, assigned bus number 1 ehci_hcd 0000:00:01.2: irq 26, io mem 0x48002000 ehci_hcd 0000:00:01.2: USB 2.0 started, EHCI 1.00, driver 10 Dec 2004 usb usb1: configuration #1 chosen from 1 choice hub 1-0:1.0: USB hub found hub 1-0:1.0: 5 ports detected Initializing USB Mass Storage driver... usbcore: registered new interface driver usb-storage USB Mass Storage support registered. i2c /dev entries driver TCP cubic registered NET: Registered protocol family 1 drivers/rtc/hctosys.c: unable to open rtc device (rtc0) Time: OSTS clocksource has been installed. RAMDISK: Compressed image found at block 0 invalid compressed format (err=1) VFS: Mounted root (ext2 filesystem) readonly. Freeing init memory: 96K Warning: unable to open an initial console. EXT2-fs error (device ram0): ext2_check_page: bad entry in directory #191: rec_l en is smaller than minimal - offset=0, inode=0, rec_len=0, name_len=0 EXT2-fs error (device ram0): ext2_check_page: bad entry in directory #12: rec_le n is smaller than minimal - offset=0, inode=0, rec_len=0, name_len=0 Kernel panic - not syncing: No init found. Try passing init= option to kernel. ##################### -- [EMAIL PROTECTED] mailing list
