ts-7000
[Top] [All Lists]

[ts-7000] Can't boot 2.6 without ethernet connected?!

To:
Subject: [ts-7000] Can't boot 2.6 without ethernet connected?!
From: Jeff Cunningham <>
Date: Sat, 05 Apr 2008 08:33:46 -0700
I've been working with a TS-7200 booting with an NFS mount over ethernet 
for months. I've copied the userspace sitting on the NFS mount to the 
TS-7200's CF memory, copied the kernel, the drivers, everything. I boot 
off the CF memory using Redboot as follows:

load -b 0x00218000 -m disk hda1:/boot/vmlinux
exec -c "console=ttyAM0,115200 ip=192.168.1.50 root=/dev/hda1"

At this point, if I have the LAN ethernet plugged into the TS-7200 it 
will boot normally. If I remove the ethernet connection, it will hang in 
an infinite loop requesting DHCP response as below:

usb 1-1: new full speed USB device using ep93xx-ohci and address 
2             
usb 1-1: configuration #1 chosen from 1 
choice                                 
Sending DHCP requests ...... timed 
out!                                        
IP-Config: Reopening network 
devices...                                        
Sending DHCP requests .....


I have configured the networking for a static IP. And in the case where 
I leave the ethernet cable plugged in, it receives a DHCP response at 
that point in the boot cycle, goes on and sets itself up with a _static 
IP_ like its supposed to. If I plug the ethernet cable in, here's the 
next section of the boot process:

IP-Config: Reopening network 
devices...                                        
Sending DHCP requests ....., 
OK                                                
IP-Config: Got DHCP answer from 192.168.1.1, my address is 
192.168.1.102       
IP-Config: 
Complete:                                                           
      device=eth0, addr=192.168.1.102, mask=255.255.255.0, 
gw=192.168.1.1,     
     host=192.168.1.102, domain=hsd1.wa.comcast.net., 
nis-domain=(none),       
     bootserver=192.168.1.1, rootserver=192.168.1.1, 
rootpath=                 
EXT2-fs warning: mounting unchecked fs, running e2fsck is 
recommended          
VFS: Mounted root (ext2 
filesystem).                                           
Freeing init memory: 80K                   

Here's how it ends up:

:root# 
ifconfig                                                     
eth0      Link encap:Ethernet  HWaddr 
00:D0:69:40:9E:60                        
          inet addr:192.168.1.50  Bcast:192.168.1.255  
Mask:255.255.255.0      
          UP BROADCAST RUNNING MULTICAST  MTU:1500  
Metric:1                   
          RX packets:173 errors:0 dropped:0 overruns:0 
frame:0                 
          TX packets:175 errors:0 dropped:0 overruns:0 
carrier:0               
          collisions:0 
txqueuelen:1000                                         
          RX bytes:17521 (17.1 KiB)  TX bytes:41982 (40.9 
KiB)                 
                                                                                

lo        Link encap:Local 
Loopback                                            
          inet addr:127.0.0.1  
Mask:255.0.0.0                                  
          UP LOOPBACK RUNNING  MTU:16436  
Metric:1                             
          RX packets:8 errors:0 dropped:0 overruns:0 
frame:0                   
          TX packets:8 errors:0 dropped:0 overruns:0 
carrier:0                 
          collisions:0 
txqueuelen:0                                            
          RX bytes:560 (560.0 b)  TX bytes:560 (560.0 
b)                       
                             


So, it looks like what's generating the DHCP request happens *prior* to 
mounting userspace. In other words, it has nothing to do with my network 
configuration!  It must be Redboot which is generating the DHCP request.

How do I tell it I want it to set up a static IP address?  I'm lost now.

Thanks.

--Jeff





------------------------------------

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/

<Prev in Thread] Current Thread [Next in Thread>
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU