Re: 4GB Physical. Less than 3GB in Linux.

2007-04-16 Thread Robert Hancock
region above 3GB preventing RAM from being mapped there, and doesn't support remapping the covered RAM to above 4GB. Nothing the kernel can do about it. -- Robert Hancock Saskatoon, SK, Canada To email, remove nospam from [EMAIL PROTECTED] Home Page: http://www.roberthancock.com

Re: Memory Allocation

2007-04-16 Thread Robert Hancock
this problem in Linux on the X86 plateform??? -- 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

Re: [PATCH] libata: add Samsung HD401LJ to the NCQ blacklist

2007-04-18 Thread Robert Hancock
of the drive and controller just not getting along, but you might want to try a different SATA cable as well. -- 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

Re: Loud pop coming from hard drive on reboot

2007-04-18 Thread Robert Hancock
, Steve That patch on its own will not help, you also need Tejun's stop-on-shutdown patch, otherwise the kernel will not try to stop the disk before powering off. -- Robert Hancock Saskatoon, SK, Canada To email, remove nospam from [EMAIL PROTECTED] Home Page: http://www.roberthancock.com

Re: Loud pop coming from hard drive on reboot

2007-04-18 Thread Robert Hancock
) is much greater than the number of people running a SAN, multi-initiator, etc. environment where you might not want 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

Re: Loud pop coming from hard drive on reboot

2007-04-18 Thread Robert Hancock
Some drives seem to spin up at step #3 even when its cache is clean and power goes off right after the disk finishes the command. So, it's really bad when it happens - spin down, spin up followed by immediate power off. -- Robert Hancock Saskatoon, SK, Canada To email, remove nospam from [EMAIL

Re: Upgraded to 2.6.20.7 - positives

2007-04-18 Thread Robert Hancock
amount of SATA fixes backported from 2.6.21... News to me.. pleast post details. -- 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: problem with asm/semaphore.h

2007-04-18 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

PCI Express MMCONFIG and BIOS Bug messages..

2007-04-18 Thread Robert Hancock
check to require it to be so reserved, then. Really, I think we should be basing this check on whether the corresponding memory range is reserved in the ACPI resources, like Windows expects. This does require putting more fingers into ACPI from this early boot stage, though.. -- Robert Hancock

Re: problem with asm/semaphore.h

2007-04-19 Thread Robert Hancock
and thus covered under the GPL). -- 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

Re: problem with asm/semaphore.h

2007-04-21 Thread Robert Hancock
of that header. The userspace version of that header has everything inside #ifdef __KERNEL__ stripped out. -- 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

Re: [BUG? -rc7] SMP: Just one CPU activated: P4 3GHz HT

2007-04-22 Thread Robert Hancock
without ACPI anymore, so going without ACPI can be problematic. -- 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: BUG/CRASH help - 2.6.20 (fc5) - spinlock bad magic on CPU#0, kswapd

2007-04-23 Thread Robert Hancock
] _spin_lock_irqsave+0x9/0xd [c041febf] __wake_up+0x18/0x43 [c04379ce] __wake_up_bit+0x2e/0x33 [c045a496] shrink_inactive_list+0x483/0x6c9 RAM issues are a possibility for this sort of problem, tried running Memtest86+? -- Robert Hancock Saskatoon, SK, Canada To email, remove nospam from

Re: old ISA DMA bug in 2.6.12?

2007-04-24 Thread Robert Hancock
like the aha1542 driver doesn't set the DMA mask, so the kernel will default to thinking it can do 32-bit DMA when it should be 24-bit. -- Robert Hancock Saskatoon, SK, Canada To email, remove nospam from [EMAIL PROTECTED] Home Page: http://www.roberthancock.com/ - To unsubscribe from

Re: [PATCH] use mutex instead of semaphore in RocketPort driver

2007-04-24 Thread Robert Hancock
the mutex even though it has not. -- 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

Re: Question about memory mapping mechanism

2007-03-08 Thread Robert Hancock
this buffer from the userspace application, rather than trying to achieve this in the driver.. -- 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: Sleeping thread not receive signal until it wakes up

2007-03-08 Thread Robert Hancock
for something that already occurred. -- 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

[PATCH] sata_nv: revert use of notifiers for now

2007-03-08 Thread Robert Hancock
-by: Robert Hancock [EMAIL PROTECTED] --- linux-2.6.21-rc3-git3/drivers/ata/sata_nv.c 2007-03-08 17:15:25.0 -0600 +++ linux-2.6.21-rc3-git3edit/drivers/ata/sata_nv.c 2007-03-08 17:19:42.0 -0600 @@ -874,8 +874,14 @@ if (status (NV_ADMA_STAT_DONE

Re: [patch 29/30] sata_nv: don't read shadow registers when in ADMA mode

2007-03-09 Thread Robert Hancock
Jeff Garzik wrote: [EMAIL PROTECTED] wrote: From: Robert Hancock [EMAIL PROTECTED] Reading from the ATA shadow registers while we are in ADMA mode may cause undefined behavior. Don't read the ATA status register when completing commands for this reason, it shouldn't be needed

Re: [patch 29/30] sata_nv: don't read shadow registers when in ADMA mode

2007-03-09 Thread Robert Hancock
should be able to. -- 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

Re: How soon is soon? MCP55 NCQ support on Linux...

2007-03-10 Thread Robert Hancock
think it does have it now too.. -- 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

Re: libata extension

2007-03-11 Thread Robert Hancock
sources and documentation but still dont have broad picture. I believe you should be able to do this by sending ATA pass-through SCSI commands into the device using SG_IO, without any kernel changes. It's really the mechanism that's meant for this.. -- Robert Hancock Saskatoon, SK, Canada

Re: Style Question

2007-03-11 Thread Robert Hancock
, I know it used its own NULL, which may be defined as ((void*)0), but it's _still_ different from raw zero. So can I say using NULL is better than 0 in kernel? It's the preferred style, Sparse will complain about using 0 for a null pointer for example.. -- Robert Hancock Saskatoon, SK

Re: SATA problems in 2.6.20.3

2007-03-16 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

Re: NAK new drivers without proper power management?

2007-02-10 Thread Robert Hancock
. Perfect may be the enemy of the good, but works except no power management is hardly what I would call good these days, more like pretty sloppy.. -- Robert Hancock Saskatoon, SK, Canada To email, remove nospam from [EMAIL PROTECTED] Home Page: http://www.roberthancock.com/ - To unsubscribe

Re: Still cant boot 2.6.20

2007-02-10 Thread Robert Hancock
on unknown-block(0,0) and its dead Take the quiet option off the kernel command line (in /etc/grub.conf) so you can actually see all the messages that are being output. Presumably you haven't selected something that you need in order to mount the root filesystem.. -- Robert Hancock Saskatoon

Re: [PATCH] Re: NAK new drivers without proper power management?

2007-02-11 Thread Robert Hancock
) but this is not a proper implementation. -- 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

Re: libsata doesn't like bus without master

2007-02-11 Thread Robert Hancock
is allowed to support, but it is not required to.) A single drive should always be set to master (and connected to the end of the cable and not the middle, by the way). -- Robert Hancock Saskatoon, SK, Canada To email, remove nospam from [EMAIL PROTECTED] Home Page: http

Re: NAK new drivers without proper power management?

2007-02-11 Thread Robert Hancock
often due to driver issues. -- 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

Re: libsata doesn't like bus without master

2007-02-11 Thread Robert Hancock
Patrick Ale wrote: On 2/11/07, Robert Hancock [EMAIL PROTECTED] wrote: Patrick Ale wrote: Something unrelated to the tests I am doing. I found out that the libsata driver doesn't really cope or likes the idea that you might have a controller without a master drive configured

Re: [PATCH] keep track of network interface renaming

2007-02-11 Thread Robert Hancock
info for messages in recent kernels.. -- 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

Re: sata_nv - ADMA issues with 2.6.20

2007-02-11 Thread Robert Hancock
than -mm right now - applying the 2.6.20-git6 patch on top of 2.6.20 should do it. -- 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: NAK new drivers without proper power management?

2007-02-11 Thread Robert Hancock
and then the user would know they have to remove that module, etc. before suspending (there is at least some distro script support for doing that automatically based on a config file), since it hasn't a hope of working after resume until the framework is updated to support suspending. -- Robert Hancock

pcim_enable_device BUGs for libata devices in 2.6.20-git6

2007-02-11 Thread Robert Hancock
and never disabled. Not sure what the best way to fix this is? -- 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

[PATCH] sata_nv: handle SError status indication

2007-02-11 Thread Robert Hancock
ADMA-capable controllers provide a bit in the status register that appears to indicate that the controller detected an SError condition. Update sata_nv to detect this and trigger error handling in order to handle the fault. Signed-off-by: Robert Hancock [EMAIL PROTECTED] --- drivers/ata

[PATCH] sata_nv: add back some verbosity into ADMA error_handler

2007-02-11 Thread Robert Hancock
it won't spew at inappropriate times like suspend/resume. Signed-off-by: Robert Hancock [EMAIL PROTECTED] --- linux-2.6.20-git6/drivers/ata/sata_nv.c 2007-02-11 17:31:19.0 -0600 +++ linux-2.6.20-git6edit/drivers/ata/sata_nv.c 2007-02-11 17:40:48.0 -0600 @@ -1442,6 +1442,26

libata FUA revisited

2007-02-11 Thread Robert Hancock
HTS541010G9SA00 MBZOC60D (the latter 3 being Hitachi Travelstar drives) -- 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: libata FUA revisited

2007-02-11 Thread Robert Hancock
Robert Hancock wrote: Given the above, what I'm proposing to do is: -Remove the blacklisting of Maxtor BANC1G10 firmware for FUA. If we need to FUA-blacklist any drives this should likely be added to the existing horkage mechanism we now have. However, at this point I don't think that's

Re: SATA Drive No Longer Recognized In New 2.6.20 Kernel

2007-02-12 Thread Robert Hancock
from under the SCSI menu into a new ATA menu (in 2.6.19 I think). -- 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: libata FUA revisited

2007-02-12 Thread Robert Hancock
. Eric, do you have any info on the blacklisting of that Maxtor 7B250S0 drive? I would hope that Silicon Image would have a good reason for blacklisting that one.. -- Robert Hancock Saskatoon, SK, Canada To email, remove nospam from [EMAIL PROTECTED] Home Page: http://www.roberthancock.com

Re: libata FUA revisited

2007-02-13 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 ADMA controller lockup investigation

2007-02-14 Thread Robert Hancock
the commands to the controller, using the APPEND register. That's another thing that's not in the ADMA standard. It's curious that only the post-cache-flush command is having issues, and normal NCQ operation seems fine. Maybe it's related to that tag 0 being reused repeatedly? -- Robert Hancock

Re: GPL vs non-GPL device drivers

2007-02-15 Thread Robert Hancock
that calls the kernel build system, and it works fine. -- 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: GPL vs non-GPL device drivers

2007-02-16 Thread Robert Hancock
KERNELDIR := /lib/modules/`uname -r`/build all:: $(MAKE) -C $(KERNELDIR) M=`pwd` $@ endif -- 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: 2.6.20 kernel hang with USB drive and vfat doing ftruncate

2007-02-16 Thread Robert Hancock
and never return. It seems to be stuck in the idle loop(). On FAT filesystems this forces the entire file contents of that size to be written out with zeros. Are you sure the kernel just isn't busy writing out all that data to the disk? -- Robert Hancock Saskatoon, SK, Canada To email

Re: sata_nv ADMA controller lockup investigation

2007-02-15 Thread Robert Hancock
Jeff Garzik wrote: Robert Hancock wrote: It's curious that only the post-cache-flush command is having issues, and normal NCQ operation seems fine. Maybe it's related to that tag 0 being reused repeatedly? If you take cache flush out of the equation, what happens when NCQ is enabled

Re: pata_amd dropping to PIO on resume

2007-02-16 Thread Robert Hancock
like pata_amd does an ata_pci_clear_simplex only for certain chip models, maybe this model needs it as well? -- 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

Re: [BUG 2.6.21-rc3-git9] SATA NCQ failure with Samsum HD401LJ

2007-03-16 Thread Robert Hancock
to the NCQ blacklist. Max This does indeed look like a drive side issue to me (the controller is reporting CPBs with response flags 2 which as far as I can tell indicates it's still waiting for the drive to complete the request). -- Robert Hancock Saskatoon, SK, Canada To email, remove nospam

Re: SATA problems in 2.6.20.3

2007-03-17 Thread Robert Hancock
/torvalds/linux-2.6.git;a=commit;h=5e5c74a5e11d1e2a99d03132cc6c4455016db6c2 -- 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: 1000xf bus problem

2007-03-18 Thread Robert Hancock
rate is should be capable of. How are you determining this? Any ideas on how to make it work at full speed? -- 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

Re: 1000xf bus problem

2007-03-18 Thread Robert Hancock
at. -- 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

Re: sata_nv exceptions in 2.6.20.3

2007-03-20 Thread Robert Hancock
on that drive? The controller is reporting SError values and CMD errors, which likely tends to indicate some kind of SATA communication problem.. -- Robert Hancock Saskatoon, SK, Canada To email, remove nospam from [EMAIL PROTECTED] Home Page: http://www.roberthancock.com/ - To unsubscribe

Re: UDP packets scheduling

2007-03-20 Thread Robert Hancock
it at speeds about 5.5Gbps, that is my question. Why is it necessary to avoid bursting? There should be enough buffering along the chain to avoid packet loss with reasonable burst sizes. -- Robert Hancock Saskatoon, SK, Canada To email, remove nospam from [EMAIL PROTECTED] Home Page: http

Re: sata_nv ADMA controller lockup investigation

2007-03-20 Thread Robert Hancock
and the controller is still waiting for a response. Could be that this is another drive that needs to be added to the NCQ blacklist, some similar Maxtor models seem to have issues.. -- Robert Hancock Saskatoon, SK, Canada To email, remove nospam from [EMAIL PROTECTED] Home Page: http

Re: [PATCH] I/O space boot parameter

2007-03-21 Thread Robert Hancock
assigned by the BIOS last, so that we wouldn't try to assign those until we'd already assigned everything else.. -- 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

Re: MCE on an NForce4 board (again)

2007-03-23 Thread Robert Hancock
in the sata_nv module could trigger an MCE? If not, would you put your money on the RAM, or could the motherboard be blamed? I hope it's not the CPU ;) -- Robert Hancock Saskatoon, SK, Canada To email, remove nospam from [EMAIL PROTECTED] Home Page: http://www.roberthancock.com/ - To unsubscribe from

Re: Why is NCQ enabled by default by libata? (2.6.20)

2007-03-24 Thread Robert Hancock
, I was curious why is NCQ enabled by default? Normally NCQ is faster, though it depends on the drive firmware. It's also possible that software RAID is a case where there are negative interactions. -- Robert Hancock Saskatoon, SK, Canada To email, remove nospam from [EMAIL PROTECTED

Re: Invalid operand: kernel BUG at mm/rmap.c:434! and arch/i386/mm/highmem.c:42!)

2007-04-06 Thread Robert Hancock
(defective RAM? Bad application or device driver?), please let me know as I'm pulling what little hair I have left out on this one. Suggestions on what to try would be greatly appreciated. Thanks! First try updating to the latest RHEL update kernel, that one's out of date. -- Robert Hancock

Re: 2.6.9 won't compile

2007-04-06 Thread Robert Hancock
to be personally CC'ed in the answers/comments posted in response to this post ? Your compiler is probably too new to be able to compile 2.6.9. You'd likely be better off trying the latest kernels and making a detailed report of the problems you're having with it.. -- Robert Hancock Saskatoon

Re: Two questions regarding Opening files within Kernel!

2007-04-07 Thread Robert Hancock
/WhyWritingFilesFromKernelIsBad -- 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

Re: Help Understanding Linux memory management

2007-04-10 Thread Robert Hancock
to disable the pagecache? Not as far as I know, it's unlikely this would be of any benefit. -- 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: Loud pop coming from hard drive on reboot

2007-04-13 Thread Robert Hancock
to, and yet the drive loses power so it does an emergency retract. Making the kernel shutdown on reboot would only add more spindown/up cycles for normally working systems. -- Robert Hancock Saskatoon, SK, Canada To email, remove nospam from [EMAIL PROTECTED] Home Page: http

Re: Why kmem_cache_free occupy CPU for more than 10 seconds?

2007-04-13 Thread Robert Hancock
() voluntarily since CONFIG_PREEMPT_VOLUNTARY and CONFIG_PREEMPT_BKL are both turned on? From my understanding these 2 options should make schedule happen even if CPU is under heavy load.. No, only CONFIG_PREEMPT will do that. -- Robert Hancock Saskatoon, SK, Canada To email, remove nospam from

Re: Machine Check Exception on Opteron 265

2007-04-14 Thread Robert Hancock
such a problem. So now we wonder if this might be an MCE bug, or really a HW problem, and if it is one of the CPUs, or the RAM thats faulty. We are running 2.6.18. Sounds like some bad RAM.. -- Robert Hancock Saskatoon, SK, Canada To email, remove nospam from [EMAIL PROTECTED] Home Page: http

