[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [bluetooth-dev] RE: booted..but "kernel panic"..!



Sir,
     Now I can boot (thanks for the file),but again
"kernel panic" saying that it can't find some common
files.The following is the debug and complete log is
after that.Iam sure all these files are properly
compiled in my file system,
(devboard_bt/target/cris-axis-linux-gnu/ has all the
reqd files).Could you please tell me the problem here.
Thank you.

VFS: Mounted root (cramfs filesystem) readonly.
Freeing unused kernel memory: 40k freed
init: starting up.
Mounting proc on /proc
Mounting /dev/flash2 on /mnt/flash
/usr/rc.d/S15jffs: Cannot find /etc/release
[ /usr/rc.d/S15jffs FAILED ]
Cannot find /etc/release
[ /usr/rc.d/S20issue FAILED ]
Mounting tmpfs on /var
Initializing /var
/usr/rc.d/S35network: cannot create
/etc/network/mac.conf: directory nonexistent
.: Can't open /etc/network/network.conf
[ /usr/rc.d/S35network FAILED ]
.: Can't open /etc/network/network.conf
[ /usr/rc.d/S40dhclient FAILED ]
/usr/rc.d/S45hosts: Could not find
/etc/network/network.conf
[ /usr/rc.d/S45hosts FAILED ]

open /etc/inittab: No such file or directory
Kernel panic: Attempted to kill init!

COMPLETE LOG is as follows:


Linux/CRIS port on ETRAX 100LX (c) 2001, 2002 Axis
Communications AB
Kernel command line: root=/dev/mtdblock3
Enabling watchdog...
Calibrating delay loop... 99.73 BogoMIPS
Memory: 14640k/16384k available (1003k kernel code,
1744k reserved, 403k data, 40k init)
kmem_create: Forcing size word alignment - mm_struct
kmem_create: Forcing size word alignment - filp
Dentry cache hash table entries: 2048 (order: 1, 16384
bytes)
Inode cache hash table entries: 1024 (order: 0, 8192
bytes)
kmem_create: Forcing size word alignment - inode_cache
Mount-cache hash table entries: 1024 (order: 0, 8192
bytes)
kmem_create: Forcing size word alignment - bdev_cache
kmem_create: Forcing size word alignment - cdev_cache
Buffer-cache hash table entries: 2048 (order: 0, 8192
bytes)
Page-cache hash table entries: 2048 (order: 0, 8192
bytes)
POSIX conformance testing by UNIFIX
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society
NET3.039
kmem_create: Forcing size word alignment - sock
Initializing RT netlink socket
Starting kswapd
kmem_create: Forcing size word alignment - file lock
cache
JFFS version 1.0, (C) 1999, 2000  Axis Communications
AB
kmem_create: Forcing size word alignment - jffs_node
Bluetooth Driver v1.3, Copyright (c) 2000, 2001, 2002
Axis Communications AB
BT SYS: Bluetooth driver registered as ttyBT
BT SYS: Bluetooth line discipline registered.
BT SYS: Registering BT proc files
Proc entry registered
BT SYS: Bluetooth Driver Using ttyBT[0-6] (data),
ttyBTC (ctrl [7])
BNEP driver v0.1 (c) 2002 Axis Communications AB
bnep0 initialized
bnep1 initialized
bnep2 initialized
bnep3 initialized
bnep4 initialized
bnep5 initialized
bnep6 initialized
kmem_create: Forcing size word alignment -
blkdev_requests
PPP generic driver version 2.4.2
PPP Deflate Compression module registered
ETRAX 100LX 10/100MBit ethernet v2.0 (c) 2000-2001
Axis Communications AB
eth0 initialized
eth0: changed MAC to 00:40:8C:CD:00:00
ETRAX 100LX serial-driver 1.40 $, (c) 2000-2002 Axis
Communications AB
ttyS0 at 0xb0000060 is a builtin UART with DMA
ttyS2 at b0000070 is a builtin UART with DMA
ttyS3 at 0xb0000078 is a builtin UART with DMA
fast_timer_init()
cse0: Probing a 0x04000000 tes large window at
0xe0000000.
cse0: Probing for AMD compatible flash...
cse0: Found 1 x 2MiB Fujitsu MBM29LV160TE at 0x0
cse1: Probing a 0x04000000 bytes large window at
0xe4000000.
cse1: Probing for AMD compatible flash...
cse1: Found 1 x 2MiB Fujitsu MBM29LV160TE at 0x0
Concatenating MTD devices:
(0): "cse0"
(1): "cse1"
into device "cse0+cse1"
cse0+cse1: 0x00400000 bytes of flash memory.
 Found a valid partition table at
0xf001000a-0xf0010056.
  /dev/flash1 at 0x00010000, size 0x003a0000
  /dev/flash2 at 0x003b0000, size 0x00050000
 Adding readonly flash partition for romfs image:
  /dev/flash3 at 0x000ba9cf, size 0x0015a000
Creating 4 MTD partitions on "cse0+cse1":
0x00000000-0x00010000 : "part0"
0x00010000-0x003b0000 : "part1"
0x003b0000-0x00400000 : "part2"
0x000ba9cf-0x002149cf : "romfs"
GPIO port G: in_bits: 0x3FFF003F out_bits: 0x3E00FF3E
val: 7D0000C1
GPIO port G: dir: 0000FF00 changeable: 01FFFF01
ETRAX 100LX GPIO driver v2.5, (c) 2001, 2002 Axis
Communications AB
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP, IGMP
kmem_create: Forcing size word alignment -
ip_dst_cache
IP: routing cache hash table of 1024 buckets, 8Kbytes
TCP: Hash tables configured (established 2048 bind
2048)
ip_conntrack (128 buckets, 1024 max)
ip_tables: (C) 2000-2002 Netfilter core team
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
IPv6 v0.8 for NET4.0
kmem_create: Forcing size word alignment -
ip6_dst_cache
IPv6 over IPv4 tunneling driver
ip6_tables: (C) 2000-2002 Netfilter core team
NET4: Ethernet Bridge 008 for NET4.0
VFS: Mounted root (cramfs filesystem) readonly.
Freeing unused kernel memory: 40k freed
init: starting up.
Mounting proc on /proc
Mounting /dev/flash2 on /mnt/flash
/usr/rc.d/S15jffs: Cannot find /etc/release
[ /usr/rc.d/S15jffs FAILED ]
Cannot find /etc/release
[ /usr/rc.d/S20issue FAILED ]
Mounting tmpfs on /var
Initializing /var
/usr/rc.d/S35network: cannot create
/etc/network/mac.conf: directory nonexistent
.: Can't open /etc/network/network.conf
[ /usr/rc.d/S35network FAILED ]
.: Can't open /etc/network/network.conf
[ /usr/rc.d/S40dhclient FAILED ]
/usr/rc.d/S45hosts: Could not find
/etc/network/network.conf
[ /usr/rc.d/S45hosts FAILED ]
iptables v1.2.3: Couldn't load target
`MASQUERADE':/lib/iptables/libipt_MASQUERADE.so:
cannot open shared object file: No such file or
directory

Try `iptables -h' or 'iptables --help' for more
information.
[ /usr/rc.d/S50iptables FAILED ]
IP forwarding started
open /etc/inittab: No such file or directoryKernel
panic: Attempted to kill init!




--- Peter Kjellerstedt <peter.kjellerstedt@xxxxxxx.com>
wrote:
> Try this ptable instead (note the difference in 
> size for the rescue partition, and the rw setting
> for flash1):
> 
> [ptable]
> # name size     rw-options  type      image-file
> rescue 0x020000 ro          rescue    rescue.img
> flash1 0x2e0000 ro          kernel    flash1.img
> flash2 0x100000 rw          jffs      flash2.img
> 
> //Peter
> 
> > -----Original Message-----
> > From: axis [mailto:axis2list@xxxxxxx.com] 
> > Sent: 12 February 2004 14:55
> > To: Peter Kjellerstedt
> > Subject: Re: [bluetooth-dev] RE: Cannot open root
> device 
> > "mtdblock3"..!
> > 
> > Sir,
> >      The requested files are attached and with the
> > following ptablespec file I was able to boot from
> > RAM(using ktest),but not from Flash (using
> flashit).
> > 
> > [ptable]
> > # name size     rw-options  type      image-file
> > rescue 0x010000 ro          rescue    rescue.img
> > flash1 0x3a0000 rw          kernel    flash1.img
> > flash2 0x050000 rw          jffs      flash2.img
> > 
> >     I also tried with the following
> ptablespec(which
> > seems to be on axis point)but still no sucess.
> > 
> > [ptable]
> > # name size     rw-options  type      image-file
> > rescue 0x010000 ro          rescue    rescue.img
> > flash1 0x2e0000 rw          kernel    flash1.img
> > flash2 0x100000 rw          jffs      flash2.img
> > 
> >     Could you please tell me the possible problem
> ? If
> > you need any further information I can provide any
> > time.
> > Thank you.   
> > 
> > 
> > --- Peter Kjellerstedt
> <peter.kjellerstedt@xxxxxxx.com>
> > wrote:
> > > The problem seems to be that no partition table
> was
> > > found,
> > > but to be able to analyze the problem further we
> > > need some
> > > more information. Can you please provide the
> > > following:
> > > 
> > > * The kernelconfig file that was used to build
> the
> > > kernel.
> > > * The output from 'make files && make images'.
> > > * Whether this was a boot from flash or ram.
> > > 
> > > //Peter
> > > 
> > > > -----Original Message-----
> > > > From: axis [mailto:axis2list@xxxxxxx.com] 
> > > > Sent: 12 February 2004 12:25
> > > > To: Peter Kjellerstedt
> > > > Cc: Bluetooth-dev
> > > > Subject: VFS: Cannot open root device
> > > "mtdblock3"..!
> > > > 
> > > > 
> > > > Sir,
> > > >     I tried to add a serial port to see the
> debug
> > > > about why Iam not able to boot and the
> following
> > > is
> > > > the error
> > > > 
> > > > VFS: Cannot open root device "mtdblock3" or
> 1f:03
> > > > Please append a correct "root=" boot option
> > > > Kernel panic: VFS: Unable to mount root fson
> 1f:03
> > > >     Sorry for bothering you again,but what
> could
> > > be
> > > > the correct parameters for this and where
> should I
> > > > specify this before compiling ?
> > > >     And Iam just exploring "etrax100boot" and
> > > looking
> > > > for some docs regarding this.
> > > >     Hope to hear from you regarding this if
> > > possible.
> > > > Thank You.
> > > > 
> > > >  &#65533;ncompressing Linux...
> > > > Done. Now booting the kernel.
> > > > Linux version 2.4.19
> (root@xxxxxxx.com)
> > > (gcc
> > > > version 296 Axis release R46/1.25) #39 Wed Jan
> 7
> > > > 16:35:56 CET 2004
> > > > Setting up paging and the MMU.
> > > > On node 0 totalpages: 2048
> > > > zone(0): 2048 pages.
> > > > zone(1): 0 pages.
> > > > zone(2): 0 pages.
> > > > Linux/CRIS port on ETRAX 100LX (c) 2001, 2002
> Axis
> > > > Communications AB
> > > > Kernel command : root=/dev/mtdbock3
> > > > Enabling watchdog...
> > > > Calibrating delay loop... 99.73 BogoMIPS
> > > > Memory: 14640k/16384k available (1003k kernel
> > > code,
> > > > 1744k reserved, 403k data, 40k init)
> > > > kmem_create: Forcing size word alignment -
> > > mm_struct
> > > > kmem_create: Forcing size word alignment -
> filp
> > > > Dentry cache hash table entries: 2048 (order:
> 1,
> > > 16384
> > > > bytes)
> > > > Inode cache hash table entries: 1024 (order:
> 0,
> > > 8192
> > > > bytes)
> > > > kmem_create: Forcing size word alignment -
> > > inode_cache
> > > > Mount-cache hash table entries: 1024 (order:
> 0,
> > > 8192
> > > > bytes)
> > > > kmem_create: Forcing size word alignment -
> > > bdev_cache
> > > > kmem_create: Forcing size word alignment -
> > > cdev_cache
> > > > Buffer-cache hash table entries: 2048 (order:
> 0,
> > > 8192
> > > > bytes)
> > > > Page-cache hash table entries: 2048 (orde0,
> 8192
> > > > bytes)
> > > > POSIX conformancsting by UNIFIX
> > > > Linux NET4.0 for Linux 2.4
> > > > Based upon Swansea University Computer Society
> > > > NET3.039
> > > > kmem_create: Forcing size word alignment -
> sock
> > > > Initializing RT netlink socket
> > > > Starting kswapd
> > > > kmem_create: Forcing size word alignment -
> file
> > > lock
> > > > cache
> > > > JFFS version 1.0, (C) 1999, 2000  Axis
> > > Communications
> > > > AB
> > > > kmem_create: Forcing size word alignment -
> > > jffs_node
> > > > Bluetooth Driver v1.3, Copyright (c) 2000,
> 2001,
> > > 2002
> > > > Axis Communications AB
> > > > BT SYS: Bluetooth driver registered as ttyBT
> > > > BT SYS: Bluetooth liniscipline registered.
> > > > BT SYS: Registering BT proc files
> > > > Proc entry registered
> > > > BT SYS: Bluetooth er Using ttyBT[0-6] (data),
> > > ttyBTC
> > > > (ctrl [7])
> > > > BNEP driver v0.1 (c) 2002 Axis Communications
> AB
> > > > bnep0 initialized
> > > > bnep1 initialized
> > > > bnep2 initialized
> > > > bnep3 initialized
> > > > bnep4 initiald
> > > > bnep5 initialized
> > > > bnep6 initialized
> > > > kmem_create: Forcing size word alignment -
> > > > blkdev_requests
> > > > PPP generic drivr version 2.4.2
> > > > PPP Deflate Compression module registered
> > > > ETRAX 100LX 10/100MBit ethernet v2.0 (c)
> 2000-2001
> > > > Axis Communications AB
> > > > eth0 initialized
> > > > eth0: changed MAC to 00:40:8C:CD:00:00
> > > > ETRAX 100LX serial-driver 1.40 $, (c)
> 2000-2002
> 
=== message truncated ===


__________________________________
Do you Yahoo!?
Yahoo! Finance: Get your refund fast by filing online.
http://taxes.yahoo.com/filing.html
-
To unsubscribe from this list: send the line "unsubscribe bluetooth-dev" in
the body of a message to majordomo@xxxxxxx.com