Subject: Problem with fxp network card on an Intel IXDP425 board
To: None <port-arm@netbsd.org>
From: Christophe Gouault <christophe.gouault@6wind.com>
List: port-arm
Date: 03/05/2004 11:59:43
This is a multi-part message in MIME format.
--------------050304040301090900070609
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit

Hello port-arm users,

I'm trying to boot NetBSD on an Intel IXDP425 board.
The NetBSD kernel is configured to mount the root file system via NFS. 
Addresses are autoconfigured via a DHCP server.
I use the Intel PRO/100+ NIC shipped with the board (connected on PCI 
slot 0).

Boot processes correctly but I never gain access to the login prompt: 
the fxp NIC keeps displaying the following error message:
fxp0: WARNING: SCB timed out!

The problem remains whatever PCI slot is used.
No difference if the NIC is connected via a straight cable to an old 
10baseT hub or directly connected via a cross-over cable to the (fxp) 
NIC of the DHCP and NFS server. The "100TX" led of the fxp card seems to 
indicate that auto-detection works properly.

Any idea of what is happening and what to do ?

Christophe.

Attached are the boot log and kernel configuration files.


--------------050304040301090900070609
Content-Type: text/plain;
 name="bootlog-ixdp425.txt"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="bootlog-ixdp425.txt"

Ethernet eth0: MAC address 00:07:e9:16:30:1a
IP: 192.168.69.94/255.255.255.0, Gateway: 0.0.0.0
Default server: 192.168.69.1, DNS server IP: 0.0.0.0

RedBoot(tm) bootstrap and debug environment [ROM]
Red Hat certified release, version 1.92p1 - built 10:36:38, Dec 15 2003

Platform: IXDP425 Development Platform (XScale)
Copyright (C) 2000, 2001, 2002, Red Hat, Inc.

RAM: 0x00000000-0x10000000, 0x0001f880-0x0ffd1000 available
FLASH: 0x50000000 - 0x51000000, 128 blocks of 0x00020000 bytes each.
== Executing boot script in 1.000 seconds - enter ^C to abort
RedBoot> load -r -b 0x00200000 netbsd/myixdp425.bin
Using default protocol (TFTP)
Raw file loaded 0x00200000-0x004fd51b, assumed entry at 0x00200000
RedBoot> go

