Hi,
One possibility of this happening is when you forget the chown -R
<working directory> for the corresponding users.
This especially happens if you switch between root and <user>
frequently.
Try chowning the rootfs to the appropriate user once again.
Hope this may land up in some clue.
Cheers,
Deepak
________________________________
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On
Behalf Of Ngo Hai Bac
Sent: Monday, November 24, 2008 2:04 PM
To: [email protected]
Subject: TMS320DM355 DVEVM: Login problem
Hi every one,
I am having a problem that I can not login the target board as root
user, it always responds "login incorrect". I tried to open file
/etc/passwd and /etc/shadow and sure that the root user has no password.
I am using boot mode via TFTP using NFS file system and I also upgraded
the target to the newest version 5.0.0.0 and file system also. You can
see on the console:
192.168.1.105 login: Chip initialization passed!
TI UBL Version: 1.30
Booting Catalog Boot Loader
BootMode = NAND
Starting NAND Copy...
Valid MagicNum found.
DONE
Jumping to entry point at 0x81080000.
U-Boot 1.2.0 (Feb 2 2008 - 23:52:10)
DRAM: 128 MB
NAND: NAND device: Manufacturer ID: 0x2c, Chip ID: 0xd3 (Micron NAND
1GiB 3,3V 8-bit)
Bad block table found at page 524224, version 0x01
Bad block table found at page 524160, version 0x01
NAND device: Manufacturer ID: 0x2c, Chip ID: 0xd3 (Micron NAND 1GiB 3,3V
8-bit)
Bad block table found at page 524224, version 0x01
Bad block table found at page 524160, version 0x01
2048 MiB
In: serial
Out: serial
Err: serial
ARM Clock :- 216MHz
DDR Clock :- 171MHz
Hit any key to stop autoboot: 0
Loading from NAND 1GiB 3,3V 8-bit, offset 0x400000
Image Name: Linux-2.6.18_pro500-davinci_evm-
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 1970200 Bytes = 1.9 MB
Load Address: 80008000
Entry Point: 80008000
## Booting image at 80700000 ...
Image Name: Linux-2.6.18_pro500-davinci_evm-
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 1970200 Bytes = 1.9 MB
Load Address: 80008000
Entry Point: 80008000
Verifying Checksum ... OK
OK
Starting kernel ...
Uncompressing
Linux...................................................................
................................................................. done,.
Linux version 2.6.18_pro500-davinci_evm-arm_v5t_le ([EMAIL PROTECTED])
(gcc version 4.2.0 20070126 (prerelease) (MontaVista 4.2.0-3.0.0.0702771
2007-03-108
CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=00053177
Machine: DaVinci DM355 EVM
Memory policy: ECC disabled, Data cache writeback
DaVinci DM0350 variant 0x0
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
Built 1 zonelists. Total pages: 29696
Kernel command line: console=ttyS0,115200n8 noinitrd ip=dhcp
root=/dev/nfs rw nfsroot=192.168.1.103:/home/ngohaibac/workdir/filesys,
nolock mem=116M
PID hash table entries: 512 (order: 9, 2048 bytes)
Clock event device timer0_0 configured with caps set: 03
Console: colour dummy device 80x30
Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
Memory: 116MB = 116MB total
Memory: 113280KB available (3397K code, 679K data, 172K init)
Security Framework v1.0.0 initialized
Capability LSM initialized
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
NET: Registered protocol family 16
DaVinci: 104 gpio irqs
ch0 default output "COMPOSITE", mode "NTSC"
VPBE Encoder Initialized
LogicPD encoder initialized
SCSI subsystem initialized
usbcore: registered new driver usbfs
usbcore: registered new driver hub
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: 2048 (order: 1, 8192 bytes)
TCP: Hash tables configured (established 4096 bind 2048)
TCP reno registered
VFS: Disk quotas dquot_6.5.1
Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
squashfs: version 3.1 (2006/08/19) Phillip Lougher
JFFS2 version 2.2. (NAND) (C) 2001-2006 Red Hat, Inc.
yaffs Oct 9 2008 05:55:16 Installing.
SGI XFS with no debug enabled
Initializing Cryptographic API
io scheduler noop registered
io scheduler anticipatory registered (default)
LTT : ltt-facilities init
LTT : ltt-facility-core init in kernel
davincifb davincifb.0: dm_osd0_fb: [EMAIL PROTECTED],0 with framebuffer size
1350KB
davincifb davincifb.0: dm_vid0_fb: [EMAIL PROTECTED],0 with framebuffer size
675KB
davincifb davincifb.0: dm_osd1_fb: [EMAIL PROTECTED],0 with framebuffer size
1350KB
davincifb davincifb.0: dm_vid1_fb: [EMAIL PROTECTED],0 with framebuffer size
675KB
DAVINCI-WDT: DaVinci Watchdog Timer: heartbeat 60 sec
Serial: 8250/16550 driver $Revision: 1.90 $ 2 ports, IRQ sharing
disabled
serial8250.0: ttyS0 at MMIO map 0x1c20000 mem 0xfec20000 (irq = 40) is a
16550A
serial8250.0: ttyS1 at MMIO map 0x1c20400 mem 0xfec20400 (irq = 41) is a
16550A
serial8250 serial8250.0: unable to register port at index 2 (IO0
MEM1e06000 IRQ14): -28
RAMDISK driver initialized: 1 RAM disks of 32768K size 1024 blocksize
dm9000 Ethernet Driver
eth0: dm9000 at c785e000,c7860002 IRQ 45 MAC: 00:0e:99:02:c4:06
netconsole: not configured, aborting
Linux video capture interface: v2.00
vpfe vpfe.1: DaVinci v4l2 capture driver V1.0 loaded
Trying to register davinci display video device.
layer=c08eb800,layer->video_dev=c08eb960
Trying to register davinci display video device.
layer=c08eb600,layer->video_dev=c08eb760
davinci_init:DaVinci V4L2 Display Driver V1.0 loaded
ipipe major#: 254, minor# 0
ipipe driver registered
af major#: 253, minor# 0
aew major#: 252, minor# 0
i2c /dev entries driver
nand_davinci nand_davinci.0: Using 4-bit hardware ECC
NAND device: Manufacturer ID: 0x2c, Chip ID: 0xd3 (Unknown NAND 1GiB
3,3V 8-bit)
2 NAND chips detected
nand_davinci_4bit_compare_ecc Too many errors to be corrected!
nand_davinci_4bit_compare_ecc Too many errors to be corrected!
nand_davinci_4bit_compare_ecc Too many errors to be corrected!
nand_davinci_4bit_compare_ecc Too many errors to be corrected!
nand_bbt: ECC error while reading bad block table
nand_davinci_4bit_compare_ecc Too many errors to be corrected!
nand_davinci_4bit_compare_ecc Too many errors to be corrected!
nand_davinci_4bit_compare_ecc Too many errors to be corrected!
nand_davinci_4bit_compare_ecc Too many errors to be corrected!
nand_bbt: ECC error while reading bad block table
Creating 5 MTD partitions on "nand_davinci.0":
0x00000000-0x003c0000 : "bootloader"
0x003c0000-0x00400000 : "params"
0x00400000-0x00800000 : "kernel"
0x00800000-0x20800000 : "filesystem1"
0x20800000-0x80000000 : "filesystem2"
nand_davinci nand_davinci.0: hardware revision: 2.3
dm_spi.0: davinci SPI Controller driver at 0xc7864000 (irq = 42)
use_dma=0
Initializing USB Mass Storage driver...
usbcore: registered new driver usb-storage
USB Mass Storage support registered.
usbcore: registered new driver usbhid
drivers/usb/input/hid-core.c: v2.6:USB HID core driver
musb_hdrc: version 6.0, cppi-dma, host, debug=0
musb_hdrc musb_hdrc: No DMA interrupt line
musb_hdrc: USB Host mode controller at c7866000 using DMA, IRQ 12
musb_hdrc musb_hdrc: MUSB HDRC host driver
musb_hdrc musb_hdrc: new USB bus registered, assigned bus number 1
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
mice: PS/2 mouse device common for all mice
davinci-mmc davinci-mmc.0: Supporting 4-bit mode
davinci-mmc davinci-mmc.0: Using DMA mode
davinci-mmc davinci-mmc.1: Supporting 4-bit mode
davinci-mmc davinci-mmc.1: Using DMA mode
Advanced Linux Sound Architecture Driver Version 1.0.12rc1 (Thu Jun 22
13:55:50 2006 UTC).
ASoC version 0.13.1
AIC3X Audio Codec 0.1
asoc: aic3x <-> davinci-i2s mapping ok
ALSA device list:
#0: DaVinci DM355 EVM (aic3x)
IPv4 over IPv4 tunneling driver
TCP bic registered
NET: Registered protocol family 1
NET: Registered protocol family 17
Time: timer0_1 clocksource has been installed.
Clock event device timer0_0 configured with caps set: 08
Switched to high resolution mode on CPU 0
eth0: link down
Sending DHCP requests .<6>eth0: link up, 100Mbps, full-duplex, lpa
0x41E1
.., OK
IP-Config: Got DHCP answer from 192.168.1.1, my address is 192.168.1.105
IP-Config: Complete:
device=eth0, addr=192.168.1.105, mask=255.255.255.0,
gw=192.168.1.1,
host=192.168.1.105, domain=, nis-domain=(none),
bootserver=192.168.1.1, rootserver=192.168.1.103, rootpath=
Looking up port of RPC 100003/2 on 192.168.1.103
Looking up port of RPC 100005/1 on 192.168.1.103
VFS: Mounted root (nfs filesystem).
Freeing init memory: 172K
INIT: Entering runlevel: 3
Starting system log daemon: syslogd klogd.
Starting NFS common utilities: statd.
Starting internet superserver: inetd.
Starting OpenBSD Secure Shell server: sshd/var/empty/sshd must be owned
by root and not group or world-writable.
failed (255: ).
MontaVista(R) Linux(R) Professional Edition 5.0.0 (0801921)
192.168.1.105 login: root
Login incorrect
192.168.1.105 login:
And the following lines are the environment variables:
baudrate=115200
nfspath=home/ngohaibac/workdir/fielsys
rootpath=/home/ngohaibac/workdir/filesys
dns1=220.68.64.1
bootdelay=5
gateway=192.168.1.1
filesize=1e1058
fileaddr=80700000
gatewayip=192.168.1.1
netmask=255.255.255.0
ipaddr=192.168.1.105
bootcm=dhcp;bootm
bootfile=uImage-dm355
nfshost=192.168.1.103
serverip=192.168.1.103
bootargs=console=ttyS0,115200n8 noinitrd ip=dhcp root=/dev/nfs rw
nfsroot=192.168.1.103:/home/ngohaibac/workdir/filesys, nolock mem=116M
bootcmd=nboot 0x80700000 0 0x400000; bootm
stdin=serial
stdout=serial
stderr=serial
videostd=ntsc
Thanks and best regards,
---
Hai Bac
Korea University of Technology and Education
BioRobotics Lab
DISCLAIMER:
-----------------------------------------------------------------------------------------------------------------------
The contents of this e-mail and any attachment(s) are confidential and intended
for the named recipient(s) only.
It shall not attach any liability on the originator or HCL or its affiliates.
Any views or opinions presented in
this email are solely those of the author and may not necessarily reflect the
opinions of HCL or its affiliates.
Any form of reproduction, dissemination, copying, disclosure, modification,
distribution and / or publication of
this message without the prior written consent of the author of this e-mail is
strictly prohibited. If you have
received this email in error please delete it and notify the sender
immediately. Before opening any mail and
attachments please check them for viruses and defect.
-----------------------------------------------------------------------------------------------------------------------_______________________________________________
Davinci-linux-open-source mailing list
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source