[ELDK] about NFS log in

wolfking wolfking2000 at msn.com
Tue Oct 25 02:53:38 CEST 2011


Thanks , Detlev
I also tried to login as "root". But it doesn't work either.
The following is the serial output, please pay attention to the last several lines:
 
 
Speed: 100, full duplex
Using eTSEC1 device
TFTP from server 172.20.100.141; our IP address is 172.20.100.231
Filename 'uImage'.
Load address: 0x1000000
Loading: #################################################################
         #################################################################
         ###########################################################
done
Bytes transferred = 2760654 (2a1fce hex)
Speed: 100, full duplex
Using eTSEC1 device
TFTP from server 172.20.100.141; our IP address is 172.20.100.231
Filename 'mpc8641_hpcn.dtb'.
Load address: 0xc00000
Loading: #
done
Bytes transferred = 11683 (2da3 hex)
WARNING: adjusting available memory to 30000000
## Booting kernel from Legacy Image at 01000000 ...
   Image Name:   Linux-3.1.0-rc9-01512-g827bba2
   Image Type:   PowerPC Linux Kernel Image (gzip compressed)
   Data Size:    2760590 Bytes = 2.6 MiB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
## Flattened Device Tree blob at 00c00000
   Booting using the fdt blob at 0xc00000
   Uncompressing Kernel Image ... OK
   Loading Device Tree to 007fa000, end 007ffda2 ... OK
Using MPC86xx HPCN machine description
Total memory = 1024MB; using 2048kB for hash table (at cfe00000)
Linux version 3.1.0-rc9-01512-g827bba2 (root at tom) (gcc version 4.2.2) #2 SMP Mon Oct 24 11:19:12 CST 2011
CPU maps initialized for 1 thread per core
bootconsole [udbg0] enabled
setup_arch: bootmem
mpc86xx_hpcn_setup_arch()
Found FSL PCI host bridge at 0x00000000ffe08000. Firmware bus number: 0->2
PCI host bridge /pcie at ffe08000 (primary) ranges:
 MEM 0x0000000080000000..0x000000009fffffff -> 0x0000000080000000 
  IO 0x00000000ffc00000..0x00000000ffc0ffff -> 0x0000000000000000
/pcie at ffe08000: PCICSRBAR @ 0xfff00000
Found FSL PCI host bridge at 0x00000000ffe09000. Firmware bus number: 0->0
PCI host bridge /pcie at ffe09000  ranges:
 MEM 0x00000000a0000000..0x00000000bfffffff -> 0x00000000a0000000 
  IO 0x00000000ffc10000..0x00000000ffc1ffff -> 0x0000000000000000
/pcie at ffe09000: PCICSRBAR @ 0xfff00000
MPC86xx HPCN board from Freescale Semiconductor
arch: exit
Zone PFN ranges:
  DMA      0x00000000 -> 0x00030000
  Normal   empty
  HighMem  0x00030000 -> 0x00040000
Movable zone start PFN for each node
early_node_map[1] active PFN ranges
    0: 0x00000000 -> 0x00040000
PERCPU: Embedded 7 pages/cpu @c1003000 s4608 r8192 d15872 u32768
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 260096
Kernel command line: root=/dev/nfs rw nfsroot=172.20.100.141:/opt/eldk/ppc_74xx ip=172.20.100.231:172.20.100.141:172.20.100.237:255.255.255.0:hpcn:eth0:off console=ttyS0,115200
PID hash table entries: 4096 (order: 2, 16384 bytes)
Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
Memory: 1031452k/1048576k available (5360k kernel code, 17124k reserved, 164k data, 149k bss, 216k init)
Kernel virtual memory layout:
  * 0xfffbf000..0xfffff000  : fixmap
  * 0xff800000..0xffc00000  : highmem PTEs
  * 0xff7da000..0xff800000  : early ioremap
  * 0xf1000000..0xff7da000  : vmalloc & ioremap
SLUB: Genslabs=15, HWalign=32, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
Hierarchical RCU implementation.
NR_IRQS:512 nr_irqs:512 16
mpic: Setting up MPIC " MPIC     " version 1.2 at ffe40000, max 2 CPUs
mpic: ISU size: 256, shift: 8, mask: ff
mpic: Initializing for 256 sources
i8259 legacy interrupt controller initialized
clocksource: timebase mult[1aaaaab] shift[22] registered
Console: colour dummy device 80x25
pid_max: default: 32768 minimum: 301
Mount-cache hash table entries: 512
mpic: requesting IPIs...
Brought up 2 CPUs
devtmpfs: initialized
NET: Registered protocol family 16
             
PCI: Probing PCI hardware
pci 0000:00:00.0: ignoring class b20 (doesn't match header type 01)
pci 0000:00:00.0: PCI bridge to [bus 01-ff]
pci 0000:02:1d.0: unsupported PM cap regs version (4)
pci 0000:01:00.0: PCI bridge to [bus 02-ff] (subtractive decode)
pci 0001:03:00.0: ignoring class b20 (doesn't match header type 01)
pci 0001:03:00.0: PCI bridge to [bus 04-ff]
pci 0000:01:00.0: PCI bridge to [bus 02-02]
pci 0000:01:00.0:   bridge window [io  0x1000-0x1fff]
pci 0000:01:00.0:   bridge window [mem 0x80000000-0x800fffff]
pci 0000:00:00.0: PCI bridge to [bus 01-02]
pci 0000:00:00.0:   bridge window [io  0x0000-0xffff]
pci 0000:00:00.0:   bridge window [mem 0x80000000-0x9fffffff]
pci 0001:03:00.0: PCI bridge to [bus 04-04]
pci 0001:03:00.0:   bridge window [io  0xfffee000-0xffffdfff]
pci 0001:03:00.0:   bridge window [mem 0xa0000000-0xbfffffff]
pci 0000:00:00.0: enabling device (0106 -> 0107)
pci 0001:03:00.0: enabling device (0106 -> 0107)
bio: create slab <bio-0> at 0
vgaarb: loaded
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
Advanced Linux Sound Architecture Driver Version 1.0.24.
Switching to clocksource timebase
Switched to NOHz mode on CPU #0
Switched to NOHz mode on CPU #1
NET: Registered protocol family 2
IP route cache hash table entries: 32768 (order: 5, 131072 bytes)
TCP established hash table entries: 131072 (order: 8, 1048576 bytes)
TCP bind hash table entries: 65536 (order: 7, 524288 bytes)
TCP: Hash tables configured (established 131072 bind 65536)
TCP reno registered
UDP hash table entries: 512 (order: 2, 16384 bytes)
UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
NET: Registered protocol family 1
RPC: Registered named UNIX socket transport module.
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
RPC: Registered tcp NFSv4.1 backchannel transport module.
audit: initializing netlink socket (disabled)
type=2000 audit(0.151:1): initialized
highmem bounce pool size: 64 pages
Installing knfsd (copyright (C) 1996 okir at monad.swb.de).
NTFS driver 2.1.30 [Flags: R/O].
msgmni has been set to 1502
io scheduler noop registered
io scheduler deadline registered
io scheduler cfq registered (default)
Serial: 8250/16550 driver, 2 ports, IRQ sharing enabled
serial8250.0: ttyS0 at MMIO 0xffe04500 (irq = 42) is a 16550A
console [ttyS0] enabled, bootconsole disabled
console [ttyS0] enabled, bootconsole disabled
serial8250.0: ttyS1 at MMIO 0xffe04600 (irq = 28) is a 16550A
Generic non-volatile memory driver v1.1
brd: module loaded
loop: module loaded
nbd: registered device at major 43
st: Version 20101219, fixed bufsize 32768, s/g segs 256
ahci 0000:02:1f.1: AHCI 0001.0000 32 slots 4 ports 3 Gbps 0xf impl SATA mode
ahci 0000:02:1f.1: flags: ncq sntf ilck pm led clo pmp pio slum part 
scsi0 : ahci
scsi1 : ahci
scsi2 : ahci
scsi3 : ahci
ata1: SATA max UDMA/133 abar m1024 at 0x80006000 port 0x80006100 irq 5
ata2: SATA max UDMA/133 abar m1024 at 0x80006000 port 0x80006180 irq 5
ata3: SATA max UDMA/133 abar m1024 at 0x80006000 port 0x80006200 irq 5
ata4: SATA max UDMA/133 abar m1024 at 0x80006000 port 0x80006280 irq 5
scsi4 : pata_ali
scsi5 : pata_ali
ata5: PATA max UDMA/133 cmd 0x1200 ctl 0x1208 bmdma 0x1220 irq 14
ata6: PATA max UDMA/133 cmd 0x1210 ctl 0x1218 bmdma 0x1228 irq 14
fsl-gianfar ffe24000.ethernet: eth0: mac: 00:e0:0c:00:00:01
fsl-gianfar ffe24000.ethernet: eth0: Running with NAPI enabled
fsl-gianfar ffe24000.ethernet: eth0: RX BD ring size for Q[0]: 256
fsl-gianfar ffe24000.ethernet: eth0: TX BD ring size for Q[0]: 256
fsl-gianfar ffe25000.ethernet: eth1: mac: 00:e0:0c:00:01:fd
fsl-gianfar ffe25000.ethernet: eth1: Running with NAPI enabled
fsl-gianfar ffe25000.ethernet: eth1: RX BD ring size for Q[0]: 256
fsl-gianfar ffe25000.ethernet: eth1: TX BD ring size for Q[0]: 256
fsl-gianfar ffe26000.ethernet: eth2: mac: 00:e0:0c:00:02:fd
fsl-gianfar ffe26000.ethernet: eth2: Running with NAPI enabled
fsl-gianfar ffe26000.ethernet: eth2: RX BD ring size for Q[0]: 256
fsl-gianfar ffe26000.ethernet: eth2: TX BD ring size for Q[0]: 256
fsl-gianfar ffe27000.ethernet: eth3: mac: 00:e0:0c:00:03:fd
fsl-gianfar ffe27000.ethernet: eth3: Running with NAPI enabled
fsl-gianfar ffe27000.ethernet: eth3: RX BD ring size for Q[0]: 256
fsl-gianfar ffe27000.ethernet: eth3: TX BD ring size for Q[0]: 256
Freescale PowerQUICC MII Bus: probed
Freescale PowerQUICC MII Bus: probed
Freescale PowerQUICC MII Bus: probed
Freescale PowerQUICC MII Bus: probed
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
ehci_hcd 0000:02:1c.3: EHCI Host Controller
ehci_hcd 0000:02:1c.3: new USB bus registered, assigned bus number 1
ehci_hcd 0000:02:1c.3: debug port 1
ehci_hcd 0000:02:1c.3: irq 11, io mem 0x80003000
ata5.00: ATAPI: Optiarc DVD RW AD-7200A, 1.09, max UDMA/66
ata5.00: WARNING: ATAPI DMA disabled for reliability issues.  It can be enabled
ehci_hcd 0000:02:1c.3: USB 2.0 started, EHCI 1.00
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 8 ports detected
ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
ohci_hcd 0000:02:1c.0: OHCI Host Controller
ohci_hcd 0000:02:1c.0: new USB bus registered, assigned bus number 2
ohci_hcd 0000:02:1c.0: irq 12, io mem 0x80000000
ata5.00: WARNING: via pata_ali.atapi_dma modparam or corresponding sysfs node.
ata5.00: configured for UDMA/66
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 3 ports detected
ohci_hcd 0000:02:1c.1: OHCI Host Controller
ohci_hcd 0000:02:1c.1: new USB bus registered, assigned bus number 3
ohci_hcd 0000:02:1c.1: irq 9, io mem 0x80001000
hub 3-0:1.0: USB hub found
hub 3-0:1.0: 3 ports detected
ohci_hcd 0000:02:1c.2: OHCI Host Controller
ohci_hcd 0000:02:1c.2: new USB bus registered, assigned bus number 4
ohci_hcd 0000:02:1c.2: irq 10, io mem 0x80002000
ata1: SATA link down (SStatus 0 SControl 300)
ata4: SATA link down (SStatus 0 SControl 300)
ata3: SATA link down (SStatus 0 SControl 300)
hub 4-0:1.0: USB hub found
hub 4-0:1.0: 3 ports detected
Initializing USB Mass Storage driver...
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
i8042: No controller found
rtc_cmos rtc_cmos: rtc core: registered rtc_cmos as rtc0
rtc_cmos rtc_cmos: only 24-hr supported
mpc-i2c ffe03000.i2c: timeout 1000000 us
mpc-i2c ffe03100.i2c: timeout 1000000 us
usbcore: registered new interface driver usbhid
usbhid: USB HID core driver
intel8x0_measure_ac97_clock: measured 50375 usecs (2432 samples)
intel8x0: clocking to 48000
ata2: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
ALSA device list:
  #0: ALi M5455 with ALC650F at irq 6
IPv4 over IPv4 tunneling driver
TCP cubic registered
Initializing XFRM netlink socket
NET: Registered protocol family 17
Registering the dns_resolver key type
drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
ata2.00: ATA-7: ST380815AS, 4.AAB, max UDMA/133
ata2.00: 156301488 sectors, multi 0: LBA48 NCQ (depth 31/32)
ata2.00: configured for UDMA/133
scsi 1:0:0:0: Direct-Access     ATA      ST380815AS       4.AA PQ: 0 ANSI: 5
sd 1:0:0:0: [sda] 156301488 512-byte logical blocks: (80.0 GB/74.5 GiB)
sd 1:0:0:0: Attached scsi generic sg0 type 0
sd 1:0:0:0: [sda] Write Protect is off
sd 1:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
scsi 4:0:0:0: CD-ROM            Optiarc  DVD RW AD-7200A  1.09 PQ: 0 ANSI: 5
sr0: scsi3-mmc drive: 48x/48x writer dvd-ram cd/rw xa/form2 cdda tray
cdrom: Uniform CD-ROM driver Revision: 3.20
sr 4:0:0:0: Attached scsi generic sg1 type 5
 sda: sda1 sda2 sda3 sda4 < sda5 sda6 >
sd 1:0:0:0: [sda] Attached SCSI disk
PHY: mdio at ffe24520:00 - Link is Up - 100/Full
IP-Config: Complete:
     device=eth0, addr=172.20.100.231, mask=255.255.255.0, gw=172.20.100.237,
     host=hpcn, domain=, nis-domain=(none),
     bootserver=172.20.100.141, rootserver=172.20.100.141, rootpath=
VFS: Mounted root (nfs filesystem) on device 0:13.
Freeing unused kernel memory: 216k freed
INIT: version 2.86 booting
                Welcome to DENX Embedded Linux Environment
                Press 'I' to enter interactive startup.
Cannot access the Hardware Clock via any known method.
Use the --debug option to see the details of our search for an access method.
Setting clock : Thu Jan  1 01:00:03 CET 1970 [  OK  ]
Building the cache [  OK  ]
Setting hostname hpcn:  [  OK  ]
Your system appears to have shut down uncleanly
Checking filesystems
Checking all file systems.
[  OK  ]
Mounting local filesystems:  [  OK  ]
Enabling /etc/fstab swaps:  [  OK  ]
INIT: Entering runlevel: 3
Entering non-interactive startup
FATAL: Module ipv6 not found.
Bringing up loopback interface:  [  OK  ]
FATAL: Module ipv6 not found.
Starting system logger: [  OK  ]
Starting kernel logger: [  OK  ]
Starting rpcbind: [  OK  ]
Mounting NFS filesystems:  [  OK  ]
Mounting other filesystems:  [  OK  ]
Starting xinetd: [  OK  ]
DENX ELDK version 4.2 build 2008-04-01
Linux 3.1.0-rc9-01512-g827bba2 on a ppc
hpcn login: root
Login incorrect
login: root
Login incorrect

 

> From: dzu at denx.de
> To: wolfking2000 at msn.com
> CC: eldk at lists.denx.de
> Subject: Re: [ELDK] about NFS log in
> Date: Mon, 24 Oct 2011 18:09:06 +0200
> 
> Hi wolfking,
> 
> > I have a freescale's 8641d hpcn board. I install eldk 4.2 and the newest linux (3.1).
> > I have successfully run the linux using NFS by mounting the RFS to the host. 
> 
> Congratulations!
> 
> > But when the linux finishes booting, it asks for log in. That is, I have to enter
> > the user name and password. But I don't know when and where I have set the user information.
> 
> We set this information when preparing the ELDK images. However you can
> easily check this informatino by inspecting the files on your NFS file
> server. See for example:
> 
> $ grep '^root' /opt/eldk-4.2/ppc_74xx/etc/passwd
> root::0:0:root:/root:/bin/bash
> $
> 
> > Can someone tell me how to solve this? Thanks! 
> 
> As you can easily see, the "root" superuser has no password on our ELDK
> installations.
> 
> Cheers
> Detlev
> 
> -- 
> European efforts to impose state systems in conquered territories are the
> source of most conflicts underway right now, after the collapse of the formal
> colonial system. Europe's own favorite sport of mutual slaughter had to be
> called off in 1945, when it was realized that the next time the game was
> played would be the last. -- Noam Chomsky
> --
> DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
> HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
> Phone: (+49)-8142-66989-40 Fax: (+49)-8142-66989-80 Email: dzu at denx.de
 		 	   		  


More information about the eldk mailing list