[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linux1394-user
Subject:    Re: sbp2: sbp2util_node_write_no_wait failed
From:       Michael Brade <brade () informatik ! uni-muenchen ! de>
Date:       2005-11-02 18:15:29
Message-ID: 200511021915.37351.brade () informatik ! uni-muenchen ! de
[Download RAW message or body]

Heh, good news, debugging finished! :-)

On Tuesday 01 November 2005 20:55, Stefan Richter wrote:
> sbp2.c::sbp2util_node_write_no_wait calls
> ieee1394_core.c::hpsb_send_packet and ohci1394.c::ohci_transmit. You
> could add printks to the failure paths of the latter two functions to
> find out what prevented sbp2 from sending.
Alright, none of those was a problem, in my case the sbp2 can't get a 
transaction label for the packet. ieee1394_transactions.c::hpsb_get_tlabel() 
returns non-zero. It only seems to happen when sbp2util_node_write_no_wait() 
is called from sbp2.c line 2020, I haven't seen it happen in line 2056. Then 
sbp2util_node_write_no_wait() calls hpsb_make_writepacket(), which fails and 
returns a NULL packet due to the tlabel thing.

Any idea what to fix? It doesn't seem justified to lock up for 30 seconds 
since a new label could be available much earlier. But that's just my guess.

Cheers,
-- 
Michael Brade;                 KDE Developer, Student of Computer Science
  |-mail: echo brade !#|tr -d "c oh"|s\e\d 's/e/\@/2;s/$/.org/;s/bra/k/2'
  °--web: http://www.kde.org/people/michaelb.html

KDE 3: The Next Generation in Desktop Experience

[Attachment #3 (application/pgp-signature)]
-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
mailing list Linux1394-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux1394-user

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic