LinuxQuestions.org
Help answer threads with 0 replies.
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 03-29-2006, 02:42 AM   #1
mentaltofu
LQ Newbie
 
Registered: Dec 2005
Posts: 23

Rep: Reputation: 15
pioneer dvdrw drive mount problems


ok, so i totally messed with a good thing, like newbies often do. i bought a pioneer dvr-r100 cd/dvd-rw. works great as hdc at reading all data cds. BUT, it only reads dvds as filesystem and isn't recognized as a burner by K3B. so, i tried a bunch of different combinations using the (old) trick of passing hdc=ide-scsi with the kernel at boot, gnome's ide-scsi boot options, and multiple variations of etc/fstab... which as i find out isnt necessary for kernels >2.6 . i also wanted to rename my drives so i could keep things straight, and also remove the older drives that i got rid of, so i did a bit of renaming while i was at it, and now the dvdrw isn't reading anything and i get "/dev/hdc is not a valid block device". also, i found out after i purchased it that it was on a non-compatible list.... 6 years ago. AND to make things worse, i just noticed that the system is recognizing it as a pioneer dvr-r100D (or dvr-100D) which might have something to do with this. and lastly, cdrecord keeps telling me that DMA is off. i hav my bios set to auto, and have tried editing hdparm.conf to set dma=on below is the output as per forum protocol, plus some cdrecord output. i also have my lsmod output if anyone wants to help me pick out the important parts. so, i need some help. im a newbie, but i have some programming background so im comfortable trying anything, and i learn it quick.


/sbin/lspci output

0000:00:00.0 Host bridge: Silicon Integrated Systems [SiS] 741/741GX/M741 Host (rev 03)
0000:00:01.0 PCI bridge: Silicon Integrated Systems [SiS]: Unknown device 0003
0000:00:02.0 ISA bridge: Silicon Integrated Systems [SiS] SiS964 [MuTIOL Media IO] (rev 36)
0000:00:02.5 IDE interface: Silicon Integrated Systems [SiS] 5513 [IDE] (rev 01)
0000:00:02.6 Modem: Silicon Integrated Systems [SiS] AC'97 Modem Controller (rev a0)
0000:00:02.7 Multimedia audio controller: Silicon Integrated Systems [SiS] Sound Controller (rev a0)
0000:00:03.0 USB Controller: Silicon Integrated Systems [SiS] USB 1.0 Controller (rev 0f)
0000:00:03.1 USB Controller: Silicon Integrated Systems [SiS] USB 1.0 Controller (rev 0f)
0000:00:03.2 USB Controller: Silicon Integrated Systems [SiS] USB 1.0 Controller (rev 0f)
0000:00:03.3 USB Controller: Silicon Integrated Systems [SiS] USB 2.0 Controller
0000:00:04.0 Ethernet controller: Silicon Integrated Systems [SiS] SiS900 PCI Fast Ethernet (rev 91)
0000:01:00.0 VGA compatible controller: Silicon Integrated Systems [SiS] 661FX/M661FX/M661MX/741/M741/760/M760 PCI/AGP


2.6.12-3-multimedia-k7

im running agnula/demudi (debian based)

here's cdrecord scanbus output as user then root... that's odd... i've never seen the "sg0" part before. it was alays hdb (doesnt exist) or scd0 i believe. and also scanbus with dev=ATAPI


sonicolonic@demudi:~$ cdrecord -scanbus
Cdrecord-Clone 2.01.01a01 (i686-pc-linux-gnu) Copyright (C) 1995-2004 Joerg Schi lling
NOTE: this version of cdrecord is an inofficial (modified) release of cdrecord
and thus may have bugs that are not present in the original version.
Please send bug reports and support requests to <cdrtools@packages.debian. org>.
The original author should not be bothered with problems of this version.

cdrecord: Warning: Running on Linux-2.6.12-3-multimedia-k7
cdrecord: There are unsettled issues with Linux-2.5 and newer.
cdrecord: If you have unexpected problems, please try Linux-2.4 or Solaris.
Error trying to open /dev/sg0 exclusively (Permission denied)... retrying in 1 s econd.
Error trying to open /dev/sg0 exclusively (Permission denied)... retrying in 1 s econd.
Error trying to open /dev/sg0 exclusively (Permission denied)... retrying in 1 s econd.
Error trying to open /dev/sg0 exclusively (Permission denied)... retrying in 1 s econd.
Error trying to open /dev/sg0 exclusively (Permission denied)... retrying in 1 s econd.
Error trying to open /dev/sg0 exclusively (Permission denied)... retrying in 1 second.
Error trying to open /dev/sg0 exclusively (Permission denied)... retrying in 1 second.
Error trying to open /dev/sg0 exclusively (Permission denied)... retrying in 1 second.
Error trying to open /dev/sg0 exclusively (Permission denied)... retrying in 1 second.
Error trying to open /dev/sg0 exclusively (Permission denied)... retrying in 1 second.
cdrecord: Permission denied. Cannot open '/dev/sg0'. Cannot open SCSI driver.
cdrecord: For possible targets try 'cdrecord -scanbus'. Make sure you are root.
cdrecord: For possible transport specifiers try 'cdrecord dev=help'.
cdrecord:
cdrecord: For more information, install the cdrtools-doc
cdrecord: package and read /usr/share/doc/cdrecord/README.ATAPI.setup .
sonicolonic@demudi:~$ su
Password:
demudi:/home/sonicolonic# cdrecord -scanbus
Cdrecord-Clone 2.01.01a01 (i686-pc-linux-gnu) Copyright (C) 1995-2004 Joerg Schilling
NOTE: this version of cdrecord is an inofficial (modified) release of cdrecord
and thus may have bugs that are not present in the original version.
Please send bug reports and support requests to <cdrtools@packages.debian.org>.
The original author should not be bothered with problems of this version.

cdrecord: Warning: Running on Linux-2.6.12-3-multimedia-k7
cdrecord: There are unsettled issues with Linux-2.5 and newer.
cdrecord: If you have unexpected problems, please try Linux-2.4 or Solaris.
cdrecord: No such file or directory. Cannot open '/dev/pg*'. Cannot open SCSI driver.
cdrecord: For possible targets try 'cdrecord -scanbus'.
cdrecord: For possible transport specifiers try 'cdrecord dev=help'.
cdrecord:
cdrecord: For more information, install the cdrtools-doc
cdrecord: package and read /usr/share/doc/cdrecord/README.ATAPI.setup .

demudi:/home/sonicolonic# cdrecord -scanbus dev=ATAPI
Cdrecord-Clone 2.01.01a01 (i686-pc-linux-gnu) Copyright (C) 1995-2004 Joerg Schilling
NOTE: this version of cdrecord is an inofficial (modified) release of cdrecord
and thus may have bugs that are not present in the original version.
Please send bug reports and support requests to <cdrtools@packages.debian.org>.
The original author should not be bothered with problems of this version.

cdrecord: Warning: Running on Linux-2.6.12-3-multimedia-k7
cdrecord: There are unsettled issues with Linux-2.5 and newer.
cdrecord: If you have unexpected problems, please try Linux-2.4 or Solaris.
scsidev: 'ATAPI'
devname: 'ATAPI'
scsibus: -2 target: -2 lun: -2
Warning: Using ATA Packet interface.
Warning: The related Linux kernel interface code seems to be unmaintained.
Warning: There is absolutely NO DMA, operations thus are slow.
cdrecord: No such file or directory. Cannot open SCSI driver.
cdrecord: For possible targets try 'cdrecord -scanbus'.
cdrecord: For possible transport specifiers try 'cdrecord dev=help'.
cdrecord:
cdrecord: For more information, install the cdrtools-doc
cdrecord: package and read /usr/share/doc/cdrecord/README.ATAPI.setup .



THANKS FOR LOOKING!!!

~ brian
 
Old 03-29-2006, 03:33 AM   #2
mentaltofu
LQ Newbie
 
Registered: Dec 2005
Posts: 23

Original Poster
Rep: Reputation: 15
retracing steps

so i also forgot to mention that i found this bit of code and added it to the end of my /etc/modules.conf

options ide-cd ignore=hdc
pre-install sg modprobe ide-scsi
pre-install sr_mod modprobe ide-scsi
pre-install ide-scsi modprobe ide-cd

i started retarcing my steps more thoroughly and forgot i still had the gnome boot options enabling ide-scsi for hdc, in addition to whack fstab settings. im back where i started being able to read data but not a/v (and still no K3B), except now, i seem to be able to get the dvdrw on hdc to be recognized as an sg0 drive, which im guessing is the scsi generic module in action, and when it wont mount the error i get is "/dev/sg0/ is not a block device" ... the key being that it is "valid"... but not a block device. previous messages were "/dev/XXX/ is not a valid block device". thoughts anyone? please? and thank you!

~ brian
 
Old 03-29-2006, 12:31 PM   #3
mentaltofu
LQ Newbie
 
Registered: Dec 2005
Posts: 23

Original Poster
Rep: Reputation: 15
retracing steps

sometimes one must ask a question in order to seek the answer from a solving perspective.

i finally took the error that cdrecord couldnt open the scsi driver seriously, and found this link immediately.

http://archive.lug.boulder.co.us/Wee...12/027242.html

i tried passing the kernel argument /dev/hdc=ide-scsi, or hdc=ide-scsi... but apparently, just scsi works. i even got my older philips cdd4801 recognized, though my regular cdrom on the secondary slave is under scsi emulation... seems to work fine though, if not better. now my problem is with K3B... it goes through the motions of burning but doesn't actually write anything... any ideas? im headin over to the software forum. thanks!

~ brian
 
  


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
USB DVDRW drive on Fedora Core 4 lothario Linux - Hardware 4 03-13-2006 09:29 PM
Mount Problems: dvdrom and dvdrw patkalolo Linux - Hardware 7 01-15-2006 11:53 AM
Fedora Core 4 and NEC ND6500A DVDRW Drive. gregf50 Linux - Hardware 1 08-18-2005 03:31 AM
Can't Mount DVDRW in Suse 9.2 CoachZ SUSE / openSUSE 5 02-21-2005 03:12 PM
Problems with NEC DVDRW drive ClarkNG Linux - Hardware 2 01-30-2005 08:30 AM

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

All times are GMT -5. The time now is 05:45 AM.

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