Kernel is not booting.............

2008-01-28 Thread ManojKwal

Greetings! 

System details: 
Board: DTSP-ARM926Ej-S(new board) 
Cross-toolchain: ELDK4.1 
Linux kernel: 2.6.18 
u-boot: 1.1.6 


I sucessfully port u-boot on board...But when i boot the kernel it
stuck in mid.The complete log is following:




DRM-Engine # bootm 0x8
## Booting image at 0008 ...
   Image Name:   Linux-2.6.18-DRM
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:623896 Bytes = 609.3 kB
   Load Address: 0b008000
   Entry Point:  0b008000
   Verifying Checksum ... OK
OK
No initrd
## Transferring control to Linux (at address 0b008000) ...

Starting kernel ...

Uncompressing Linux... done, booting
the kernel.

   
Linux version 2.6.18-DRM ([EMAIL PROTECTED]) (gcc version 4.0.0
(DENX ELDK 4.1 4.0.0)) #34 Mon Jan 28 17:35:46 KST 2008
CPU: ARM926EJ-S [41069263] revision 3 (ARMv5TEJ), cr=00053177
Machine: DTSP
Memory policy: ECC disabled, Data cache writeback
CPU0: D VIVT write-back cache
CPU0: I cache: 32768 bytes, associativity 4, 32 byte lines, 256 sets
CPU0: D cache: 32768 bytes, associativity 4, 32 byte lines, 256 sets
Built 1 zonelists.  Total pages: 16128
Kernel command line: root=/dev/ram0 mem=63M initrd=0xd00,6M
ramdisk=16384 console=ttyS0,38400 init=/linuxrc
PID hash table entries: 256 (order: 8, 1024 bytes)
Console: colour dummy device 80x30
[cskim]:serial_dtsp_set_termios
[cskim] : [baud,quot] = 38400, 26
Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
Memory: 63MB = 63MB total
Memory: 56448KB available (980K code, 248K data, 68K
init)-->"HERE KERNEL STUCK"




Can anybody help me? I am a beginer on this type of work



Thanks in advance!

Regards
Manoj Khandelwal
Software Engineer

-- 
View this message in context: 
http://www.nabble.com/Kernel-is-not-booting.-tp15132032p15132032.html
Sent from the linux-kernel mailing list archive at Nabble.com.

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


kobject_add failed for tts/0 (-13)-EACCES

2007-12-17 Thread ManojKwal

Greetings! 

System details: 
Board: DTSP-ARM926Ej-S(new board) 
Cross-toolchain: ELDK4.1 
Linux kernel: 2.6.18
u-boot: 1.1.6

I have been able to successfully run u-boot and linux kernel with root file
system but when kernel is start the following error message
come.."kobject_add failed for tts/0 (-13)"
The complete log is following:





U-Boot 1.1.6 (Dec 14 2007 - 19:27:49)

DRAM:  64 MB
*** Warning - bad CRC, using default environment

In:serial
Out:   serial
Err:   serial
Hit any key to stop autoboot:  0 
Flash
## Booting image at 0001 ...
   Image Name:   Linux-2.6.18-DRM
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:627476 Bytes = 612.8 kB
   Load Address: 08008000
   Entry Point:  08008000
   Verifying Checksum ... OK
OK

Starting kernel ...

Uncompressing Linux... done, booting
the kernel.

   
Linux version 2.6.18-DRM ([EMAIL PROTECTED]) (gcc version 4.0.0
(DENX ELDK 4.1 4.0.0)) #18 Fri Dec 14 18:34:58 KST 2007
CPU: ARM926EJ-S [41069263] revision 3 (ARMv5TEJ), cr=00053177
Machine: DTSP
Memory policy: ECC disabled, Data cache writeback
CPU0: D VIVT write-back cache
CPU0: I cache: 32768 bytes, associativity 4, 32 byte lines, 256 sets
CPU0: D cache: 32768 bytes, associativity 4, 32 byte lines, 256 sets
Built 1 zonelists.  Total pages: 16128
Kernel command line: root=/dev/ram0 mem=63M initrd=0xA00,6M
ramdisk=16384 console=ttyS0,38400 init=/linuxrc
PID hash table entries: 256 (order: 8, 1024 bytes)
Console: colour dummy device 80x30
Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
Memory: 63MB = 63MB total
Memory: 56448KB available (984K code, 248K data, 68K 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: 6144K
dtsp_init() - platform_add_device - for serial
NetWinder Floating Point Emulator V0.97 (double precision)
Initializing Cryptographic API
io scheduler noop registered
io scheduler anticipatory registered (default)
io scheduler deadline registered
io scheduler cfq registered
serial_dtsp_init()
serial_dtsp_probe()
dtsp_uart.0: tts/0 at MMIO 0x2020 (irq = 2) is a ttyS
kobject_add failed for tts/0 (-13)
[] (dump_stack+0x0/0x14) from []
(kobject_add+0x168/0x1a4)
[] (kobject_add+0x0/0x1a4) from []
(class_device_add+0x88/0x420)
 r8 = C0114240  r7 = 0CC00040  r6 = C3E11BC0  r5 = C0323440
 r4 = C0323440 
[] (class_device_add+0x0/0x420) from []
(class_device_register+0x1c/0x20)
[] (class_device_register+0x0/0x20) from []
(class_device_create+0x8c/0xc4)
 r4 = C0323440 
[] (class_device_create+0x0/0xc4) from []
(tty_register_device+0xc8/0xe8)
[] (tty_register_device+0x0/0xe8) from []
(uart_add_one_port+0x22c/0x2a0)
 r7 = C011FAE4  r6 = 0002  r5 =   r4 = 6013
[] (uart_add_one_port+0x0/0x2a0) from []
(serial_dtsp_probe+0x40/0x60)
[] (serial_dtsp_probe+0x0/0x60) from []
(platform_drv_probe+0x20/0x24)
 r7 = C011FB84  r6 =   r5 = C0114240  r4 = C0114310
[] (platform_drv_probe+0x0/0x24) from []
(driver_probe_device+0x7c/0xcc)
[] (driver_probe_device+0x0/0xcc) from []
(__driver_attach+0x84/0xe4)
 r7 = C011FB84  r6 = C00E9B08  r5 = C0114240  r4 = C0114310
[] (__driver_attach+0x0/0xe4) from []
(bus_for_each_dev+0x48/0x80)
 r5 = C01FBF18  r4 =  
[] (bus_for_each_dev+0x0/0x80) from []
(driver_attach+0x20/0x28)
 r7 = C011FB98  r6 = C011FEFC  r5 = C011FB84  r4 = 
[] (driver_attach+0x0/0x28) from []
(bus_add_driver+0x6c/0x128)
[] (bus_add_driver+0x0/0x128) from []
(driver_register+0x90/0xa0)
 r8 =   r7 =   r6 = C01FA000  r5 = C00172D8
 r4 = C011FB84 
[] (driver_register+0x0/0xa0) from []
(platform_driver_register+0x6c/0x88)
 r4 =  
[] (platform_driver_register+0x0/0x88) from []
(serial_dtsp_init+0x2c/0x50)
[] (serial_dtsp_init+0x0/0x50) from [] (init+0x88/0x26c)
 r4 = C0017814 
[] (init+0x0/0x26c) from [] (do_exit+0x0/0x814)
 r7 =   r6 =   r5 =   r4 = 
RAMDISK driver initialized: 1 RAM disks of 16384K size 1024 blocksize
mice: PS/2 mouse device common for all mice
RAMDISK: Compressed image found at block 0
VFS: Mounted root (ext2 filesystem).
Freeing init memory: 68K
/etc/init.d/rcS: /etc/init.d/rcS: 2: mount: not found

Please press Enter to activate this console. 


BusyBox v1.1.3 (2007.12.13-08:41+) Built-in shell (ash)
Enter 'help' for a list of built-in commands.
# 




Please help me to sort out this problem. I have very little experience on
this type of work.



Thanks in Advance...

Manoj Khandelwal
Software Engineer

-- 
View this message in context: 
http://www.nabble.com/kobject_add-failed-for-tts-0-%28-13%29-EACCES-tp14384475p14384475.html
Sent from the linux-kernel mailing list archive at Nabble.com.

--
To unsu