Thread (7 messages) 7 messages, 4 authors, 2008-01-31

Re: Bug: get EXT3-fs error Allocating block in system zone

From: Marco Gatti <hidden>
Date: 2007-12-10 18:01:46

Possibly related (same subject, not in this thread)

Jens Axboe schrieb:
quoted hunk ↗ jump to hunk
quoted
quoted
quoted
Hello Jens,
Thanks for help. I just applied the patch. Unfortunately it doesn't work.
Can you try and additionally boot with iommu=off as a boot parameter?
Yes. This is the end of getting any sata devices. See screenshots for 
errors. It continued untill ata4. At the end no root device was found.
Hmm, even though the address is set to 0xffffffff we still seem to
receive requests outside that range. Lets assume it's the scsi logic,
can you test this? IOW, patch + iommu=off + this patch.

I probably wont see any more mails tonight, we can continue this
tomorrow (or someone else can step in, whatever comes first :-)
diff --git a/drivers/scsi/scsi_lib.c b/drivers/scsi/scsi_lib.c
index 2faced6..769ce3a 100644
--- a/drivers/scsi/scsi_lib.c
+++ b/drivers/scsi/scsi_lib.c
@@ -1572,7 +1572,9 @@ struct request_queue *__scsi_alloc_queue(struct Scsi_Host *shost,
 #endif
 
 	blk_queue_max_sectors(q, shost->max_sectors);
+#if 0
 	blk_queue_bounce_limit(q, scsi_calculate_bounce_limit(shost));
+#else
 	blk_queue_segment_boundary(q, shost->dma_boundary);
 
 	if (!shost->use_clustering)
I applied the path. Got Hunk #1 succeeded at 1562 with fuzz 2 (offset 
-10 lines).

I didn't compile completly.

drivers/scsi/scsi_lib.c:1565:1: error: unterminated #else
make[2]: *** [drivers/scsi/scsi_lib.o] Error 1
make[1]: *** [drivers/scsi] Error 2
make: *** [drivers] Error 2

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help