Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 247007
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T21:13:11+00:00 2026-05-11T21:13:11+00:00

Ok, in school we are developing an operating system. My project has been to

  • 0

Ok, in school we are developing an operating system. My project has been to develop an ATA hard disk driver. I thought I had my interrupt service routine working quite well when my professor pointed out that I was only sending end-of-interrupt commands to the slave PIC, and not the master as well.

My problem is that whenever I send the end-of-interrupt to the master PIC, it causes a triple fault which then causes my system to reboot. Now I have un/commented a bunch of lines and it appears that whenever the function to send the end-of-interrupt to the master PIC is left in the code I get the triple fault.

Now I am quite sure of the following:

  1. interrupts are disabled upon entering my ISR
  2. I am properly sending the end-of-interrupt byte (class tested)
  3. I am not re-acknowledging the same interrupt

This has been causing massive frustration, so I am hoping that someone can give me some guidance without needed to see our code.

Thanks!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-11T21:13:12+00:00Added an answer on May 11, 2026 at 9:13 pm

    I can only guess at this. Here are some things to check.

    • Is the EOI outside of your segment limit?
    • Is the EOI on a readonly page?
    • Is your interrupt handler at the correct privilege level to access the EOI?
    • Are you using the correct segment register?

    Any of those could cause a fault. That in turn could cause a double or triple fault if the descriptor tables are either corrupted or were improperly set up to begin with.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Up till now I have been developing my personal and school projects at home
For a school project we're developing a game that's a little like Conway's game
I am developing some school grading software and decided to use Github to host
At school we have been programming in MIPS assembly language for some time. I'm
For a school project, I need to create a way to create personnalized queries
I'm developing a quiz module for a school with php and mysql. The requirements
I am developing an iPhone app for some sweet undergrad research I've been working
I have been putting off developing this part of my app for sometime purely
For my school work, I do a lot of switching computers (from labs to
I went to school for programming years ago and when I got out I

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.