Menu

#7 Failed to read Block.(nread=0xffffffac)

v1.0_(example)
open
nobody
5
2004-12-14
2004-12-14
No

I use Debian unstable, kernel kernel 2.6.8-1-k7 and
hotplug support. Packages mpio libmpio libmpio-dev
libusb-dev kmpio where installed from
http://www.le-seb.org/unofficial-debs/

a) I can start mpiosh or kmpio.

b) I get this error because I haven't connected the
device (obviously, but necessary for troubleshooting)
ERROR: Could not open /dev/usb/mpio
Verify that the mpio module is loaded and your MPIO is
connected and powered up.
could not find MPIO player.
mpio <i>

c) When I connect the FL100 to the usb bus, I get this
message on /var/log/messages. It seems like the device
is connected (ok)
usb 2-1.2: new full speed USB device using address 6
usb.agent[4145]: libmpio: loaded successfully

d) Then I type "open" in the mpiosh commandline and get
this error:
mpio <i> open
mpio: src/mpio.c(378): mpio_init: FL100 found:
External memory is ignored, because we don't know how
to support it at the moment (MultiMediaCards instead of
SmartMedia)
mpio: src/io.c(755): mpio_io_read: libusb returned
error: (ffffffac) "error reading from bulk endpoint
0x83: Invalid or incomplete multibyte or wide character"
mpio: src/io.c(1118): mpio_io_megablock_read:
Failed to read (sub-)block.(nread=0xffffffac)
mpio: src/io.c(755): mpio_io_read: libusb returned
error: (ffffffac) "error reading from bulk endpoint
0x83: Invalid or incomplete multibyte or wide character"
mpio: src/io.c(1268): mpio_io_spare_read:
Failed to read Block.(nread=0xffffffac)
connection to MPIO player is opened
mpio <i>
e) /var/log/messages displays this errors:
sb 2-1.2: usbfs: USBDEVFS_BULK failed ep 0x83 len 4096
ret -84
sb 2-1.2: usbfs: USBDEVFS_BULK failed ep 0x83 len 64
ret -84

I think this problem may be related with some
libraries, byt I'm not sure, so I followed step #5 on
FAQ http://mpio.sourceforge.net/faq.html and I got this
debug logfile:
--- Debug logfile (start)
mpio: src/io.c(524): mpio_device_open: trying libusb
mpio: src/io.c(554): mpio_device_open: claimed interface 0
mpio: src/io.c(563): mpio_device_open: USB endpoint #0
(Addr=0x03, Attr=0x02)
mpio: src/io.c(569): mpio_device_open: FOUND outgoing
USB endpoint (0x03)
mpio: src/io.c(563): mpio_device_open: USB endpoint #1
(Addr=0x83, Attr=0x02)
mpio: src/io.c(566): mpio_device_open: FOUND incoming
USB endpoint (0x83)
mpio: src/io.c(563): mpio_device_open: USB endpoint #2
(Addr=0x81, Attr=0x03)
mpio: src/io.c(580): mpio_device_open: using libusb
mpio: src/io.c(788): mpio_io_version_read: >>> MPIO
mpio: src/io.c(789): mpio_io_version_read:
data=0xbffff990 len=64
mpio: 0000: 01 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 ................
mpio: 0010: 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 ................
mpio: 0020: 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 ................
mpio: 0030: 00 00 00 00 00 00 00 00 00 00 00 6a 79
6b 69 6d ...........jykim
mpio: src/io.c(810): mpio_io_version_read: <<< MPIO
mpio: src/io.c(811): mpio_io_version_read:
data=0xbffff950 len=64
mpio: 0000: 46 4c 31 30 30 00 00 00 00 00 00 00 20
31 33 32 FL100....... 132
mpio: 0010: 32 30 30 33 30 39 32 39 ec f1 ec f1 ff
ff ff ff 20030929........
mpio: 0020: ff ff ff ff ff ff 00 00 00 00 00 00 00
00 00 00 ................
mpio: 0030: 00 00 00 00 00 00 00 00 01 00 00 00 79
00 02 6d ............y..m
mpio: src/mpio.c(378): mpio_init: FL100 found: External
memory is ignored, because we don't know how to support
it at the moment (MultiMediaCards instead of SmartMedia)
mpio: src/mpio.c(199): mpio_init_internal: found 2
chip(s) with 128 MB => 256 MB internal mem
mpio: src/mpio.c(210): mpio_init_internal: max_cluster:
2048
mpio: src/mpio.c(214): mpio_init_internal: fat_size: 8000
mpio: src/io.c(1097): mpio_io_megablock_read:
>>> MPIO
mpio: src/io.c(1098): mpio_io_megablock_read:
data=0xbfffae70 len=64
mpio: 0000: 02 01 00 00 00 00 00 00 00 00 00 00 00
00 00 00 ................
mpio: 0010: 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 ................
mpio: 0020: 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 ................
mpio: 0030: 00 00 00 00 00 00 00 00 00 00 00 6a 79
6b 69 6d ...........jykim
mpio: src/io.c(755): mpio_io_read: libusb returned
error: (ffffffac) "error reading from bulk endpoint
0x83: Invalid or incomplete multibyte or wide character"
mpio: src/io.c(1118): mpio_io_megablock_read:
Failed to read (sub-)block.(nread=0xffffffac)
mpio: src/io.c(1242): mpio_io_spare_read:
>>> MPIO
mpio: src/io.c(1243): mpio_io_spare_read:
data=0xbffff740 len=64
mpio: 0000: 07 01 00 00 00 00 00 00 00 00 00 00 00
00 00 00 ................
mpio: 0010: 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 ................
mpio: 0020: 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 ................
mpio: 0030: 00 00 00 00 00 00 00 00 00 00 00 6a 79
6b 69 6d ...........jykim
mpio: src/io.c(755): mpio_io_read: libusb returned
error: (ffffffac) "error reading from bulk endpoint
0x83: Invalid or incomplete multibyte or wide character"
mpio: src/io.c(1268): mpio_io_spare_read:
Failed to read Block.(nread=0xffffffac)
--- Debug logfile (end)

Discussion


Log in to post a comment.

MongoDB Logo MongoDB