NetBSD Problem Report #17433
Received: (qmail 27036 invoked by uid 605); 29 Jun 2002 23:05:46 -0000
Message-Id: <200206292305.g5TN5hI26265@ficus.home>
Date: Sun, 30 Jun 2002 01:05:43 +0200 (CEST)
From: Anthony Mallet <anthony.mallet@useless-ficus.net>
Sender: gnats-bugs-owner@netbsd.org
Reply-To: Anthony Mallet <anthony.mallet@useless-ficus.net>
To: gnats-bugs@gnats.netbsd.org
Subject: ieee1394 camera / bogus ROM
X-Send-Pr-Version: 3.95
>Number: 17433
>Category: kern
>Synopsis: ieee1394 camera / bogus ROM
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: kern-bug-people
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sat Jun 29 23:06:00 +0000 2002
>Closed-Date: Sat Nov 12 16:35:34 +0000 2005
>Last-Modified: Sat Nov 12 16:35:34 +0000 2005
>Originator: Anthony Mallet
>Release: NetBSD 1.5ZC
>Organization:
>Environment:
System: NetBSD ficus 1.5ZC NetBSD 1.5ZC (FICUS) #3: Sat May 4 20:51:04 CEST 2002 toto@ficus:/home/src/netbsd-current/sys/arch/i386/compile/FICUS i386
Architecture: i386
Machine: i386
>Description:
I'm trying to have a firewire camera working (DC compatible).
(the purpose of that is to eventually develop an fwdc driver).
As of now, Ím facing a strange problem: it looks like the config rom of
the camera is bogus. Here is the beginning of the rom as output by
fwnode_dump_rom():
/* Bus info */
0x04205b5e, 0x31333934, 0x20ff4000, 0x00d0f540,
0x00070285,
/* Root dir */
0x000446b3, 0x0300d0f5, 0x06070198 (*),
0x8d000002, 0xd1000004,
/* etc.. */
As you can see, the quadlet marked with a star begins with 0x06, which
translates into 'P1212_KEYVALUE_Module_Sw_Version' (this is incorrect).
The correct value (according to the iidc 1.20 specs) should be 0x0C
(P1212_KEYVALUE_Node_Capabilities).
(note that the CRC of the rom or the root dir is ok).
Because of the 0x06, I get the "Can't have unit directories with either
module or node software version defined" message, and I cannot go
further.
Shouldn't the p1212_parse_directory() function be more tolerant (simply
throwing away the incorrect key and continuing the parsing)?
Or should I definitely throw away my 1394 card?
(I won't write a patch until someone tells me which solution I should
choose :)
Besides this problem, the rest of the rom seems to be ok...
(I also had a problem with CRC calculation, I sent-pr it spearately)
BTW: could someone send me the p1212 specs and/or iidc 1.04? I din't find
anything useful on google. (Just found iidc 1.20 and 1.30).
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: gnats-admin->kern-bug-people
Responsible-Changed-By: lukem
Responsible-Changed-When: Sun Jun 30 06:44:44 PDT 2002
Responsible-Changed-Why:
State-Changed-From-To: open->closed
State-Changed-By: chs@netbsd.org
State-Changed-When: Sat, 12 Nov 2005 16:35:34 +0000
State-Changed-Why:
the firewire code has been replaced with the freebsd implementation
in -current.
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.