Hi, I have an gpe-image with me and have mounted using -o loop option and have taken a tar of mounted point and have created a jffs2 filesystem using mkjffs2 utility. I have flashed the kernel from Kernel --> 0x40000 FileSystem --> 0x240000 Mtd Partions are : 0x00000000-0x00020000 : "bootloader" 0x00020000-0x00040000 : "params" 0x00040000-0x00240000 : "kernel" 0x00240000-0x02000000 : "filesystem" The Problem is as soon as i have flashed it and the board is swithed on again.when i boot it i get the 'X' mark on the screen On the minicom I get the Starting GPE display manager: gpe-dm and nothing happens. if i start the gpe-dm again manually. nothing happens. What i do is when i start the X server again manually. Then i get a message saying /tmp/.X0-lock exists and X Server cannot start. When i remove it and start gpe-dm it does not work. So, i started the X Server again and killed it and then started gpe-dm again. Then only it Works ?. I dont know what is the problem. I checked in my rootfs which was tarred and the /tmp directory is empty. What is the Problem ?. I dont understand. Once the Image Comes up and if i make a few changes and then reboot. Again the gpe-dm does not work ?. Has any one faced this problem before. Please Advice. I am appending my minicom output here. What could be the Problem. Please Advice. This happens if i make an jffs2 and flash it. I am sure the file system /tmp has no .X0-lock file when it booting. I have the above sequence many times. it happens always. I have also tried with 3 different TI OMAP 5912 boards and it happens everytime. Regards, Ram calSystem sriram]$ cat minicom.log U-Boot 2.1.2 (Apr 14 2005 - 14:25:18) U-Boot code: 11080000 -> 11096A58 BSS: -> 1109B004 RAM Configuration: Bank #0: 10000000 32 MB Micron StrataFlash MT28F128J3 device initialized Flash: 32 MB In: serial Out: serial Err: serial Hit any key to stop autoboot: 0 ## Booting image at 00040000 ... Image Name: Linux Kernel Image Type: ARM Linux Kernel Image (gzip compressed) Data Size: 994502 Bytes = 971.2 kB Load Address: 10c08000 Entry Point: 10c08000 Verifying Checksum ... OK Uncompressing Kernel Image ... OK Starting kernel ... Uncompressing Linux................................................................... done, booting the kernel. Linux version 2.6.12-rc2-omap1 (sriram@ajayalab) (gcc version 3.4.4 (release) (CodeSourcery ARM Q1cvs 2005)) #1 Tue Jun 28 25CPU: ARM926EJ-Sid(wt) [41069263] revision 3 (ARMv5TEJ) CPU0: D VIVT write-back cache CPU0: I cache: 16384 bytes, associativity 4, 32 byte lines, 128 sets CPU0: D cache: 8192 bytes, associativity 4, 32 byte lines, 64 sets Machine: TI-OSK Memory policy: ECC disabled, Data cache writethrough OMAP1611b revision 2 handled as 16xx id: 88058c80eb01160e Built 1 zonelists Kernel command line: mem=30M console=ttyS0,115200n8 rw ip=on root=/dev/mtdblock3 rootfstype=jffs2 noinitrd Total of 128 interrupts in 4 interrupt banks OMAP GPIO hardware version 1.0 MUX: initialized M7_1610_GPIO62 PID hash table entries: 128 (order: 7, 2048 bytes) Console: colour dummy device 80x30 Dentry cache hash table entries: 4096 (order: 2, 16384 bytes) Inode-cache hash table entries: 2048 (order: 1, 8192 bytes) Memory: 30MB = 30MB total Memory: 28228KB available (1695K code, 350K data, 100K init) Mount-cache hash table entries: 512 CPU: Testing write buffer coherency: ok NET: Registered protocol family 16 OMAP DMA hardware version 1 DMA capabilities: 000c0000:00000000:01ff:003f:007f Initializing OMAP McBSP system USB: hmc 16, usb0 2 wires OMAP I2C: Driver ver. 1.3 tps65010: version 20 Jan 2005 MUX: initialized N14_1610_UWIRE_CS0 MUX: initialized N15_1610_UWIRE_CS1 OMAP OCPI interconnect driver loaded NetWinder Floating Point Emulator V0.97 (double precision) JFFS2 version 2.2. © 2001-2003 Red Hat, Inc. rtc: RTC power up reset detected. rtc: Enabling RTC. Real Time Clock Driver v1.0 Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing disabled ttyS0 at MMIO 0xfffb0000 (irq = 46) is a ST16654 io scheduler noop registered io scheduler anticipatory registered io scheduler deadline registered io scheduler cfq registered RAMDISK driver initialized: 16 RAM disks of 8192K size 1024 blocksize loop: loaded (max 8 devices) PPP generic driver version 2.4.2 smc91x.c: v1.1, sep 22 2004 by Nicolas Pitre eth0: SMC91C94 (rev 9) at c2052300 IRQ 160 [nowait] eth0: Ethernet addr: 00:0e:99:02:02:2e i2c /dev entries driver omapflash.0: Found 1 x16 devices at 0x0 in 16-bit bank omapflash.0: Found 1 x16 devices at 0x1000000 in 16-bit bank Intel/Sharp Extended Query Table at 0x0031 Using buffer write method cfi_cmdset_0001: Erase suspend on write enabled Creating 4 MTD partitions on "omapflash.0": 0x00000000-0x00020000 : "bootloader" 0x00020000-0x00040000 : "params" 0x00040000-0x00240000 : "kernel" 0x00240000-0x02000000 : "filesystem" mice: PS/2 mouse device common for all mice OMAP Keypad Driver MUX: initialized P20_1610_GPIO4 OMAP touchscreen driver initialized NET: Registered protocol family 2 IP: routing cache hash table of 512 buckets, 4Kbytes TCP established hash table entries: 1024 (order: 1, 8192 bytes) TCP bind hash table entries: 1024 (order: 0, 4096 bytes) TCP: Hash tables configured (established 1024 bind 1024) NET: Registered protocol family 1 eth0: link up IP-Config: Incomplete network configuration information. VFS: Mounted root (jffs2 filesystem). Freeing init memory: 100K INIT: version 2.86 booting Using /lib/modules/2.6.12-rc2-omap1/kernel/drivers/video/fb.ko Using /lib/modules/2.6.12-rc2-omap1/kernel/drivers/video/softcursor.ko Using /lib/modules/2.6.12-rc2-omap1/kernel/drivers/video/cfbfillrect.ko Using /lib/modules/2.6.12-rc2-omap1/kernel/drivers/video/cfbimgblt.ko Using /lib/modules/2.6.12-rc2-omap1/kernel/drivers/video/cfbcopyarea.ko Using /lib/modules/2.6.12-rc2-omap1/kernel/drivers/video/omap/omapfb.ko omapfb: configured for panel osk OMAP LCD controller initialized. MUX: initialized PWL OMAP framebuffer initialized vram=262144 Setting up IP spoofing protection: rp_filter. Configuring network interfaces... done. Nothing to be done INIT: Entering runlevel: 5 Starting system message bus: Failed to start message bus: The pid file "/var/run/messagebus.pid" exists, if the message bus eStarting irattach: . Starting syslogd/klogd: done Running ntpdate to synchronize clock. Starting at daemon: atd. Starting GPE display manager: gpe-dm OpenEmbedded Linux omap5912osk ttyS0 omap5912osk login: root root@omap5912osk:~# ps -l PID Uid VmSize Stat Command 1 root 508 S init [5] 2 root SWN [ksoftirqd/0] 3 root SW< [events/0] 4 root SW< [khelper] 9 root SW< [kthread] 20 root SW< [kblockd/0] 60 root SW [pdflush] 61 root SW [pdflush] 63 root SW< [aio/0] 647 root SW [kseriod] 695 root SW [mtdblockd] 62 root SW [kswapd0] 811 root 616 S /usr/libexec/inetd /etc/inetd.conf 914 root SWN [jffs2_gcd_mtd3] 1029 root 580 S /sbin/syslogd -n -C 64 -m 20 1031 root 544 S /sbin/klogd -n 1054 root 392 S /usr/sbin/atd /var/spool/at 1057 root 544 S /usr/bin/gpe-dm 1061 root 772 S -sh 1062 root 500 S /sbin/getty 38400 tty1 1168 root 616 S Xfbdev -dpi 100 -br -pn :0 -noreset 1169 root 552 S run-parts /etc/X11/Xinit.d 1196 root 2224 R /usr/bin/gpe-login 1198 root 684 R ps -l [At this Point Nothing Happens; Even thought the X Server is Up and can see gpe-login After a few seconds X Server dies by itself ? ] root@omap5912osk:~# ps -l PID Uid VmSize Stat Command 1 root 508 S init [5] 2 root SWN [ksoftirqd/0] 3 root SW< [events/0] 4 root SW< [khelper] 9 root SW< [kthread] 20 root SW< [kblockd/0] 60 root SW [pdflush] 61 root SW [pdflush] 63 root SW< [aio/0] 647 root SW [kseriod] 695 root SW [mtdblockd] 62 root SW [kswapd0] 811 root 616 S /usr/libexec/inetd /etc/inetd.conf 914 root SWN [jffs2_gcd_mtd3] 1029 root 580 S /sbin/syslogd -n -C 64 -m 20 1031 root 544 S /sbin/klogd -n 1054 root 392 S /usr/sbin/atd /var/spool/at 1061 root 884 S -sh 1062 root 500 S /sbin/getty 38400 tty1 1200 root 684 R ps -l root@omap5912osk:~# ls -l /tmp/ srwxr-xr-x 1 root root 0 Jun 28 2005 dbus-yX0Kh8Gpb0 drwxr-xr-x 3 root root 0 Jun 28 2005 locale root@omap5912osk:~# /etc/init.d/gpe-dm start Starting GPE display manager: gpe-dm [Nothing Happens now] root@omap5912osk:~# ps -l PID Uid VmSize Stat Command 1 root 508 S init [5] 2 root SWN [ksoftirqd/0] 3 root SW< [events/0] 4 root SW< [khelper] 9 root SW< [kthread] 20 root SW< [kblockd/0] 60 root SW [pdflush] 61 root SW [pdflush] 63 root SW< [aio/0] 647 root SW [kseriod] 695 root SW [mtdblockd] 62 root SW [kswapd0] 811 root 616 S /usr/libexec/inetd /etc/inetd.conf 914 root SWN [jffs2_gcd_mtd3] 1029 root 580 S /sbin/syslogd -n -C 64 -m 20 1031 root 544 S /sbin/klogd -n 1054 root 392 S /usr/sbin/atd /var/spool/at 1061 root 900 S -sh 1062 root 500 S /sbin/getty 38400 tty1 1298 root 684 R ps -l root@omap5912osk:~# Xfbdev & root@omap5912osk:~# ps PID Uid VmSize Stat Command 1 root 508 S init [5] 2 root SWN [ksoftirqd/0] 3 root SW< [events/0] 4 root SW< [khelper] 9 root SW< [kthread] 20 root SW< [kblockd/0] 60 root SW [pdflush] 61 root SW [pdflush] 63 root SW< [aio/0] 647 root SW [kseriod] 695 root SW [mtdblockd] 62 root SW [kswapd0] 811 root 616 S /usr/libexec/inetd /etc/inetd.conf 914 root SWN [jffs2_gcd_mtd3] 1029 root 580 S /sbin/syslogd -n -C 64 -m 20 1031 root 544 S /sbin/klogd -n 1054 root 392 S /usr/sbin/atd /var/spool/at 1061 root 900 S -sh 1062 root 500 S /sbin/getty 38400 tty1 1299 root 592 S Xfbdev 1300 root 684 R ps root@omap5912osk:~# Fatal server error: Server is already active for display 0 If this server is no longer running, remove /tmp/.X0-lock and start again. [1] + Done(1) Xfbdev [ I have started the X Server and it complains a lock file exists and i remove it manually] root@omap5912osk:~# root@omap5912osk:~# root@omap5912osk:~# rn /tmp/.X /tmp/.X0-lock /tmp/.X11-unix/ root@omap5912osk:~# cat /tmp/.X0-lock 1061 root@omap5912osk:~# rm /tmp/.X0-lock root@omap5912osk:~# Xfbdev & root@omap5912osk:~# _XSERVTransSocketOpenCOTSServer: Unable to open socket for inet6 _XSERVTransOpen: transport open failed for inet6/omap5912osk:0 _XSERVTransMakeAllCOTSServerListeners: failed to open listener for inet6 Could not init font path element /usr/lib/X11/fonts/misc, removing from list! Could not init font path element /usr/lib/X11/fonts/100dpi, removing from list! Could not init font path element /usr/lib/X11/fonts/75dpi, removing from list! root@omap5912osk:~# ls ramdisk root@omap5912osk:~# /etc/init.d/gpe-dm start Starting GPE display manager: gpe-dm root@omap5912osk:~# Could not init font path element /usr/lib/X11/fonts/misc, removing from list! Could not init font path element /usr/lib/X11/fonts/100dpi, removing from list! Could not init font path element /usr/lib/X11/fonts/75dpi, removing from list! Could not init font path element /usr/lib/X11/fonts/misc, removing from list! Could not init font path element /usr/lib/X11/fonts/100dpi, removing from list! Could not init font path element /usr/lib/X11/fonts/75dpi, removing from list! Could not init font path element /usr/lib/X11/fonts/misc, removing from list! Could not init font path element /usr/lib/X11/fonts/100dpi, removing from list! Could not init font path element /usr/lib/X11/fonts/75dpi, removing from list! Could not init font path element /usr/lib/X11/fonts/misc, removing from list! Could not init font path element /usr/lib/X11/fonts/100dpi, removing from list! Could not init font path element /usr/lib/X11/fonts/75dpi, removing from list! Could not init font path element /usr/lib/X11/fonts/misc, removing from list! Could not init font path element /usr/lib/X11/fonts/100dpi, removing from list! Could not init font path element /usr/lib/X11/fonts/75dpi, removing from list! Could not init font path element /usr/lib/X11/fonts/misc, removing from list! Could not init font path element /usr/lib/X11/fonts/100dpi, removing from list! Could not init font path element /usr/lib/X11/fonts/75dpi, removing from list! Could not init font path element /usr/lib/X11/fonts/misc, removing from list! Could not init font path element /usr/lib/X11/fonts/100dpi, removing from list! Could not init font path element /usr/lib/X11/fonts/75dpi, removing from list! Could not init font path element /usr/lib/X11/fonts/misc, removing from list! Could not init font path element /usr/lib/X11/fonts/100dpi, removing from list! Could not init font path element /usr/lib/X11/fonts/75dpi, removing from list! Could not init font path element /usr/lib/X11/fonts/misc, removing from list! Could not init font path element /usr/lib/X11/fonts/100dpi, removing from list! Could not init font path element /usr/lib/X11/fonts/75dpi, removing from list! Could not init font path element /usr/lib/X11/fonts/misc, removing from list! Could not init font path element /usr/lib/X11/fonts/100dpi, removing from list! Could not init font path element /usr/lib/X11/fonts/75dpi, removing from list! Could not init font path element /usr/lib/X11/fonts/misc, removing from list! Could not init font path element /usr/lib/X11/fonts/100dpi, removing from list! Could not init font path element /usr/lib/X11/fonts/75dpi, removing from list! Could not init font path element /usr/lib/X11/fonts/misc, removing from list! Could not init font path element /usr/lib/X11/fonts/100dpi, removing from list! Could not init font path element /usr/lib/X11/fonts/75dpi, removing from list! [Some times, i get the init font path element messages and some times i dont]