Re: libata FUA revisited

2007-02-19 Thread Robert Hancock
, just go for the regular non-NCQ FUA write. I think that should be safe. Aside from the issue above, as I mentioned elsewhere, lots of NCQ drives don't support non-NCQ FUA writes.. -- Robert Hancock Saskatoon, SK, Canada To email, remove nospam from [EMAIL PROTECTED] Home Page: http

[PATCH] sata_nv: delay on switching between NCQ and non-NCQ commands

2007-02-19 Thread Robert Hancock
-by: Robert Hancock [EMAIL PROTECTED] --- linux-2.6.20-git6edit/drivers/ata/sata_nv.c.before_hacking 2007-02-15 18:19:13.0 -0600 +++ linux-2.6.20-git6edit/drivers/ata/sata_nv.c 2007-02-15 22:36:02.0 -0600 @@ -219,6 +219,7 @@ void __iomem * gen_block; void __iomem

[PATCH] libata: warn if speed limited due to 40-wire cable (v2)

2007-02-19 Thread Robert Hancock
. Also, it's been inadvertently tested (it seems that pata_amd Nvidia cable detection is broken in current -git..) Signed-off-by: Robert Hancock [EMAIL PROTECTED] --- linux-2.6.20-git6/drivers/ata/libata-core.c 2007-02-11 17:31:19.0 -0600 +++ linux-2.6.20-git6edit/drivers/ata/libata

[PATCH 0/5] sata_nv: various cleanups and fixes

2007-02-19 Thread Robert Hancock
This patch series contains several fixes for issues I noticed while debugging some command timeout problems. None of these proved to be related to that issue, but they fall into the category of things we should be doing anyway. Split into separate patches to ease bisecting in case of issues.

[PATCH 2/5] sata_nv: cleanup CPB and APRD initialization

2007-02-19 Thread Robert Hancock
Clean up the initialization of the CPB and APRD structures so that we strictly follow the rules for ordering of writes to the CPB flags and response flags, and prevent duplicate initialization. Signed-off-by: Robert Hancock [EMAIL PROTECTED] --- linux-2.6.20-git6edit/drivers/ata/sata_nv.c 2007

[PATCH 1/5] sata_nv: Add CPB register info to error_handler output

2007-02-19 Thread Robert Hancock
When error handling occurs with pending commands, output the contents of the next CPB count and next CPB index registers as well as the others, since these may be useful for debugging. Signed-off-by: Robert Hancock [EMAIL PROTECTED] --- linux-2.6.20-git6edit/drivers/ata/sata_nv.c 2007-02-15 22

[PATCH 5/5] sata_nv: enable hotplug interrupt and fix some readl/readw mismatches

2007-02-19 Thread Robert Hancock
We already have code that handles hotplug interrupt indications in ADMA mode, this turns on the control flag that actually enables these interrupts. Also fixes some cases in the same functions where a 16-bit register was read using a readl instead of a readw. Signed-off-by: Robert Hancock [EMAIL

[PATCH 3/5] sata_nv: Cleanup taskfile setup

2007-02-19 Thread Robert Hancock
This edits the taskfile setup to more closely match the way that libata sends the taskfile for other controllers. This avoids putting taskfile writes into the CPB buffer that are not needed according to the taskfile flags. Signed-off-by: Robert Hancock [EMAIL PROTECTED] --- linux-2.6.20

[PATCH 4/5] sata_nv: Use notifier for completion checks

2007-02-19 Thread Robert Hancock
, accessing them will likely result in a cache miss. Signed-off-by: Robert Hancock [EMAIL PROTECTED] --- linux-2.6.20-git6edit/drivers/ata/sata_nv.c 2007-02-15 22:36:02.0 -0600 +++ linux-2.6.20-git6edit/drivers/ata/sata_nv.c.delayandfixes 2007-02-19 17:00:14.0 -0600 @@ -853,22

[PATCH RFC] libata: FUA updates

2007-02-19 Thread Robert Hancock
(since that one is known to have problems) as well as for ITE821x when in smart mode. Signed-off-by: Robert Hancock [EMAIL PROTECTED] --- Any comments on this version? It's essentially what I posted previously in libata FUA revisited, except that the default for FUA support remains off, so

Re: Serial related oops

2007-02-19 Thread Robert Hancock
the interrupt before it allows any interrupts to be enabled. (We have such a quirk for certain network controllers where the boot ROM can leave the chip generating interrupts on bootup.) -- Robert Hancock Saskatoon, SK, Canada To email, remove nospam from [EMAIL PROTECTED] Home Page: http

Re: Serial related oops

2007-02-19 Thread Robert Hancock
having intentionally enabled them. There are a few devices that have had such issues, but they have been few and far between, certainly not enough to warrant the complexity of the scheme you propose. -- Robert Hancock Saskatoon, SK, Canada To email, remove nospam from [EMAIL PROTECTED] Home

Re: 2.6.20 kernel hang with USB drive and vfat doing ftruncate

2007-02-19 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

Re: forcedeth problems on 2.6.20-rc6-mm3

2007-02-19 Thread Robert Hancock
) mod_timer(np-oom_kick, jiffies + OOM_REFILL); Did anyone push this patch into mainline? forcedeth on 2.6.20-git14 is still completely broken without this patch. -- Robert Hancock Saskatoon, SK, Canada To email, remove nospam from [EMAIL PROTECTED] Home Page: http

