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

List:       linux1394-user
Subject:    Re: sbp2 and fedora-core
From:       Stefan Richter <stefanr () s5r6 ! in-berlin ! de>
Date:       2004-02-19 23:05:02
Message-ID: 200402192302.i1JN2NUA008444 () einhorn ! in-berlin ! de
[Download RAW message or body]

On 19 Feb, informaciones wrote:
> Feb 19 09:54:07 servidor kernel: ohci1394: fw-host0: OHCI-1394 1.0 (PCI): 
> IRQ=[10]  MMIO=[feadf800-feadffff]  Max Packet=[2]

2 is really a bit too small for serious packets. :-)

>> On the other hand, do you know if this host works under kernel
>> 2.4?
> 
> No, it did not

So it looks like the old problem which was discussed here or at
linux1394-devel some time before. Try the simple attached patch
over ohci1394.c. You should also test with 2048 instead of 1024
in the #define directive. Does it work?
-- 
Stefan Richter
-=====-=-=-- --=- =--==
http://arcgraph.de/sr/

["forcemaxpacket.diff" (TEXT/plain)]

--- ohci1394.c.orig	2004-02-15 03:28:06.000000000 +0100
+++ ohci1394.c	2004-02-19 23:55:39.000000000 +0100
@@ -607,8 +607,15 @@
 	      ((((buf) >> 4) & 0xf) + ((buf) & 0xf) * 10), irq_buf,
 	      pci_resource_start(ohci->dev, 0),
 	      pci_resource_start(ohci->dev, 0) + OHCI1394_REGISTER_SIZE - 1,
 	      ohci->max_packet_size);
+
+#define OHCI_FORCEMAXPACKETSIZE 1024
+	if (ohci->max_packet_size < OHCI_FORCEMAXPACKETSIZE) {
+		PRINT(KERN_WARN, ohci->id, "enforcing Max Packet=[%d]",
+		      OHCI_FORCEMAXPACKETSIZE);
+		ohci->max_packet_size = OHCI_FORCEMAXPACKETSIZE;
+	}
 }
 
 /* 
  * Insert a packet in the DMA fifo and generate the DMA prg

-------------------------------------------------------
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

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

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