Project Home
Project Home
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - Problem on mounting driver .so: (8 Items)
   
Problem on mounting driver .so  
Hi,

I have modified the sample ethernet driver.

when i load the driver 

mount -T io-pkt wm0 -v /lib/dll/devnp-sam.so

the following error i got

Parsed: mount from [/lib/dll/devnp-pe.so] mount on [NULL] type [io-pkt]
mount: Can't mount / (type io-pkt)
mount: Possible reason: No such device or address

Please help me on this ,why mount on NULL is coming,
can you please tell the reason.

Thanks and Regards
K.Senthil
Re: Problem on mounting driver .so  
On Wed, Oct 14, 2009 at 08:50:59AM -0400, Senthil K wrote:
> Hi,
> 
> I have modified the sample ethernet driver.
> 
> when i load the driver 
> 
> mount -T io-pkt wm0 -v /lib/dll/devnp-sam.so

That doesn't look right.  Should be something like:

# mount -T io-pkt -o "name=wm,unit=0" /lib/dll/devnp-sam.so

-seanb
Re: Problem on mounting driver .so  
Hi Sean,

same i tried ...

# mount -T io-pkt -o "name=wm,unit=0" -v /lib/dll/devnp-sam.so
Parsed: mount from [/lib/dll/devnp-sam.so] mount on [NULL] type [io-pkt]
mount: Can't mount / (type io-pkt)
mount: Possible reason: No such device or address

Thanks
K.Senthil
Re: Problem on mounting driver .so  
On Wed, Oct 14, 2009 at 09:08:03AM -0400, Senthil K wrote:
> Hi Sean,
> 
> same i tried ...
> 
> # mount -T io-pkt -o "name=wm,unit=0" -v /lib/dll/devnp-sam.so
> Parsed: mount from [/lib/dll/devnp-sam.so] mount on [NULL] type [io-pkt]
> mount: Can't mount / (type io-pkt)
> mount: Possible reason: No such device or address
> 

The -v is going to the mount utility, not your driver.

Check out the 'How do I debug a driver using gdb?' section
of this page:

http://community.qnx.com/sf/wiki/do/viewPage/projects.networking/wiki/Drivers_wiki_page

You should be able to step through and see exactly
where the ENXIO is being raised.  Also check the
sloginfo.

-seanb
Problem mounting lsm-autoip.so in QNX 6.4.1  
Hi,

we load the lsm-autoip.so in QNX 6.4.1.

mount -T io-pkt -oif=wm0,debug lsm-autoip.so

It throws Symbol not found.

But its working in QNX 6.4.0.

so we copied the lsm-autoip.so from QNX 6.4.0 to QNX 6.4.1 then
it was working fine.

So please help me on this.

Thanks and Regards
K.Senthil
Re: Problem mounting lsm-autoip.so in QNX 6.4.1  
On Thu, Oct 15, 2009 at 08:19:09AM -0400, Senthil K wrote:
> Hi,
> 
> we load the lsm-autoip.so in QNX 6.4.1.
> 
> mount -T io-pkt -oif=wm0,debug lsm-autoip.so
> 
> It throws Symbol not found.

Which symbol is it complaining about?

-seanb
RE: Problem mounting lsm-autoip.so in QNX 6.4.1  
If the symbol was report(), this was just fixed recently. It would be
available on the foundry.  trunk/sys/lsm/autoip 

Dave

> -----Original Message-----
> From: Sean Boudreau [mailto:community-noreply@qnx.com]
> Sent: Thursday, October 15, 2009 9:00 AM
> To: drivers-networking
> Subject: Re: Problem mounting lsm-autoip.so in QNX 6.4.1
> 
> On Thu, Oct 15, 2009 at 08:19:09AM -0400, Senthil K wrote:
> > Hi,
> >
> > we load the lsm-autoip.so in QNX 6.4.1.
> >
> > mount -T io-pkt -oif=wm0,debug lsm-autoip.so
> >
> > It throws Symbol not found.
> 
> Which symbol is it complaining about?
> 
> -seanb
> 
> 
> 
> _______________________________________________
> 
> Networking Drivers
> http://community.qnx.com/sf/go/post40019
Re: RE: Problem mounting lsm-autoip.so in QNX 6.4.1  
Hi 

can you please help me out and tell me the steps to download this file.
I tried by going to source code and selecting core networking option and then clicking on browse repository but it shows
 current revision 0 of 0 and i'm not able to proceed any further.

Thanks
Senthil