View previous topic :: View next topic |
Author |
Message |
theluckyone17 n00b
Joined: 03 Dec 2005 Posts: 56
|
Posted: Wed Dec 19, 2007 1:46 am Post subject: Riddle Me This: IDE Optical Drives Recognized as SCSI |
|
|
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? |
|
Back to top |
|
|
BradN Advocate
Joined: 19 Apr 2002 Posts: 2391 Location: Wisconsin (USA)
|
Posted: Wed Dec 19, 2007 2:52 am Post subject: |
|
|
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 |
|
|
whig l33t
Joined: 27 Nov 2004 Posts: 973 Location: New Zealand
|
Posted: Wed Dec 19, 2007 3:02 am Post subject: |
|
|
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 |
|
|
theluckyone17 n00b
Joined: 03 Dec 2005 Posts: 56
|
Posted: Wed Dec 19, 2007 3:40 am Post subject: |
|
|
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 |
|
|
star882 n00b
Joined: 22 Sep 2007 Posts: 62
|
Posted: Wed Dec 19, 2007 5:01 am Post subject: |
|
|
Ubuntu also thinks IDE drives are SCSI. ("Sexy" pun not intended!) |
|
Back to top |
|
|
theluckyone17 n00b
Joined: 03 Dec 2005 Posts: 56
|
Posted: Wed Dec 19, 2007 5:51 am Post subject: |
|
|
You know... I'm never gonna be able to pronounce SCSI "Skawsee" again |
|
Back to top |
|
|
|