mystified Posted December 12, 2006 Report Share Posted December 12, 2006 None of my programs can find my dvd drive. Here's the output from dmesg: hdc: command error: status=0x51 { DriveReady SeekComplete Error } hdc: command error: error=0x54 { AbortedCommand LastFailedSense=0x05 } ide: failed opcode was: unknown end_request: I/O error, dev hdc, sector 0 Buffer I/O error on device hdc, logical block 0 hdc: command error: status=0x51 { DriveReady SeekComplete Error } hdc: command error: error=0x54 { AbortedCommand LastFailedSense=0x05 } ide: failed opcode was: unknown end_request: I/O error, dev hdc, sector 0 Buffer I/O error on device hdc, logical block 0 The folks on the Gentoo board think it's a hardware issue. I don't have a spare cd/dvd drive to try out. Just wanted a second opinion before I went out and bought one. Quote Link to comment Share on other sites More sharing options...
tyme Posted December 12, 2006 Report Share Posted December 12, 2006 looks like a hardware issue to me too...at least try unplugging the drive completely (IDE cable, power connect, etc.) and plugging it all back in (including pulling the IDE from the mobo and reinserting it) to be sure it's not just a connection issue. Quote Link to comment Share on other sites More sharing options...
arctic Posted December 12, 2006 Report Share Posted December 12, 2006 Yupp, it really looks like a hardware problem. Quote Link to comment Share on other sites More sharing options...
pmpatrick Posted December 12, 2006 Report Share Posted December 12, 2006 Check your bios setup and see if the drive is being properly detected. If it's not, for sure you have a hardware problem, i.e. the drive is probably defective or the cabling shot. If the drive is being properly detected by the bios, before going out and buying a new drive you might want to try one of those drive lens cleaner things. You may just have a dirty lens. However, given how cheap dvd drives are these days, you may not want to bother. Quote Link to comment Share on other sites More sharing options...
mystified Posted December 12, 2006 Author Report Share Posted December 12, 2006 Well it's not a hardware problem. I booted in Mandriva and it worked. Any ideas? Quote Link to comment Share on other sites More sharing options...
pmpatrick Posted December 13, 2006 Report Share Posted December 13, 2006 Is dma enabled on the drive in gentoo? # hdparm /dev/hdc should tell you if it is. You can try toggling dma on and off and see if it has an effect: # hdparm -d1 /dev/hdc to turn dma on and: # hdparm -d0 /dev/hdc to turn dma off on the drive. However, those error messages sure look like a dirty lens to me. The system accesses the drive but can't read the disk for some reason. Quote Link to comment Share on other sites More sharing options...
mystified Posted December 13, 2006 Author Report Share Posted December 13, 2006 well maybe somebody will know what this error message means. localhost mystified # hdparm /dev/hdc /dev/hdc: IO_support = 0 (default 16-bit) unmaskirq = 0 (off) using_dma = 1 (on) keepsettings = 0 (off) readonly = 0 (off) readahead = 256 (on) HDIO_GETGEO failed: Inappropriate ioctl for device Quote Link to comment Share on other sites More sharing options...
paul Posted December 13, 2006 Report Share Posted December 13, 2006 try re-burning the cd .. really slow .. like 2x I've had this happen to me before. whenever I use toast in OSX to burn ISOs the go all haywire, and cause errors just like this Quote Link to comment Share on other sites More sharing options...
pmpatrick Posted December 13, 2006 Report Share Posted December 13, 2006 The error message is normal when you run hdparm on an optical drive. At least, I have the same error message on mine. Try switching dma off and see if you still have read problems on your dvd drive. Quote Link to comment Share on other sites More sharing options...
ianw1974 Posted December 13, 2006 Report Share Posted December 13, 2006 Did it work before in Gentoo? If not, maybe check the kernel and recompile, although this is unlikely as it's normally there by default. Quote Link to comment Share on other sites More sharing options...
pmpatrick Posted December 13, 2006 Report Share Posted December 13, 2006 I think it might be kernel related too. Check the output of: # lsmod and see if the ide-cd and cdrom modules are listed. Quote Link to comment Share on other sites More sharing options...
iphitus Posted December 13, 2006 Report Share Posted December 13, 2006 ok, hdparm always barfs on optical devices, they dont support as many settings as hard drives do. Take a look at your kernel, are you still running -mm? 2.6.19? There's been a huge amount of changes in the ide/pata scene recently, so it's quite possible you've run across a bug or problem. Are you using the new pata_xxx drivers for your ide device? These can be pretty experimental in some cases, resort to the older ide/ driver. There's also been a few changes in the latest cdrecord (or whatever it's called now) versions -- so there's a few things that could be at fault here. It's not a hardware fault given the above changes, and that it still works in mandriva. I can cause those errors above on demand by sending invalid hdparm values: hdf: set_drive_speed_status: status=0x51 { DriveReady SeekComplete Error } hdf: set_drive_speed_status: error=0xd0 { LastFailedSense=0x0d } ide: failed opcode was: unknown James Quote Link to comment Share on other sites More sharing options...
mystified Posted December 13, 2006 Author Report Share Posted December 13, 2006 I think it might be kernel related too. Check the output of: # lsmod and see if the ide-cd and cdrom modules are listed. no ide-cd or cdrom modules Module Size Used by snd_pcm_oss 26944 0 snd_mixer_oss 12480 1 snd_pcm_oss snd_seq_oss 21696 0 snd_seq_midi_event 3616 1 snd_seq_oss snd_seq 32368 4 snd_seq_oss,snd_seq_midi_event snd_seq_device 4364 2 snd_seq_oss,snd_seq rtc 8660 0 nvidia 4226036 0 intel_agp 15292 1 ata_piix 8036 0 agpgart 17888 2 nvidia,intel_agp e100 24036 0 i2c_i801 6060 0 snd_intel8x0 21852 1 snd_ac97_codec 63424 1 snd_intel8x0 parport_pc 26788 0 libata 39884 1 ata_piix parport 21832 1 parport_pc mii 3008 1 e100 i2c_core 10560 2 nvidia,i2c_i801 snd_ac97_bus 1248 1 snd_ac97_codec snd_pcm 45156 3 snd_pcm_oss,snd_intel8x0,snd_ac97_codec snd_timer 14212 2 snd_seq,snd_pcm snd 30564 11 snd_pcm_oss,snd_mixer_oss,snd_seq_oss,snd_seq,snd_seq_device,snd_intel8x0,snd_ac 97_codec,snd_pcm,snd_timer snd_page_alloc 6024 2 snd_intel8x0,snd_pcm ehci_hcd 21608 0 uhci_hcd 16328 0 usbcore 80288 3 ehci_hcd,uhci_hcd iphitus I'm not using mm-sources anymore. I've switched to vanilla-sources. Quote Link to comment Share on other sites More sharing options...
tyme Posted December 13, 2006 Report Share Posted December 13, 2006 no ide-cd or cdrom modulesYou may have them built into your kernel; if so they won't show up with an lsmod. Quote Link to comment Share on other sites More sharing options...
mystified Posted December 13, 2006 Author Report Share Posted December 13, 2006 I would think they would automatically be built in because I know I've never added anything in for that. But if anyone knows where to look I'll check it. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.