Hi Jim,
I tried, the same, but now a different error. My /etc/exports ,look
like this
# /etc/exports: the access control list for filesystems which may be
exported
# to NFS clients. See exports(5).
#
# Example for NFSv2 and NFSv3:
# /srv/homes hostname1(rw,sync,no_subtree_check)
hostname2(ro,sync,no_subtree_check)
#
# Example for NFSv4:
# /srv/nfs4 gss/krb5i(rw,sync,fsid=0,crossmnt,no_subtree_check)
# /srv/nfs4/homes gss/krb5i(rw,sync,no_subtree_check)
#
/nfs/gen1
192.168.0.0/255.255.255.0(rw,no_root_squash,insecure,no_subtree_check)
My /etc/fstab looks like this
proc /proc proc defaults 0 0
none /dev/pts devpts gid=5,mode=620 0 0
sysfs /sys sysfs default 0 0
192.168.0.45:/nfs/gen1 / nfs exec,dev,suid,rsize=1024,wsize=1024 1 1
My error log below.
Linux version 2.6.29-ts (gcc version 3.4.4
(release) (CodeSourcery ARM 2005q3-2)) #7 P0
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
netmask=255.255.255.0 nfsroot=192.168.0.45:/nfs/gens
PID hash table entries: 128 (order: 7, 512 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: 8MB 8MB 8MB 8MB = 32MB total
Memory: 28760KB available (3252K code, 226K data, 132K init)
Calibrating delay loop... 99.73 BogoMIPS (lpj=498688)
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
net_namespace: 520 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
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
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: 0, 4096 bytes)
TCP: Hash tables configured (established 1024 bind 1024)
TCP reno registered
NET: Registered protocol family 1
NetWinder Floating Point Emulator V0.97 (double precision)
NTFS driver 2.1.29 [Flags: R/W].
JFFS2 version 2.2. (NAND) �© 2001-2006 Red Hat, Inc.
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
loop: module loaded
tun: Universal TUN/TAP device driver, 1.6
tun: (C) 1999-2004 Max Krasnyansky m("qualcomm.com","maxk");"><>
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
Linux video capture interface: v2.00
Uniform Multi-Platform E-IDE driver
ide-gd driver 1.18
hda: CF CARD 4GB, CFA DISK drive
ide0 at 0xc6078000-0xc6070007,0xc6074006 on irq 32
hda: max request size: 128KiB
hda: 7847280 sectors (4017 MB) w/1KiB Cache, CHS=7785/16/63
hda: hda1
Driver 'sd' needs updating - please use bus_type methods
Error: Driver 'pata_platform' is already registered, aborting...
ts72xx-ide: probe of ts72xx-ide.0 failed with error -16
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
Searching for RedBoot partition table in physmap-flash.0 at offset
0x7e0000
No RedBoot partition table detected in physmap-flash.0
TS-7200 flash mapping: 8mo at 0x60000000
Full TS-7200 NOR flash: 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
Creating 3 MTD partitions on "Full TS-7200 NOR flash":
0x000000000000-0x000000020000 : "TS-BOOTROM"
0x000000020000-0x000000620000 : "RootFS"
0x000000620000-0x000000800000 : "Redboot"
ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
ep93xx-ohci ep93xx-ohci: EP93xx OHCI
ep93xx-ohci ep93xx-ohci: new USB bus registered, assigned bus number 1
ep93xx-ohci ep93xx-ohci: irq 56, io mem 0x80020000
usb usb1: New USB device found, idVendor=1d6b, idProduct=0001
usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
usb usb1: Product: EP93xx OHCI
usb usb1: Manufacturer: Linux 2.6.29-ts ohci_hcd
usb usb1: SerialNumber: ep93xx
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 3 ports detected
Initializing USB Mass Storage driver...
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
mice: PS/2 mouse device common for all mice
ep93xx-rtc ep93xx-rtc: rtc core: registered ep93xx as rtc0
rtc-m48t86 rtc-m48t86: rtc core: registered m48t86 as rtc1
rtc-m48t86 rtc-m48t86: battery exhausted
ep93xx_wdt: EP93XX watchdog, driver version 0.3
usbcore: registered new interface driver usbhid
usbhid: v2.6:USB HID core driver
TCP cubic registered
NET: Registered protocol family 17
NET: Registered protocol family 15
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
ep93xx-rtc ep93xx-rtc: setting system clock to 1970-01-01 00:01:31 UTC
(91)
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
Root-NFS: Unable to get nfsd port number from server, using default
Looking up port of RPC 100005/1 on 192.168.0.45
Root-NFS: Unable to get mountd port number from server, using default
PHY: 0:01 - Link is Up - 100/Full
Root-NFS: Server returned error -5 while mounting /nfs/gen1
VFS: Unable to mount root fs via NFS, trying floppy.
VFS: Cannot open root device "nfs" or unknown-block(2,0)
Please append a correct "root=" boot option; here are the available
partitions:
0300 3923640 hda driver: ide-gd
0301 3919828 hda1
1f00 8192 mtdblock0 (driver?)
1f01 8192 mtdblock1 (driver?)
1f02 128 mtdblock2 (driver?)
1f03 6144 mtdblock3 (driver?)
1f04 1920 mtdblock4 (driver?)
Kernel panic - not syncing: VFS: Unable to mount root fs on
unknown-block(2,0)
Please help!!
Thanks
Balaji R
On 05/18/2010 02:41 PM, Jim Jackson wrote:
On Mon, 17 May 2010, Jim Jackson wrote:
> On Sun, 16 May 2010, Balaji Ravindran wrote:
>> I looked at /etc/securetty
>>
>> I found an entry for ttyAM0.
>
> ok then, create a regular user account and see if you can login
with that.
> (create an entry in /etc/passwd and create a home directory etc)
> If you can then you can use "su" become root.
Ok I've had another thought.
What are your nfs export options in your /etc/exports file on your nfs
server?
Mine are
/home/export/debdev sc(rw,no_root_squash,insecure,no_subtree_check)
"sc" is the name of my board in my /etc/hosts file. The no_root_squash
option is important.
__._,_.___
__,_._,___
|
|