• Home
  • Help
  • Search
  • Login
  • Register
Pages: 1 [2] 3 4
Author Topic: end_request: I/O error, dev mtdblock0, sector 0  (Read 31637 times)
sevi4310
Jr. Member
**

Karma: 0
Posts: 63


View Profile
« Reply #15 on: May 04, 2009, 11:41:18 AM »

I have a few more problems there.
1.
root@stockalerts:~# /usr/lib/libftd2xx.so -> /usr/lib/libftd2xx.so.0
-bash: /usr/lib/libftd2xx.so: is a directory

2.
root@stockalerts:/trunk# ./bootstrap
./bootstrap: line 2: aclocal: command not found
Bootstrap complete; you can './configure --enable-maintainer-mode ....'
root@stockalerts:/trunk# ./configure --enable-ft2232_libftdi
-bash: ./configure: No such file or directory

Please advice
Logged

Raśl Porcel
Global Moderator
Jr. Member
*****

Karma: 0
Posts: 68


View Profile
« Reply #16 on: May 04, 2009, 12:01:14 PM »

I have a few more problems there.
1.
root@stockalerts:~# /usr/lib/libftd2xx.so -> /usr/lib/libftd2xx.so.0
-bash: /usr/lib/libftd2xx.so: is a directory

Thats not a command, the wiki means that doing 'ls -la /usr/lib/libftd2xx.so' should output that.

2.
root@stockalerts:/trunk# ./bootstrap
./bootstrap: line 2: aclocal: command not found
Bootstrap complete; you can './configure --enable-maintainer-mode ....'
root@stockalerts:/trunk# ./configure --enable-ft2232_libftdi
-bash: ./configure: No such file or directory

Please advice


apt-get install build-essential
and then start again with bootstrap.
Logged

sevi4310
Jr. Member
**

Karma: 0
Posts: 63


View Profile
« Reply #17 on: May 04, 2009, 01:33:53 PM »

Sorry,
was that correct?


root@stockalerts:~# ls -la /usr/lib/libftd2xx.so
lrwxrwxrwx 1 root root 30 2009-05-02 11:20 /usr/lib/libftd2xx.so -> /usr/local/lib/libftd2xx0.4.16
root@stockalerts:~# ls -la /usr/lib/libftd2xx.so.0
-rw-r--r-- 1 root root 0 2009-05-04 11:31 /usr/lib/libftd2xx.so.0
Logged

sevi4310
Jr. Member
**

Karma: 0
Posts: 63


View Profile
« Reply #18 on: May 04, 2009, 01:49:20 PM »

Also I've got:

root@stockalerts:~# apt-get install build-essential
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
  binutils dpkg-dev g++ g++-4.3 gcc gcc-4.3 libc6-dev libgomp1 libstdc++6-4.3-dev linux-libc-dev make
Suggested packages:
  binutils-doc debian-keyring g++-multilib g++-4.3-multilib gcc-4.3-doc libstdc++6-4.3-dbg gcc-multilib manpages-dev autoconf automake1.9 libtool
  flex bison gdb gcc-doc gcc-4.3-multilib libmudflap0-4.3-dev gcc-4.3-locales libgcc1-dbg libgomp1-dbg libmudflap0-dbg glibc-doc libstdc++6-4.3-doc
  make-doc
The following NEW packages will be installed:
  binutils build-essential dpkg-dev g++ g++-4.3 gcc gcc-4.3 libc6-dev libgomp1 libstdc++6-4.3-dev linux-libc-dev make
0 upgraded, 12 newly installed, 0 to remove and 22 not upgraded.
Need to get 15.1MB of archives.
After this operation, 54.0MB of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 http://us.archive.ubuntu.com jaunty/main binutils 2.19.1-0ubuntu3 [1554kB]
Get:2 http://us.archive.ubuntu.com jaunty/main linux-libc-dev 2.6.28-11.42 [760kB]
Get:3 http://us.archive.ubuntu.com jaunty/main libc6-dev 2.9-4ubuntu6 [3453kB]
Get:4 http://us.archive.ubuntu.com jaunty/main libgomp1 4.3.3-5ubuntu4 [13.4kB]
Get:5 http://us.archive.ubuntu.com jaunty/main gcc-4.3 4.3.3-5ubuntu4 [2943kB]
Get:6 http://us.archive.ubuntu.com jaunty/main gcc 4:4.3.3-1ubuntu1 [5124B]
Get:7 http://us.archive.ubuntu.com jaunty/main libstdc++6-4.3-dev 4.3.3-5ubuntu4 [1356kB]
Get:8 http://us.archive.ubuntu.com jaunty/main g++-4.3 4.3.3-5ubuntu4 [4162kB]
Get:9 http://us.archive.ubuntu.com jaunty/main g++ 4:4.3.3-1ubuntu1 [1438B]
Get:10 http://us.archive.ubuntu.com jaunty/main make 3.81-5 [156kB]
Get:11 http://us.archive.ubuntu.com jaunty/main dpkg-dev 1.14.24ubuntu1 [643kB]
Get:12 http://us.archive.ubuntu.com jaunty/main build-essential 11.4 [7172B]
Fetched 15.1MB in 1min 38s (153kB/s)
Selecting previously deselected package binutils.
(Reading database ... 33099 files and directories currently installed.)
Unpacking binutils (from .../binutils_2.19.1-0ubuntu3_i386.deb) ...
Selecting previously deselected package linux-libc-dev.
Unpacking linux-libc-dev (from .../linux-libc-dev_2.6.28-11.42_i386.deb) ...
Selecting previously deselected package libc6-dev.
Unpacking libc6-dev (from .../libc6-dev_2.9-4ubuntu6_i386.deb) ...
Selecting previously deselected package libgomp1.
Unpacking libgomp1 (from .../libgomp1_4.3.3-5ubuntu4_i386.deb) ...
Selecting previously deselected package gcc-4.3.
Unpacking gcc-4.3 (from .../gcc-4.3_4.3.3-5ubuntu4_i386.deb) ...
Selecting previously deselected package gcc.
Unpacking gcc (from .../gcc_4%3a4.3.3-1ubuntu1_i386.deb) ...
Selecting previously deselected package libstdc++6-4.3-dev.
Unpacking libstdc++6-4.3-dev (from .../libstdc++6-4.3-dev_4.3.3-5ubuntu4_i386.deb) ...
Selecting previously deselected package g++-4.3.
Unpacking g++-4.3 (from .../g++-4.3_4.3.3-5ubuntu4_i386.deb) ...
Selecting previously deselected package g++.
Unpacking g++ (from .../g++_4%3a4.3.3-1ubuntu1_i386.deb) ...
Selecting previously deselected package make.
Unpacking make (from .../archives/make_3.81-5_i386.deb) ...
Selecting previously deselected package dpkg-dev.
Unpacking dpkg-dev (from .../dpkg-dev_1.14.24ubuntu1_all.deb) ...
Selecting previously deselected package build-essential.
Unpacking build-essential (from .../build-essential_11.4_i386.deb) ...
Processing triggers for man-db ...
Setting up binutils (2.19.1-0ubuntu3) ...

Setting up linux-libc-dev (2.6.28-11.42) ...
Setting up libc6-dev (2.9-4ubuntu6) ...
Setting up libgomp1 (4.3.3-5ubuntu4) ...

Setting up gcc-4.3 (4.3.3-5ubuntu4) ...
Setting up gcc (4:4.3.3-1ubuntu1) ...

Setting up make (3.81-5) ...
Setting up dpkg-dev (1.14.24ubuntu1) ...
Setting up libstdc++6-4.3-dev (4.3.3-5ubuntu4) ...
Setting up g++-4.3 (4.3.3-5ubuntu4) ...
Setting up g++ (4:4.3.3-1ubuntu1) ...

Setting up build-essential (11.4) ...
Processing triggers for libc6 ...
ldconfig deferred processing now taking place
/sbin/ldconfig.real: Cannot mmap file /usr/local/lib/libftd2xx.so.

/sbin/ldconfig.real: Cannot mmap file /usr/lib/libftd2xx.so.

/sbin/ldconfig.real: File /usr/lib/libftd2xx.so.0 is empty, not checked.
/sbin/ldconfig.real: File /usr/lib/libftd2xx.so.0.4.16 is empty, not checked.
Logged

Raśl Porcel
Global Moderator
Jr. Member
*****

Karma: 0
Posts: 68


View Profile
« Reply #19 on: May 04, 2009, 10:24:13 PM »

Try bootstraping anyway.
Logged

sevi4310
Jr. Member
**

Karma: 0
Posts: 63


View Profile
« Reply #20 on: May 05, 2009, 09:40:53 AM »

It dives me an error and configure doesn't work as well.

root@stockalerts:~# cd /trunk/
root@stockalerts:/trunk# ./bootstrap
./bootstrap: line 2: aclocal: command not found
Bootstrap complete; you can './configure --enable-maintainer-mode ....'
root@stockalerts:/trunk#
root@stockalerts:/trunk# ./configure --enable-ft2232_libftdi
-bash: ./configure: No such file or directory
root@stockalerts:/trunk#
Logged

