Project Home
Project Home
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - devc-ser8250 driver: (9 Items)
   
devc-ser8250 driver  
Hi, I installed SP1 update to 6.5.0 and then burned the runtime image. In the SP1 runtime that serial driver wont work. 
Here is the error message when I try to start the driver : 

ldd:FATAL: Unresolved symbol "hwi_find_item" called from Executable

If I copy the driver from the older ISO it works just fine. Some kind of compile bug??
Re: devc-ser8250 driver  
From the runtime, what is the output of uname -a ?


On 2012-07-04, at 5:54 AM, Pekka Tuusjärvi wrote:

> Hi, I installed SP1 update to 6.5.0 and then burned the runtime image. In the SP1 runtime that serial driver wont work
. Here is the error message when I try to start the driver : 
> 
> ldd:FATAL: Unresolved symbol "hwi_find_item" called from Executable
> 
> If I copy the driver from the older ISO it works just fine. Some kind of compile bug??
> 
> 
> 
> _______________________________________________
> 
> OSTech
> http://community.qnx.com/sf/go/post94005
> To cancel your subscription to this discussion, please e-mail ostech-core_os-unsubscribe@community.qnx.com

Re: devc-ser8250 driver  
> ldd:FATAL: Unresolved symbol "hwi_find_item" called from Executable
> 
> If I copy the driver from the older ISO it works just fine.

I suspect that while you've updated binaries to SP1, you have booted from a pre-SP1 image (IFS) where the first libc in 
the search path (probably /proc/boot/libc.so.3) is not updated to SP1.

Can you check that you are using the SP1 libc.so.3 ?  use -i libc.so.3 should tell you.
Re: devc-ser8250 driver  
Here is the output of that command. 

'libc.so.3' is not an executable file in PATH: '/sbin:/usr/sbin:/usr/photon/bin:/bin:/usr/bin:/usr/lo
cal/bin:/opt/bin:/opt/sbin:/usr/photon/appbuilder:/opt/X11R6/bin:/usr/X11R6/bin:/usr/photon/dll:/usr/
photon/lib:/opt/lib:/usr/local/lib:/opt/X11R6/lib:/usr/X11R6/lib'.

What should I do next? 
Re: devc-ser8250 driver  
Try use -i /proc/boot/libc.so
And also ls -l /proc/boot



----- Original Message -----
From: Pekka Tuusjärvi [mailto:community-noreply@qnx.com]
Sent: Thursday, July 05, 2012 01:58 AM
To: ostech-core_os <ostech-core_os@community.qnx.com>
Subject: Re: devc-ser8250 driver

Here is the output of that command. 

'libc.so.3' is not an executable file in PATH: '/sbin:/usr/sbin:/usr/photon/bin:/bin:/usr/bin:/usr/lo
cal/bin:/opt/bin:/opt/sbin:/usr/photon/appbuilder:/opt/X11R6/bin:/usr/X11R6/bin:/usr/photon/dll:/usr/
photon/lib:/opt/lib:/usr/local/lib:/opt/X11R6/lib:/usr/X11R6/lib'.

What should I do next? 



_______________________________________________

OSTech
http://community.qnx.com/sf/go/post94041
To cancel your subscription to this discussion, please e-mail ostech-core_os-unsubscribe@community.qnx.com
Re: devc-ser8250 driver  
Heres the output use -i /proc/boot/libc.so :

NAME=libc.so
DESCRIPTION=C runtime library
DATE=2010/07/09-12:54:28-EDT
STATE=stable
HOST=mainbuild
USER=builder
VERSION=6.5.0
TAGID=89

And here ls -l /proc/boot :