NetBSD/evbarm (Intel IXDP425) booting ...
kernsize=0x321200
physmemory: 65536 pages at 0x10000000 -> 0x1fffffff
Allocating page tables
physical_start = 0x10000000, physical_end = 0x20000000
IRQ stack: p0x1000f000 v0xc000f000
ABT stack: p0x10010000 v0xc0010000
UND stack: p0x10011000 v0xc0011000
SVC stack: p0x10012000 v0xc0012000
Creating L1 page table at 0x10000000
Mapping kernel
pmap_map_chunk: pa=0x10200000 va=0xc0200000 size=0x2b4000 resid=0x2b4000 prot=0x
3 cache=1
SSLLLLLLLLLLLPPPP
pmap_map_chunk: pa=0x104b4000 va=0xc04b4000 size=0x6e000 resid=0x6e000 prot=0x3
cache=1
PPPPPPPPPPPPLLLLLLPP
Constructing L2 page tables
pmap_map_chunk: pa=0x1000f000 va=0xc000f000 size=0x1000 resid=0x1000 prot=0x3 ca
che=1
P
pmap_map_chunk: pa=0x10010000 va=0xc0010000 size=0x1000 resid=0x1000 prot=0x3 ca
che=1
P
pmap_map_chunk: pa=0x10011000 va=0xc0011000 size=0x1000 resid=0x1000 prot=0x3 ca
che=1
P
pmap_map_chunk: pa=0x10012000 va=0xc0012000 size=0x2000 resid=0x2000 prot=0x3 ca
che=1
PP
pmap_map_chunk: pa=0x10000000 va=0xc0000000 size=0x4000 resid=0x4000 prot=0x3 ca
che=2
PPPP
pmap_map_chunk: pa=0x10004000 va=0xc0004000 size=0x1000 resid=0x1000 prot=0x3 ca
che=2
P
pmap_map_chunk: pa=0x10005000 va=0xc0005000 size=0x1000 resid=0x1000 prot=0x3 ca
che=2
P
pmap_map_chunk: pa=0x10006000 va=0xc0006000 size=0x1000 resid=0x1000 prot=0x3 ca
che=2
P
pmap_map_chunk: pa=0x10007000 va=0xc0007000 size=0x1000 resid=0x1000 prot=0x3 ca
che=2
P
pmap_map_chunk: pa=0x10008000 va=0xc0008000 size=0x1000 resid=0x1000 prot=0x3 ca
che=2
P
pmap_map_chunk: pa=0x10009000 va=0xc0009000 size=0x1000 resid=0x1000 prot=0x3 ca
che=2
P
pmap_map_chunk: pa=0x1000a000 va=0xc000a000 size=0x1000 resid=0x1000 prot=0x3 ca
che=2
P
pmap_map_chunk: pa=0x1000b000 va=0xc000b000 size=0x1000 resid=0x1000 prot=0x3 ca
che=2
P
pmap_map_chunk: pa=0x1000c000 va=0xc000c000 size=0x1000 resid=0x1000 prot=0x3 ca
che=2
P
pmap_map_chunk: pa=0x1000d000 va=0xc000d000 size=0x1000 resid=0x1000 prot=0x3 ca
che=2
P
devmap: c8000000 -> c800ffff @ f0000000
pmap_map_chunk: pa=0xc8000000 va=0xf0000000 size=0x10000 resid=0x10000 prot=0x3
cache=0
L
devmap: c4000000 -> c4000fff @ f0010000
pmap_map_chunk: pa=0xc4000000 va=0xf0010000 size=0x1000 resid=0x1000 prot=0x3 ca
che=0
P
devmap: c0000000 -> c0000fff @ f0011000
pmap_map_chunk: pa=0xc0000000 va=0xf0011000 size=0x1000 resid=0x1000 prot=0x3 ca
che=0
P
devmap: cc000000 -> cc000fff @ f0200000
pmap_map_chunk: pa=0xcc000000 va=0xf0200000 size=0x1000 resid=0x1000 prot=0x3 ca
che=0
P
devmap: 48000000 -> 4bffffff @ f8000000
pmap_map_chunk: pa=0x48000000 va=0xf8000000 size=0x4000000 resid=0x4000000 prot=
0x3 cache=0
SSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSS
freestart = 0x10522000, free_pages = 64222 (0xfade)
switching to new L1 page table  @0x10000000...bootstrap done.
init subsystems: stacks vectors undefined page pmap irq
All initialize done!
Now Starting NetBSD, Hear we go!
[ Kernel symbol table missing! ]
Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004
    The NetBSD Foundation, Inc.  All rights reserved.
Copyright (c) 1982, 1986, 1989, 1991, 1993
    The Regents of the University of California.  All rights reserved.

pmap_postinit: Allocated 35 static L1 descriptor tables
NetBSD 1.6ZI (MYIXDP425) #11: Fri Mar  5 10:25:44 CET 2004
        root@viper.dev.6wind.com:/usr/home/gouault/NetBSD/src/sys/arch/evbarm/co