Raśl Porcel
Global Moderator
Jr. Member
*****

Karma: 0
Posts: 68


View Profile
« Reply #21 on: May 05, 2009, 10:36:01 AM »

apt-get install automake1.9

and then start from bootstrap again
Logged

sevi4310
Jr. Member
**

Karma: 0
Posts: 63


View Profile
« Reply #22 on: May 05, 2009, 02:46:41 PM »

./bootstrap worked but
./configure --enable-ft2232_libftdi gave me an errors in three last lines.



root@stockalerts:/# cd /trunk/
root@stockalerts:/trunk# ./bootstrap
configure.in: installing `./install-sh'
configure.in: installing `./missing'
doc/Makefile.am:1: installing `doc/mdate-sh'
doc/Makefile.am:1: installing `doc/texinfo.tex'
src/Makefile.am: installing `./compile'
src/Makefile.am: installing `./depcomp'
configure.in:4: installing `./config.guess'
configure.in:4: installing `./config.sub'

Bootstrap complete; you can './configure --enable-maintainer-mode ....'
root@stockalerts:/trunk# ./configure --enable-ft2232_libftdi
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for library containing ioperm... none required
checking for library containing dlopen... -ldl
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking jtag_minidriver.h usability... no
checking jtag_minidriver.h presence... no
checking for jtag_minidriver.h... no
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking elf.h usability... yes
checking elf.h presence... yes
checking for elf.h... yes
checking for strings.h... (cached) yes
checking stdbool.h usability... yes
checking stdbool.h presence... yes
checking for stdbool.h... yes
checking whether time.h and sys/time.h may both be included... yes
checking whether byte ordering is bigendian... no
checking for strndup... yes
checking for strnlen... yes
checking for gettimeofday... yes
checking for usleep... yes
checking for vasprintf... yes
checking for "./guess-rev.sh"... yes
checking whether to enable verbose JTAG I/O messages... no
checking whether to enable verbose USB I/O messages... no
checking whether to enable verbose USB communication messages... no
checking Build & Link with libftdi...... configure: error: Cannot build & run test program using libftdi
root@stockalerts:/trunk#
Logged

Raśl Porcel
Global Moderator
Jr. Member
*****

Karma: 0
Posts: 68


View Profile
« Reply #23 on: May 06, 2009, 08:47:32 AM »

Uh...try using the other configure option:  ./configure --enable-ft2232_ftd2xx
Logged

sevi4310
Jr. Member
**

Karma: 0
Posts: 63


View Profile
« Reply #24 on: May 06, 2009, 01:19:46 PM »

bad luck

root@stockalerts:~# cd /trunk/
root@stockalerts:/trunk# ./configure --enable-ft2232_ftd2xx
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for library containing ioperm... none required
checking for library containing dlopen... -ldl
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking jtag_minidriver.h usability... no
checking jtag_minidriver.h presence... no
checking for jtag_minidriver.h... no
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking elf.h usability... yes
checking elf.h presence... yes
checking for elf.h... yes
checking for strings.h... (cached) yes
checking stdbool.h usability... yes
checking stdbool.h presence... yes
checking for stdbool.h... yes
checking whether time.h and sys/time.h may both be included... yes
checking whether byte ordering is bigendian... no
checking for strndup... yes
checking for strnlen... yes
checking for gettimeofday... yes
checking for usleep... yes
checking for vasprintf... yes
checking for "./guess-rev.sh"... yes
checking whether to enable verbose JTAG I/O messages... no
checking whether to enable verbose USB I/O messages... no
checking whether to enable verbose USB communication messages... no
checking ftd2xx.h usability... no
checking ftd2xx.h presence... no
checking for ftd2xx.h... no
configure: error: You seem to be missing the FTD2xx driver header file.
root@stockalerts:/trunk#
Logged

Raśl Porcel
Global Moderator
Jr. Member
*****

Karma: 0
Posts: 68


View Profile
« Reply #25 on: May 07, 2009, 08:40:50 AM »

apt-get install libftdi1
./configure --enable-ft2232_libftdi
Logged

sevi4310
Jr. Member
**

Karma: 0
Posts: 63


View Profile
« Reply #26 on: May 07, 2009, 09:15:46 AM »

Hi,
There were some problems with maping
take a look below

root@stockalerts:~# apt-get install libftdi1
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
  libftdi1
0 upgraded, 1 newly installed, 0 to remove and 22 not upgraded.
Need to get 14.6kB of archives.
After this operation, 81.9kB of additional disk space will be used.
Get:1 http://us.archive.ubuntu.com jaunty/universe libftdi1 0.13-2 [14.6kB]
Fetched 14.6kB in 0s (16.7kB/s)
Selecting previously deselected package libftdi1.
(Reading database ... 35593 files and directories currently installed.)
Unpacking libftdi1 (from .../libftdi1_0.13-2_i386.deb) ...
Setting up libftdi1 (0.13-2) ...

Processing triggers for libc6 ...
ldconfig deferred processing now taking place
/sbin/ldconfig.real: Cannot mmap file /usr/local/lib/libftd2xx.so.

/sbin/ldconfig.real: Cannot mmap file /usr/lib/libftd2xx.so.

/sbin/ldconfig.real: File /usr/lib/libftd2xx.so.0 is empty, not checked.
/sbin/ldconfig.real: File /usr/lib/libftd2xx.so.0.4.16 is empty, not checked.
Logged

sevi4310
Jr. Member
**

Karma: 0
Posts: 63


View Profile
« Reply #27 on: May 07, 2009, 09:22:01 AM »

here are some ls outputs:


root@stockalerts:/trunk# ls /usr/lib/libftd2xx.so.
ls: cannot access /usr/lib/libftd2xx.so.: No such file or directory
root@stockalerts:/trunk# ls /usr/lib/libftd2xx.so
Config.txt  ftd2xx.cfg  libftd2xx0.4.16      libftd2xx.so.0.4.16  libusb-0.1.12  readme.dat  static_lib
faq.txt     ftd2xx.h    libftd2xx.so.0.4.12  lib_table            object         sample      WinTypes.h
root@stockalerts:/trunk# ls /usr/lib/libftd2xx.so.*
/usr/lib/libftd2xx.so.0  /usr/lib/libftd2xx.so.0.4.16
Logged

Raśl Porcel
Global Moderator
Jr. Member
*****

Karma: 0
Posts: 68


View Profile
« Reply #28 on: May 07, 2009, 10:43:13 AM »

Thats okay, please run configure.
Logged

sevi4310
Jr. Member
**

Karma: 0
Posts: 63


View Profile
« Reply #29 on: May 07, 2009, 11:07:12 AM »

Here is output for both configure
does it look good?

root@stockalerts:/trunk# ./configure --enable-ft2232_libftdi
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for library containing ioperm... none required
checking for library containing dlopen... -ldl
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking jtag_minidriver.h usability... no
checking jtag_minidriver.h presence... no
checking for jtag_minidriver.h... no
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking elf.h usability... yes
checking elf.h presence... yes
checking for elf.h... yes
checking for strings.h... (cached) yes
checking stdbool.h usability... yes
checking stdbool.h presence... yes
checking for stdbool.h... yes
checking whether time.h and sys/time.h may both be included... yes
checking whether byte ordering is bigendian... no
checking for strndup... yes
checking for strnlen... yes
checking for gettimeofday... yes
checking for usleep... yes
checking for vasprintf... yes
checking for "./guess-rev.sh"... yes
checking whether to enable verbose JTAG I/O messages... no
checking whether to enable verbose USB I/O messages... no
checking whether to enable verbose USB communication messages... no
checking Build & Link with libftdi...... configure: error: Cannot build & run test program using libftdi
root@stockalerts:/trunk#
root@stockalerts:/trunk#
root@stockalerts:/trunk# ./configure --enable-ft2232_ftd2xx
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for library containing ioperm... none required
checking for library containing dlopen... -ldl
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking jtag_minidriver.h usability... no
checking jtag_minidriver.h presence... no
checking for jtag_minidriver.h... no
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking elf.h usability... yes
checking elf.h presence... yes
checking for elf.h... yes
checking for strings.h... (cached) yes
checking stdbool.h usability... yes
checking stdbool.h presence... yes
checking for stdbool.h... yes
checking whether time.h and sys/time.h may both be included... yes
checking whether byte ordering is bigendian... no
checking for strndup... yes
checking for strnlen... yes
checking for gettimeofday... yes
checking for usleep... yes
checking for vasprintf... yes
checking for "./guess-rev.sh"... yes
checking whether to enable verbose JTAG I/O messages... no
checking whether to enable verbose USB I/O messages... no
checking whether to enable verbose USB communication messages... no
checking ftd2xx.h usability... no
checking ftd2xx.h presence... no
checking for ftd2xx.h... no
configure: error: You seem to be missing the FTD2xx driver header file.
root@stockalerts:/trunk#
Logged

Pages: 1 [2] 3 4
Print
Jump to: