Re: cmd64x: irq 14: nobody cared - system is dreadfully slow

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Monday 22 June 2009, David Miller wrote:
> Can you apply this debugging patch and print out the output?

I get completely flooded...
I get the debug output 2 times (ide0 and ide1 maybe?): the first time it 
stops after a few 100 lines and driver init continues a bit, but the 
second time it just goes on and on and eventually I decided to reset the 
box.

> diff --git a/drivers/ide/ide-io.c b/drivers/ide/ide-io.c
> index 1059f80..8992fda 100644
> --- a/drivers/ide/ide-io.c
> +++ b/drivers/ide/ide-io.c
> @@ -797,6 +797,25 @@ irqreturn_t ide_intr (int irq, void *dev_id)
>  	int plug_device = 0;
>  	struct request *uninitialized_var(rq_in_flight);
>
> +#if 1
> +	{
> +		static int times = 0;
> +
> +		if (++times <= 32)

Should this be >=32 maybe?

If you really do want the to skip the first 32 and capture the rest, I can 
still get it, but I'd have to split the printk as it's too wide for my 
serial console so part gets truncated.

> +			goto no_log;
> +
> +		printk(KERN_INFO "IDE-DEBUG: host->host_flags[0x%lx] "
> +		       "hwif(%p) host->cur_port(%p) "
> +		       "hwif->port_ops(%pS) hwif->handler(%pS) "
> +		       "hwif->polling(%d)\n",
> +		       host->host_flags, hwif, host->cur_port,
> +		       hwif->port_ops, hwif->handler, (int) hwif->polling);
> +
> +	no_log:
> +		;
> +	}
> +#endif
> +
>  	if (host->host_flags & IDE_HFLAG_SERIALIZE) {
>  		if (hwif != host->cur_port)
>  			goto out_early;

This is what I could get from the *second* series:
IDE-DEBUG: host->host_flags[0x10] hwif(fffff8003e326800) 
host->cur_port((null)) 
hwif->port_ops(cmd648_port_ops+0x0/0xfffffffffffffe54 [cmd64x]) 
hwif->hand

Rest is truncated. This first part seemed constant.
--
To unsubscribe from this list: send the line "unsubscribe sparclinux" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel Development]     [DCCP]     [Linux ARM Development]     [Linux]     [Photo]     [Yosemite Help]     [Linux ARM Kernel]     [Linux SCSI]     [Linux x86_64]     [Linux Hams]

  Powered by Linux