mpile/obj/MYIXDP425
total memory = 256 MB
avail memory = 244 MB
mainbus0 (root)
cpu0 at mainbus0: IXP425 533MHz rev 1 (XScale core)
cpu0: DC enabled IC enabled WB enabled LABT branch prediction enabled
cpu0: 32KB/32B 32-way Instruction cache
cpu0: 32KB/32B 32-way write-back-locking Data cache
ixpsip0 at mainbus0
com0 at ixpsip0 addr : ns16550a, working fifo
com0: console
ixp425_intr_establish(irq=15, ipl=13, func=c02a6bf4, arg=c14ffa00)
com1 at ixpsip0 addr 0xc8001000-0xc8001fff: ns16550a, working fifo
ixp425_intr_establish(irq=13, ipl=13, func=c02a6bf4, arg=c14ff800)
ixpclk0 at ixpsip0 addr 0xc8005000-0xc800502f
ixpclk0: IXP425 Interval Timer
ixdpled0 at ixpsip0 addr 0x52000000-0x52000fff
ixpio0 at mainbus0
ixpio0: configuring PCI bus
pci0 at ixpio0 bus 0
pci0: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok
fxp0 at pci0 dev 1 function 0: i82559 Ethernet, rev 8
ixdp425_pci_intr_map: v=0xc1552df4, tag=00000800 intrpin=1 line=0 dev=1
ixdp425_pci_intr_establish(v=0xc1552c00, irq=28, ipl=5, func=0xc029cc40, arg=0xc
1556000)
ixp425_intr_establish(irq=28, ipl=5, func=c029cc40, arg=c1556000)
fxp0: interrupting at ixp425 irq 28
fxp0: Ethernet address 00:07:e9:16:30:1a
inphy0 at fxp0 phy 1: i82555 10/100 media interface, rev. 4
inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
clock: hz=100 stathz=0 profhz=0
ixp425_intr_establish(irq=5, ipl=10, func=c0431710, arg=00000000)
IPsec: Initialized Security Association Processing.
boot device: <unknown>
root device: fxp0
dump device:
file system (default generic):
root on fxp0
mountroot: trying nfs...
nfs_boot: trying DHCP/BOOTP
nfs_boot: DHCP next-server: 192.168.69.1
nfs_boot: my_name=unknown-host
nfs_boot: my_domain=6wind.com
nfs_boot: my_addr=192.168.69.94
nfs_boot: my_mask=255.255.255.0
root on 192.168.69.1:/export/evbarm
root time: 0x40485c38
WARNING: CHECK AND RESET THE DATE!
root file system type: nfs
warning: no /dev/console
init path (default /sbin/init):
init: copying out path `/sbin/init' 11
init: Creating mfs /dev (369 blocks, 896 inodes)
Fri Mar  5 10:53:58 UTC 2004
Starting file system checks:
mount: /: unknown special file or file system.
Setting tty flags.
Setting sysctl variables:
Starting network.
IPv6 mode: host
Configuring network interfaces:.
Building databases...
fxp0: WARNING: SCB timed out!
fxp0: WARNING: SCB timed out!
fxp0: WARNING: SCB timed out!
fxp0: WARNING: SCB timed out!
fxp0: WARNING: SCB timed out!
fxp0: WARNING: SCB timed out!
fxp0: WARNING: SCB timed out!
fxp0: WARNING: SCB timed out!
fxp0: WARNING: SCB timed out!
fxp0: WARNING: SCB timed out!
fxp0: WARNING: SCB timed out!
fxp0: device timeout
fxp0: device timeout
fxp0: device timeout
fxp0: device timeout
fxp0: WARNING: SCB timed out!
fxp0: WARNING: SCB timed out!
fxp0: WARNING: SCB timed out!
--------------050304040301090900070609
Content-Type: text/plain;
 name="MYIXDP425"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="MYIXDP425"

#	$NetBSD: IXDP425,v 1.3 2003/10/23 10:50:01 scw Exp $
#
#	ZAO425 -- Intel IXP425
#

include	"arch/evbarm/conf/std.ixdp425"

#options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary

# estimated number of users

maxusers	32

# Standard system options

options 	RTC_OFFSET=0	# hardware clock is this many mins. west of GMT
#options 	NTP		# NTP phase/frequency locked loop

# CPU options

# For XScale systems
options 	CPU_XSCALE_IXP425	# Support the XScale core
makeoptions	CPUFLAGS="-mcpu=xscale"

# Architecture options
options 	XSCALE_CACHE_READ_WRITE_ALLOCATE
#options 	HZ=512

# Board Type
makeoptions	BOARDTYPE="ixdp425"
options 	EVBARM_BOARDTYPE=ixdp425

# File systems

file-system	FFS		# UFS
#file-system	LFS		# log-structured file system
file-system	MFS		# memory file system
file-system	NFS		# Network file system
#file-system 	ADOSFS		# AmigaDOS-compatible file system
#file-system 	EXT2FS		# second extended file system (linux)
#file-system	CD9660		# ISO 9660 + Rock Ridge file system
#file-system	MSDOSFS		# MS-DOS file system
file-system	FDESC		# /dev/fd
file-system	KERNFS		# /kern
file-system	NULLFS		# loopback file system
#file-system	PORTAL		# portal filesystem (still experimental)
file-system	PROCFS		# /proc
#file-system	UMAPFS		# NULLFS + uid and gid remapping
#file-system	UNION		# union file system

# File system options
#options 	QUOTA		# UFS quotas
#options 	FFS_EI		# FFS Endian Independant support
options 	NFSSERVER
options 	SOFTDEP

# Networking options

#options 	GATEWAY		# packet forwarding
options 	INET		# IP + ICMP + TCP + UDP
options 	INET6		# IPV6
options 	IPSEC		# IP security
options 	IPSEC_ESP	# IP security (encryption part; define w/ IPSEC)
options 	IPSEC_DEBUG	# debug for IP security
options 	MROUTING	# IP multicast routing
#options 	NS		# XNS
#options 	NSIP		# XNS tunneling over IP
#options 	ISO,TPIP	# OSI
#options 	EON		# OSI tunneling over IP
#options 	CCITT,LLC,HDLC	# X.25
#options 	NETATALK	# AppleTalk networking
#options 	PFIL_HOOKS	# pfil(9) packet filter hooks
#options 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
#options 	PPP_DEFLATE	# Deflate compression support for PPP
#options 	PPP_FILTER	# Active filter support for PPP (requires bpf)
#options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG

#options 	NFS_BOOT_BOOTP
options 	NFS_BOOT_DHCP
#options 	NFS_BOOT_BOOTPARAM

# Compatibility options

#options 	COMPAT_43	# 4.3BSD compatibility.
options 	COMPAT_16	# NetBSD 1.6 compatibility.
options 	COMPAT_15	# NetBSD 1.5 compatibility.
options 	COMPAT_14	# NetBSD 1.4 compatibility.
#options 	COMPAT_13	# NetBSD 1.3 compatibility.
#options 	COMPAT_12	# NetBSD 1.2 compatibility.
#options 	COMPAT_11	# NetBSD 1.1 compatibility.
#options 	COMPAT_10	# NetBSD 1.0 compatibility.
#options 	COMPAT_09	# NetBSD 0.9 compatibility.
#options 	TCP_COMPAT_42	# 4.2BSD TCP/IP bug compat. Not recommended.

# Shared memory options

options 	SYSVMSG		# System V-like message queues
options 	SYSVSEM		# System V-like semaphores
#options 	SEMMNI=10	# number of semaphore identifiers
#options 	SEMMNS=60	# number of semaphores in system
#options 	SEMUME=10	# max number of undo entries per process
#options 	SEMMNU=30	# number of undo structures in system
options 	SYSVSHM		# System V-like memory sharing
options 	SHMMAXPGS=1024	# 1024 pages is the default

# Device options

#options 	MEMORY_DISK_HOOKS	# boottime setup of ramdisk
#options 	MEMORY_DISK_ROOT_SIZE=3400	# Size in blocks
#options 	MEMORY_DISK_IS_ROOT	# use memory disk as root

# Console options.  The default console is speed is 115200 baud.
options 	CONSPEED=115200		# Console speed
options 	CONUNIT=0		# Console port number

# Miscellaneous kernel options
options 	KTRACE		# system call tracing, a la ktrace(1)
options 	IRQSTATS	# manage IRQ statistics
#options 	LKM		# loadable kernel modules
#options 	KMEMSTATS	# kernel memory statistics
#options 	SCSIVERBOSE	# Verbose SCSI errors
options 	PCIVERBOSE	# Verbose PCI descriptions
options 	MIIVERBOSE	# Verbose MII autoconfuration messages
#options 	PCI_CONFIG_DUMP	# verbosely dump PCI config space
#options 	PCI_CONFIG_VERBOSE
#options 	DDB_KEYCODE=0x40
options 	USERCONF	# userconf(4) support
#options	PIPE_SOCKETPAIR	# smaller, but slower pipe(2)

# Development and Debugging options

#options 	PERFCTRS	# performance counters
options 	DIAGNOSTIC	# internally consistency checks
options 	DEBUG
#options 	PMAP_DEBUG	# Enable pmap_debug_level code
#options 	IPKDB		# remote kernel debugging
options 	VERBOSE_INIT_ARM # verbose bootstraping messages
options 	DDB		# in-kernel debugger
options 	DDB_HISTORY_SIZE=100	# Enable history editing in DDB
makeoptions	DEBUG="-g"	# compile full symbol table
options 	SYMTAB_SPACE=250000

config		netbsd		root on ? type ?

# The main bus device
mainbus0	at root

# The boot cpu
cpu0		at mainbus?

# IXP425 slow peripheral
ixpsip0		at mainbus?

#Timer
ixpclk*		at ixpsip? addr 0xc8005000 size 0x30

# Status LEDs
ixdpled*	at ixpsip? addr 0x52000000 size 0x1000

# On-board device support
com0		at ixpsip? addr 0xc8000000 size 0x1000 index 0
com1		at ixpsip? addr 0xc8001000 size 0x1000 index 1

# IXP425 fast bus
ixpio0		at mainbus?

# PCI bus
pci0		at ixpio? bus ?

#
# Networking devices
#
an*	at pci? dev ? function ?	# Aironet PC4500/PC4800 (802.11)
bge*	at pci? dev ? function ?	# Broadcom 570x gigabit Ethernet
en*	at pci? dev ? function ?	# ENI/Adaptec ATM
ep*	at pci? dev ? function ?	# 3Com 3c59x
epic*	at pci? dev ? function ?	# SMC EPIC/100 Ethernet
esh*	at pci? dev ? function ?	# Essential HIPPI card
ex*	at pci? dev ? function ?	# 3Com 90x[BC]
fpa*	at pci? dev ? function ?	# DEC DEFPA FDDI
fxp*	at pci? dev ? function ?	# Intel EtherExpress PRO 10+/100B
gsip*	at pci? dev ? function ?	# NS83820 Gigabit Ethernet
le*	at pci? dev ? function ?	# PCnet-PCI Ethernet
lmc*	at pci? dev ? function ?	# Lan Media Corp SSI/HSSI/DS3
mtd*	at pci? dev ? function ?	# Myson MTD803 3-in-1 Ethernet
ne*	at pci? dev ? function ?	# NE2000-compatible Ethernet
ntwoc*	at pci? dev ? function ?	# Riscom/N2 PCI Sync Serial
pcn*	at pci? dev ? function ?	# AMD PCnet-PCI Ethernet
rtk*	at pci? dev ? function ?	# Realtek 8129/8139
sf*	at pci? dev ? function ?	# Adaptec AIC-6915 Ethernet
sip*	at pci? dev ? function ?	# SiS 900/DP83815 Ethernet
ste*	at pci? dev ? function ?	# Sundance ST-201 Ethernet
stge*	at pci? dev ? function ?	# Sundance/Tamarack TC9021 Gigabit
ti*	at pci? dev ? function ?	# Alteon ACEnic gigabit Ethernet
tl*	at pci? dev ? function ?	# ThunderLAN-based Ethernet
tlp*	at pci? dev ? function ?	# DECchip 21x4x and clones
vr*	at pci? dev ? function ?	# VIA Rhine Fast Ethernet
wi*	at pci? dev ? function ?	# Intersil Prism Mini-PCI (802.11b)
wm*	at pci? dev ? function ?	# Intel 82543/82544 gigabit

# MII/PHY support
acphy*	at mii? phy ?			# Altima AC101 and AMD Am79c874 PHYs
amhphy*	at mii? phy ?			# AMD 79c901 Ethernet PHYs
bmtphy*	at mii? phy ?			# Broadcom BCM5201 and BCM5202 PHYs
brgphy*	at mii? phy ?			# Broadcom BCM5400-family PHYs
dmphy*	at mii? phy ?			# Davicom DM9101 PHYs
exphy*	at mii? phy ?			# 3Com internal PHYs
gentbi*	at mii? phy ?			# Generic Ten-Bit 1000BASE-[CLS]X PHYs
glxtphy* at mii? phy ?			# Level One LXT-1000 PHYs
gphyter* at mii? phy ?			# NS83861 Gig-E PHY
icsphy*	at mii? phy ?			# Integrated Circuit Systems ICS189x
inphy*	at mii? phy ?			# Intel 82555 PHYs
iophy*	at mii? phy ?			# Intel 82553 PHYs
lxtphy*	at mii? phy ?			# Level One LXT-970 PHYs
makphy*	at mii? phy ?			# Marvell Semiconductor 88E1000 PHYs
nsphy*	at mii? phy ?			# NS83840 PHYs
nsphyter* at mii? phy ?			# NS83843 PHYs
pnaphy*	at mii? phy ?			# generic HomePNA PHYs
qsphy*	at mii? phy ?			# Quality Semiconductor QS6612 PHYs
sqphy*	at mii? phy ?			# Seeq 80220/80221/80223 PHYs
tlphy*	at mii? phy ?			# ThunderLAN PHYs
tqphy*	at mii? phy ?			# TDK Semiconductor PHYs
urlphy*	at mii? phy ?			# Realtek RTL8150L internal PHYs
ukphy*	at mii? phy ?			# generic unknown PHYs

# Pseudo-Devices

# disk/mass storage pseudo-devices
pseudo-device	md		1	# memory disk device (ramdisk)
pseudo-device	vnd		4	# disk-like interface to files

# network pseudo-devices
pseudo-device	bpfilter	4	# Berkeley packet filter
pseudo-device	loop			# network loopback
#pseudo-device	kttcp			# network loopback

# miscellaneous pseudo-devices
pseudo-device	pty			# pseudo-terminals
pseudo-device	rnd			# /dev/random and in-kernel generator
pseudo-device	clockctl		# user control of clock subsystem
pseudo-device	ksyms			# /dev/ksyms

# data mover pseudo-devices
#pseudo-device	swdmover		# softare dmover(9) back-end
#pseudo-device	dmoverio		# /dev/dmover dmover(9) interface

--------------050304040301090900070609--