LinuxQuestions.org
Support LQ: Use code LQCO20 and save 20% on CrossOver Office
Go Back   LinuxQuestions.org > Forums > Linux > Linux - General
User Name
Password
Linux - General This forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Thread Tools
Old 06-20-2003, 09:18 AM   #1
schatoor
Senior Member
 
Registered: Jul 2002
Location: a tiny place caled hendrik ido ambacht in the netherlands
Distribution: SuSE, debian, slackware, lfs
Posts: 1,358
Thanked: 0
kernel panic's and burning cd's


[Log in to get rid of this advertisement]
Hello folks. I was trying to burn a cd just now, when my system paniced out. To be honest, I cinda expected it to. The thing is, some cd writing media are of such a bad quallity or have been damaged to such an extend, that I just now the system will panic when I use them.
So you ask, why are you using those media then? The thing is, I feel my system should not panic, no matter what.
I have noticed that other people to have kernel panics when they try to burn a cd. It looks like it's a common problem. So I did some experimenting. Well, not really, but here is the deal:
I put the bad cd in, the one I knew would cause a panic. Then just before the panic, I jumped to a console to see what kind of message I would get from the kernel. And sure enough, the kernel gave detaild info what went wrong. I'm not going to post the entire thing here, but one line caught my attantion:

Code:
rscsi: abording command due to timeout: pid 174 scsi0 channel 0 id 0 luno test unit ready 00000
scsi host abort (pid 174) timed out -reseting
scsi bus is being reset for host 0 channel 0
Kernel bug at ide-iops.c: 1262!
So it seems like there is a bug in the kernel that causes it to panic. I recond ide-iops.c is a kernel source file, and that somthing goes wrong at line 1262. So I looked up the source in that file at that line. Here is a comment I found near that line :

/*
* do_reset1() attempts to recover a confused drive by resetting it.
* Unfortunately, resetting a disk drive actually resets all devices on
* the same interface, so it can really be thought of as resetting the
* interface rather than resetting the drive.
*
* ATAPI devices have their own reset mechanism which allows them to be
* individually reset without clobbering other devices on the same interface.
*
* Unfortunately, the IDE interface does not generate an interrupt to let
* us know when the reset operation has finished, so we must poll for this.
* Equally poor, though, is the fact that this may a very long time to complete,
* (up to 30 seconds worstcase). So, instead of busy-waiting here for it,
* we set a timer to poll at 50ms intervals.
*/

So it seems like the drive is confuesd by a faulty cd recorder media, and because of that, it's trying to reset the drive. Only, because of a bug in the kernel, somthing goes wrong and the kernel panics.
What do you guy's make of this. Is this really a bug in the kernel? Or is this somthing else. Does any body else experiance problems like this?
I just updated my kernel to 2.4.21. Should I send a bug reprot to the kernel guy's?
schatoor is offline     Reply With Quote
Old 06-20-2003, 08:03 PM   #2
DavidPhillips
LQ Addict
 
Registered: Jun 2001
Location: South Alabama
Distribution: RedHat / SuSE
Posts: 7,150
Thanked: 0
yes, send a bug report

good work!


also put your cdrom on another controller from the hard drive
DavidPhillips is offline     Reply With Quote

Reply

Bookmarks


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
burning cd's mortal *BSD 2 11-17-2004 08:29 PM
k3b freezes when burning audio cd's, using kernel 2.6.8.1 emf Linux - Software 1 11-09-2004 01:49 AM
Booting Kernel 2.6.6 keeps ending in panic's. BelDiaBlo Linux - General 14 06-07-2004 09:46 AM
burning cd's one Slackware 8 07-22-2003 11:53 AM
Burning CD's = Kernel Panic Mega Man X Linux - General 2 06-20-2003 10:38 AM


All times are GMT -5. The time now is 08:40 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
RSS2  LQ Podcast
RSS2  LQ Radio
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration