Re: Question regarding mutex locking

2007-11-27 Thread Robert Hancock
time, which is probably the case, otherwise you wouldn't need the mutex. In other words, if you're going to do this, you might as well toss the mutex entirely as it's about the same effect.. -- Robert Hancock Saskatoon, SK, Canada To email, remove "nospam" from [EMAIL PROTECTED]

Re: Dynticks Causing High Context Switch Rate in ksoftirqd

2007-11-27 Thread Robert Hancock
about that, your top wakeups are from br_stp_enable_bridge, but that is only 26 a second - that doesn't explain a context switch rate of 150,000 a second.. -- Robert Hancock Saskatoon, SK, Canada To email, remove "nospam" from [EMAIL PROTECTED] Home Page: http://www.roberth

Re: Dynticks Causing High Context Switch Rate in ksoftirqd

2007-11-27 Thread Robert Hancock
about that, your top wakeups are from br_stp_enable_bridge, but that is only 26 a second - that doesn't explain a context switch rate of 150,000 a second.. -- Robert Hancock Saskatoon, SK, Canada To email, remove nospam from [EMAIL PROTECTED] Home Page: http://www.roberthancock.com

Re: Question regarding mutex locking

2007-11-27 Thread Robert Hancock
time, which is probably the case, otherwise you wouldn't need the mutex. In other words, if you're going to do this, you might as well toss the mutex entirely as it's about the same effect.. -- Robert Hancock Saskatoon, SK, Canada To email, remove nospam from [EMAIL PROTECTED] Home Page

Re: Dynticks Causing High Context Switch Rate in ksoftirqd

