[ltp] T43P CD/DVD not found after changing to SATA/PATA
Teppo Jalava
linux-thinkpad@linux-thinkpad.org
Wed, 28 Dec 2005 13:11:30 +0200
I'm trying to get the DMA enabled on my laptop's CD/DVD-drive as
instructed in Thinkwiki
(http://www.thinkwiki.org/wiki/Problems_with_SATA_and_Linux). After
enabling libata.atapi and disabling IDE system, the drive is found by
the driver but it never seems to get attached to any device and I'm
not able to mount it. I have all the related device nodes in /dev, but
none of them points to the correct drive.
Here's the dmesg output:
ata1: SATA max UDMA/133 cmd 0x1F0 ctl 0x3F6 bmdma 0x18C0 irq 14
ata1: dev 0 cfg 49:0f00 82:746b 83:5be8 84:4003 85:f469 86:1848 87:4003 88:=
203f
ata1: dev 0 ATA, max UDMA/100, 117210240 sectors:
ata1(0): applying bridge limits
ata1: dev 0 configured for UDMA/100
scsi0 : ata_piix
Vendor: ATA Model: HTS726060M9AT00 Rev: MH4O
Type: Direct-Access ANSI SCSI revision: 05
ata2: SATA max UDMA/133 cmd 0x170 ctl 0x376 bmdma 0x18C8 irq 15
ata2: dev 0 cfg 49:0f00 82:0000 83:0000 84:0000 85:0000 86:0000 87:0000 88:=
0407
ata2: dev 0 ATAPI, max UDMA/33
ata2(0): applying bridge limits
ata2: dev 0 configured for UDMA/33
scsi1 : ata_piix
Vendor: MATSHITA Model: DVD-RAM UJ-822S Rev: 1.03
Type: CD-ROM ANSI SCSI revision: 05
SCSI device sda: 117210240 512-byte hdwr sectors (60012 MB)
SCSI device sda: drive cache: write back
SCSI device sda: 117210240 512-byte hdwr sectors (60012 MB)
SCSI device sda: drive cache: write back
sda: sda1 sda2 sda3 sda4 < sda5 sda6 sda7 >
Attached scsi disk sda at scsi0, channel 0, id 0, lun 0
Attached scsi generic sg0 at scsi0, channel 0, id 0, lun 0, type 0
Attached scsi generic sg1 at scsi1, channel 0, id 0, lun 0, type 5
To me, the dmesg output seems ok, except that the scsi1 device gets
attached only to the generic sg1 and not to sr* or scd* as I would
expect. I'm starting to think that I miss something really trivial
here. Does anybody have any glues of what I should try next?
I'm running Gentoo with the kernel 2.6.14-gentoo-r5 and I have libata
and ata_piix compiled into kernel and IDE system disabled in the
kernel.
Thanks,
t.