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

Ask A Question

Stats

  • Questions 170k
  • Answers 170k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer string siteURL = "http://yourserver/yourpathtothesite"; using (SPSite site = new SPSite(siteURL))… May 12, 2026 at 2:09 pm
  • Editorial Team
    Editorial Team added an answer To comment out source code that is placed within the… May 12, 2026 at 2:09 pm
  • Editorial Team
    Editorial Team added an answer sort -n -t- -k2 seems to do what you want.… May 12, 2026 at 2:09 pm

Related Questions

EDIT 2009-Nov-04 OK, so it's been a little while since I first posted this
I am writing an application that needs to send data over a network. I
My 7 year old would like to learn, how to program? (his idea not
I'm a beginner C++ programmer, and to stretch my mind I've been trying some

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

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.