Skip to main content
Home
The Baheyeldin Dynasty
The journey for wisdom starts with knowledge
  • Home
  • About
  • Site Map
  • Contact

Linux: IDE CD problem with kernel 2.4.21pre4 to 2.6.7

  1. Home

By Khalid on 2004/06/27 - 14:40, last updated 2004/07/12 - 11:16

I had Mandrake Linux 9.1 running fineon a Dell Optiplex PIII-550 Mhz. The system had a Mitsumi CDR-2801TEon hdc, running with SCSI over IDE emulation.When the time came to upgrade toMandrake Linux 10.0 Final, I booted up CD1 and it loaded fine, untilthe stage where it tries to access the CD and mount it. At thispoint, the kernel halted with the following error:Kernel BUG at drivers/ide/ide-ops.c:1005! ....<0> Kernel panic: Fatal exception in interuptIn interupt handler - not syncing" I did some investigation on the web, and found that several otherpeople on various forums and mailing lists complaining about the sameexact thing.None of them had anyone reply with a solution.

  • Google Groups 1
  • Google Groups 2
  • Google Groups 3
  • Mandrake Bug Database: Installation fails immediately with a kernel panic (drivers/ide/ide-iops.c)
  • Mandrake Forums
  • Linux Questions
  • Red Hat Bugzilla
  • Linux Today
  • LKML report
Upon further investigation, I found that this is not Mandrakespecific, nor is it 2.6.x specific. It was introduced along withchanges in IDE in 2.4.21pre4.Here is what Alan Cox added these: Linux 2.4.21pre4-ac2o Turn on use of ide_execute_command everywhere (Ross Biro, me)o First cut at settings locking for IDE (me)Linux 2.4.21pre4-ac1o Finish the ide_execute_command code (me)o Switch ide-cd to ide_execute_command (me)The offending code is in drivers/ide/ide-iops.c: void ide_execute_command(ide_drive_t *drive, task_ioreg_t cmd, ide_handler_t *handler, unsigned timeout, ide_expiry_t *expiry){ unsigned long flags; ide_hwgroup_t *hwgroup = HWGROUP(drive); ide_hwif_t *hwif = HWIF(drive); spin_lock_irqsave(&ide_lock, flags); if(hwgroup->handler) BUG(); hwgroup->handler = handler; hwgroup->expiry = expiry; hwgroup->timer.expires = jiffies + timeout; add_timer(&hwgroup->timer); hwif->OUTBSYNC(drive, cmd, IDE_COMMAND_REG); /* Drive takes 400nS to respond, we must avoid the IRQ being serviced before that. FIXME: we could skip this delay with care on non shared devices */ ndelay(400); spin_unlock_irqrestore(&ide_lock, flags);}Note that different kernel versions will report a different line number, but it is the same function. No solution is feasible so far, short of swapping the drive. I ended up doing just that, after I sent an email to Jens Axboe, the maintainer of the IDE CD-ROMdrivers in the kernel on 2.6.x, but did not get an answer for severalweeks.Like others have done, I solved the problem byreplacing the Mitsumi CD-R with a Ricoh CD-RW MP7040A . Worked thefirst time without a problem. I could proceed and install Mandrake10.0 normally. No other hardware modifications or BIOS or cabling atall.

Contents: 
Linux
  • Add comment

Current

Pandemic

  • COVID-19
  • Coronavirus

Search

Site map

Contents

  • Family
    • Khalid
    • Ancestry
    • Extended
  • Friends
  • Nokat نكت
  • Writings
    • Cooking
    • Culture
    • Science
    • History
    • Linguistics
    • Media
    • Literature
    • Politics
    • Humor
    • Terrorism
    • Business
    • Philosophy
    • Religion
    • Children
  • Technology
    • Linux
    • Arabization
    • Drupal
      • Association
    • Software
    • Internet
    • Technology in Society
    • Digital Archeology
    • NCR History
    • MidEast Internet
    • Programming
    • Saudi ISPs
    • Miscellaneous
  • Places
    • Canada
      • Weather
    • Egypt
      • Cuisine
      • Alexandria
      • E.G.C.
    • USA
    • Saudi Arabia
  • Interests
    • Astronomy
    • Fishing
    • Photography
    • Snorkeling
    • Nature
    • Photomicroscopy
  • Miscellany

In Depth

  • al-Hakim bi Amr Allah: Fatimid Caliph of Egypt الحاكم بأمر الله
  • Alexandria, Egypt
  • Arabic on the Internet
  • Articles on the history of Muslims and Arabs in the Iberian Peninsula تاريخ المسلمين و العرب في الأند
  • DIY GOTO Telescope Controller With Autoguiding and Periodic Error Correction
  • E.G.C. English Girls College in Alexandria, Egypt
  • Egyptian Cuisine, Food and Recipes مأكولات مصرية
  • George Saliba: Seeking the Origins of Modern Science?
  • Internet Scams and Fraud
  • Mistaken for an Arab or Muslim: Absurdities of being a victim in the War on Terror
  • Mistaken Identity: How some people confuse my site for others
  • One People's Terrorist Is Another People's Freedom Fighter
  • Overview of Google's Technologies
  • Photomicroscopy
  • Pseudoscience: Lots of it around ...
  • Resources for using Google Adsense with Drupal
  • Rockwood Conservation Area, Southern Ontario
  • Selected Symbolic Novels And Movies
  • Snorkeling the Red Sea near Jeddah
  • Updates and Thoughts on the Egyptian Revolution of 2011

Recent Content

Most recent articles on the site.

  • Origin Of COVID-19: Natural Spillover, Lab Leak Or Biological Weapon?
  • Kamal Salibi and the "Israel from Yemen" theory
  • How To Upgrade HomeAssistant Core In A Python Venv Using uv
  • Ancestry - Paternal Side
  • Review of Wait Water Saver For Whole House Humidifiers
more

Most Comments

Most commented on articles ...

  • Another scam via Craigslist: offering more than asking price
  • Warning to female tourists thinking of marrying Egyptians
  • Craigslist classified for used car: Cheque fraud scam
  • Winning the lottery scam email: World Cup South African lottery
  • Email Scam: BMW 5 Series car and lottery winning
more

About Khalid

Various little bits of information ...

  • Khalid Baheyeldin: brief biography
  • Presentations and Talks
  • Youtube Videos
  • GitHub Projects
  • Drupal.org Profile
  • Astrophotography @ Flickr

Sponsored Links

Your Link Ad Here

Tags

Android Mobile Ubuntu Sony OnStep OpenWRT Router Ericsson COVID-19 Rogers Coronavirus Arabic Kubuntu Home Assistant GSM Telescope tablet Spectrum Scam Python 419 Laptop Firefox DIY CPU Conspiracy Comet Balkanization backup App
More

© Copyright 1999-2025 The Baheyeldin Dynasty. All rights reserved.
You can use our content under the Terms of Use.
Please read our privacy policy before you post any information on this site.
All posted articles and comments are copyright by their owner, and reflect their own views and opinions, which may not necessarily be consistent with the views and opinions of the owners of The Baheyeldin Dynasty.

Web site developed by 2bits.com Inc.