Hi;
I've been trying to follow the Linux 2.6 for TS-72XX instructions from
the TS website but have been unable to mount the root filesystem using
NFS on my TS-7200. I have long been able to do this with the 2.4 kernel.
I'm hoping someone can tell me what I'm doing wrong. Here is what I've done:
* I downloaded their toolchain, their kernel sources (2.6.21), built the
kernel according to their instructions, and it will boot from it.
* I downloaded the root file system tarball:
ftp://ftp.embeddedarm.com/ts-arm-linux-cd/distributions/debian-sarge-udev-11-15-2007.tar.gz
When I untarred it I noticed that it has an unexpected base path:
/tmp/mnt , so I incorporated this into the /etc/exports path
/home/ts7200/2.6/tmp/mnt
192.168.1.0/255.255.255.0(rw,no_root_squash,insecure,async)
* I added the following line to /home/ts7200/2.6/tmp/mnt/etc/fstab:
192.168.1.13:/home/ts7200/2.6/tmp/mnt / nfs exec,dev,suid 1 1
There was no line with /dev/hda1 to comment out - it had no root line at
all.
* I am using RedBoot as follows:
load -b 0x00218000 -m disk hda1:/boot/vmlinux-2.6.21-ts_1
exec -c "root=/dev/nfs
nfsroot=192.168.1.13:/home/ts7200/2.6/debian-sarge-udev-11-15-2007
console=ttyAM0,115200 ip=dhcp"
The load works fine. The boot starts, goes through a bit and then hangs
trying to mount NFS, although it seems to respond fine the first time:
RedBoot> load -b 0x00218000 -m disk hda1:/boot/vmlinux-2.6.21-ts_1
Address offset = 0x00218000
Entry point: 0x00218000, address range: 0x00218000-0x0037e468
RedBoot> exec -c "root=/dev/nfs
nfsroot=192.168.1.13:/home/ts7200/2.6/debian-sarge-udev-11-15-2007
console=ttyAM0,115200 ip=dhcp"
Using base address 0x00218000 and length 0x00166468
Uncompressing
Linux..................................................................................................
done, booting the ke.
Linux version 2.6.21-ts (gcc version 3.4.4 (release)
(CodeSourcery ARM 2005q3-2)) #1 PREEMPT Sun Dec 23 18:55:30 PST 2007
CPU: ARM920T [41129200] revision 0 (ARMv4T), cr=40007177
Machine: Technologic Systems TS-72xx SBC
Memory policy: ECC disabled, Data cache writeback
CPU0: D VIVT write-back cache
CPU0: I cache: 16384 bytes, associativity 64, 32 byte lines, 8 sets
CPU0: D cache: 16384 bytes, associativity 64, 32 byte lines, 8 sets
Built 4 zonelists. Total pages: 8128
Kernel command line: root=/dev/nfs
nfsroot=192.168.1.13:/home/ts7200/2.6/debian-sarge-udev-11-15-2007
console=ttyAM0,115200 ip=dhcp
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: 29304KB available (2760K code, 255K data, 112K init)
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
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
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
NetWinder Floating Point Emulator V0.97 (double precision)
JFFS2 version 2.2. (NAND) (C) 2001-2006 Red Hat, Inc.
yaffs Dec 23 2007 18:50:29 Installing.
io scheduler noop registered
io scheduler deadline registered (default)
ep93xx_wdt: EP93XX watchdog, driver version 0.3
Serial: AMBA driver $Revision: 1.1.1.1 $
apb:uart1: ttyAM0 at MMIO 0x808c0000 (irq = 52) is a AMBA
apb:uart2: ttyAM1 at MMIO 0x808d0000 (irq = 54) is a AMBA
apb:uart3: ttyAM2 at MMIO 0x808e0000 (irq = 55) is a AMBA
RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
loop: loaded (max 8 devices)
tun: Universal TUN/TAP device driver, 1.6
tun: (C) 1999-2004 Max Krasnyansky <>
ep93xx-eth version 0.1 loading
eth0: ep93xx on-chip ethernet, IRQ 39, 00:d0:69:40:9e:60.
Linux video capture interface: v2.00
physmap platform flash device: 01000000 at 60000000
physmap-flash.0: Found 1 x16 devices at 0x0 in 8-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 0xfe0000
No RedBoot partition table detected in physmap-flash.0
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: Product: EP93xx OHCI
usb usb1: Manufacturer: Linux 2.6.21-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...
usb 1-3: new full speed USB device using ep93xx-ohci and address 2
usb 1-3: Product: USB2.0 WLAN
usb 1-3: Manufacturer: ZyDAS
usb 1-3: configuration #1 chosen from 1 choice
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
usbcore: registered new interface driver usbhid
drivers/usb/input/hid-core.c: v2.6:USB HID core driver
mice: PS/2 mouse device common for all mice
rtc-m48t86 rtc-m48t86: rtc core: registered m48t86 as rtc0
rtc-m48t86 rtc-m48t86: battery exhausted
ep93xx-rtc ep93xx-rtc: rtc core: registered ep93xx as rtc1
TCP cubic registered
NET: Registered protocol family 1
NET: Registered protocol family 17
NET: Registered protocol family 15
ieee80211: 802.11 data/management/control stack, git-1.1.13
ieee80211: Copyright (C) 2004-2005 Intel Corporation
<>
rtc-m48t86 rtc-m48t86: hctosys: invalid date/time
Sending DHCP requests ., OK
IP-Config: Got DHCP answer from 0.0.0.0, my address is 192.168.1.103
IP-Config: Complete:
device=eth0, addr=192.168.1.103, mask=255.255.255.0, gw=192.168.1.1,
host=192.168.1.103, domain=hsd1.wa.comcast.net., nis-domain=(none),
bootserver=0.0.0.0, rootserver=192.168.1.13, rootpath=
Looking up port of RPC 100003/2 on 192.168.1.13
Looking up port of RPC 100005/1 on 192.168.1.13
VFS: Mounted root (nfs filesystem).
Freeing init memory: 112K
nfs: server 192.168.1.13 not responding, still trying
nfs: server 192.168.1.13 OK
INIT: version 2.86 booting
Cleaning up ifupdown...done.
Loading kernel modules...done.
Checking all file systems...
fsck 1.37 (21-Mar-2005)
... done.
mount: you didn't specify a filesystem type for
/dev/ide/host0/bus0/target0/lun0/part1
I will try all types mentioned in /etc/filesystems or
/proc/filesystems
Trying yaffs
mount: special device /dev/ide/host0/bus0/target0/lun0/part1 does not exist
Setting up networking...done.
Setting up IP spoofing protection: rp_filter.
Enabling packet forwarding...done.
Configuring network interfaces...nfs: server 192.168.1.13 not
responding, still trying
nfs: server 192.168.1.13 not responding, still trying
Any help would be greatly appreciated!
--Jeff
Notes:
If I boot the old 2.4 kernel I can NFS mount the new root filesystem
directory manually (to /mnt/nfsroot), so I know NFS is working properly.
I have also tried it with the 'sync' property instead of async.
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ts-7000/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/ts-7000/join
(Yahoo! ID required)
<*> To change settings via email:
<*> To unsubscribe from this group, send an email to:
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|