2007-11-26 Thread Robert Hancock
2 96 1 0 0 0 1925556 4768 11610400 0 02 147329 0 1 99 0 What did oprofile show? It should be able to narrow down what function(s) are responsible for the CPU usage.. -- Robert Hancock Saskatoon, SK, Canada To email, remove "nospam" from [EM

Re: Dynticks Causing High Context Switch Rate in ksoftirqd

2007-11-26 Thread Robert Hancock
4768 11610400 0 02 147329 0 1 99 0 What did oprofile show? It should be able to narrow down what function(s) are responsible for the CPU usage.. -- Robert Hancock Saskatoon, SK, Canada To email, remove nospam from [EMAIL PROTECTED] Home Page: http

[PATCH] sata_nv: don't use legacy DMA in ADMA mode (v3)

2007-11-25 Thread Robert Hancock
attempt to try and issue NCQ commands with result taskfile requested, since the hardware doesn't allow this. Signed-off-by: Robert Hancock <[EMAIL PROTECTED]> --- linux-2.6.24-rc3-git1edit/drivers/ata/sata_nv.c.before2 2007-11-25 16:28:58.0 -0600 +++ linux-2.6.24-rc3-git1edit/d

Re: 2.6.24: Serial disabled in BIOS but serial modules still loaded (probably PnP related)

2007-11-25 Thread Robert Hancock
is disabled, so the kernel still tries to load the serial driver for it, which finds there's no port there. -- Robert Hancock Saskatoon, SK, Canada To email, remove "nospam" from [EMAIL PROTECTED] Home Page: http://www.roberthancock.com/ - To unsubscribe from this list: send the line &q

Re: forcedeth ethernet driver & Low power state

2007-11-25 Thread Robert Hancock
Are you sure forcedeth even supports that feature? I haven't seen any code for it, and certainly it should never be enabled by default.. -- Robert Hancock Saskatoon, SK, Canada To email, remove "nospam" from [EMAIL PROTECTED] Home Page: http://www.roberthancock.com/ - To unsubs

Re: [PATCH 1/2] msi: set 'En' bit of MSI Mapping Capability on HT platform

2007-11-25 Thread Robert Hancock
a way we can make this work for any upstream HT bridge, rather than only for specific NVIDIA chipsets? -- Robert Hancock Saskatoon, SK, Canada To email, remove "nospam" from [EMAIL PROTECTED] Home Page: http://www.roberthancock.com/ - To unsubscribe from this list: send the l

Re: [PATCH 1/2] msi: set 'En' bit of MSI Mapping Capability on HT platform

2007-11-25 Thread Robert Hancock
make this work for any upstream HT bridge, rather than only for specific NVIDIA chipsets? -- Robert Hancock Saskatoon, SK, Canada To email, remove nospam from [EMAIL PROTECTED] Home Page: http://www.roberthancock.com/ - To unsubscribe from this list: send the line unsubscribe linux-kernel

Re: forcedeth ethernet driver Low power state

2007-11-25 Thread Robert Hancock
forcedeth even supports that feature? I haven't seen any code for it, and certainly it should never be enabled by default.. -- Robert Hancock Saskatoon, SK, Canada To email, remove nospam from [EMAIL PROTECTED] Home Page: http://www.roberthancock.com/ - To unsubscribe from this list: send

Re: 2.6.24: Serial disabled in BIOS but serial modules still loaded (probably PnP related)

2007-11-25 Thread Robert Hancock
is disabled, so the kernel still tries to load the serial driver for it, which finds there's no port there. -- Robert Hancock Saskatoon, SK, Canada To email, remove nospam from [EMAIL PROTECTED] Home Page: http://www.roberthancock.com/ - To unsubscribe from this list: send the line unsubscribe

[PATCH] sata_nv: don't use legacy DMA in ADMA mode (v3)

2007-11-25 Thread Robert Hancock
attempt to try and issue NCQ commands with result taskfile requested, since the hardware doesn't allow this. Signed-off-by: Robert Hancock [EMAIL PROTECTED] --- linux-2.6.24-rc3-git1edit/drivers/ata/sata_nv.c.before2 2007-11-25 16:28:58.0 -0600 +++ linux-2.6.24-rc3-git1edit/drivers

Re: [PATCH] sata_nv: fix ADMA ATAPI issues with memory over 4GB (v3)

2007-11-23 Thread Robert Hancock
Jeff Garzik wrote: Robert Hancock wrote: Based on a quick look at sata_mv it appears it sets a 64-bit DMA mask unconditionally, but for non-ATA_PROT_DMA commands (which includes all ATAPI), it just falls back to ata_qc_issue_prot which issues via the legacy SFF interface and can only handle

Re: [PATCH] sata_nv: fix ADMA ATAPI issues with memory over 4GB (v3)

2007-11-23 Thread Robert Hancock
limit depending on the connected device, unless there is really a way to issue ATAPI commands with this EDMA interface, as the TODO list in sata_mv.c suggests may be possible.. -- Robert Hancock Saskatoon, SK, Canada To email, remove "nospam" from [EMAIL PROTECTED] Home

Re: [PATCH] sata_nv: fix ADMA ATAPI issues with memory over 4GB (v3)

2007-11-23 Thread Robert Hancock
limit depending on the connected device, unless there is really a way to issue ATAPI commands with this EDMA interface, as the TODO list in sata_mv.c suggests may be possible.. -- Robert Hancock Saskatoon, SK, Canada To email, remove nospam from [EMAIL PROTECTED] Home Page: http

Re: [PATCH] sata_nv: fix ADMA ATAPI issues with memory over 4GB (v3)

2007-11-23 Thread Robert Hancock
Jeff Garzik wrote: Robert Hancock wrote: Based on a quick look at sata_mv it appears it sets a 64-bit DMA mask unconditionally, but for non-ATA_PROT_DMA commands (which includes all ATAPI), it just falls back to ata_qc_issue_prot which issues via the legacy SFF interface and can only handle

[PATCH] sata_nv: don't use legacy DMA in ADMA mode (v2)

2007-11-22 Thread Robert Hancock
() if we try and send result taskfile commands while NCQ commands are still active, since the hardware doesn't allow this. Signed-off-by: Robert Hancock <[EMAIL PROTECTED]> --- linux-2.6.24-rc3-git1/drivers/ata/sata_nv.c 2007-11-20 17:40:09.0 -0600 +++ linux-2.6.24-rc3-git1edit/drive

[PATCH] sata_nv: fix ADMA ATAPI issues with memory over 4GB (v3)

2007-11-22 Thread Robert Hancock
is needed for ATAPI devices). Signed-off-by: Robert Hancock <[EMAIL PROTECTED]> --- linux-2.6.24-rc3-git1edit/drivers/ata/sata_nv.c.before2 2007-11-22 19:42:28.0 -0600 +++ linux-2.6.24-rc3-git1edit/drivers/ata/sata_nv.c 2007-11-22 19:48:25.0 -0600 @@ -247,6

Re: [RFC] Documentation about unaligned memory access

2007-11-22 Thread Robert Hancock
portable code that works everywhere. Also, x86 doesn't prohibit unaligned accesses, but I believe they have a significant performance cost and are best avoided where possible. -- Robert Hancock Saskatoon, SK, Canada To email, remove "nospam" from [EMAIL PROTECTED] Home

Re: Where is the interrupt going?

2007-11-22 Thread Robert Hancock
havior changed in the somewhat recent past.. -- Robert Hancock Saskatoon, SK, Canada To email, remove "nospam" from [EMAIL PROTECTED] Home Page: http://www.roberthancock.com/ - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message

Re: Use of mutex in interrupt context flawed/impossible, need advice.

2007-11-22 Thread Robert Hancock
omeone has a cleaner proposal than the "try spinlock" approach? -- Robert Hancock Saskatoon, SK, Canada To email, remove "nospam" from [EMAIL PROTECTED] Home Page: http://www.roberthancock.com/ - To unsubscribe from this list: send the line "unsubscribe linux-kernel&

Re: [PATCH] sata_nv: fix ADMA ATAPI issues with memory over 4GB (v2)

2007-11-22 Thread Robert Hancock
Tejun Heo wrote: Hello, Robert. Robert Hancock wrote: This fixes some problems with ATAPI devices on nForce4 controllers in ADMA mode on systems with memory located above 4GB. We need to delay setting the 64-bit DMA mask until the PRD table and padding buffer are allocated so that they don't

Re: [PATCH] sata_nv: fix ADMA ATAPI issues with memory over 4GB (v2)

2007-11-22 Thread Robert Hancock
Tejun Heo wrote: Hello, Robert. Robert Hancock wrote: This fixes some problems with ATAPI devices on nForce4 controllers in ADMA mode on systems with memory located above 4GB. We need to delay setting the 64-bit DMA mask until the PRD table and padding buffer are allocated so that they don't

Re: Where is the interrupt going?

2007-11-22 Thread Robert Hancock
in the somewhat recent past.. -- Robert Hancock Saskatoon, SK, Canada To email, remove nospam from [EMAIL PROTECTED] Home Page: http://www.roberthancock.com/ - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More majordomo

[PATCH] sata_nv: don't use legacy DMA in ADMA mode (v2)

2007-11-22 Thread Robert Hancock
() if we try and send result taskfile commands while NCQ commands are still active, since the hardware doesn't allow this. Signed-off-by: Robert Hancock [EMAIL PROTECTED] --- linux-2.6.24-rc3-git1/drivers/ata/sata_nv.c 2007-11-20 17:40:09.0 -0600 +++ linux-2.6.24-rc3-git1edit/drivers/ata

Re: Use of mutex in interrupt context flawed/impossible, need advice.

2007-11-22 Thread Robert Hancock
a cleaner proposal than the try spinlock approach? -- Robert Hancock Saskatoon, SK, Canada To email, remove nospam from [EMAIL PROTECTED] Home Page: http://www.roberthancock.com/ - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED

[PATCH] sata_nv: fix ADMA ATAPI issues with memory over 4GB (v3)

2007-11-22 Thread Robert Hancock
is needed for ATAPI devices). Signed-off-by: Robert Hancock [EMAIL PROTECTED] --- linux-2.6.24-rc3-git1edit/drivers/ata/sata_nv.c.before2 2007-11-22 19:42:28.0 -0600 +++ linux-2.6.24-rc3-git1edit/drivers/ata/sata_nv.c 2007-11-22 19:48:25.0 -0600 @@ -247,6 +247,7 @@ void

Re: [RFC] Documentation about unaligned memory access

2007-11-22 Thread Robert Hancock
portable code that works everywhere. Also, x86 doesn't prohibit unaligned accesses, but I believe they have a significant performance cost and are best avoided where possible. -- Robert Hancock Saskatoon, SK, Canada To email, remove nospam from [EMAIL PROTECTED] Home Page: http

Re: [PATCH] sata_nv: fix ADMA ATAPI issues with memory over 4GB (v2)

2007-11-21 Thread Robert Hancock
Vincent Fortier wrote: Le mardi 20 novembre 2007 à 18:56 -0600, Robert Hancock a écrit : This fixes some problems with ATAPI devices on nForce4 controllers in ADMA mode on systems with memory located above 4GB. We need to delay setting the 64-bit DMA mask until the PRD table and padding buffer

Re: [PATCH] sata_nv: fix ADMA ATAPI issues with memory over 4GB (v2)

2007-11-21 Thread Robert Hancock
Vincent Fortier wrote: Le mardi 20 novembre 2007 à 18:56 -0600, Robert Hancock a écrit : This fixes some problems with ATAPI devices on nForce4 controllers in ADMA mode on systems with memory located above 4GB. We need to delay setting the 64-bit DMA mask until the PRD table and padding buffer

Re: 2.6.24-rc3: find complains about /proc/net

2007-11-20 Thread Robert Hancock
recently selinux will cause accesses by a non-leader thread to fail when accessing files through /proc/self. So far the more I look at the current /proc/self behavior the more I am convinced it is broken, and useless. Please help me see where it is useful, so we can justify keeping it. -- Robert

Re: [PATCH 1/2] sata_nv: don't use legacy DMA in ADMA mode

2007-11-20 Thread Robert Hancock
g case where we care if we abort outstanding commands and the normal case with a RESULT_TF command where we do).. -- Robert Hancock Saskatoon, SK, Canada To email, remove "nospam" from [EMAIL PROTECTED] Home Page: http://www.roberthancock.com/ - To unsubscribe from this list

[PATCH] sata_nv: fix ADMA ATAPI issues with memory over 4GB (v2)

2007-11-20 Thread Robert Hancock
is needed for ATAPI devices). Also, explicitly set a 32-bit DMA mask before allocating the legacy buffers since setting the DMA mask affects both ports and we need to ensure the second port's buffers are allocated properly (fixes a problem with the previous version of this patch). Signed-off-by: Robert

Re: System reboot triggered by just reading a device file....!?

2007-11-20 Thread Robert Hancock
d this or iTCO_wdt /dev/watchdog not being active after a default desktop installation. There is.. it's called "root privileges". i`d be interested if i`m the only one who thinks this is strange/dangerous behaviour. regards roland -- Robert Hancock Saskatoon, SK, Canada To e

Re: System reboot triggered by just reading a device file....!?

