Skip navigation.
Home
The QNX Community Portal

View topic - QNX 6.2.1 in Virtualbox

QNX 6.2.1 in Virtualbox

General Help about QNX

QNX 6.2.1 in Virtualbox

Postby edivad » Sat Mar 06, 2010 11:07 am

Hello,
I installed QNX 6.2.1 in Virtualbox 3.0.12, and I'm trying to make an internet connection, but I'm not able to do this.
Can anybody please help me? Which settings do I have to choose under Virtualbox (and QNX of course)?
Usually, I choose a net interface connected via NAT, and it works under linux, windows, opensolaris and other guest OSes.

Thanks a lot in advance

Davide
edivad
New Member
 
Posts: 7
Joined: Fri Feb 04, 2005 1:18 pm

RE: QNX 6.2.1 in Virtualbox

Postby maschoen » Sun Mar 07, 2010 5:35 pm

NAT is how the virtual card is connected to the host network. What you need is a virtual card that QNX supports. What options does your "Virtualbox" provide?
maschoen
QNX Master
 
Posts: 2640
Joined: Wed Jun 25, 2003 5:18 pm

RE: QNX 6.2.1 in Virtualbox

Postby edivad » Tue Mar 09, 2010 1:40 pm

Hello, thanks for the answer, the options are:
AMD PCnet PCI II (Am79C970A), AMD PCnet-Fast III (Am79C973), Intel Pro/1000 MT Desktop (82540EM), Intel Pro/1000 MT Server (82545EM), and Intel Pro/1000 T Server (82543GC)

Thanks again,
Davide
edivad
New Member
 
Posts: 7
Joined: Fri Feb 04, 2005 1:18 pm

Postby Tim » Tue Mar 09, 2010 2:20 pm

Davide,

The Intel Pro/1000 MT Desktop (82540EM) is supported by QNX. So this is the one you want to use.

Then start the network driver as:

io-net -ptcpip -di82544 &

Then the network manager

netmanager

Assuming you've set up a net.cfg in the /etc directory with all the relevant information on dhcp, ip address, netmask etc you should be good to go. You can do this manually or from Photon there is a GUI interface.

Tim
Tim
Senior Member
 
Posts: 1388
Joined: Wed Mar 10, 2004 12:28 am

Postby edivad » Wed Mar 10, 2010 12:02 am

Hi, thanks for the answer!
I opened a terminal and I wrote

io-net -ptcpip -di82544 &

but I had in response:

[1] 524313
# unable to load dll devn-i82544: Library cannot be found

What can I do?

Thanks again

Davide
edivad
New Member
 
Posts: 7
Joined: Fri Feb 04, 2005 1:18 pm

Postby Tim » Wed Mar 10, 2010 2:23 pm

Davide,

That would tend to indicate the driver isn't there.

I went here to get the list of supported hardware and selected 6.2.1 and Wired Networking cards and it showed that intel driver.

http://www.qnx.com/developers/hardware_support

So I assumed it was part of the 6.2.1 release. But maybe that particular driver was part of some later service pack release for 6.2.1.

On the other hand, the AMD cards are also listed as supported. I didn't use those because because I have no experience with them. But you might try instead the Am79C973 card and replace the i82544 with pcnet.

Tim
Tim
Senior Member
 
Posts: 1388
Joined: Wed Mar 10, 2004 12:28 am

Postby edivad » Wed Mar 10, 2010 2:49 pm

Hi Tim,
thanks for the answers, this time I wrote in the terminal:

io-net -ptcpip -dpcnet &

and the response was:

# unable to init dll devn-pcnet: Function not implemented

At least it's different than before... Any ideas?

Thanks again, Davide
edivad
New Member
 
Posts: 7
Joined: Fri Feb 04, 2005 1:18 pm

Postby Tim » Wed Mar 10, 2010 5:53 pm

Davide,

Then I'd say you are out of luck with 6.2.1. That's a *very* old version of QNX (2004 time frame).

My guess is the drivers you need were developed for 6.3 or later and are compatible with 6.2.1 but aren't part of the original 6.2.1 install.

So you have 2 choices:

