LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 02-18-2006, 09:40 PM   #1
kg4ysy
Member
 
Registered: May 2005
Location: North Carolina
Distribution: Gentoo
Posts: 123

Rep: Reputation: 19
External DVD Burner not remounting


I have an external DVD burner and I have a problem. Linux mounts just fine, but if I unplug/turn off then it will not remount it. It mounts as /dev/scd0, and the reason for buying the external was to be able to turn it off. I would really like to have my external remount without having to restart Linux (which shouldn't need to be done anyway.) Any help anyone? I have tried many different ways to unmount it, but nothing has worked yet. HELP!!!!!

thx to anyone that can help me
 
Old 02-18-2006, 10:14 PM   #2
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507

Rep: Reputation: 128Reputation: 128
What happens when you try to mount it after turning the drive off and back on?
 
Old 02-18-2006, 10:28 PM   #3
kg4ysy
Member
 
Registered: May 2005
Location: North Carolina
Distribution: Gentoo
Posts: 123

Original Poster
Rep: Reputation: 19
After I shut it off and turn it back on, there isn't any device listed in /dev. That's the problem, I can't even attempt to mount it, cause as far as my computer is concerned, it doesn't exist. It stinks, but I am sure there is some way around it.
 
Old 02-19-2006, 10:48 AM   #4
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507

Rep: Reputation: 128Reputation: 128
Does 'dmesg' show anything when you turn it back on?
 
Old 02-19-2006, 07:53 PM   #5
kg4ysy
Member
 
Registered: May 2005
Location: North Carolina
Distribution: Gentoo
Posts: 123

Original Poster
Rep: Reputation: 19
I ran dmesg while it was plugged in and then rand it when i unplugged it and plugged it back in again...am I looking for anything in particular? Also I included the line from my fstab below for this device.

/etc/fstab

/dev/scd0 /media/thesexy auto pamconsole,exec,noauto,fscontext=system_ubject_r:removable_t,managed 0 0

thx
 
Old 02-19-2006, 07:59 PM   #6
kg4ysy
Member
 
Registered: May 2005
Location: North Carolina
Distribution: Gentoo
Posts: 123

Original Poster
Rep: Reputation: 19
holy smoke...after I unplugged it, the dmesg prints out all information about failed scsi...

usb 1-1.6: USB disconnect, address 7
usb 1-3: USB disconnect, address 3
scsi: Device offlined - not ready after error recovery: host 0 channel 0 id 0 lun 0
sr 0:0:0:0: Illegal state transition cancel->offline
Badness in scsi_device_set_state at drivers/scsi/scsi_lib.c:1688
[<21c20645>] scsi_device_set_state+0xc8/0xd3 [scsi_mod]
[<21c1db8b>] scsi_eh_offline_sdevs+0x49/0x5e [scsi_mod]
[<21c1e146>] scsi_unjam_host+0x22d/0x23e [scsi_mod]
[<21c1e291>] scsi_error_handler+0x13a/0x191 [scsi_mod]
[<0211b3d9>] schedule_tail+0xc/0x37
[<21c1e157>] scsi_error_handler+0x0/0x191 [scsi_mod]
[<021041d9>] kernel_thread_helper+0x5/0xb
Unable to handle kernel NULL pointer dereference at virtual address 00000008
printing eip:
0224fb8f
*pde = 00000000
Oops: 0000 [#1]
Modules linked in: udf loop i915 md5 ipv6 parport_pc lp parport autofs4 i2c_dev i2c_core smbfs sunrpc ds nls_utf8 ntfs(U) vfat fat dm_mod toshiba_acpi button battery ac joydev sr_mod sd_mod usb_storage scsi_mod yenta_socket pcmcia_core uhci_hcd ehci_hcd snd_intel8x0m snd_intel8x0 snd_ac97_codec snd_pcm_oss snd_mixer_oss snd_pcm snd_timer snd_page_alloc gameport snd_mpu401_uart snd_rawmidi snd_seq_device snd soundcore ndiswrapper(U) e100 mii ext3 jbd
CPU: 0
EIP: 0060:[<0224fb8f>] Not tainted VLI
EFLAGS: 00010046 (2.6.9-1.667)
EIP is at cfq_insert_request+0x45/0xdf
eax: 20d36250 ebx: 20ca78b0 ecx: 00000001 edx: 20ca78b0
esi: 00000001 edi: 00000000 ebp: 00000000 esp: 1f460efc
ds: 007b es: 007b ss: 0068
Process scsi_eh_0 (pid: 1571, threadinfo=1f460000 task=1f557930)
Stack: 20d36250 20d36250 00000001 20ca78b0 00000202 02246367 20d36250 00000001
20ca78b0 02246329 00000000 022484d8 1f46b500 205bec00 20675000 00001057
21c1e576 1f46b500 00000001 1f46b500 1f460f74 1f460f74 1f460f7c 21c1dec8
Call Trace:
[<02246367>] __elv_add_request+0x3c/0x71
[<02246329>] elv_requeue_request+0x29/0x2b
[<022484d8>] blk_insert_request+0xba/0x18b
[<21c1e576>] scsi_queue_insert+0x84/0x8d [scsi_mod]
[<21c1dec8>] scsi_eh_flush_done_q+0x7d/0xce [scsi_mod]
[<21c1e14f>] scsi_unjam_host+0x236/0x23e [scsi_mod]
[<21c1e291>] scsi_error_handler+0x13a/0x191 [scsi_mod]
[<0211b3d9>] schedule_tail+0xc/0x37
[<21c1e157>] scsi_error_handler+0x0/0x191 [scsi_mod]
[<021041d9>] kernel_thread_helper+0x5/0xb
Code: 74 29 eb 51 83 f9 03 74 33 eb 4a 8b 04 24 89 fa e8 f8 fa ff ff 85 c0 75 f2 8b 47 08 8b 50 04 89 03 89 58 04 89 1a 89 53 04 eb 3f <8b> 47 08 8b 10 89 5a 04 89 13 89 43 04 89 18 eb 2e f6 42 08 10

this doesn't look good...any idea on how to fix this?

when i turned off my computer last night i got a similar message...after i plugged the device back in, i got the following in dmesg

<nothing> it didn't list any new interface

i even switched usb ports and it still didn't recognize it...what in the world do i do now?
 
Old 02-19-2006, 11:51 PM   #7
kg4ysy
Member
 
Registered: May 2005
Location: North Carolina
Distribution: Gentoo
Posts: 123

Original Poster
Rep: Reputation: 19
FIXED IT!

Recompiled current kernel with two fixes -> http://marc.theaimsgroup.com/?l=linu...7165425442&w=2 and http://marc.theaimsgroup.com/?l=linu...4234829347&w=2

Now my kernel is remounting my external, and my touchpad still works...I am going to try to recompile with 16K stack size to see if I can get ndiswrapper working completely. Thanks so much for the point to dmesg...that really helped! Hopefully this will help anyone running FC3 or earlier having the same problem...I love LINUX

thx again
 
Old 11-27-2006, 03:49 PM   #8
kg4ysy
Member
 
Registered: May 2005
Location: North Carolina
Distribution: Gentoo
Posts: 123

Original Poster
Rep: Reputation: 19
This can also be fixed by updating the kernel higher than the FC3 default. I'm using Gentoo now, but still this will probably be an easier fix then doing the patches I've listed above.
 
  


Reply



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
External DVD Burner gizmogadgetus Red Hat 1 02-19-2006 11:18 AM
Strange external DVD-burner problem Bjoern Linux - Hardware 4 12-12-2005 01:45 PM
scs emu on external dvd burner? xushi Slackware 5 07-13-2005 10:09 AM
Plextor DVD burner in external enclosure not working Gilg Linux - Hardware 0 12-12-2004 03:42 PM
Pioneer DVR-SK12D external DVD/CD burner tomdkat Linux - Hardware 0 08-18-2004 03:08 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

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

Main Menu
Advertisement
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
Twitter: @linuxquestions
Open Source Consulting | Domain Registration