Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
CD/DVD IDE/atapi
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
Jean
n00b
n00b


Joined: 02 May 2002
Posts: 8

PostPosted: Tue Jun 04, 2002 3:57 am    Post subject: CD/DVD IDE/atapi Reply with quote

Can anyone please explain how to have normal CD-Rom & DVD as well as the scsi emulation.
I have a section in devfsd.conf for cdrom0 and cdrom1 also sections for sg0 and sg1. In Xcdroast the DVD Drive and Plextor Drives show up ok, but I now cannot play audio cds with KsCD. and wouldn't be able to play DVDs either. I put DVD as sg1 in scsi part so that I would be able to copy cd's if required. In /dev/cdroms nothing shows, and in /ide/host0/bus1/target1/lun/0/ -----no cd. :roll:
_________________
Jean C.
Back to top
View user's profile Send private message
mksoft
l33t
l33t


Joined: 28 May 2002
Posts: 844

PostPosted: Tue Jun 04, 2002 7:59 am    Post subject: Reply with quote

Make sure you have SCSI CD-ROM support compiled into the kernel or as a module and loaded.

To check if scsi cdrom support is enabled:
Code:
cat /proc/devices
Character devices:
  .....

Block devices:
  2 fd
  3 ide0
  11 sr
  22 ide1


Make sure sr appears there.

Otherwise,

Do you have both scsi emulation and atapi cd compiled into the kernel ?
If so you need to telll the kernel to treat the cd/dvd devices as scsi.

here's my grub line:
Code:
kernel /boot/bzImage root=/dev/hdb1 hdc=scsi vga=0x305

_________________
There's someone in my head but it's not me - Pink Floyd
Back to top
View user's profile Send private message
lx
Veteran
Veteran


Joined: 28 May 2002
Posts: 1012
Location: Netherlands

PostPosted: Tue Jun 04, 2002 8:12 am    Post subject: Reply with quote

think you mean hdc=ide-scsi (well that's what I use). You can still use /mnt/cdrom (mine routes to /scsi/host0....) to mount your cds, cdrecord requires the scsi-emulation (/dev/sg0 /dev/sr0) to write disks.

cat /proc/devices:
Quote:

char
21 sg
block
11 sr


Have you checked the /etc/devfsd.conf file? Well probably something to do with the cd player ksCD (I don't have this).

Sry can't help, lX
_________________
"Remember there's a big difference between kneeling down and bending over.", Frank Zappa
Back to top
View user's profile Send private message
mksoft
l33t
l33t


Joined: 28 May 2002
Posts: 844

PostPosted: Tue Jun 04, 2002 8:26 am    Post subject: Reply with quote

lx wrote:
think you mean hdc=ide-scsi (well that's what I use).


Possible. I think both'll work (at least here).
_________________
There's someone in my head but it's not me - Pink Floyd
Back to top
View user's profile Send private message
Jean
n00b
n00b


Joined: 02 May 2002
Posts: 8

PostPosted: Wed Jun 05, 2002 1:58 am    Post subject: CD/DVD/IDE/atapi Reply with quote

This is the result for cat /proc/devices:

Character devices:
1 mem
2 pty/m%d
3 pty/s%d
4 tts/%d
5 cua/%d
6 lp
7 vcs
10 misc
13 input
14 sound
21 sg
81 video_capture
108 ppp
128 ptm
136 pts/%d
162 raw
180 usb

Block devices:
2 fd
3 ide0
22 ide1
__________________________

No 11 sr.

The scsi part is not the problem though. Although I haven't actually tried to burn anything with Xcdroast - the program is reading from both Plextor CDRW drive and the DVD drive. When I try to open KsCD -(CD Player) it says "no matching freedb entry found"
I was able to use this program previously, before I recompiled to allow for scsi emulation, and I booted with an old kernel and it was working with it.
I'm going to have to recompile again anyway to try and get alsa working and a couple of other things, so I'll see what happens.

If I try to /mnt/crom0 - it says /dev/cdrom is not a block device, same for /dev/dvd & cdrom1
_________________
Jean C.
Back to top
View user's profile Send private message
Jean
n00b
n00b


Joined: 02 May 2002
Posts: 8

PostPosted: Thu Jun 06, 2002 5:23 am    Post subject: CDROM /DVD/CDRW/atapi Reply with quote

Well I recompiled and changed a few things, so I don't know which did the trick, but I now can access my CD-Rom for audio again.
_________________
Jean C.
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