Problem with IEEE1394 and testlibraw

From: Carl P. Evans III <cpe3_at_ufl.edu>
Date: Thu 12 Feb 2004 - 21:23:42 CET
Message-ID: <000701c3f1a6$1ef454e0$9a8b1e0a@CPE3>

Hello,
 
I am trying to get IEEE1394 working on a single board computer. I am
using Debian 3.2 (Woody) with kernel version 2.4.18-bf2.4. I set
everything up using the script below. The problem is that I can't
communicate with my 1394 camera. I tried running testlibraw and get the
output shown below. I assume that the "Illegal instruction" message
from testlibraw is indicative of a major problem with my setup. I also
noticed that there is no ieee1394 directory in /proc/bus/. What is most
baffling is that this works fine with Red Hat 8.0.
 
Does this problem sound familiar to anyone? Any suggestions?
 
Thank you,
Carl Evans
 
 
Setup Script
 
echo "Removing Modules"
rm -f /dev/video1394
rm -f /dev/raw1394
 
echo "Creating Modules"
mknod -m 666 /dev/video1394 c 172 0
mknod -m 666 /dev/raw1394 c 171 0
 
echo "Adding Modules"
/sbin/modprobe ieee1394
/sbin/modprobe raw1394
/sbin/modprobe ohci1394 attempt_root=1
/sbin/modprobe video1394
 
 
Output from testlibraw
 
successfully got handle
current generation number: 2
1 card(s) found
  nodes on bus: 2, card name: ohci1394
using first card found: 2 nodes on bus, local ID is 1, IRM is 63
 
doing transactions with custom tag handler
trying to send read request to node 0... completed with value 0x00000000
trying to send read request to node 1... completed with value 0x58b5b6ef
 
using standard tag handler and synchronous calls
trying to read from node 0... completed with value 0x00000000
trying to read from node 1... completed with value 0xe8d2b6ef
 
testing FCP monitoring on local node
got fcp command from node 1 of 8 bytes: 01 23 45 67 89 ab cd ef
got fcp response from node 1 of 8 bytes: 01 23 45 67 89 ab cd ef
testing config rom stuff
get_config_rom returned 1073821304, romsize -1073744068, rom_version 64
here are the first 10 quadlets:
0. quadlet: 0x01ee5739
1. quadlet: 0xbffff7e4
2. quadlet: 0x40013420
3. quadlet: 0x40000a8e
4. quadlet: 0x4002e510
5. quadlet: 0x40013d58
6. quadlet: 0x00000000
7. quadlet: 0x4002d27d
8. quadlet: 0x00000000
9. quadlet: 0x00000000
update_config_rom returned 1073821304
 
polling for leftover messages
Illegal instruction
 
 
Carl P. Evans III, E.I.
Graduate Research Assistant
Center for Intelligent Machines and Robotics
University of Florida
300 MAE-B
Gainesville, FL 32611
352-514-6608
cpe3@ufl.edu
 

-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
mailing list Linux1394-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux1394-user
Received on Thu Feb 12 21:28:50 2004

This archive was generated by hypermail 2.1.8 : Mon 02 May 2005 - 09:16:46 CEST