sgiwd93 multiple disk problem
Hi,
i guess Ryan Murray has stumbled over the multiple disk problem on one of my machines again - I would like to fix that bug if i am able to.
My first suspicion was garbled DMA transfers which might happen if starting a new DMA transfer when thge last is still running. So i tried to add this to
drivers/scsi/sgiwd93.c:dma_setup
105
106 if (hregs->ctrl & HPC3_SCTRL_ACTIVE)
107 BUG();
108 This doesnt seem to get triggered.
Does anyone have another idea what happens ?
Flo
Signature · 2 lines
Florian Lohoff [email protected] +49-5201-669912 Why is it called "common sense" when nobody seems to have any?
Quoted 3 lines · Florian Lohoff
Hi,
i guess Ryan Murray has stumbled over the multiple disk problem on one of my machines again - I would like to fix that bug if i am able to.
While staring at it - Duplicate cache-inv in driver init
scsi/sgiwd93.c +0 -1
@@ -329,7 +333,6 @@ hdata1 = (struct WD33C93_hostdata *)sgiwd93_host1->hostdata; hdata1->no_sync =0 ; hdata1->dma_bounce_buffer = (uchar *) (KSEG1ADDR (buf)); -dma_cache_wback_inv ((unsigned long ) buf,PAGE_SIZE );if (request_irq (SGI_WD93_1_IRQ , sgiwd93_intr,0 ,"SGI WD93" , (void *) sgiwd93_host1)) {printk (KERN_WARNING "sgiwd93: Could not allocate irq %d (for host1).\n" ,SGI_WD93_1_IRQ );
Flo
Signature · 2 lines
Florian Lohoff [email protected] +49-5201-669912 Why is it called "common sense" when nobody seems to have any?
Quoted 4 lines · Florian Lohoff
Quoted 3 lines · Florian Lohoff
Hi,
i guess Ryan Murray has stumbled over the multiple disk problem on one of my machines again - I would like to fix that bug if i am able to.
Another one - After speaking to a couple of people on IRC i got to the conclusion that we are possibly dealing with 3 different problems.
I/Ryan have/has seen data corruption. The files md5sum gets broken the fses Metadata stays intact what an fsck shows.
Spock and Ian see "I/O" errors when copying a sourcetree from a disk to a different one (even on the same bus) with "cp -dR". Afterwards the filesystems metadata is corrupt.
Karel sees complete hangs on copy
Flo
Signature · 2 lines
Florian Lohoff [email protected] +49-5201-669912 Why is it called "common sense" when nobody seems to have any?
Quoted 9 lines · Florian Lohoff
Quoted 4 lines · Florian Lohoff
Quoted 3 lines · Florian Lohoff
Hi,
i guess Ryan Murray has stumbled over the multiple disk problem on one of my machines again - I would like to fix that bug if i am able to.Another one - After speaking to a couple of people on IRC i got to the conclusion that we are possibly dealing with 3 different problems.
Quoted 9 lines
I/Ryan have/has seen data corruption. The files md5sum gets broken the fses Metadata stays intact what an fsck shows.
Spock and Ian see "I/O" errors when copying a sourcetree from a disk to a different one (even on the same bus) with "cp -dR". Afterwards the filesystems metadata is corrupt.
Karel sees complete hangs on copy
Hi,
I saw cp hanged as I want copy the kernel-tree between two disks on resume(the indgio2 from flo, which is online).
Signature · 1 line
Henning
A message that is not in the archive (sent off-list or not yet received): 013801c0bc58$7abe2700$0deca8c0@Ulysses
From a test Ryan Murray has made we do have some interesting output:
Case 1
Data gets lost - From a diff on a large directory on ascii data i can see chunks to get lost e.g. 32K (31926 byte)
Case 2
Data gets lost and some additional bytes get inserted:
Example:
------------- schnipp ---------------------------------------
tcl.h found in /build/buildd/blt-2.4u/debian/tcl8.0/include - tk.h found in /build/buildd/blt-2.4u/debian/tk8.0/include
[...]
-gcc -c -Wall -O6 -I. -I. -I/build/buildd/blt-2.4u/debian/tk8.0/include -I/build/buildd/blt-2.4u/debian/tcl8.0/include bltGrPs.c
+ tk.h found in /build/ltGrPs.c
gcc -c -Wall -O6 -I. -I. -I/build/buildd/blt-2.4u/debian/tk8.0/include -I/build/buildd/blt-2.4u/debian/tcl8.0/include bltGraph.c
------------- schnapp ---------------------------------------
Case 3
Zero bytes get inserted (2561 bytes and 3073 bytes)
Example:
------------- schnipp ---------------------------------------
gcc -c -Wall -O6 -I. -I. -I/build/buildd/blt-2.4u/debian/tk8.0/include -I/build/buildd/blt-2.4u/debian/tcl8.0/include tkFrame.c -gcc -c -Wall -O6 -I. -I. -I/build/buildd/blt-2.4u/debian/tk8.0/include -I/build/buildd/blt-2.4u/debian/tcl8.0/include tkScrollbar.c +gcc -c -Wall -O6 -I. -I. -I/build/buildd/blt-2.4u