Jump to content

Kernel Panic when Reading a CD


Recommended Posts

I have a CD that seems to work fine on another machine. However, accesing it under Mandrake causes a segfault. Here is the log from when I was trying to play a video in mplayer:

 

Jun 30 12:23:21 mandrake kernel: kernel BUG at subfs.c:666!

Jun 30 12:23:21 mandrake kernel: invalid operand: 0000

Jun 30 12:23:21 mandrake kernel: isofs zlib_inflate ppdev printer udf sd_mod scsi_mod parport_pc lp parport i810 agpgart nls_cp437 nls_iso8859-1 smbfs snd-seq-midi snd-seq-oss snd-seq-midi-event snd-seq snd-cs46xx snd-pcm-oss snd-mixer-oss snd-ens1371 snd-pcm snd-page-alloc snd-timer snd-rawmidi snd-seq-device snd-ac97-codec snd soundcore af_packet ide-floppy ide-tape ide-cd cdrom floppy tulip nls_iso8859-15 nls_cp850 vfat fat supermount ext3 jbd sidewinder gameport usbmouse keybdev mousedev hid input usb-uhci usbcore rtc reiserfs  

Jun 30 12:23:21 mandrake kernel: CPU:    0

Jun 30 12:23:21 mandrake kernel: EIP:    0010:[af_packet:__insmod_af_packet_O/lib/modules/2.4.21-0.16mm-mdk/kernel/n+-197868/96]    Not tainted

Jun 30 12:23:21 mandrake kernel: EIP:    0010:[<d0962b14>]    Not tainted

Jun 30 12:23:21 mandrake kernel: EFLAGS: 00013202

Jun 30 12:23:21 mandrake kernel: EIP is at __subfs_put_write_access+0x204/0x2f0 [supermount]

Jun 30 12:23:21 mandrake kernel: eax: cf8f7960   ebx: cf8f7960   ecx: cf8f79a4   edx: cf1efb40

Jun 30 12:23:21 mandrake kernel: esi: cfa7c800   edi: 00000001   ebp: c8187f08   esp: c8187f00

Jun 30 12:23:21 mandrake kernel: ds: 0018   es: 0018   ss: 0018

Jun 30 12:23:21 mandrake kernel: Process mplayer (pid: 7612, stackpage=c8187000)

Jun 30 12:23:21 mandrake kernel: Stack: cfa7c800 c2dd9f80 c8187f20 d0962e0e cfa7c800 cfa7c800 ffffffed c4709ea0 

Jun 30 12:23:21 mandrake kernel:        c8187f48 d0968a40 cfa7c800 c4709ea0 cfefa7a0 ffffffed c3f54720 c4709ea0 

Jun 30 12:23:21 mandrake kernel:        cac34680 ffffffe9 c8187f64 c01447aa cac34680 c4709ea0 00008000 c363a000 

Jun 30 12:23:21 mandrake kernel: Call Trace:

Jun 30 12:23:21 mandrake kernel:  [af_packet:__insmod_af_packet_O/lib/modules/2.4.21-0.16mm-mdk/kernel/n+-197106/96] subfs_put_write_file+0x20e/0x310 [supermount]

Jun 30 12:23:21 mandrake kernel:  [<d0962e0e>] subfs_put_write_file+0x20e/0x310 [supermount]

Jun 30 12:23:21 mandrake kernel:  [af_packet:__insmod_af_packet_O/lib/modules/2.4.21-0.16mm-mdk/kernel/n+-173504/96] supermount_open+0x240/0x300 [supermount]

Jun 30 12:23:21 mandrake kernel:  [<d0968a40>] supermount_open+0x240/0x300 [supermount]

Jun 30 12:23:21 mandrake kernel:  [dentry_open+202/464] dentry_open+0xca/0x1d0 [kernel]

Jun 30 12:23:21 mandrake kernel:  [<c01447aa>] dentry_open+0xca/0x1d0 [kernel]

Jun 30 12:23:21 mandrake kernel:  [filp_open+81/96] filp_open+0x51/0x60 [kernel]

Jun 30 12:23:21 mandrake kernel:  [<c01446d1>] filp_open+0x51/0x60 [kernel]

Jun 30 12:23:21 mandrake kernel:  [sys_open+63/176] sys_open+0x3f/0xb0 [kernel]

Jun 30 12:23:21 mandrake kernel:  [<c0144a7f>] sys_open+0x3f/0xb0 [kernel]

Jun 30 12:23:21 mandrake kernel:  [system_call+51/64] system_call+0x33/0x40 [kernel]

Jun 30 12:23:21 mandrake kernel:  [<c01092c3>] system_call+0x33/0x40 [kernel]

Jun 30 12:23:21 mandrake kernel: 

Jun 30 12:23:21 mandrake kernel: Code: 0f 0b 9a 02 94 f1 96 d0 8b 43 28 e9 6e fe ff ff 0f 0b 9f 00

 

I really don't know what to do from here in... is this something that I should report to a mailing list somewhere, or is it just because the CD is messed up for some reason (it's an ISO burned from an iBook)?

 

Thanks,

--Andrew

Link to comment
Share on other sites

Try disabling supermount for that drive. Edit /etc/fstab and change:

 

none /mnt/cdrom supermount dev=/dev/hdc,fs=auto,ro,--,iocharset=iso8859-1,codepage=850,umask=0 0 0

 

to

 

# none /mnt/cdrom supermount dev=/dev/hdc,fs=auto,ro,--,iocharset=iso8859-1,codepage=850,umask=0 0 0

/dev/hdc /mnt/cdrom auto user,umask=0,exec,codepage=850,ro,noauto 0 0

 

Bsically, you are commetning out the supermount mount and creating a new one without it, that way, if this doesn't work, you can restore your old line easily.

 

Then try to do whatever. If it's a video, it doesn't need to be mounted and I think supermount thinks it is supposed to mount it, which it can't do.

I hate supermount and so do a few others.

Link to comment
Share on other sites

Sorry, I haven't had a chance to try it out yet. I will tonight :-). I do know that the CD needs to be mounted - it's just a regular CD with 2 video files burned onto it. I know what you mean about supermount - until MDK 9.1, I always had it disabled, but it's been *very* stable for me so far.

 

--Andrew

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...