linux-ide.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Mark Lord <liml@rtr.ca>
To: "Morrison, Tom" <tmorrison@empirix.com>
Cc: Jeff Garzik <jeff@garzik.org>,
	linux-ide@vger.kernel.org, Tejun Heo <htejun@gmail.com>,
	hp@syntomax.com
Subject: Re: Responding to 2 thread <2.6.23.8 - Hang with sata_mv (7042)...> AND  <Bug: get EXT3-fs error Allocating block in system zone>
Date: Tue, 11 Dec 2007 12:42:13 -0500	[thread overview]
Message-ID: <475ECBF5.4050205@rtr.ca> (raw)
In-Reply-To: <BD261180E6D35F4D9D32F3E44FD3D9010AFF2936@EMPBEDEX.empirix.com>

Morrison, Tom wrote:
> I am a little confused as to exactly what thread I am to respond to 
> and/or what requests...but lets try this and see if I get close?
> 
> I have the <far> below mentioned hardware/configuration (flat 4Gig 
> of DDR mem (0x0_000_0000 to 0x1_000_0000)...PPC/8548E - 36bit addressing
> 
> As can be seen below - Mark has asked me try patching my sata_mv 
> (and scsi_lib) with some patches from the second thread in subject:
> 
>     1) Disable 64bit DMA in sata_mv (equivalent of the CAP_64 for 
>        AHCI) and disabling the bounce:
> 
>     2) Disable queue bounce limit in drivers/scsi/scsi_lib.c
> 
> +#if 0
>          blk_queue_bounce_limit(q, scsi_calculate_bounce_limit(shost));
> +#endif
> 
> Mark had already asked me to try #1 a while back - and that didn't work.
> So, I tried #2 - and now it doesn't hang for me went writing a large 
> File (which was my error condition)...
> 
> So, as Linus suggested in his email, it looks like something 
> is wrong in the bounce buffering? What - somebody will have
> to look into this further...
..

That's a bit strange, actually.. because you said that this system
does not have any RAM at any addresses above 0xffffffff.
The physical RAM in this system is supposedly from 0 - 0xffffffff (4Gbytes).

????

> -----Original Message-----
> From: Mark Lord [mailto:liml@rtr.ca] 
> Sent: Monday, December 10, 2007 11:44 AM
> To: Morrison, Tom
> Cc: Jeff Garzik; linux-ide@vger.kernel.org; Tejun Heo; hp@syntomax.com
> Subject: Re: Revisiting - 2.6.23.8 - Hang with sata_mv (7042) + Flat
> 4Gig (no holes) Memory
> 
> Morrison, Tom wrote:
> ..
>> To re-state the problem....
>>
>> Hardware/Configuration:
>>    MPC8548E with a 7042 (rev 2 - connected internal via a PEX switch) 
>>    2.6.23.8 (using PHYS_64BIT & PTE_64BIT - for 36 bit addressing
>>              & MSI is NOT compiled in)
>>    Flat 4Gig Memory Map (no holes - 0 - 0x0_FFFF_FFFF defined -
> special
>>  	                   low reserve memory is also used)
>>
>>    Local Bus & PCI Express IOMem mapped to unique space in 
>> 		0xC_xxxx_xxxx with extensions to the ioremap routines 
>> 		to create the appropriate requested physical address...
>> 		This is (and should be) transparent to the requesting 
>> 		function that calls ioremap.
>> 		
>>    2 SATA hard drives connected.
>>
>> To recreate:
>>    Write a large file (now greater than >310Mbytes) - hangs
>>    and soft lockup is detected by kernel - no useful info 
>>    in stack trace...
>>
>> Of interest:
>>    a) Replace sata_mv.c - with the 'old' Marvell's reference 
>>       driver and it works perfectly!!
>>
>>    b) Also, sata_mv works perfectly in all conditions - if we boot
> with 
>>       less than the ~3750M from the command line (which I note is
> ~below
>>       where its PEX IOmemory space is located).
> ..
> 
> Tom:  could you please try and follow the recent thread here (linux-ide)
> entitled " Bug: get EXT3-fs error Allocating block in system zone ".
> 
> Somebody there has a similar problem on x86-32 with RAM above 4GB
> using a standard AHCI SATA controller.
> 
> Jens has posted a couple of debugging patches there to try and isolate
> things.
> (patches attached here for convenience, though you'll have to
> modify/hack
>  the first one for sata_mv instead of ahci).
> 
> -ml
> 
> -
> To unsubscribe from this list: send the line "unsubscribe linux-ide" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html


  reply	other threads:[~2007-12-11 17:42 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-03-06 10:38 [patch 26/30] Support for Marvell 7042 Chip akpm
2007-03-06 12:01 ` Jeff Garzik
2007-03-06 12:42   ` Morrison, Tom
2007-03-06 13:10     ` Jeff Garzik
2007-10-31 15:41       ` Other Problems with Marvell Driver - 7042 (2.6.23) Morrison, Tom
2007-10-31 16:06         ` Jeff Garzik
2007-10-31 18:14           ` Update (Now a False Alarm) " Morrison, Tom
2007-11-14 17:49           ` 2.6.23.1 - sata_mv (7042) hang with large file operations Morrison, Tom
2007-11-14 17:56             ` Mark Lord
2007-11-14 18:09               ` Morrison, Tom
2007-11-14 18:30                 ` Mark Lord
2007-11-14 20:12                   ` Morrison, Tom
2007-11-14 18:37                 ` Mark Lord
2007-11-14 18:56                 ` Mark Lord
2007-11-14 21:12                   ` Morrison, Tom
2007-11-14 22:29                     ` Mark Lord
2007-11-14 22:31                       ` Mark Lord
2007-11-15 15:43                       ` Morrison, Tom
2007-11-15 16:26                       ` Morrison, Tom
2007-11-15 16:39                         ` Mark Lord
2007-11-15 21:46                           ` Morrison, Tom
2007-11-15 22:14                             ` Mark Lord
2007-11-16  0:07                               ` Morrison, Tom
2007-11-16 13:00                               ` Morrison, Tom
2007-11-16 17:07                               ` Morrison, Tom
2007-12-06 13:57                               ` Revisiting - 2.6.23.8 - Hang with sata_mv (7042) + Flat 4Gig (no holes) Memory Morrison, Tom
     [not found]                                 ` <475D6CC3.2080400@rtr.ca>
2007-12-10 16:46                                   ` Morrison, Tom
2007-12-11 17:28                                   ` Responding to 2 thread <2.6.23.8 - Hang with sata_mv (7042)...> AND <Bug: get EXT3-fs error Allocating block in system zone> Morrison, Tom
2007-12-11 17:42                                     ` Mark Lord [this message]
2007-12-11 17:53                                       ` Morrison, Tom

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=475ECBF5.4050205@rtr.ca \
    --to=liml@rtr.ca \
    --cc=hp@syntomax.com \
    --cc=htejun@gmail.com \
    --cc=jeff@garzik.org \
    --cc=linux-ide@vger.kernel.org \
    --cc=tmorrison@empirix.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).