Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Riddle Me This: IDE Optical Drives Recognized as SCSI
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
theluckyone17
n00b
n00b


Joined: 03 Dec 2005
Posts: 56

PostPosted: Wed Dec 19, 2007 1:46 am    Post subject: Riddle Me This: IDE Optical Drives Recognized as SCSI Reply with quote

So I've been pounding away at the issue of my optical drives not being recognized, unless I pass "all-generic-ide" along to my kernel. I've got one of those pesky Marvell IDE controllers on my motherboard... 88SE6101, single port PATA133.

After playing around with the dmesg output and some kernel drivers, I discovered that the pata_marvell driver would see my optical drives perfectly fine... but they wouldn't show up under /dev. I also noticed a bit about them being recognized as SCSI drives. So I compiled SCSI CDROM support in. Sure enough, now they're listed under /dev.

Pertinent dmesg snippet:
Code:
scsi6 : pata_marvell
scsi7 : pata_marvell
ata7: PATA max UDMA/100 cmd 0x00012018 ctl 0x00012026 bmdma 0x00012000 irq 17
ata8: DUMMY
BAR5:00:00 01:7F 02:22 03:CA 04:00 05:00 06:00 07:00 08:00 09:00 0A:00 0B:00 0C:01 0D:00 0E:00 0F:00
ata7.00: ATAPI: ASUS    DRW-1612BL, 1.10, max UDMA/66
ata7.01: ATAPI: LITE-ON DVD D LH-16D1P, TL13, max UDMA/33
ata7.00: configured for UDMA/66
ata7.01: configured for UDMA/33
scsi 6:0:0:0: CD-ROM            ASUS     DRW-1612BL       1.10 PQ: 0 ANSI: 5
sr0: scsi3-mmc drive: 48x/48x writer dvd-ram cd/rw xa/form2 cdda tray
Uniform CD-ROM driver Revision: 3.20
sr 6:0:0:0: Attached scsi CD-ROM sr0
sr 6:0:0:0: Attached scsi generic sg1 type 5
scsi 6:0:1:0: CD-ROM            LITE-ON  DVD D LH-16D1P   TL13 PQ: 0 ANSI: 5
sr1: scsi3-mmc drive: 4x/48x cd/rw xa/form2 cdda tray
sr 6:0:1:0: Attached scsi CD-ROM sr1
sr 6:0:1:0: Attached scsi generic sg2 type 5


K3B refuses to burn CDs, however, so I'm going to assume I need to add some sort of SCSI CDRW support in the kernel. I'm a little confused about why the drives are being recognized as SCSI drives, however... I mean, they're PATA drives, and the two shouldn't have anything to do with each other, right? :roll:
Back to top
View user's profile Send private message
BradN
Advocate
Advocate


Joined: 19 Apr 2002
Posts: 2391
Location: Wisconsin (USA)

PostPosted: Wed Dec 19, 2007 2:52 am    Post subject: Reply with quote

The "new" pata/sata drivers all emulate scsi controllers, if for no other reason than to use a common interface.

It seems there's no "old" ATA driver for marvell controllers, so you may be stuck with that option.

Make sure under SCSI that you have "<*> SCSI generic support" enabled - I think this might be necessary for SCSI CD burning.
Back to top
View user's profile Send private message
whig
l33t
l33t


Joined: 27 Nov 2004
Posts: 973
Location: New Zealand

PostPosted: Wed Dec 19, 2007 3:02 am    Post subject: Reply with quote

With the "new" ata drivers, ide disks show up as /dev/sd* too (with the sata drives). A bit off-putting at first.
Back to top
View user's profile Send private message
theluckyone17
n00b
n00b


Joined: 03 Dec 2005
Posts: 56

PostPosted: Wed Dec 19, 2007 3:40 am    Post subject: Reply with quote

Gotcha. I was kinda confused, since about the same time this started changing over, I switched to a new system. The SATA drive shows up as sd*; the IDE drive connected to an old Ultra133 controller card still shows up as hd*. Now, the optical drives are just throwing me for a loop.

In my naivety, I wish that they went to a "Common Interface" rather than bouncing back and forth between sd and hd. It sure sounds better, at least.

As a side note, the K3b issue was separate... https://forums.gentoo.org/viewtopic-t-588200.html fixed it for me.
Back to top
View user's profile Send private message
star882
n00b
n00b


Joined: 22 Sep 2007
Posts: 62

PostPosted: Wed Dec 19, 2007 5:01 am    Post subject: Reply with quote

Ubuntu also thinks IDE drives are SCSI. ("Sexy" pun not intended!)
Back to top
View user's profile Send private message
theluckyone17
n00b
n00b


Joined: 03 Dec 2005
Posts: 56

PostPosted: Wed Dec 19, 2007 5:51 am    Post subject: Reply with quote

You know... I'm never gonna be able to pronounce SCSI "Skawsee" again :lol:
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