Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
cd burner/cd record problem
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
wildcard
n00b
n00b


Joined: 08 Jun 2002
Posts: 55
Location: New York

PostPosted: Wed Sep 04, 2002 2:14 pm    Post subject: cd burner/cd record problem Reply with quote

I'm not totally sure what to do to install my cd burner. In my kernel I turned on scsi emulation, scsi cd support and generic scsi support. I also added the line hdc=scsi to my grub file. But the problem is when I run cdrecord -scan bus to see if can find my cd burner It gives me this error message
"cdrecord: No such file or directory. Cannot open '/dev/pg*'. Cannot open SCSI driver.
cdrecord: For possible targets try 'cdrecord -scanbus'. Make sure you are root."

I am running as root.
Thanks
Mike
_________________
What boots up must come down.
Back to top
View user's profile Send private message
really
Guru
Guru


Joined: 27 Aug 2002
Posts: 430
Location: nowhere

PostPosted: Wed Sep 04, 2002 2:16 pm    Post subject: Reply with quote

shouldnt it be hdc=ide-scsi or somethin like that?

and u should chmod 666 /dev/pg*
and sg*
_________________
NoManNoProblem

Get lost before you get shot.
Back to top
View user's profile Send private message
maor
Guru
Guru


Joined: 28 Aug 2002
Posts: 323

PostPosted: Wed Sep 04, 2002 2:29 pm    Post subject: Reply with quote

ok i have the same problem somthing else i noticed while booting
i got msg failed to load sg.
can't do chmod cause there is no file that name.
Back to top
View user's profile Send private message
wildcard
n00b
n00b


Joined: 08 Jun 2002
Posts: 55
Location: New York

PostPosted: Wed Sep 04, 2002 2:43 pm    Post subject: Reply with quote

I'm not getting the failed to load messages but the files aren't there--are you building the scsi cd/emulation/generic devices as modules?
_________________
What boots up must come down.
Back to top
View user's profile Send private message
maor
Guru
Guru


Joined: 28 Aug 2002
Posts: 323

PostPosted: Wed Sep 04, 2002 2:45 pm    Post subject: Reply with quote

yes build it as modules the other error when i do cdrecord -scanbus it's just like yours.
Back to top
View user's profile Send private message
really
Guru
Guru


Joined: 27 Aug 2002
Posts: 430
Location: nowhere

PostPosted: Wed Sep 04, 2002 2:53 pm    Post subject: Reply with quote

i have scsi emulation in kernel and
sr_mod and sg as a module.
_________________
NoManNoProblem

Get lost before you get shot.
Back to top
View user's profile Send private message
maor
Guru
Guru


Joined: 28 Aug 2002
Posts: 323

PostPosted: Thu Sep 05, 2002 8:09 pm    Post subject: Reply with quote

i have manage to fix the modules prob but still got that when do
as root cdrecord -scanbus
Cdrecord 1.11a30 (i686-pc-linux-gnu) Copyright (C) 1995-2002 J?rg Schilling
cdrecord: No such file or directory. Cannot open '/dev/pg*'. Cannot open SCSI driver.
cdrecord: For possible targets try 'cdrecord -scanbus'. Make sure you are root.
Back to top
View user's profile Send private message
peschmae
n00b
n00b


Joined: 12 Aug 2002
Posts: 19

PostPosted: Fri Sep 06, 2002 11:47 am    Post subject: Reply with quote

are you sure you've loaded _all_ the modules?

on my pc this comes always when I plug in my usb cdrw (with scsi emulation), and the hotplug stuff hasn't yet loaded the modules

greetz peschmä
Back to top
View user's profile Send private message
maor
Guru
Guru


Joined: 28 Aug 2002
Posts: 323

PostPosted: Fri Sep 06, 2002 9:38 pm    Post subject: Reply with quote

peschmae wrote:
are you sure you've loaded _all_ the modules?

on my pc this comes always when I plug in my usb cdrw (with scsi emulation), and the hotplug stuff hasn't yet loaded the modules

greetz peschmä


