lost interrupt and inb()

From: Ana Yuseepi (anayuseepi@asia.com)
Date: Wed Aug 07 2002 - 03:41:33 EST


hello all,
 
i tried to made a program in the form of a module. This program would attempt to read/poll status register of IDE until the value for the status register is 0x50.
 
here is the algorithm:
 
 save_flag();
 disable_interrupt();
 poll_or_read_or_get_input_from_IDE_status_register();
 enable_interrupt();
 restore_flags();
 
 this program would run fine, but after the program is finished executing, it would display a message:
 ide_dmaproc: chipset supported ide_dma_lostirq func only: 13
 hdc: lost interrupt
 
the OS doesn't hang. because normal operation would resume after this program exit.
 OS=linux 7.3, kernel=2.4.18-3
 
my question is:
how can i solve this error such that the error message would not appear anymore?
 
i have lots of other questions, but that of the above is the most important..
 
hope to hear your reply,
 
-Ana

-- 
__________________________________________________________
Sign-up for your own FREE Personalized E-mail at Mail.com
http://www.mail.com/?sr=signup

Get 4 DVDs for $.49 cents! plus shipping & processing. Click to join. http://adfarm.mediaplex.com/ad/ck/990-1736-3566-59

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Wed Aug 07 2002 - 22:00:35 EST