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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
03-29-2006, 02:42 AM
|
#1
|
LQ Newbie
Registered: Dec 2005
Posts: 23
Rep:
|
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
|
|
|
03-29-2006, 03:33 AM
|
#2
|
LQ Newbie
Registered: Dec 2005
Posts: 23
Original Poster
Rep:
|
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
|
|
|
03-29-2006, 12:31 PM
|
#3
|
LQ Newbie
Registered: Dec 2005
Posts: 23
Original Poster
Rep:
|
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
|
|
|
All times are GMT -5. The time now is 05:45 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|