total 6353
-rwxr-xr-x  1 root      root          22294 Jul 09  2010 cam-cdrom.so
-rwxr-xr-x  1 root      root          13738 Jul 09  2010 cam-disk.so
-rwxr-xr-x  1 root      root         162930 Jul 09  2010 devb-adpu320
-rwxr-xr-x  1 root      root         162115 Jul 09  2010 devb-aha8
-rwxr-xr-x  1 root      root          38975 Jul 09  2010 devb-ahci
-rwxr-xr-x  1 root      root         107156 Jul 09  2010 devb-eide
-rwxr-xr-x  1 root      root          40821 Jul 09  2010 devb-mvSata
-rwxr-xr-x  1 root      root          35648 Jul 09  2010 devb-umass
-rwxr-xr-x  1 root      root          86733 Jul 09  2010 devc-con
-rwxr-xr-x  1 root      root         107815 Jul 09  2010 devc-con-hid
-rwxr-xr-x  1 root      root          58750 Jul 09  2010 devh-ps2ser.so
-rwxr-xr-x  1 root      root          21128 Jul 09  2010 devh-usb.so
-rwxr-xr-x  1 root      root          39142 Jul 09  2010 devu-ehci.so
-rwxr-xr-x  1 root      root          30761 Jul 09  2010 devu-ohci.so
-rwxr-xr-x  1 root      root          30007 Jul 09  2010 devu-uhci.so
-rwxr-xr-x  1 root      root          76369 Jul 09  2010 diskboot
-rwxr-xr-x  1 root      root          21382 Jul 09  2010 fesh
-rwxr-xr-x  1 root      root          49356 Jul 09  2010 fs-cd.so
-rwxr-xr-x  1 root      root          78433 Jul 09  2010 fs-dos.so
-rwxr-xr-x  1 root      root          56333 Jul 09  2010 fs-ext2.so
-rwxr-xr-x  1 root      root          62610 Jul 09  2010 fs-mac.so
-rwxr-xr-x  1 root      root          36735 Jul 09  2010 fs-nt.so
-rwxr-xr-x  1 root      root          55343 Jul 09  2010 fs-qnx4.so
-rwxr-xr-x  1 root      root          72902 Jul 09  2010 fs-qnx6.so
-rwxr-xr-x  1 root      root          85618 Jul 09  2010 fs-udf.so
-rwxr-xr-x  1 root      root         169908 Jul 09  2010 io-blk.so
-rwxr-xr-x  1 root      root          33170 Jul 09  2010 io-hid
-rwxr-xr-x  1 root      root          94088 Jul 09  2010 io-usb
lrwxr-xr-x  1 root      root              9 Jul 09  2010 libc.so -> libc.so.3
-rwxr-xr-x  1 root      root         513152 Jul 09  2010 libc.so.3
lrwxr-xr-x  1 root      root             11 Jul 09  2010 libcam.so -> libcam.so.2
-rwxr-xr-x  1 root      root          73504 Jul 09  2010 libcam.so.2
lrwxr-xr-x  1 root      root             13 Jul 09  2010 libhiddi.so -> libhiddi.so.1
-rwxr-xr-x  1 root      root          27906 Jul 09  2010 libhiddi.so.1
lrwxr-xr-x  1 root      root             13 Jul 09  2010 libusbdi.so -> libusbdi.so.2
-rwxr-xr-x  1 root      root          47748 Jul 09  2010 libusbdi.so.2
-rwxr-xr-x  1 root      root          64148 Jul 09  2010 pci-bios
-rwxr-xr-x  1 root      root         593920 Jul 09  2010 procnto-smp-instr
-rwxr-xr-x  1 root      root          13001 Jul 09  2010 seedres
-rwxr-xr-x  1 root      root          14636 Jul 09  2010 slogger
-rw-rw-rw-  1 root      root            144 Jul 10  2010 startup-script
-rwxr-xr-x  1 root      root          36783 Jul 09  2010 umass-enum
-rw-r--r--  1 root      root           4113 Oct 26  2004 umass-enum.cfg
-rw-rw-rw-  1 root      root             18 Jul 10  2010 unlink_list


> Try use -i /proc/boot/libc.so
> And also ls -l /proc/boot
> 
> 
> 
> ----- Original Message -----
> From: Pekka Tuusjärvi [mailto:community-noreply@qnx.com]
> Sent: Thursday, July 05, 2012 01:58 AM
> To: ostech-core_os <ostech-core_os@community.qnx.com>
> Subject: Re: devc-ser8250 driver
> 
> Here is the output of that command. 
> 
> 'libc.so.3' is not an executable file in PATH: '/sbin:/usr/sbin:/usr/photon/
> bin:/bin:/usr/bin:/usr/lo
> cal/bin:/opt/bin:/opt/sbin:/usr/photon/appbuilder:/opt/X11R6/bin:/usr/X11R6/
> bin:/usr/photon/dll:/usr/
>...
View Full Message
Re: devc-ser8250 driver  
Thank you for this information. It would appear Neutrino is booting from the older 6.5.0 IFS (qnxbase*.ifs) as your libc
 is not from SP1.  The time stamps on the /proc/boot files (July 2010) also confirm that this is not an updated image.  
This is why the new devc-ser8250 does not work; it requires the SP1 libc.so.

Cheers,
Andy

On 2012-07-12, at 3:43 AM, Pekka Tuusjärvi wrote:

> Heres the output use -i /proc/boot/libc.so :
> 
> NAME=libc.so
> DESCRIPTION=C runtime library
> DATE=2010/07/09-12:54:28-EDT
> STATE=stable
> HOST=mainbuild
> USER=builder
> VERSION=6.5.0
> TAGID=89
> 
> And here ls -l /proc/boot :
> 
> total 6353
> -rwxr-xr-x  1 root      root          22294 Jul 09  2010 cam-cdrom.so
> -rwxr-xr-x  1 root      root          13738 Jul 09  2010 cam-disk.so
> -rwxr-xr-x  1 root      root         162930 Jul 09  2010 devb-adpu320
> -rwxr-xr-x  1 root      root         162115 Jul 09  2010 devb-aha8
> -rwxr-xr-x  1 root      root          38975 Jul 09  2010 devb-ahci
> -rwxr-xr-x  1 root      root         107156 Jul 09  2010 devb-eide
> -rwxr-xr-x  1 root      root          40821 Jul 09  2010 devb-mvSata
> -rwxr-xr-x  1 root      root          35648 Jul 09  2010 devb-umass
> -rwxr-xr-x  1 root      root          86733 Jul 09  2010 devc-con
> -rwxr-xr-x  1 root      root         107815 Jul 09  2010 devc-con-hid
> -rwxr-xr-x  1 root      root          58750 Jul 09  2010 devh-ps2ser.so
> -rwxr-xr-x  1 root      root          21128 Jul 09  2010 devh-usb.so
> -rwxr-xr-x  1 root      root          39142 Jul 09  2010 devu-ehci.so
> -rwxr-xr-x  1 root      root          30761 Jul 09  2010 devu-ohci.so
> -rwxr-xr-x  1 root      root          30007 Jul 09  2010 devu-uhci.so
> -rwxr-xr-x  1 root      root          76369 Jul 09  2010 diskboot
> -rwxr-xr-x  1 root      root          21382 Jul 09  2010 fesh
> -rwxr-xr-x  1 root      root          49356 Jul 09  2010 fs-cd.so
> -rwxr-xr-x  1 root      root          78433 Jul 09  2010 fs-dos.so
> -rwxr-xr-x  1 root      root          56333 Jul 09  2010 fs-ext2.so
> -rwxr-xr-x  1 root      root          62610 Jul 09  2010 fs-mac.so
> -rwxr-xr-x  1 root      root          36735 Jul 09  2010 fs-nt.so
> -rwxr-xr-x  1 root      root          55343 Jul 09  2010 fs-qnx4.so
> -rwxr-xr-x  1 root      root          72902 Jul 09  2010 fs-qnx6.so
> -rwxr-xr-x  1 root      root          85618 Jul 09  2010 fs-udf.so
> -rwxr-xr-x  1 root      root         169908 Jul 09  2010 io-blk.so
> -rwxr-xr-x  1 root      root          33170 Jul 09  2010 io-hid
> -rwxr-xr-x  1 root      root          94088 Jul 09  2010 io-usb
> lrwxr-xr-x  1 root      root              9 Jul 09  2010 libc.so -> libc.so.3
> -rwxr-xr-x  1 root      root         513152 Jul 09  2010 libc.so.3
> lrwxr-xr-x  1 root      root             11 Jul 09  2010 libcam.so -> libcam.so.2
> -rwxr-xr-x  1 root      root          73504 Jul 09  2010 libcam.so.2
> lrwxr-xr-x  1 root      root             13 Jul 09  2010 libhiddi.so -> libhiddi.so.1
> -rwxr-xr-x  1 root      root          27906 Jul 09  2010 libhiddi.so.1
> lrwxr-xr-x  1 root      root             13 Jul 09  2010 libusbdi.so -> libusbdi.so.2
> -rwxr-xr-x  1 root      root          47748 Jul 09  2010 libusbdi.so.2
> -rwxr-xr-x  1 root      root          64148 Jul 09  2010 pci-bios
> -rwxr-xr-x  1 root      root         593920 Jul 09  2010 procnto-smp-instr
> -rwxr-xr-x  1 root      root          13001 Jul 09  2010 seedres
> -rwxr-xr-x  1 root      root          14636 Jul 09  2010 slogger
> -rw-rw-rw-  1 root      root            144 Jul 10  2010 startup-script
> -rwxr-xr-x  1 root      root          36783 Jul 09  2010 umass-enum
> -rw-r--r--  1 root      root           4113 Oct 26  2004 umass-enum.cfg
> -rw-rw-rw-  1 root      root            ...
View Full Message
Re: devc-ser8250 driver  
This was a problem with the pre-release versions of SP1 but was addressed before SP1 released.  The issue was the 
installer did not rebuild and copy new ifs images into the /.boot directory.  If you installed a pre-release version of 
SP1, I would suggest uninstall 6.5.0 and re-installing 6.5.0 and then SP1.
If you did use a released version of SP1 and still ended up with older IFS images in your /.boot directory, then we 
should be looking at how that happened and PR it.

You can also rebuild your ifs images and copy them into your /.boot directory.

- Dave
Re: devc-ser8250 driver  
I encoutered the situation too. But I solved the issue successfully.
Please using "mkifs" to make a new image under SP1 enviroment, and please using new image to cover the old version "/.
boot", then reboot again. You can't see this message again.