yes all the modules ok
Back to top
View user's profile Send private message
pilla
Bodhisattva
Bodhisattva


Joined: 07 Aug 2002
Posts: 7729
Location: Underworld

PostPosted: Fri Sep 06, 2002 9:59 pm    Post subject: Reply with quote

Pay atention to this....


nano wrote:
shouldnt it be hdc=ide-scsi or somethin like that?
Back to top
View user's profile Send private message
squanto
Guru
Guru


Joined: 20 Apr 2002
Posts: 524
Location: Rochester, NY, USA

PostPosted: Sat Sep 07, 2002 3:42 pm    Post subject: Reply with quote

You need "scsi emulation" in your ata ide section of kernel config, and in scsi section you need:

Code:
<*> SCSI support
--- SCSI support type (disk, tape, CD-ROM)
< >   SCSI disk support
< >   SCSI tape support
< >   SCSI OnStream SC-x0 tape support
<*>   SCSI CD-ROM support
[ ]     Enable vendor-specific extensions (for SCSI CDROM)
(2) Maximum number of CDROM devices that can be loaded as modules
<*>   SCSI generic support             


That is how I do it. with menuconfig. I don't use any modules.
Then in your /boot/grub/menu.lst you need to at then end of the section that contains the kernel you use, put "hdc=ide-scsi" so that it gets passed to the kernel at boot up.

see here as well: https://forums.gentoo.org/viewtopic.php?t=14153&highlight=ide+scsi
https://forums.gentoo.org/viewtopic.php?t=13742&highlight=ide+scsi
https://forums.gentoo.org/viewtopic.php?t=13893&highlight=ide+scsi

nano wrote:
and u should chmod 666 /dev/pg*
and sg*

I have never heard this before, and I definitely didn't do it, but my ide burner works fine.

Andrew
Back to top
View user's profile Send private message
line72
Apprentice
Apprentice


Joined: 13 Jun 2002
Posts: 212

PostPosted: Sat Sep 07, 2002 9:22 pm    Post subject: Reply with quote

do an lsmod and show us what modules you have loaded. Just because you did an hdc=ide-scsi doesn't mean the modules acutally got loaded. Check your list and make sure ide-scsi is on it, if not, try modprobe ide-scsi, then cdrecord -scanbus

If this works you need to add ide-scsi to your /etc/modules.autoload

/Line72
Back to top
View user's profile Send private message
Lasker
Guru
Guru


Joined: 17 Jul 2002
Posts: 445

PostPosted: Sun Sep 08, 2002 1:14 am    Post subject: Reply with quote

http://archive.linuxfromscratch.org/mail-archives/blfs-support/2001/06/0828.html

This one solved all my burner problems (the info is pretty compact too). It explains how to use devfs instead of the older static stuff, which makes life a bit easier with cdrecord. :-)
Back to top
View user's profile Send private message
maor
Guru
Guru


Joined: 28 Aug 2002
Posts: 323

PostPosted: Mon Sep 09, 2002 8:49 pm    Post subject: Reply with quote

still got the same problem try evrything in the last 4 day still don't work
don't know what else to do any suggestion.
Back to top
View user's profile Send private message
Rhiz()m3
n00b
n00b


Joined: 31 Aug 2002
Posts: 41

PostPosted: Mon Sep 09, 2002 9:12 pm    Post subject: Here is the answer to everything you need to know.. Reply with quote

I had the same problem with the same questions. Rac cleared most of them up here: https://forums.gentoo.org/viewtopic.php?t=14153 Now cdrecord works great.
_________________
--------> Why don't you bastards start wearing human skins?<--------
Back to top
View user's profile Send private message
maor
Guru
Guru


Joined: 28 Aug 2002
Posts: 323

PostPosted: Tue Sep 10, 2002 7:41 am    Post subject: Reply with quote

thx for the replay but all my defenition seems to be ok i think the problem may be in the devfsd.conf what line should appear there i wrote
REGISTER ^sg0$ PERMISSIONS root.cdrw 666
maybe it's need to be somthing els cause i found that i have no device
in /dev/scsi/ lke it should be.
Back to top
View user's profile Send private message
maor
Guru
Guru


Joined: 28 Aug 2002
Posts: 323

PostPosted: Tue Sep 10, 2002 8:38 pm    Post subject: Reply with quote

ok thx for all u who helped finally got it worked it was a stupid mistake
and thx to u all u where great
Back to top
View user's profile Send private message
fryfrog
n00b
n00b


Joined: 09 May 2002
Posts: 45

PostPosted: Sat Sep 28, 2002 2:44 pm    Post subject: Reply with quote

i'm trying to get this setup myself. i've read about 5 or 6 threads about it, and i believe i have tried everything mentioned. i'm not sure what i am doing wrong :)

kernel line:
kernel /boot/bzImage-2.4.19-gentoo-r9 root=/dev/hda3 append="hdb=ide-scsi" vga=733
(have tried with " hdb=ide-scsi" and "hdb=scsi" also)

Code:

# dmesg | grep scsi
Kernel command line: root=/dev/hda3 append=" hdb=ide-scsi" vga=733
scsi0 : SCSI host adapter emulation for IDE ATAPI devices
# dmesg | grep hdb
Kernel command line: root=/dev/hda3 append=" hdb=ide-scsi" vga=733
    ide0: BM-DMA at 0xf000-0xf007, BIOS settings: hda:DMA, hdb:DMA
hdb: Hewlett-Packard CD-Writer Plus 8100, ATAPI CD/DVD-ROM drive
hdb: ATAPI 24X CD-ROM CD-R/RW drive, 1024kB Cache, DMA


Code:

<*>   Include IDE/ATAPI CDROM support
<*>   SCSI emulation support
<*>   SCSI support
<*>   SCSI disk support
<*>   SCSI CD-ROM support
< >   SCSI generic support


i am re-compiling kernel with generic support now, just in case that is the problem... but any suggestions would be welcome. i've even added a few lines to /etc/modules.d/aliases!
Code:

alias block-major-11 scsi_hostadapter
alias block-major-21 scsi_hostadapter
alias scsi_hostadapter ide-scsi
alias /dev/scsi* scsi-host


the ide cdwriter just will not show up in /dev/scsi. it is still on the ide bus. the only thing i can think of is to NOT compile in ide-cdrom support and see what happens.
Back to top
View user's profile Send private message
fryfrog
n00b
n00b


Joined: 09 May 2002
Posts: 45

PostPosted: Sat Sep 28, 2002 4:05 pm    Post subject: Reply with quote

bah, removing "ide-cdrom" support from the kernel fixed everything. i'm wondering why i can't have ide-cdrom and scsi-cdrom and ide-scsi?
Back to top
View user's profile Send private message
pilla
Bodhisattva
Bodhisattva


Joined: 07 Aug 2002
Posts: 7729
Location: Underworld

PostPosted: Sat Sep 28, 2002 4:31 pm    Post subject: Reply with quote

Because you cannot access the devices using two drivers at the same time. You can have both as modules and then load the one you want at a certain time, I think.

Anyway, this is well document (not a bug, but a feature 8) )

fryfrog wrote:
bah, removing "ide-cdrom" support from the kernel fixed everything. i'm wondering why i can't have ide-cdrom and scsi-cdrom and ide-scsi?
Back to top
View user's profile Send private message
fryfrog
n00b
n00b


Joined: 09 May 2002
Posts: 45

PostPosted: Sat Sep 28, 2002 6:19 pm    Post subject: Reply with quote

ahhhh, so there is no way of telling it which kernel driver to use ? i see how using modules would have fixed this :)
Back to top
View user's profile Send private message
dioxmat
Bodhisattva
Bodhisattva


Joined: 04 May 2002
Posts: 709
Location: /home/mat

PostPosted: Fri Oct 04, 2002 6:04 pm    Post subject: Reply with quote

maor wrote:
ok thx for all u who helped finally got it worked it was a stupid mistake


and what was it hum ? :)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum