Skip navigation.
Home
The QNX Community Portal

View topic - Lan91c111 problem on QNX 4.25

Lan91c111 problem on QNX 4.25

Read-only archive of qnx.qnx4 (General QNX4 Discussion Group) at inn.qnx.com

Lan91c111 problem on QNX 4.25

Postby soycola » Mon Jul 23, 2007 8:27 am

Hi,

I'm working a x86-based board with two smc91c111 network NICs, using the Net.ether9000 driver shipped with QNX 4.25. However I've problems getting it work, when I run the driver for the first time, with command line like this :

Net.ether9000 -p 0x200 -i 5 -v

it can find the card, with the following output:
Net.ether9000 Driver initializing ....
ROM not detected
I/O Port Base ..... 200
IRQ ... 5
CHIP TYPE ... 9
Detected SMC91C0
Autonegotiate returned 0
MDI_GetActiveMedia returned 3
Mode = 100BTHD
Net Address .... 001719 f33292
Using 10baseT connector
Net.ether9000: INITIALIZATION ERROR 3


Then I run the driver for the second(and third, ...) time, it emits a very confusing message:

Net.ether9000: INITIALIZATION ERROR 4.


and then exit.

The card works find under VxWorks, and also on QNX 6.3 with slight modification on the driver source.

Can anybody give some hints for troubleshooting? thanks in advance.

Best regards,

soycola@tom.com
soycola
New Member
 
Posts: 2
Joined: Sat Apr 14, 2007 11:25 am

RE: Lan91c111 problem on QNX 4.25

Postby ianc » Mon Jul 23, 2007 11:06 pm

You are not running the subsequent drivers with the same i/o address are you ?
ianc
Active Member
 
Posts: 80
Joined: Wed Jan 22, 2003 6:04 am
Location: Bendigo, Australia

re:Lan91c111 problem on QNX 4.25

Postby soycola » Tue Jul 24, 2007 1:16 am

Yes I run it with the same I/O address. I've figured out why it outputs different message on the second pass -- should do a `slay Net.ether9000' before the second run.

I believe QNX 6.3 driver for the same card needs a small patch regarding initialization sequence to work after some time comparing VxWorks source and QNX source, now I wonder if the 4.25 source is available so that I can apply the same patch, or else I'll have to do a binary patch.
soycola
New Member
 
Posts: 2
Joined: Sat Apr 14, 2007 11:25 am


Return to qnx.qnx4

Who is online

Users browsing this forum: No registered users and 3 guests