On Sat, 15 May 2010, Balaji Ravindran wrote:
> Hi all,
>
> I tried to login using root, in the debian based linux which i downloaded
> from ts website, and i do NFS mount. Seems like everythings in place, and
> when i try to login, it says Login failed. Any Ideas what i did wrong? Funny
> thing is, it didn't ask for password, and i checked the /etc/passwd file in
> the NFS root directory, and i see a entry for root.
I suspect that /dev/ttyAM0 is not in the /etc/securetty file.
This defines devices that allow root login.
>
> *Logs*
> *
> *
> *
> *
> *Console*
> *
> *
> *
> Platform: TS-7200 Board (ARM920T) Rev A
>
> Copyright (C) 2000, 2001, 2002, 2003, 2004 Red Hat, Inc.
>
>
>
> RAM: 0x00000000-0x02000000, [0x00044f88-0x01fdd000] available
>
> FLASH: 0x60000000 - 0x60800000, 64 blocks of 0x00020000 bytes each.
>
> == Executing boot script in 1.000 seconds - enter ^C to abort
>
> RedBoot> load -r -v -b 0x00218000 -h 192.168.0.45 vmlinux
>
> Using default protocol (TFTP)
>
> |
>
> Raw file loaded 0x00218000-0x003a6c97, assumed entry at 0x00218000
>
> RedBoot>
>
> RedBoot>
>
> RedBoot>
>
> RedBoot>
>
> RedBoot> exec -c "console=ttyAM0,115200 ip=192.168.0.50
> nfsroot=192.168.0.45:/home/balaji/nfs/ts7200/mnt"
> Using base address 0x00218000 and length 0x0018ec98
>
> Uncompressing
> Linux.............................................................
> Linux version 2.6.29-ts (gcc version 3.4.4 (release)
> (C0
> CPU: ARM920T [41129200] revision 0 (ARMv4T), cr=40007177
>
> CPU: VIVT data cache, VIVT instruction cache
>
> Machine: Technologic Systems TS-72xx SBC
>
> Memory policy: ECC disabled, Data cache writeback
>
> Built 1 zonelists in Zone order, mobility grouping on. Total pages: 8016
>
> Kernel command line: console=ttyAM0,115200 ip=192.168.0.50
> nfsroot=192.168.0.45t
> PID hash table entries: 128 (order: 7, 512 bytes)
>
> Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
>
> Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
>
> Memory: 8MB 8MB 8MB 8MB = 32MB total
>
> Memory: 29132KB available (2912K code, 210K data, 116K init)
>
> Calibrating delay loop... 99.73 BogoMIPS (lpj=498688)
>
> Mount-cache hash table entries: 512
>
> CPU: Testing write buffer coherency: ok
>
> net_namespace: 760 bytes
>
> NET: Registered protocol family 16
>
> ep93xx: PLL1 running at 400 MHz, PLL2 at 192 MHz
>
> ep93xx: FCLK 200 MHz, HCLK 100 MHz, PCLK 50 MHz
>
> bio: create slab <bio-0> at 0
>
> NET: Registered protocol family 2
>
> IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
>
> TCP established hash table entries: 1024 (order: 1, 8192 bytes)
>
> TCP bind hash table entries: 1024 (order: 2, 20480 bytes)
>
> TCP: Hash tables configured (established 1024 bind 1024)
>
> TCP reno registered
>
> NET: Registered protocol family 1
>
> NetWinder Floating Point Emulator V0.97 (extended precision)
>
> JFFS2 version 2.2. (NAND) ???? 2001-2006 Red Hat, Inc.
>
> JFS: nTxBlock = 227, nTxLock = 1820
>
> msgmni has been set to 56
>
> alg: No test for stdrng (krng)
>
> io scheduler noop registered
>
> io scheduler deadline registered (default)
>
> Serial: AMBA driver
>
> apb:uart1: ttyAM0 at MMIO 0x808c0000 (irq = 52) is a AMBA
>
> console [ttyAM0] enabled
>
> apb:uart2: ttyAM1 at MMIO 0x808d0000 (irq = 54) is a AMBA
>
> apb:uart3: ttyAM2 at MMIO 0x808e0000 (irq = 55) is a AMBA
>
> brd: module loaded
>
> ep93xx-eth version 0.11 loading
>
> eth0 (): not using net_device_ops yet
>
> ep93xx_mii_bus: probed
>
> Generic PHY 0:01: PHY supports MII frame preamble suppression
>
> net eth0: attached PHY driver [Generic PHY] (mii_bus:phy_addr=0:01, irq=-1)
>
> net eth0: ep93xx on-chip ethernet, IRQ 39, 00:d0:69:41:1c:71
>
> physmap platform flash device: 01000000 at 60000000
>
> physmap-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
>
> cmdlinepart partition parsing not available
>
> RedBoot partition parsing not available
>
> rtc-m48t86 rtc-m48t86: rtc core: registered m48t86 as rtc0
>
> rtc-m48t86 rtc-m48t86: battery exhausted
>
> ep93xx_wdt: EP93XX watchdog, driver version 0.3
>
> ts72xx_wdt: cannot register miscdev on minor=130 (err=-16)
>
> ts72xx-wdt: probe of ts72xx-wdt failed with error -16
>
> TCP cubic registered
>
> NET: Registered protocol family 10
>
> NET: Registered protocol family 17
>
> NET: Registered protocol family 15
>
> RPC: Registered udp transport module.
>
> RPC: Registered tcp transport module.
>
> rtc-m48t86 rtc-m48t86: hctosys: invalid date/time
>
> IP-Config: Guessing netmask 255.255.255.0
>
> IP-Config: Complete:
>
> device=eth0, addr=192.168.0.50, mask=255.255.255.0, gw=255.255.255.255,
>
> host=192.168.0.50, domain=, nis-domain=(none),
>
> bootserver=255.255.255.255, rootserver=192.168.0.45, rootpath=
>
> Looking up port of RPC 100003/2 on 192.168.0.45
>
> Looking up port of RPC 100005/1 on 192.168.0.45
>
> VFS: Mounted root (nfs filesystem) on device 0:11.
>
> Freeing init memory: 116K
>
> PHY: 0:01 - Link is Up - 100/Full
>
> modprobe: FATAL: Could not open 'kernel/drivers/serial/8250.ko': No such
> file oy
>
>
> INIT: version 2.86 booting
>
> Cleaning up ifupdown...done.
>
> Loading kernel modules...done.
>
> Checking all file systems...
>
> fsck 1.37 (21-Mar-2005)
>
> ... done.
>
> Setting up networking...done.
>
> Setting up IP spoofing protection: rp_filter.
>
> Enabling packet forwarding...done.
>
> Configuring network interfaces...done.
>
> Starting portmap daemon: portmap.
>
> Starting portmapper...Mounting remote filesystems...
>
> Recovering nvi editor sessions... done.
>
> Starting the hotplug events dispatcher: udevd.
>
> Synthesizing the initial hotplug events...done.
>
> Waiting for /dev to be fully populated...done.
>
> INIT: Entering runlevel: 3
>
> Starting system log daemon: syslogd.
>
> Starting kernel log daemon: klogd.
>
> Warning: World-writable config file '/etc/mysql/my.cnf' is ignored
>
> Starting portmap daemon: portmap.
>
> Starting internet superserver: inetd.
>
> Starting OpenBSD Secure Shell server: sshd.
>
> Starting NFS common utilities: statd.
>
> Starting periodic command scheduler: cron.
>
> Starting web server (apache2)....
>
>
>
> Debian GNU/Linux 3.1 ts7800 ttyAM0
>
>
>
> ts7800 login: root
>
> Login incorrect
>
>
>
> ts7800 login:
> *
>