Hi,

I have a verdex xm4-bt board along with the console-vx. I have been trying to get USBnet to work with both linux and windows without any success. The board came flashed with kernel version 2.6.18. I am connected with hyperterminal/minicom and loaded the g_ether module after booting. Both windows and Linux fails to detect the Gumstix board after its plugged in to USB. With 2.6.18, I when I plugged in the gumstix, I used to see this message on the serial console.

"udc: Trace path 1"
"udc: USB reset"


I followed some discussion and decided to update the flash image. I did so first to the trunk, and later to version 1363. Now my kernel version is 2.6.20-rt5gum. During bootup i get these warnings:
"CAUTION: XScale iWMMXt coprocessor detected, but kernel support is missing."

and later on, a few
"Dec 31 16:00:36 modprobe: WARNING: /etc/modprobe.conf line 39: ignoring bad line starting with '-e'                     "
"Dec 31 16:00:36 modprobe: WARNING: /etc/modprobe.conf line 42: ignoring bad line starting with '-e' "

After booting, when I try to load the g_ether module, I get these errors messages:

WARNING: /etc/modprobe.conf line 39: ignoring bad line starting with '-e'                                                   
WARNING: /etc/modprobe.conf line 42: ignoring bad line starting with '-e'                                                   
pxa2xx_udc: version 4-May-2005                                                                                              
pxa2xx_udc: not XScale!                                                                                                     
FATAL: Error inserting g_ether (/lib/modules/2.6.20-rt5gum/kernel/drivers/usb/gadget/g_ether.ko): No such device

Can anyone help me through this ? I am new to the gumstix environment, so i might be missing something very obvious.



For anyone interested, my bootup log is as follows:
---------------------
U-Boot 1.1.4 (Mar  1 2007 - 17:06:18) - PXA270@400 MHz - 1321

*** Welcome to Gumstix ***

U-Boot code: A3F00000 -> A3F25850  BSS: -> A3F5AE70
RAM Configuration:
Bank #0: a0000000 64 MB
Flash: 16 MB
Using default environment
                                                                                                                            
SMC91C1111-0                                                                                                                
Net:   SMC91C1111-0                                                                                                         
Hit any key to stop autoboot:  0                                                                                            
Instruction Cache is ON                                                                                                     
### JFFS2 loading 'boot/uImage' to 0xa2000000                                                                               
Scanning JFFS2 FS: ..... done.                                                                                              
### JFFS2 load complete: 826512 bytes loaded to 0xa2000000                                                                  
## Booting image at a2000000 ...                                                                                            
   Image Name:   uImage                                                                                                     
   Image Type:   ARM Linux Kernel Image (uncompressed)                                                                      
   Data Size:    826448 Bytes = 807.1 kB                                                                                    
   Load Address: a0008000                                                                                                   
   Entry Point:  a0008000                                                                                                   
OK                                                                                                                          
                                                                                                                            
Starting kernel ...                                                                                                         
                                                                                                                            
Linux version 2.6.20-rt5gum (root@xanadu) (gcc version 4.1.1) #1 PREEMPT Sun May 20 09:17:59 PDT 2007                       
CPU: XScale-PXA270 [69054117] revision 7 (ARMv5TE), cr=0000397f                                                             
Machine: The Gumstix Platform                                                                                               
Memory policy: ECC disabled, Data cache writeback                                                                           
Memory clock: 0.00MHz (*0)                                                                                                  
Run Mode clock: 0.00MHz (*0)                                                                                                
Turbo Mode clock: 0.00MHz (*2.0, active)                                                                                    
CPU0: D VIVT undefined 5 cache                                                                                              
CPU0: I cache: 32768 bytes, associativity 32, 32 byte lines, 32 sets                                                        
CPU0: D cache: 32768 bytes, associativity 32, 32 byte lines, 32 sets                                                        
Real-Time Preemption Support (C) 2004-2007 Ingo Molnar                                                                      
Built 1 zonelists.  Total pages: 16256                                                                                      
Kernel command line: console=ttyS0,115200n8 root=1f01 rootfstype=jffs2 reboot=cold,hard                                     
WARNING: experimental RCU implementation.                                                                                   
PID hash table entries: 256 (order: 8, 1024 bytes)                                                                          
start_kernel(): bug: interrupts were enabled early                                                                          
Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)                                                               
Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)                                                                
Memory: 64MB = 64MB total                                                                                                   
Memory: 63104KB available (1512K code, 216K data, 64K init)                                                                 
Mount-cache hash table entries: 512                                                                                         
CPU: Testing write buffer coherency: ok                                                                                     
BUG: at kernel/sched.c:4035 __schedule()                                                                                    
[<c001cd60>] (dump_stack+0x0/0x14) from [<c0142eb0>] (__schedule+0x6f0/0x740)                                               
[<c01427c0>] (__schedule+0x0/0x740) from [<c01430f4>] (schedule+0xd0/0x118)                                                 
[<c0143024>] (schedule+0x0/0x118) from [<c003d0b8>] (kthread+0xc8/0x128)                                                    
 r4 = 00000000                                                                                                              