2007-11-20 Thread Robert Hancock
/watchdog not being active after a default desktop installation. There is.. it's called root privileges. i`d be interested if i`m the only one who thinks this is strange/dangerous behaviour. regards roland -- Robert Hancock Saskatoon, SK, Canada To email, remove nospam from [EMAIL

[PATCH] sata_nv: fix ADMA ATAPI issues with memory over 4GB (v2)

2007-11-20 Thread Robert Hancock
is needed for ATAPI devices). Also, explicitly set a 32-bit DMA mask before allocating the legacy buffers since setting the DMA mask affects both ports and we need to ensure the second port's buffers are allocated properly (fixes a problem with the previous version of this patch). Signed-off-by: Robert

Re: [PATCH 1/2] sata_nv: don't use legacy DMA in ADMA mode

2007-11-20 Thread Robert Hancock
and the normal case with a RESULT_TF command where we do).. -- Robert Hancock Saskatoon, SK, Canada To email, remove nospam from [EMAIL PROTECTED] Home Page: http://www.roberthancock.com/ - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL

Re: 2.6.24-rc3: find complains about /proc/net

2007-11-20 Thread Robert Hancock
recently selinux will cause accesses by a non-leader thread to fail when accessing files through /proc/self. So far the more I look at the current /proc/self behavior the more I am convinced it is broken, and useless. Please help me see where it is useful, so we can justify keeping it. -- Robert

Re: [PATCH 2/2] sata_nv: fix ATAPI issues with memory over 4GB (v3)

2007-11-19 Thread Robert Hancock
Tejun Heo wrote: Robert Hancock wrote: Tejun Heo wrote: Robert Hancock wrote: This fixes some problems with ATAPI devices on nForce4 controllers in ADMA mode on systems with memory located above 4GB. We need to delay setting the 64-bit DMA mask until the PRD table and padding buffer

Re: [PATCH 2/2] sata_nv: fix ATAPI issues with memory over 4GB (v3)

2007-11-19 Thread Robert Hancock
Tejun Heo wrote: Robert Hancock wrote: Tejun Heo wrote: Robert Hancock wrote: This fixes some problems with ATAPI devices on nForce4 controllers in ADMA mode on systems with memory located above 4GB. We need to delay setting the 64-bit DMA mask until the PRD table and padding buffer

Re: [REQUEST] Option for skipping unreadable blocks on Video DVD

2007-11-17 Thread Robert Hancock
and read them. How long the drive will stall trying to read that sector before giving up and returning an error is up to the drive. I'm not sure if the MMC command set allows any way to tell the drive to give up more quickly or not.. -- Robert Hancock Saskatoon, SK, Canada To email, remove

Re: [REQUEST] Option for skipping unreadable blocks on Video DVD

2007-11-17 Thread Robert Hancock
and read them. How long the drive will stall trying to read that sector before giving up and returning an error is up to the drive. I'm not sure if the MMC command set allows any way to tell the drive to give up more quickly or not.. -- Robert Hancock Saskatoon, SK, Canada To email, remove

Re: [PATCH 2/2] sata_nv: fix ATAPI issues with memory over 4GB (v3)

2007-11-14 Thread Robert Hancock
Tejun Heo wrote: Robert Hancock wrote: This fixes some problems with ATAPI devices on nForce4 controllers in ADMA mode on systems with memory located above 4GB. We need to delay setting the 64-bit DMA mask until the PRD table and padding buffer are allocated so that they don't get allocated

Re: [PATCH 2/2] sata_nv: fix ATAPI issues with memory over 4GB (v3)

2007-11-14 Thread Robert Hancock
Tejun Heo wrote: Robert Hancock wrote: This fixes some problems with ATAPI devices on nForce4 controllers in ADMA mode on systems with memory located above 4GB. We need to delay setting the 64-bit DMA mask until the PRD table and padding buffer are allocated so that they don't get allocated

[PATCH 2/2] sata_nv: fix ATAPI issues with memory over 4GB (v3)

2007-11-13 Thread Robert Hancock
is needed for ATAPI devices). Signed-off-by: Robert Hancock <[EMAIL PROTECTED]> --- linux-2.6.24-rc1-git10edit/drivers/ata/sata_nv.c.before 2007-11-13 19:04:18.0 -0600 +++ linux-2.6.24-rc1-git10edit/drivers/ata/sata_nv.c2007-11-13 19:02:34.0 -0600 @@ -247,6

[PATCH 1/2] sata_nv: don't use legacy DMA in ADMA mode

2007-11-13 Thread Robert Hancock
-by: Robert Hancock <[EMAIL PROTECTED]> --- linux-2.6.24-rc1-git10/drivers/ata/sata_nv.c2007-11-01 20:01:32.0 -0600 +++ linux-2.6.24-rc1-git10edit/drivers/ata/sata_nv.c2007-11-13 19:01:09.0 -0600 @@ -791,11 +797,13 @@ static void nv_adma_tf_read(struct ata_po

Re: [PATCH] sata_nv: fix ADMA ATAPI issues with memory over 4GB

2007-11-13 Thread Robert Hancock
Tejun Heo wrote: Could be done.. but, I don't want to constrain the ADMA APRD/CPB area in that way (there are some dual-socket Opteron boxes with this controller, forcing an allocation below 4GB for this could force a non-optimal node allocation I think..) To do this I'd have to raise the mask

Re: [PATCH] sata_nv: fix ADMA ATAPI issues with memory over 4GB

2007-11-13 Thread Robert Hancock
Tejun Heo wrote: Could be done.. but, I don't want to constrain the ADMA APRD/CPB area in that way (there are some dual-socket Opteron boxes with this controller, forcing an allocation below 4GB for this could force a non-optimal node allocation I think..) To do this I'd have to raise the mask

[PATCH 1/2] sata_nv: don't use legacy DMA in ADMA mode

2007-11-13 Thread Robert Hancock
-by: Robert Hancock [EMAIL PROTECTED] --- linux-2.6.24-rc1-git10/drivers/ata/sata_nv.c2007-11-01 20:01:32.0 -0600 +++ linux-2.6.24-rc1-git10edit/drivers/ata/sata_nv.c2007-11-13 19:01:09.0 -0600 @@ -791,11 +797,13 @@ static void nv_adma_tf_read(struct ata_port *ap

[PATCH 2/2] sata_nv: fix ATAPI issues with memory over 4GB (v3)

2007-11-13 Thread Robert Hancock
is needed for ATAPI devices). Signed-off-by: Robert Hancock [EMAIL PROTECTED] --- linux-2.6.24-rc1-git10edit/drivers/ata/sata_nv.c.before 2007-11-13 19:04:18.0 -0600 +++ linux-2.6.24-rc1-git10edit/drivers/ata/sata_nv.c2007-11-13 19:02:34.0 -0600 @@ -247,6 +247,7 @@ void

Re: [PATCH] sata_nv: fix ADMA ATAPI issues with memory over 4GB

2007-11-12 Thread Robert Hancock
Tejun Heo wrote: How about always initialize DMA mask to ATA_DMA_MASK regardless of ADMA mode such that PRD and PAD buffers are always accessible by register mode and just raising PCI dma mask and queue bounce limit if ADMA mode is active? Could be done.. but, I don't want to constrain the

[PATCH] sata_nv: fix ADMA ATAPI issues with memory over 4GB

2007-11-12 Thread Robert Hancock
-by: Robert Hancock <[EMAIL PROTECTED]> --- linux-2.6.24-rc1-git10/drivers/ata/sata_nv.c2007-11-01 20:01:32.0 -0600 +++ linux-2.6.24-rc1-git10edit/drivers/ata/sata_nv.c2007-11-10 19:57:47.0 -0600 @@ -247,6 +247,7 @@ void __iomem*ctl

Re: x86_64 SATA DVD drive + libata trouble

2007-11-12 Thread Robert Hancock
to sata_nv.c from Robert Hancock see https://bugzilla.redhat.com/show_bug.cgi?id=351451) seem to be very sensitive in this area. Whenever I got them to oops, I did not have much time to get anything read on the screen. I managed under the patched 2.6.24-rc1-git10 to manually load sata_nv

Re: x86_64 SATA DVD drive + libata trouble

2007-11-12 Thread Robert Hancock
to sata_nv.c from Robert Hancock see https://bugzilla.redhat.com/show_bug.cgi?id=351451) seem to be very sensitive in this area. Whenever I got them to oops, I did not have much time to get anything read on the screen. I managed under the patched 2.6.24-rc1-git10 to manually load sata_nv

[PATCH] sata_nv: fix ADMA ATAPI issues with memory over 4GB

2007-11-12 Thread Robert Hancock
-by: Robert Hancock [EMAIL PROTECTED] --- linux-2.6.24-rc1-git10/drivers/ata/sata_nv.c2007-11-01 20:01:32.0 -0600 +++ linux-2.6.24-rc1-git10edit/drivers/ata/sata_nv.c2007-11-10 19:57:47.0 -0600 @@ -247,6 +247,7 @@ void __iomem*ctl_block; void

Re: [PATCH] sata_nv: fix ADMA ATAPI issues with memory over 4GB

2007-11-12 Thread Robert Hancock
Tejun Heo wrote: How about always initialize DMA mask to ATA_DMA_MASK regardless of ADMA mode such that PRD and PAD buffers are always accessible by register mode and just raising PCI dma mask and queue bounce limit if ADMA mode is active? Could be done.. but, I don't want to constrain the

Re: x86_64 SATA DVD drive + libata trouble

2007-11-10 Thread Robert Hancock
the adma=0 parameter to the sata_nv module (not sure how this would be done on Suse's setup) or pass sata_nv.adma=0 on the kernel command line if sata_nv is built into the kernel. If that does help, I could ask you to test patches :-) -- Robert Hancock Saskatoon, SK, Canada To email, remove

Re: [PATCH] sata_nv,ahci: add the ahci legacy mode support to sata_nv

2007-11-10 Thread Robert Hancock
to reinforce... sata_nv support and bug fixes are primarily done right now through the valiant efforts of Robert Hancock (with assists from Alan, Tejun, and others). Robert's job is difficult, because he has no hardware documentation[1], and NVIDIA does not seem to be helping out much with driver

Re: [PATCH] sata_nv,ahci: add the ahci legacy mode support to sata_nv

2007-11-10 Thread Robert Hancock
to reinforce... sata_nv support and bug fixes are primarily done right now through the valiant efforts of Robert Hancock (with assists from Alan, Tejun, and others). Robert's job is difficult, because he has no hardware documentation[1], and NVIDIA does not seem to be helping out much with driver

Re: x86_64 SATA DVD drive + libata trouble

2007-11-10 Thread Robert Hancock
the adma=0 parameter to the sata_nv module (not sure how this would be done on Suse's setup) or pass sata_nv.adma=0 on the kernel command line if sata_nv is built into the kernel. If that does help, I could ask you to test patches :-) -- Robert Hancock Saskatoon, SK, Canada To email, remove

Re: How do I debug PCI resource allocation problems

2007-11-08 Thread Robert Hancock
Flags: PMEClk- DSI+ D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-) Status: D0 PME-Enable- DSel=0 DScale=0 PME- That means now we get the region 2 at e000 and everything is fine. This looks more reasonable, though it's still mapped the BAR over top of a region that's

Re: sata NCQ blacklist entry

2007-11-08 Thread Robert Hancock
(or whatever it's called) on my notebook and is clean but I'm not sure it's using NCQ (I don't even know if it'd log spurious completions somewhere). Which driver is installed for the SATA controller in Windows, the chipset-manufacturer-provided AHCI driver or the default Microsoft driver? You'd need the

Re: sata NCQ blacklist entry

2007-11-08 Thread Robert Hancock
driver is installed for the SATA controller in Windows, the chipset-manufacturer-provided AHCI driver or the default Microsoft driver? You'd need the AHCI driver installed for NCQ to be used. -- Robert Hancock Saskatoon, SK, Canada To email, remove nospam from [EMAIL PROTECTED] Home Page: http

Re: How do I debug PCI resource allocation problems

2007-11-08 Thread Robert Hancock
errors are the same and unfortunately the lack of verbosity as well. Ok, that's it. Any help is much appreciated. Thanks Rainer -- Robert Hancock Saskatoon, SK, Canada To email, remove nospam from [EMAIL PROTECTED] Home Page: http://www.roberthancock.com/ - To unsubscribe from

Re: SC1200 failure in 2.6.23 and 2.6.24-rc1-git10

2007-11-07 Thread Robert Hancock
, and the card indicates DMA support, which libata tries to use but which doesn't work. It looks like it never tried falling back to PIO after DMA failed. Seems like a deficiency in the speed-down logic? -- Robert Hancock Saskatoon, SK, Canada To email, remove "nospam" from [EMAIL PROTECTED]

Re: SATA eating my disk, port reset, destroying unrelated data

2007-11-07 Thread Robert Hancock
drives goes into hard reset failures), .config, lspci -v output. Are there any chances that using 2.6.23 will improve/fix this? Any other suggestions? I would consider it an hardware problem, but since it started at one big io thingy and is persistent since then I am a bit sceptic. -- Robert

Re: sata NCQ blacklist entry

2007-11-07 Thread Robert Hancock
s. It seems unlikely that this many drives from multiple vendors would have the exact same, relatively obscure problem.. -- Robert Hancock Saskatoon, SK, Canada To email, remove "nospam" from [EMAIL PROTECTED] Home Page: http://www.roberthancock.com/ - To unsubscribe f

Re: SATA eating my disk, port reset, destroying unrelated data

2007-11-07 Thread Robert Hancock
drives goes into hard reset failures), .config, lspci -v output. Are there any chances that using 2.6.23 will improve/fix this? Any other suggestions? I would consider it an hardware problem, but since it started at one big io thingy and is persistent since then I am a bit sceptic. -- Robert

Re: sata NCQ blacklist entry

2007-11-07 Thread Robert Hancock
. I'll keep your email in my todo list and add the drive to the blacklist once the problem is verified. I agree that something seems fishy with this. It seems unlikely that this many drives from multiple vendors would have the exact same, relatively obscure problem.. -- Robert Hancock

Re: SC1200 failure in 2.6.23 and 2.6.24-rc1-git10

2007-11-07 Thread Robert Hancock
, and the card indicates DMA support, which libata tries to use but which doesn't work. It looks like it never tried falling back to PIO after DMA failed. Seems like a deficiency in the speed-down logic? -- Robert Hancock Saskatoon, SK, Canada To email, remove nospam from [EMAIL PROTECTED] Home Page

Re: VM/networking crash cause #1: page allocation failure (order:1, GFP_ATOMIC)

2007-11-06 Thread Robert Hancock
.. the received packet should just get dropped. -- Robert Hancock Saskatoon, SK, Canada To email, remove "nospam" from [EMAIL PROTECTED] Home Page: http://www.roberthancock.com/ - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of

Re: VM/networking crash cause #1: page allocation failure (order:1, GFP_ATOMIC)

2007-11-06 Thread Robert Hancock
.. the received packet should just get dropped. -- Robert Hancock Saskatoon, SK, Canada To email, remove nospam from [EMAIL PROTECTED] Home Page: http://www.roberthancock.com/ - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL

Re: pci-disable-decode-of-io-memory-during-bar-sizing.patch

2007-10-30 Thread Robert Hancock
Linus Torvalds wrote: On Tue, 30 Oct 2007, Robert Hancock wrote: You have to, anyway. Even now the MMCONFIG stuff uses CONF1 cycles for startup. If it does, it's not by necessity. As soon as you read the table location out of the ACPI tables you can start using it, and that shouldn't require

Re: sata_nv and dynamically changing DMA mask?

2007-10-30 Thread Robert Hancock
Alan Cox wrote: On Mon, 29 Oct 2007 22:17:40 -0600 Robert Hancock <[EMAIL PROTECTED]> wrote: In the sata_nv driver, when running in ADMA mode, we can do 64-bit DMA. However, when an ATAPI device like a DVD drive is connected, we can't use ADMA mode, and so we have to abide by the restri

Re: pci-disable-decode-of-io-memory-during-bar-sizing.patch

2007-10-30 Thread Robert Hancock
Linus Torvalds wrote: On Tue, 30 Oct 2007, Arjan van de Ven wrote: the problem is... you're not supposed to mix both types of accesses. You have to, anyway. Even now the MMCONFIG stuff uses CONF1 cycles for startup. If it does, it's not by necessity. As soon as you read the table

Re: pci-disable-decode-of-io-memory-during-bar-sizing.patch

2007-10-30 Thread Robert Hancock
Linus Torvalds wrote: On Tue, 30 Oct 2007, Arjan van de Ven wrote: the problem is... you're not supposed to mix both types of accesses. You have to, anyway. Even now the MMCONFIG stuff uses CONF1 cycles for startup. If it does, it's not by necessity. As soon as you read the table

Re: sata_nv and dynamically changing DMA mask?

2007-10-30 Thread Robert Hancock
Alan Cox wrote: On Mon, 29 Oct 2007 22:17:40 -0600 Robert Hancock [EMAIL PROTECTED] wrote: In the sata_nv driver, when running in ADMA mode, we can do 64-bit DMA. However, when an ATAPI device like a DVD drive is connected, we can't use ADMA mode, and so we have to abide by the restrictions

Re: pci-disable-decode-of-io-memory-during-bar-sizing.patch

2007-10-30 Thread Robert Hancock
Linus Torvalds wrote: On Tue, 30 Oct 2007, Robert Hancock wrote: You have to, anyway. Even now the MMCONFIG stuff uses CONF1 cycles for startup. If it does, it's not by necessity. As soon as you read the table location out of the ACPI tables you can start using it, and that shouldn't require

sata_nv and dynamically changing DMA mask?

2007-10-29 Thread Robert Hancock
be switched out on the port, so the mask might need to be updated at runtime.. -- Robert Hancock Saskatoon, SK, Canada To email, remove "nospam" from [EMAIL PROTECTED] Home Page: http://www.roberthancock.com/ - To unsubscribe from this list: send the line "unsubscribe linux-kern

Re: Page-Out of RO data

2007-10-29 Thread Robert Hancock
vicky wrote: Hi, Can Read-Only(RO) Section/Data of kernel can ever be paged out memory? -Vicky All kernel code and data is non-swappable in Linux.. -- Robert Hancock Saskatoon, SK, Canada To email, remove "nospam" from [EMAIL PROTECTED] Home Page: http://www.roberth

Re: Strange freezes (seems like SATA related)

2007-10-29 Thread Robert Hancock
is this? -- Robert Hancock Saskatoon, SK, Canada To email, remove "nospam" from [EMAIL PROTECTED] Home Page: http://www.roberthancock.com/ - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More maj

Re: pci-disable-decode-of-io-memory-during-bar-sizing.patch

2007-10-29 Thread Robert Hancock
ow_bug.cgi?id=251493 -- Robert Hancock Saskatoon, SK, Canada To email, remove "nospam" from [EMAIL PROTECTED] Home Page: http://www.roberthancock.com/ - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL

Re: Strange freezes (seems like SATA related)

2007-10-29 Thread Robert Hancock
is this? -- Robert Hancock Saskatoon, SK, Canada To email, remove nospam from [EMAIL PROTECTED] Home Page: http://www.roberthancock.com/ - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org

Re: Page-Out of RO data

2007-10-29 Thread Robert Hancock
vicky wrote: Hi, Can Read-Only(RO) Section/Data of kernel can ever be paged out memory? -Vicky All kernel code and data is non-swappable in Linux.. -- Robert Hancock Saskatoon, SK, Canada To email, remove nospam from [EMAIL PROTECTED] Home Page: http://www.roberthancock.com

Re: pci-disable-decode-of-io-memory-during-bar-sizing.patch

2007-10-29 Thread Robert Hancock
-- Robert Hancock Saskatoon, SK, Canada To email, remove nospam from [EMAIL PROTECTED] Home Page: http://www.roberthancock.com/ - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org

sata_nv and dynamically changing DMA mask?

2007-10-29 Thread Robert Hancock
be switched out on the port, so the mask might need to be updated at runtime.. -- Robert Hancock Saskatoon, SK, Canada To email, remove nospam from [EMAIL PROTECTED] Home Page: http://www.roberthancock.com/ - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body

Re: Major SATA / EXT3 Issue?

2007-10-28 Thread Robert Hancock
ged in months beyond taking the defaults during make oldconfig looks like: -- Robert Hancock Saskatoon, SK, Canada To email, remove "nospam" from [EMAIL PROTECTED] Home Page: http://www.roberthancock.com/ - To unsubscribe from this list: send the line "unsubscribe linux-kernel&

Re: Major SATA / EXT3 Issue?

2007-10-28 Thread Robert Hancock
beyond taking the defaults during make oldconfig looks like: -- Robert Hancock Saskatoon, SK, Canada To email, remove nospam from [EMAIL PROTECTED] Home Page: http://www.roberthancock.com/ - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL

Re: - mmconfig-validate-against-acpi-motherboard-resources.patch removed from -mm tree

2007-10-25 Thread Robert Hancock
Greg KH wrote: On Thu, Oct 25, 2007 at 04:22:35PM -0700, Jesse Barnes wrote: I think Greg doesn't like it, even though we don't have an alternative at this point... Yes, I didn't like it, Ivan didn't like it, and I got reports that it wasn't even needed at all once you upgraded your BIOS to

Re: Is gcc thread-unsafe?

2007-10-25 Thread Robert Hancock
rformance on one workload using a predicated instruction instead of a branch on newer Xeons in such a case. I suspect that if branch prediction fails often, the data dependency created by the cmov, etc. is less expensive than the pipeline flush required by mispredicts.. -- Robert Hancock

Re: - mmconfig-validate-against-acpi-motherboard-resources.patch removed from -mm tree

2007-10-25 Thread Robert Hancock
-acpi-motherboard-resources.patch This patch was dropped because it was merged into mainline or a subsystem tree -- Subject: MMCONFIG: validate against ACPI motherboard resources From: Robert Hancock <[EMAIL PROTECTED]> This path adds vali

Re: - mmconfig-validate-against-acpi-motherboard-resources.patch removed from -mm tree

2007-10-25 Thread Robert Hancock
-acpi-motherboard-resources.patch This patch was dropped because it was merged into mainline or a subsystem tree -- Subject: MMCONFIG: validate against ACPI motherboard resources From: Robert Hancock [EMAIL PROTECTED] This path adds validation

Re: Is gcc thread-unsafe?

2007-10-25 Thread Robert Hancock
workload using a predicated instruction instead of a branch on newer Xeons in such a case. I suspect that if branch prediction fails often, the data dependency created by the cmov, etc. is less expensive than the pipeline flush required by mispredicts.. -- Robert Hancock Saskatoon, SK

Re: - mmconfig-validate-against-acpi-motherboard-resources.patch removed from -mm tree

2007-10-25 Thread Robert Hancock
Greg KH wrote: On Thu, Oct 25, 2007 at 04:22:35PM -0700, Jesse Barnes wrote: I think Greg doesn't like it, even though we don't have an alternative at this point... Yes, I didn't like it, Ivan didn't like it, and I got reports that it wasn't even needed at all once you upgraded your BIOS to

Re: HIGHMEM64G Kernel (2.6.23.1) makes system crawl

2007-10-24 Thread Robert Hancock
Rajkumar S wrote: On 10/24/07, Robert Hancock <[EMAIL PROTECTED]> wrote: Rajkumar S wrote: Hello, I am using a Core 2 Duo E6750 CPU on an intel DG33FB mother board with 4GB Ram, running Debian Lenny. Since the box has 4 GB ram I compiled a big mem kernel, but the machine is very slow

Re: test_and_set_bit and friends ?

2007-10-24 Thread Robert Hancock
.) -- Robert Hancock Saskatoon, SK, Canada To email, remove "nospam" from [EMAIL PROTECTED] Home Page: http://www.roberthancock.com/ - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at ht

Re: HIGHMEM64G Kernel (2.6.23.1) makes system crawl

2007-10-24 Thread Robert Hancock
mark all of RAM as cachable. When the top memory starts being used with the bigmem kernel it causes a major slowdown. Check for a BIOS update from Intel, first. -- Robert Hancock Saskatoon, SK, Canada To email, remove "nospam" from [EMAIL PROTECTED] Home Page: http://www.roberth

Re: test_and_set_bit and friends ?

2007-10-24 Thread Robert Hancock
.) -- Robert Hancock Saskatoon, SK, Canada To email, remove nospam from [EMAIL PROTECTED] Home Page: http://www.roberthancock.com/ - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo

<    1   2   3   4   5   6   7   8   9   10   >