Jump to content

Second opinion needed [solved]


Recommended Posts

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.

Link to comment
Share on other sites

  • Replies 50
  • Created
  • Last Reply

Top Posters In This Topic

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.

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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.

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...