[<c003cff0>] (kthread+0x0/0x128) from [<c002b018>] (do_exit+0x0/0x85c)                                                      
 r7 = 00000000  r6 = 00000000  r5 = 00000000  r4 = 00000000                                                                 
NET: Registered protocol family 16                                                                                          
NET: Registered protocol family 2                                                                                           
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)                                                              
TCP established hash table entries: 2048 (order: 4, 65536 bytes)                                                            
TCP bind hash table entries: 1024 (order: 2, 28672 bytes)                                                                   
TCP: Hash tables configured (established 2048 bind 1024)                                                                    
TCP reno registered                                                                                                         
JFFS2 version 2.2. (NAND) (C) 2001-2006 Red Hat, Inc.                                                                       
io scheduler noop registered (default)                                                                                      
pxa2xx-uart.0: ttyS0 at MMIO 0x40100000 (irq = 15) is a FFUART                                                              
pxa2xx-uart.1: ttyS1 at MMIO 0x40200000 (irq = 14) is a BTUART                                                              
pxa2xx-uart.2: ttyS2 at MMIO 0x40700000 (irq = 13) is a STUART                                                              
Probing Gumstix Flash ROM at physical address 0x00000000 (16-bit bankwidth)                                                 
Gumstix Flash ROM: Found 1 x16 devices at 0x0 in 16-bit bank                                                                
 Intel/Sharp Extended Query Table at 0x010A                                                                                 
 Intel/Sharp Extended Query Table at 0x010A                                                                                 
 Intel/Sharp Extended Query Table at 0x010A                                                                                 
 Intel/Sharp Extended Query Table at 0x010A                                                                                 
 Intel/Sharp Extended Query Table at 0x010A                                                                                 
Using buffer write method                                                                                                   
cfi_cmdset_0001: Erase suspend on write enabled                                                                             
Using static partitions on Gumstix Flash ROM                                                                                
Creating 2 MTD partitions on "Gumstix Flash ROM":                                                                           
0x00000000-0x00040000 : "Bootloader"                                                                                        
0x00040000-0x01000000 : "RootFS"                                                                                            
TCP cubic registered                                                                                                        
CAUTION: XScale iWMMXt coprocessor detected, but kernel support is missing.                                                 
Time: pxa_timer clocksource has been installed.                                                                             
VFS: Mounted root (jffs2 filesystem).                                                                                       
Freeing init memory: 64K                                                                                                    
request_module: runaway loop modprobe net-pf-1                                                                              
Dec 31 16:00:36 modprobe: WARNING: /etc/modprobe.conf line 39: ignoring bad line starting with '-e'                         
                                                                                                                            
request_module: runaway loop modprobe net-pf-1                                                                              
Dec 31 16:00:36 modprobe: WARNING: /etc/modprobe.conf line 42: ignoring bad line starting with '-e'                         
                                                                                                                            
NET: Registered protocol family 1                                                                                           
Dec 31 16:00:36 modprobe: WARNING: /etc/modprobe.conf line 39: ignoring bad line starting with '-e'                         
                                                                                                                            
Dec 31 16:00:36 modprobe: WARNING: /etc/modprobe.conf line 42: ignoring bad line starting with '-e'                         
                                                                                                                            
smc91x: not found (-19).                                                                                                    
CPLD responded with: ff                                                                                                     
Initializing random number generator... done.                                                                               
Starting 32kHz clock...Settled                                                                                              
WARNING: /etc/modprobe.conf line 39: ignoring bad line starting with '-e'                                                   
WARNING: /etc/modprobe.conf line 42: ignoring bad line starting with '-e'                                                   
WARNING: /etc/modprobe.conf line 39: ignoring bad line starting with '-e'                                                   
WARNING: /etc/modprobe.conf line 42: ignoring bad line starting with '-e'                                                   
Starting Bluetooth subsystem:Can't open serial port: No such file or directory                                              
Can't initialize device: No such file or directory                                                                          
Starting network...                                                                                                         
ifup: option with empty value "-e"                                                                                          
Starting Rendezvous:                                                                                                        
Starting dropbear sshd: OK                                                                                                  
Starting httpd...                                                                                                           
                                                                                                                            
                                                                                                                            
                                                                                                                            
Welcome to the Gumstix Linux Distribution!                                                                                  
                                                                                                                            
gumstix login:

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