LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
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 11-19-2012, 12:34 AM   #16
slipjack9600
LQ Newbie
 
Registered: Nov 2012
Distribution: Machine #1 Mepis 12, #2 Fedora 17
Posts: 17

Rep: Reputation: Disabled

Just enabled AHCI and tried this:

cdrecord -scanbus
Code:
scsibus0:
	0,0,0	  0) 'Optiarc ' 'DVD RW AD-7240S ' '1.03' Removable CD-ROM
	0,1,0	  1) *
	0,2,0	  2) *
	0,3,0	  3) *
	0,4,0	  4) *
	0,5,0	  5) *
	0,6,0	  6) *
	0,7,0	  7) *
scsibus7:
	7,0,0	700) 'HL-DT-ST' 'DVD-ROM GDR8162B' '0017' Removable CD-ROM
	7,1,0	701) *
	7,2,0	702) *
	7,3,0	703) *
	7,4,0	704) *
	7,5,0	705) *
	7,6,0	706) *
	7,7,0	707) *
then tried burning something and got this (also, :
Code:
cdrecord dev=0,0,0 /media/sda6/luke/Downloads/precise-5.4.1.iso
wodim: No write mode specified.
wodim: Assuming -tao mode.
wodim: Future versions of wodim may have different drive dependent defaults.
wodim: Operation not permitted. Warning: Cannot raise RLIMIT_MEMLOCK limits.
WARNING: the deprecated pseudo SCSI syntax found as device specification.
Support for that may cease in the future versions of wodim. For now,
the device will be mapped to a block device file where possible.
Run "wodim --devices" for details.
Device type    : Removable CD-ROM
Version        : 5
Response Format: 2
Capabilities   : 
Vendor_info    : 'Optiarc '
Identification : 'DVD RW AD-7240S '
Revision       : '1.03'
Device seems to be: Generic mmc2 DVD-R/DVD-RW.
Using generic SCSI-3/mmc   CD-R/CD-RW driver (mmc_cdr).
Driver flags   : MMC-3 SWABAUDIO BURNFREE 
Supported modes: TAO PACKET SAO SAO/R96R RAW/R16 RAW/R96P RAW/R96R
Errno: 5 (Input/output error), test unit ready scsi sendcmd: no error
CDB:  00 00 00 00 00 00
status: 0x2 (CHECK CONDITION)
Sense Bytes: 70 00 02 00 00 00 00 0A 00 00 00 00 30 00 00 00
Sense Key: 0x2 Not Ready, Segment 0
Sense Code: 0x30 Qual 0x00 (incompatible medium installed) Fru 0x0
Sense flags: Blk 0 (not valid) 
cmd finished after 0.001s timeout 40s
wodim: No disk / Wrong disk!
Looks like I got cdrecord/wodim to recognize the drive but it says the medium is incompatible. Used three different types of discs (two CD-R and one DVD+R and no luck) BTW this drive is +/-

Any ideas?

Last edited by slipjack9600; 11-19-2012 at 12:37 AM.
 
Old 11-19-2012, 02:55 AM   #17
business_kid
Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware & Android
Posts: 6,142

Rep: Reputation: 526Reputation: 526Reputation: 526Reputation: 526Reputation: 526Reputation: 526
Quote:
Errno: 5 (Input/output error), test unit ready scsi sendcmd: no error
CDB: 00 00 00 00 00 00
status: 0x2 (CHECK CONDITION)
Sense Bytes: 70 00 02 00 00 00 00 0A 00 00 00 00 30 00 00 00
Sense Key: 0x2 Not Ready, Segment 0
Sense Code: 0x30 Qual 0x00 (incompatible medium installed) Fru 0x0
It's reading the media as incompatible :-/. From my experience, it's worth the pain using k3b or some gui to get around the issues. You'd have those sense bytes decoded for you. In Fedora, that's 'yum install k3b' and you have it. You shove a disk in, and it tells you what it sees.

I don't have any ideas for you. Were any of the CDs branded models? If they were, it should recognise them. Try
Quote:
hdparm -tT /dev/sr0
with each of the disks in and see if it throws an error
 
Old 11-19-2012, 11:34 AM   #18
DJOtaku
Member
 
Registered: Oct 2004
Location: USA
Distribution: Fedora 20; Arch; Kubuntu; Debian
Posts: 710

Original Poster
Rep: Reputation: 31
Quote:
Originally Posted by slipjack9600 View Post
Just enabled AHCI and tried this:

cdrecord -scanbus
[CODE]
scsibus0:
0,0,0 0) 'Optiarc ' 'DVD RW AD-7240S ' '1.03' Removable CD-ROM
0,1,0 1) *
0,2,0 2) *
0,3,0 3) *
0,4,0 4) *
0,5,0 5) *
0,6,0 6) *
0,7,0 7) *
What'd you do to enable ahci?
 
Old 11-19-2012, 01:09 PM   #19
slipjack9600
LQ Newbie
 
Registered: Nov 2012
Distribution: Machine #1 Mepis 12, #2 Fedora 17
Posts: 17

Rep: Reputation: Disabled
Quote:
Originally Posted by business_kid View Post
I don't have any ideas for you. Were any of the CDs branded models? If they were, it should recognise them. Try with each of the disks in and see if it throws an error
Code:
hdparm -tT /dev/sr0

/dev/sr0:
read() failed: Input/output error
 Timing buffered disk reads: read() failed: Input/output error
All three discs have same output. Maxell CD-R (fairly recent), Memorex CD-R (circa 2006), Phillips DVD+R (just bought them). I'll install k3b later today when I get a chance and let you know what happens. I prefer k3b anyway. Brasero still thinks I don't have a disc in the drive.

Quote:
Originally Posted by DJOtaku
What'd you do to enable ahci?
Enabled it in BIOS under SATA settings. If I remember your post correctly you have a PATA optical drive which doesn't operate under AHCI. See if you have the ATA module loaded with your kernel by looking at dmesg and post your output:

Code:
dmesg | grep ata
You should, my installation of Fedora 17 does.
 
Old 11-19-2012, 02:34 PM   #20
business_kid
Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware & Android
Posts: 6,142

Rep: Reputation: 526Reputation: 526Reputation: 526Reputation: 526Reputation: 526Reputation: 526
Unless you have an OS that works it, I'd say it's likely to be the drive. I have considerable experience with them going AWOL. The read adjustment seems gone, I imagine. I was service agent for Welltech 2001-2004 for my sins, and became familiar with the signs.

Check the power rails - 5V & 12V usually in the BIOS somewhere. That could throw it if either rail was low.
 
Old 11-20-2012, 10:55 AM   #21
slipjack9600
LQ Newbie
 
Registered: Nov 2012
Distribution: Machine #1 Mepis 12, #2 Fedora 17
Posts: 17

Rep: Reputation: Disabled
Great, yeah I think you are right I think the drive failed. I got the HD and burner from a used supplier, they tested them right in front of me but I don't think they tested it with a blank disc.

Just last night the HD crashed too. going to bring them both back hopefully get my money back so I can buy them new.
 
Old 11-20-2012, 02:04 PM   #22
DJOtaku
Member
 
Registered: Oct 2004
Location: USA
Distribution: Fedora 20; Arch; Kubuntu; Debian
Posts: 710

Original Poster
Rep: Reputation: 31
I'll have to check if the ATA module is loaded
 
Old 11-20-2012, 07:16 PM   #23
DJOtaku
Member
 
Registered: Oct 2004
Location: USA
Distribution: Fedora 20; Arch; Kubuntu; Debian
Posts: 710

Original Poster
Rep: Reputation: 31
[ 0.107152] libata version 3.00 loaded.

so, yes?
 
Old 11-21-2012, 12:23 PM   #24
slipjack9600
LQ Newbie
 
Registered: Nov 2012
Distribution: Machine #1 Mepis 12, #2 Fedora 17
Posts: 17

Rep: Reputation: Disabled
Yep. What's the output of cdrecord -scanbus ?
 
Old 11-21-2012, 12:30 PM   #25
business_kid
Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware & Android
Posts: 6,142

Rep: Reputation: 526Reputation: 526Reputation: 526Reputation: 526Reputation: 526Reputation: 526
If you're on F-17, and standard kernel, the modules required are loading. It's not a likely source of error. It's most likely a dud drive.
 
Old 11-21-2012, 12:47 PM   #26
DJOtaku
Member
 
Registered: Oct 2004
Location: USA
Distribution: Fedora 20; Arch; Kubuntu; Debian
Posts: 710

Original Poster
Rep: Reputation: 31
Quote:
Originally Posted by slipjack9600 View Post
Yep. What's the output of cdrecord -scanbus ?
I'll have to check

Quote:
Originally Posted by business_kid
If you're on F-17, and standard kernel, the modules required are loading. It's not a likely source of error. It's most likely a dud drive.
Except it works to load live CDs and live DVDs
 
Old 11-21-2012, 07:23 PM   #27
slipjack9600
LQ Newbie
 
Registered: Nov 2012
Distribution: Machine #1 Mepis 12, #2 Fedora 17
Posts: 17

Rep: Reputation: Disabled
Quote:
Originally Posted by DJOtaku View Post
Except it works to load live CDs and live DVDs
That's why it took me a week to figure it out. I brought my drive back to the used parts supplier and they couldn't get it to read blanks either and replaced it for me. It read everything else fine. My problem is fixed now with the replacement drive.

Now that AHCI is enabled and the drive is replaced, no problems. Hopefully it's that simple for you.
 
Old 11-21-2012, 09:12 PM   #28
DJOtaku
Member
 
Registered: Oct 2004
Location: USA
Distribution: Fedora 20; Arch; Kubuntu; Debian
Posts: 710

Original Poster
Rep: Reputation: 31
cdrecord -scanbus

wodim: No such file or directory.
Cannot open SCSI driver!
For possible targets try 'wodim --devices' or 'wodim -scanbus'.
For possible transport specifiers try 'wodim dev=help'.
For IDE/ATAPI devices configuration, see the file README.ATAPI.setup from
 
Old 11-22-2012, 03:50 AM   #29
business_kid
Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware & Android
Posts: 6,142

Rep: Reputation: 526Reputation: 526Reputation: 526Reputation: 526Reputation: 526Reputation: 526
@DJOtaku:

That looks like _you_ are missing stuff
Quote:
Distribution: Fedora 17; Arch; Kubuntu; Debian
Are they all installed. Is the problem the same in all? I only seem to be using these modules
Quote:
bash-4.2$ lsmod |grep ata
ata_generic 3367 0
pata_acpi 3224 0
pata_atiixp 3912 0
Fedora is a beta for Red Hat; So crap comes and goes on it, and they update your bugs with new ones :-/. I have F-17 (Electronic Version) on one partition. Run yum update; it's probably the quickest way of installing another OS :-P. Fedora heavily patch their kernel, btw.

I take it the machine will still boot off the drive?
 
Old 11-23-2012, 05:01 PM   #30
DJOtaku
Member
 
Registered: Oct 2004
Location: USA
Distribution: Fedora 20; Arch; Kubuntu; Debian
Posts: 710

Original Poster
Rep: Reputation: 31
Did a little bit of googling around the net and it said the problem MIGHT be the udev rules. Here's my /etc/udev/rules.d/70-persistent-cd.rules

Code:
# This file was automatically generated by the /lib/udev/write_cd_rules
# program, probably run by the cd-aliases-generator.rules rules file.
#
# You can modify it, as long as you keep each rule on a single line
# and set the $GENERATED variable.

#  (pci-0000:02:00.0-scsi-0:0:0:0)
ENV{ID_CDROM}=="?*", ENV{ID_PATH}=="pci-0000:02:00.0-scsi-0:0:0:0", SYMLINK+="cdrom", ENV{GENERATED}="1"
ENV{ID_CDROM}=="?*", ENV{ID_PATH}=="pci-0000:02:00.0-scsi-0:0:0:0", SYMLINK+="cdrw", ENV{GENERATED}="1"
ENV{ID_CDROM}=="?*", ENV{ID_PATH}=="pci-0000:02:00.0-scsi-0:0:0:0", SYMLINK+="dvd", ENV{GENERATED}="1"
ENV{ID_CDROM}=="?*", ENV{ID_PATH}=="pci-0000:02:00.0-scsi-0:0:0:0", SYMLINK+="dvdrw", ENV{GENERATED}="1"
Looks like it might be wrong.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
HL-DT-ST model GU10N DVD burner no longer detected after ejection malleus Linux - Laptop and Netbook 2 02-04-2010 05:11 PM
how to have cd-burner and dvd-burner? slack Old_Fogie Slackware 12 05-03-2006 07:11 AM
etc/fstab can't be found after installing a DVD burner in FC4 tmick Fedora 7 04-10-2006 01:09 AM
dvd burner no longer mounts microwave_safe Linux - Hardware 2 11-17-2005 11:39 AM
CD-burner no longer recognized jonr Mandriva 5 08-06-2004 01:43 AM


All times are GMT -5. The time now is 02:17 AM.

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
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration