Re: [RFQ] aic7xxx driver panics under heavy swap.

2001-06-20 Thread Bulent Abali
Justin, Your patch works for me. printk "Temporary Resource Shortage" has to go, or may be you can make it a debug option. Here is the cleaned up patch for 2.4.5-ac15 with TAILQ macros replaced with LIST macros. Thanks for the help. Bulent --- aic7xxx_linux.c.save Mon Jun 18 20:25:35 2001

Re: [RFQ] aic7xxx driver panics under heavy swap.

2001-06-19 Thread Justin T. Gibbs
> >Justin, >When free memory is low, I get a series of aic7xxx messages followed by >panic. It appears to be a race condition in the code. Its actually a logic error, not a race condition. You should never enter ahc_linux_run_device_queue() while the device is still on the run queue. The real

[RFQ] aic7xxx driver panics under heavy swap.

2001-06-19 Thread Bulent Abali
Justin, When free memory is low, I get a series of aic7xxx messages followed by panic. It appears to be a race condition in the code. Should you panic? I tried the following patch to not panic. But I am not sure if it is functionally correct. Bulent scsi0: Temporary Resource Shortage scsi0: