problems with 3C905 network card

Hello, I have a new copy of QNX 4.25 and I’m trying to install it on a new
PCI-bus PC. Basic installation seemed to go well (I’ve got the Photon
MicroGUI running). But I have been struggling with installing networking.
The network card is a 3Com 3C905CX. If I start the Net.ether905 driver
with defaults, it causes a kernel panic and the machine doesn’t boot. If I
give the -I option with anything other than -I0, then the Net.ether905
driver silently fails to start (-v doesn’t give any diagnostics either).
show_pci does detect the card and the settings it shows seem reasonable.
I’m running out of airspeed, altitude, and ideas here. Any suggestions you
can make would be greately appreciated.

I’m trying to get this QNX system to be a client on a TCP/IP network with
Unix, Linux, and Windows machines. This system will mostly be a passive
client (DNS & routing provided elsewhere). The only services I need to run
on this machine are telnetd and ftpd.

Thank you;
Matt Moore


Details:

%%%%%%%%% booting with Net.ether905 &

<< lots of normal looking stuff >>
Net: nm_load(): brg_tbl_autoload() failed
Net.ether905: INITIALIZATION ERROR 11
Net.ether905: INITIALIZATION ERROR 4

Version: 4.25J Sep 09 1999 Technical Support: +1 (613) 591-0941
kernel fault ldt 248 fault d+14
(pid = 42, ‘//4/bin/Net’)
cs:eip=f8:ea4 ss:esp=f8:1500 efl=12282 ds=1d es=1d fs=0 gs=0
<< and on to a register and stack dump >>

%%%%%%%%% show_pci sez:

PCI version = 2.10

Class = Mass Storage (IDE)
Vendor ID = 1106h, VIA Technologies
Device ID = 571h,
PCI index = 0h
IO @ b800h
PCI Int Pin = NC
Interrupt line = 0

Class = Network (Ethernet)
Vendor ID = 10b7h, 3Com
Device ID = 9200h,
PCI index = 0h
IO @ 9400h MEM @ de800000h
PCI Int Pin = INT A
Interrupt line = no connection

Class = Display (VGA)
Vendor ID = 1002h, ATI TECHNOLOGIES INC
Device ID = 5246h,
PCI index = 0h
MEM @ e0000000h IO @ d800h MEM @ df000000h ROM @
dffe0000h disabled
PCI Int Pin = INT A
Interrupt line = 11


%%%%%%%% my sysinit.4 file:

#Image: /boot/sys/boot -v
#Image: /boot/sys/Proc32 -l 4
#Image: /boot/sys/Slib32
#Image: /boot/sys/Slib16
#Image: /bin/Fsys
#Image: /bin/Fsys.eide fsys -Ndsk0 -n0=hd0. -n5=cd0. eide -a1f0 -i14
#Image: /bin/mount -p /dev/hd0.0 /dev/hd0.0t77 /
#Image: /bin/sinit TERM=qnxm
#export NODE=4
export KBD=en_US_101.kbd
export ABLANG=en
export CON_KBD=USA
export TZ=pst08pdt07,M4.1.0/2,M10.5.0/2
/bin/rtc -l hw
Dev &
emu87 &
Pipe &
/bin/Dev.ser -N/dev/ser1 3f8,4 &
Dev.ansi -Q -n1 &
reopen /dev/con1
kbd $CON_KBD
prefix -A /dev/console=/dev/con1
Dev.par &
Dev.pty -n16 &
/bin/Fsys.eide fsys -Ndsk1 -n0=hd1. -n5=cd1. eide -a170 -i15
/bin/Fsys.floppy -a3f0 -i6
/bin/Iso9660fsys /cd1.0=/dev/cd1.0 &

Define the default CD Rom

/bin/prefix -A /cd=//0/cd1.0
chkfsys /
Dosfsys b=/dev/fd1 a=/dev/fd0 &

Now add networking (added by Matt Moore)

Net -E 1 &
netmap -f
Net.ether905 -l1 -I1 &
nameloc &
/etc/netstart
sleep 3

done with networking (done with Matt’s additions)

if test -f /etc/config/bin/ph.$NODE
then
… /etc/config/bin/ph.$NODE
else
tinit -t /dev/con1 &
fi

%%%%%%%% my netstart file:

#!/bin/sh

export SOCK=$NODE
/bin/slay -f Socket Socklet;
/bin/prefix -D /dev/console >/dev/null 2>&1;
/bin/prefix -A /dev/console=/dev/con1;

start up Socket: assume hostnames are defined as ‘node#’

Note: if not using NFS, use Socklet instead

/usr/ucb/Socklet yap.ee.washington.edu &

Note: assuming ethernet interface on logical LAN 1

/usr/bin/syslogd &
/usr/ucb/ifconfig en1 128.95.205.163 up
/usr/ucb/ifconfig lo0 127.0.0.1 up

Note: to act as an NFS server, uncomment the next line

/etc/nfsstart

Note: to act as a TCP/IP server, uncomment the next line

/usr/ucb/inetd &
/usr/ucb/route add default 128.95.205.100

%%%%%%%% my hosts file:

Host Database

This file should contain the addresses and aliases

128.95.205.163 localhost yap yap.ee.washington.edu


my netmap file is empty.


\

++++++++++++++++++++++++++++++++++++++
Matthew Park Moore of Bellevue, WA, USA
mpmoore@u.washington.edu and/or mpmoore@truk.ee.washington.edu

Never mind: fixed.

The key insight was that “Plug & Play OS” has to be set to ‘NO’ in the BIOS
setup.

thank you;
matt moore

“Matthew P Moore” <mpmoore@truk.ee.washington.edu> wrote in message
news:95f9bj$4n2$1@inn.qnx.com

Hello, I have a new copy of QNX 4.25 and I’m trying to install it on a new
PCI-bus PC. Basic installation seemed to go well (I’ve got the Photon
MicroGUI running). But I have been struggling with installing networking.