From: Stuart M. <stu...@st...> - 2002-04-05 18:38:20
|
I just happen to be using a 7750 Solution Engine at the moment, with an NFS mounted root fs. This is the full config I'm using: CONFIG_SUPERH=y CONFIG_UID16=y CONFIG_RWSEM_GENERIC_SPINLOCK=y CONFIG_EXPERIMENTAL=y CONFIG_MODULES=y CONFIG_SH_SOLUTION_ENGINE=y CONFIG_SH_RTC=y CONFIG_CPU_SUBTYPE_SH7750=y CONFIG_CPU_SH4=y CONFIG_CPU_LITTLE_ENDIAN=y CONFIG_MEMORY_START=0c000000 CONFIG_MEMORY_SIZE=02000000 CONFIG_MEMORY_SET=y CONFIG_BIGPHYS_AREA=y CONFIG_ZIMAGE_ROM=y CONFIG_ZIMAGE_ROM_START=00040000 CONFIG_ISA=y CONFIG_NET=y CONFIG_SYSVIPC=y CONFIG_SYSCTL=y CONFIG_KCORE_ELF=y CONFIG_BINFMT_ELF=y CONFIG_BLK_DEV_RAM=y CONFIG_BLK_DEV_RAM_SIZE=4096 CONFIG_BLK_DEV_INITRD=y CONFIG_PACKET=y CONFIG_UNIX=y CONFIG_INET=y CONFIG_IP_PNP=y CONFIG_IP_PNP_DHCP=y CONFIG_NETDEVICES=y CONFIG_NET_ETHERNET=y CONFIG_STNIC=y CONFIG_SH_SCI=y CONFIG_SERIAL_CONSOLE=y CONFIG_HEARTBEAT=y CONFIG_RTC=y CONFIG_PROC_FS=y CONFIG_EXT2_FS=y CONFIG_NFS_FS=y CONFIG_ROOT_NFS=y CONFIG_SUNRPC=y CONFIG_LOCKD=y CONFIG_MSDOS_PARTITION=y CONFIG_MAGIC_SYSRQ=y The important ones for NFS mounting are: CONFIG_NET=y (General setup->Networking support) CONFIG_INET=y (Networking options->TCP/IP networking) CONFIG_IP_PNP=y (Networking options->IP: kernel level autoconfiguration) CONFIG_NETDEVICES=y (Network device support->Network device support) CONFIG_NET_ETHERNET=y (" -> Ethernet (10 or 100 Mbit) CONFIG_STNIC=y (" -> " -> National DP3902AV support) CONFIG_NFS_FS=y (File systems->Network file systems->NFS file system support) CONFIG_ROOT_NFS=y ("->"->Root file system on NFS) This assumes the 7709 Solution Engine uses the same network adaptor as the 7750 version. I don't know. Your command line options look good, except that with that netmask you used won't allow your machine see the gateway machine. Make sure you can at least ping the target, to ensure networking is OK. Stuart On Thu, 4 Apr 2002 18:36:32 +0200 aki...@ho... wrote: > > > Hello to all, > > > > > now my kernel work, but I do not succeed to mount a NFS filesystem. > > > > > On the host computer work: portmapper, mountd, nfs. I have shaped also the file export. > > > > > What means: > > > > > VFS: Cannot open root device "nfs" or 00:ff > > Please append a correct "root=" boot option > > Kernel panic: VFS: Unable to mount root fs on 00:ff > > > > > What I can make in order to make he to work correctly? > > > > > Which are the options that I must choose in menuconfig in order making to work the kernel with a NFS filesystem? > > > > > Thanks! > > SH IPL+g version 0.11, Copyright (C) 2001 Free Software Foundation, Inc. > > This software comes with ABSOLUTELY NO WARRANTY; for details type `w'. > > This is free software, and you are welcome to redistribute it under > > certain conditions; type `l' for details. > > > > > > h > > SH IPL+g version 0.11, Copyright (C) 2001 Free Software Foundation, Inc. > > ? --- Show this message (HELP) > > b --- Boot the system > > g --- Invoke GDB stub > > l --- Show about license > > w --- Show about (no)warranty > > > > > e --- Ether Boot > > > e > > Booting from network! > > Searching for server (BOOTP/DHCP)... > > <sleep> > > IP Address: 1.255.12.12 > > Server: 1.255.12.237, Gateway 1.255.8.1 > > Kernel to load: "/tftpboot/boot/zImage" > > HOSTNAME: terra > > ROOT PATH: /home/akira/project/finale/tmp/rootfsdir > > Loading Kernel: /tftpboot/boot/zImage ............................................................................................................................................................................................................................................................................................................SUM: 25f9c0f > > done > > Uncompressing Linux... Ok, booting the kernel. > > Linux version 2.4.18-sh (root@linux) (gcc version 3.0.3) #11 Fri Mar 29 16:22:37 CET 2002 > > On node 0 totalpages: 4096 > > zone(0): 4096 pages. > > zone(1): 0 pages. > > zone(2): 0 pages. > > Kernel command line: mem=16M sh_mv=SolutionEngine console=ttySC1,115200 root=/dev/nfs rw nfsroot=1.255.12.237:/home/akira/project/finale/tmp/rootfsdir ip=1.255.12.12:1.255.12.237:1.255.8.1:255.255.255.0:terra:eth0:off > > Setting GDB trap vector to 0x80000100 > > CPU clock: 133.34MHz > > Bus clock: 66.67MHz > > Module clock: 33.33MHz > > Interval = 83338 > > Linux version 2.4.18-sh (root@linux) (gcc version 3.0.3) #11 Fri Mar 29 16:22:37 CET 2002 > > Linux version 2.4.18-sh (root@linux) (gcc version 3.0.3) #11 Fri Mar 29 16:22:37 CET 2002 > > On node 0 totalpages: 4096 > > On node 0 totalpages: 4096 > > zone(0): 4096 pages. > > zone(0): 4096 pages. > > zone(1): 0 pages. > > zone(1): 0 pages. > > zone(2): 0 pages. > > zone(2): 0 pages. > > Kernel command line: mem=16M sh_mv=SolutionEngine console=ttySC1,115200 root=/dev/nfs rw nfsroot=1.255.12.237:/home/akira/project/finale/tmp/rootfsdir ip=1.255.12.12:1.255.12.237:1.255.8.1:255.255.255.0:terra:eth0:off > > Kernel command line: mem=16M sh_mv=SolutionEngine console=ttySC1,115200 root=/dev/nfs rw nfsroot=1.255.12.237:/home/akira/project/finale/tmp/rootfsdir ip=1.255.12.12:1.255.12.237:1.255.8.1:255.255.255.0:terra:eth0:off > > Setting GDB trap vector to 0x80000100 > > Setting GDB trap vector to 0x80000100 > > CPU clock: 133.34MHz > > CPU clock: 133.34MHz > > Bus clock: 66.67MHz > > Bus clock: 66.67MHz > > Module clock: 33.33MHz > > Module clock: 33.33MHz > > Interval = 83338 > > Interval = 83338 > > Calibrating delay loop... 66.56 BogoMIPS > > Memory: 15452k/16384k available (495k kernel code, 932k reserved, 18k data, 24k init) > > Dentry-cache hash table entries: 2048 (order: 2, 16384 bytes) > > Inode-cache hash table entries: 1024 (order: 1, 8192 bytes) > > Mount-cache hash table entries: 512 (order: 0, 4096 bytes) > > Buffer-cache hash table entries: 1024 (order: 0, 4096 bytes) > > Page-cache hash table entries: 4096 (order: 2, 16384 bytes) > > CPU: SH7709A/SH7729 > > POSIX conformance testing by UNIFIX > > Linux NET4.0 for Linux 2.4 > > Based upon Swansea University Computer Society NET3.039 > > Initializing RT netlink socket > > Starting kswapd > > SuperH SCI(F) driver initialized > > ttySC0 at 0xfffffe80 is a SCI > > ttySC1 at 0xa4000150 is a SCIF > > ttySC2 at 0xa4000140 is a SCIF > > block: 64 slots per queue, batch=16 > > VFS: Cannot open root device "nfs" or 00:ff > > Please append a correct "root=" boot option > > Kernel panic: VFS: Unable to mount root fs on 00:ff > > -- Stuart Menefy stu...@st... STMicroelectronics Ltd ST Intranet: mo.bri.st.com Bristol, UK Rest of the World: www.linuxsh.st.com |