Re: High CPU usage with sata_nv

2007-02-20 Thread Robert Hancock
at least on nForce4 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 in the body of a message to [EMAIL PROTECTED] More majordomo

[PATCH] sata_nv: kill old private BMDMA helper functions

2007-02-20 Thread Robert Hancock
. The only thing we need to override as far as ADMA and BMDMA is the post_internal_cmd callback, where we should only call ata_post_internal_cmd if we are in port-register mode. Signed-off-by: Robert Hancock [EMAIL PROTECTED] --- linux-2.6.20-git14edit/drivers/ata/sata_nv.c.before_cleanup 2007-02-20

Re: libata FUA revisited

2007-02-21 Thread Robert Hancock
(especially the latter) seem to be very popular models. Likely Seagate didn't implement that command since they figured nobody would use that if they had NCQ.. -- Robert Hancock Saskatoon, SK, Canada To email, remove nospam from [EMAIL PROTECTED] Home Page: http://www.roberthancock.com

Re: High CPU usage with sata_nv

2007-02-21 Thread Robert Hancock
Matthew Fredrickson wrote: On Feb 20, 2007, at 9:43 PM, Robert Hancock wrote: Matthew Fredrickson wrote: I have noticed something that might be related as well. I am working on a device driver that would have periodic data errors due to exceptionally long interrupt handling latency. I

Re: Weird hard disk noise on shutdown (bug #7674)

2007-02-21 Thread Robert Hancock
, do we? Tejun Heo had a patch for sd that could (optionally) trigger a START STOP UNIT command to spin the disk down after synchronizing the cache before shutdown, but I haven't heard anything of it lately.. -- Robert Hancock Saskatoon, SK, Canada To email, remove nospam from [EMAIL

Re: [PATCH] ACPI driver support for pata

2007-02-21 Thread Robert Hancock
can assure you that is an 80-wire cable on that device :-) I suppose next step is adding debug to see where it is having issues? -- Robert Hancock Saskatoon, SK, Canada To email, remove nospam from [EMAIL PROTECTED] Home Page: http://www.roberthancock.com/ - To unsubscribe from this list

Re: Weird hard disk noise on shutdown (bug #7674)

2007-02-21 Thread Robert Hancock
Robert Hancock wrote: Alan wrote: Stick some printk calls in drivers/ata/libata-eh.c in ata_eh_suspend, or turn on all the ATA debug and shutdown, the code should issue a cache flush followed by a standbynow1 command for each disk. Alan I believe it runs on suspend, but we don't run

[PATCH] libata: add NCQ blacklist entries from Silicon Image Windows driver

2007-02-21 Thread Robert Hancock
This patch adds in some NCQ blacklist entries taken from the Silicon Image Windows drivers' .inf files for the 3124 and 3132 controllers. These entries were marked as DisableSataQueueing. Assume these are in their blacklist for a reason and disable NCQ on these drives. Signed-off-by: Robert

[PATCH] sata_nv: complain on spurious completion notifiers

2007-02-21 Thread Robert Hancock
outstanding, since the drive may be issuing spurious completions. Signed-off-by: Robert Hancock [EMAIL PROTECTED] --- linux-2.6.21-rc1edit/drivers/ata/sata_nv.c.prev 2007-02-21 22:17:31.0 -0600 +++ linux-2.6.21-rc1edit/drivers/ata/sata_nv.c 2007-02-21 22:22:14.0 -0600 @@ -740,6

Re: Weird hard disk noise on shutdown (bug #7674)

2007-02-22 Thread Robert Hancock
a feature (IMHO). It's a feature that's in drivers/ide (I believe) but isn't in libata or the SCSI layer. -- 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

Re: [PATCH] ACPI driver support for pata

2007-02-22 Thread Robert Hancock
driver could take advantage of this feature. -- 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

Re: Weird hard disk noise on shutdown (bug #7674)

2007-02-22 Thread Robert Hancock
after halting before you power down, you may not get the noise, since many laptop drives unload the heads after a fairly short period of inactivity, and so the heads are already unloaded when the power is shut off. -- Robert Hancock Saskatoon, SK, Canada To email, remove nospam from

Re: libata FUA revisited

2007-02-22 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

Re: [PATCH] libata: add NCQ blacklist entries from Silicon Image Windows driver

2007-02-22 Thread Robert Hancock
active_tag -84148995 sactive 0xf) Sounds like those are some that we should be blacklisting as well, unless Eric has a good reason why not (CCing). Can you provide the full firmware revision strings from those drives, i.e. from hdparm -I? -- Robert Hancock Saskatoon, SK, Canada To email

Re: [PATCH] ACPI driver support for pata

2007-02-23 Thread Robert Hancock
to drive a piece of hardware, does anything define which driver will get first dibs on attaching to the device when it's hotplugged? I don't know how this ordering will be enforced in that case. -- Robert Hancock Saskatoon, SK, Canada To email, remove nospam from [EMAIL PROTECTED] Home Page

Re: irq balancing question

2007-02-23 Thread Robert Hancock
daemon to do this, unless the interrupts are distributed in hardware (which only some machines 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

Re: list.h , list_head and C++

2007-02-26 Thread Robert Hancock
they depend on are not guaranteed to work. Also keep in mind that using these structures probably makes your program a derivative of the kernel and would require your software to be released under the GPL. -- Robert Hancock Saskatoon, SK, Canada To email, remove nospam from [EMAIL PROTECTED

Re: list.h , list_head and C++

2007-02-27 Thread Robert Hancock
[EMAIL PROTECTED] wrote: On Feb 26, 2:26 pm, Robert Hancock [EMAIL PROTECTED] wrote: [EMAIL PROTECTED] wrote: My C++ program needs an intrusive list, possibly with RCU capabilities.The data structurelist_head, defined in /usr/include/ linux/list.h , fits perfectly these needs. You really

Re: SMP performance degradation with sysbench

2007-02-27 Thread Robert Hancock
tries to get a mutex but it spends about 16.8% of CPU on 8 core machine. Curious that it calls pthread_mutex_trylock (as opposed to pthread_mutex_lock) so often. Maybe they're doing some kind of mutex lock busy-looping? -- Robert Hancock Saskatoon, SK, Canada To email, remove nospam from

Re: 2.6.20 SATA error

2007-02-28 Thread Robert Hancock
) sda: Write Protect is off sda: Mode Sense: 00 3a 00 00 SCSI device sda: write cache: enabled, read cache: enabled, doesn't support DPO or FUA Some command timed out, apparently. From this one can't easily say why. Please send full dmesg. -- Robert Hancock Saskatoon, SK, Canada To email

Re: solved Re: 2.6.20 SATA error

2007-02-28 Thread Robert Hancock
, There is one thing that seems odd, if you do have an nForce4 chipset, the kernel should be running the SATA controller in ADMA mode in 2.6.20, but it doesn't seem like it is from your dmesg output. Can you post the output of lspci -vvn? Also what kind of motherboard is that? -- Robert Hancock

Re: 2.6.20 SATA error

2007-02-28 Thread Robert Hancock
commands. Hopefully this is fixed in 2.6.21-rc. This doesn't seem to be the issue here, since his system isn't using ADMA mode, for reasons unclear to me.. -- Robert Hancock Saskatoon, SK, Canada To email, remove nospam from [EMAIL PROTECTED] Home Page: http://www.roberthancock.com

  1   2   3   4   5   6   7   8   9   10   >