OpenQNX :: The QNX Community Portal

Oct 07, 2008 - 11:44 AM
Google
  Web openqnx.com   
     Create an account Home · Submit News · QNX Forums · QNX Download · Search   
_
Main Menu
Who's Online
There are 42 unlogged users and 3 registered users online.

You can log-in or register for a user account here.

Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
soycola
Post subject: Lan91c111 problem on QNX 4.25  PostPosted: Jul 23, 2007 - 08:27 AM
New Member


Joined: Apr 14, 2007
Posts: 2

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:
Quote:
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:

Quote:
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
 
 View user's profile Send private message  
Reply with quote Back to top
ianc
Post subject: RE: Lan91c111 problem on QNX 4.25  PostPosted: Jul 23, 2007 - 11:06 PM
Active Member


Joined: Jan 22, 2003
Posts: 36
Location: Bendigo, Australia
You are not running the subsequent drivers with the same i/o address are you ?
 
 View user's profile Send private message  
Reply with quote Back to top
soycola
Post subject: re:Lan91c111 problem on QNX 4.25  PostPosted: Jul 24, 2007 - 01:16 AM
New Member


Joined: Apr 14, 2007
Posts: 2

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.
 
 View user's profile Send private message  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by PNphpBB2 © 2003-2007 The PNphpBB Group
Credits
All logos and trademarks in this site are property of their respective owners. The comments are property of their posters.
Powered by OpenQNX: The QNX Community Portal Site
QNX and the QNX logo are registered trademarks of QNX Software Systems.