LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Kernel (https://www.linuxquestions.org/questions/linux-kernel-70/)
-   -   kernel panic when trying to net-boot ixp (https://www.linuxquestions.org/questions/linux-kernel-70/kernel-panic-when-trying-to-net-boot-ixp-484004/)

vinodl 09-16-2006 03:21 AM

kernel panic when trying to net-boot ixp
 
Hi,

I am facing an kernel panic issue with ixp board,when trying to netboot it with a custom ramdisk image.
The board works fine when booting from the Compact flash.
when netbooting with custom ramdisk image(with the same contents present in CF) it gives me a kernel panic.my ramdisk size is of 30MB.iam using Dedian sarge3.1.
kernel version 2.6.16

The log captured is pasted below:
Can someone please help me i have tried all possible options.

RedBoot> load -r -v -b 0x0800000 -m TFTP -h 192.168.157.24 /tftpboot/ramdisk.gz
Raw file loaded 0x00800000-0x021300e1, assumed entry at 0x00800000

RedBoot> load -r -v -b 0x01600000 -m TFTP -h 192.168.157.24 /tftpboot/vmlinuz-loft-2.6.16
Raw file loaded 0x01600000-0x0171c717, assumed entry at 0x01600000

RedBoot>
RedBoot> exec -r 0x0800000 0x01600000

Using base address 0x01600000 and length 0x0011c718
Uncompressing Linux.............................................................................. done, booting the kernel.
Linux version 2.6.16 (root@vinodl) (gcc version 3.4.4) #1 PREEMPT Thu Sep 14 21:06:45 IST 2006
CPU: XScale-IXP42x Family [690541c1] revision 1 (ARMv5TE)
Machine: Giant Shoulder Inc Loft board
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
Kernel command line: console=ttyS0,115200n8 root=/dev/ram0 initrd=0x00800000,16M mem=64M@0x0

PID hash table entries: 512 (order: 9, 8192 bytes)
IXP4xx: FREQ=66666600 COUNT=666665
Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
Memory: 64MB = 64MB total
Memory: 45964KB available (2173K code, 194K data, 96K init)
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
checking if image is initramfs...it isn't (bad gzip magic numbers); 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 enabled
dmabounce: registered device 0000:00:01.0 on pci bus
dmabounce: registered device 0000:00:02.0 on pci bus
SCSI subsystem initialized
usbcore: registered new driver usbfs
usbcore: registered new driver hub
NetWinder Floating Point Emulator V0.97 (double precision)
JFFS2 version 2.2. (NAND) (C) 2001-2003 Red Hat, Inc.
Initializing Cryptographic API
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: 16 RAM disks of 84070K size 1024 blocksize
loop: loaded (max 8 devices)
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
ide: Gateworks Avila IDE/CF driver v1.3
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 0xfe0000
RedBoot directory 0x50fe0000(0x1f000) swapped
5 RedBoot partitions found on MTD device IXP4XX-Flash.0
Creating 5 MTD partitions on "IXP4XX-Flash.0":
0x00000000-0x00080000 : "RedBoot"
0x00080000-0x00140000 : "zimage"
0x00140000-0x00fe0000 : "unallocated"
0x00fe0000-0x00fff000 : "FIS directory"
mtd: partition "FIS directory" doesn't end on an erase block -- force read-only
0x00fff000-0x01000000 : "RedBoot config"
mtd: partition "RedBoot config" doesn't start on an erase block boundary -- force read-only
Using configured DiskOnChip probe address 0x50000000
Possible DiskOnChip at 0x50000000 failed TOGGLE test, dropping.
USB Universal Host Controller Interface driver v2.3
Initializing USB Mass Storage driver...
usbcore: registered new driver usb-storage
USB Mass Storage support registered.
i2c /dev entries driver

LOFT MAC[0]: 00:d0:12:02:44:89
LOFT MAC[1]: 00:d0:12:12:44:89
Registered led device: ready
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 4096 (order: 2, 16384 bytes)
TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
TCP: Hash tables configured (established 4096 bind 4096)
TCP reno registered
TCP bic registered
NET: Registered protocol family 1
drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
RAMDISK: Couldn't find valid RAM disk image starting at 0.
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(1,0)


Regards,

vinod


All times are GMT -5. The time now is 04:16 AM.