1) Obtain and install a later version of QNX
2) Obtain a copy of those drivers (foundry27 is where QNX places source code / binaries to a lot of drivers) and put them on your system manually (via USB drive/CD since you obviously don't have a network connection)

Tim
Tim
Senior Member
 
Posts: 1388
Joined: Wed Mar 10, 2004 12:28 am

Postby edivad » Thu Mar 11, 2010 12:01 am

Hi Tim,
I think the drivers are there, because in the /lib/dll/ folder there is a file called devn-pcnet.so
I just can't understand why it gives me these errors...
edivad
New Member
 
Posts: 7
Joined: Fri Feb 04, 2005 1:18 pm

Postby Tim » Thu Mar 11, 2010 2:19 pm

Davide,

I am of course assuming:

1) You are running these commands as a root user
2) When you switched to the pcnet driver you changed the virtualbox to provide an AMD ethernet card and not an intel one.

Assuming those things are true you can turn on debugging to io-net and the pcnet driver with

io-net -v -ptcpip -dpcnet verbose=4 &

Then run 'sloginfo' to view the debug logs. Hopefully something useful will be captured in the logs.

Tim
Tim
Senior Member
 
Posts: 1388
Joined: Wed Mar 10, 2004 12:28 am

Postby edivad » Fri Mar 12, 2010 2:39 pm

Hi,
yes, the QNX 6.2.1 NC I found here needs "root" as login and no password;
attached here you can find a screenshot of the results of sloginfo
Thanks
Davide

Tim wrote:Davide,

I am of course assuming:

1) You are running these commands as a root user
2) When you switched to the pcnet driver you changed the virtualbox to provide an AMD ethernet card and not an intel one.

Assuming those things are true you can turn on debugging to io-net and the pcnet driver with

io-net -v -ptcpip -dpcnet verbose=4 &

Then run 'sloginfo' to view the debug logs. Hopefully something useful will be captured in the logs.

Tim
Attachments
screenshot.png
Virtualbox Screenshot
(73.67 KiB) Downloaded 64 times
edivad
New Member
 
Posts: 7
Joined: Fri Feb 04, 2005 1:18 pm

Postby Tim » Fri Mar 12, 2010 3:43 pm

Davide,

The PCI attach failure message indicates that the driver can't find the NIC card that VirtualBox is attempting to provide.

What kind of options can you set in VirtualBox with that NIC card? It's going to have to simulate it as a PCI device. You may need to get help from a VirtualBox forum for doing that.

Tim
Tim
Senior Member
 
Posts: 1388
Joined: Wed Mar 10, 2004 12:28 am

Postby jeremypenner » Thu May 13, 2010 9:51 pm

Found this post via Google. I had the exact same problem, bizarrely enough; my problem was that no PCI server was running for whatever reason. The following works for me, running QNX 6.2 under VirtualBox 3.2, with a "PCnet-PCI II" emulated network adapter:

# pci-bios
# slay io-net
# io-net -dpcnet -ptcpip
# dhcp.client

It sure is nice to browse the web with Voyager again!
jeremypenner
New Member
 
Posts: 1
Joined: Thu May 13, 2010 3:59 pm

Postby bwana » Thu Jul 01, 2010 9:52 pm

I have a similar problem. I downloaded the trial vmware image of QNX.
Neutrino641target
Logged in as root, no password.
First of all, no web browser comes up when i hit the 'web browser' btn under internet on the right.
Typing "io-net -dpcnet -ptcpip " in terminal gives:
"no such file or directory"

Getting a log shows pci is attached but then some errors (see pic)

Help a noob?
Attachments
Screen shot.png
(35.37 KiB) Downloaded 26 times
bwana
New Member
 
Posts: 1
Joined: Thu Jul 01, 2010 9:18 pm

Postby mario » Fri Jul 02, 2010 12:37 am

In 641 there is no io-net anymore it's called io-pkt ( there are multiple flavor of it ).

Don't know why you aren't getting a brower though
mario
QNX Master
 
Posts: 4132
Joined: Sun Sep 01, 2002 1:04 am

Next

Return to Help

Who is online

Users browsing this forum: No registered users and 1 guest