From: Robert Hancock <hancockr@shaw.ca>
To: Jonathan Woithe <jwoithe@physics.adelaide.edu.au>
Cc: linux-kernel@vger.kernel.org
Subject: Re: IDE/ATA: Intel i865-based mainboard, CDROM not detected
Date: Mon, 21 May 2007 01:12:11 -0600 [thread overview]
Message-ID: <4651464B.4080903@shaw.ca> (raw)
In-Reply-To: <fa.mF3GWjxaUtH4GJg0vJ8o0F2EuwE@ifi.uio.no>
Jonathan Woithe wrote:
> A collegue of mine has an Intel mainboard with the i865 chipset onboard
> (DQ965). All kernels up to and including 2.6.22-rc2 do not detect the IDE
> CDROM/DVDROM when booting. The SATA hard drive is found without any
> problems.
>
> Relevant parts from lspci:
>
> 00:1f.2 0101: 8086:2820 (rev 02)
> 00:1f.2 IDE interface: Intel Corporation 82801H (ICH8 Family) 4 port SATA
> IDE Controller (rev 02) (prog-if 8f [Master SecP SecO PriP PriO])
> Subsystem: Intel Corporation Unknown device 514d
> Flags: bus master, 66MHz, medium devsel, latency 0, IRQ 19
>
> 00:1f.5 0101: 8086:2825 (rev 02)
> 00:1f.5 IDE interface: Intel Corporation 82801H (ICH8 Family) 2 port SATA
> IDE Controller (rev 02) (prog-if 85 [Master SecO PriO])
> Subsystem: Intel Corporation Unknown device 514d
> Flags: bus master, 66MHz, medium devsel, latency 0, IRQ 19
>
> What's interesting here is that 00:1f.2 and 00:1f.5 are both identified as
> "n port SATA" controllers even though one of them (I suspect 00:1f.5) is a
> PATA controller. This may just be a typo in lspci's database though.
>
> Boot messages:
>
> ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
> Probing IDE interface ide0...
> Probing IDE interface ide1...
> :
> ata_piix 0000:00:1f.2: version 2.11
> ata_piix 0000:00:1f.2: MAP [ P0 P2 P1 P3 ]
> ACPI: PCI Interrupt 0000:00:1f.2[A] -> GSI 19 (level, low) -> IRQ 19
> PCI: Setting latency timer of device 0000:00:1f.2 to 64
> scsi0 : ata_piix
> scsi1 : ata_piix
> ata1: SATA max UDMA/133 cmd 0x00012138 ctl 0x00012156 bmdma 0x00012110 irq 0
> ata2: SATA max UDMA/133 cmd 0x00012130 ctl 0x00012152 bmdma 0x00012118 irq 0
> ata1.00: ata_hpa_resize 1: sectors = 488397168, hpa_sectors = 488397168
> ata1.00: ATA-7: WDC WD2500AAJS-00RYA0, 12.01B01, max UDMA/133
> ata1.00: 488397168 sectors, multi 16: LBA48 NCQ (depth 0/32)
> ata1.00: ata_hpa_resize 1: sectors = 488397168, hpa_sectors = 488397168
> ata1.00: configured for UDMA/133
> ATA: abnormal status 0x7F on port 0x00012137
> scsi 0:0:0:0: Direct-Access ATA WDC WD2500AAJS-0 12.0 PQ: 0 ANSI: 5
> sd 0:0:0:0: [sda] 488397168 512-byte hardware sectors (250059 MB)
> sd 0:0:0:0: [sda] Write Protect is off
> sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
> sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
> sd 0:0:0:0: [sda] 488397168 512-byte hardware sectors (250059 MB)
> sd 0:0:0:0: [sda] Write Protect is off
> sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
> sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
> sda: sda1 sda2
> sd 0:0:0:0: [sda] Attached SCSI disk
> ata_piix 0000:00:1f.5: MAP [ P0 P2 P1 P3 ]
>
> Here the HDD is clearly detected while the CDROM/DVDROM (attached to ide0)
> isn't.
>
> libata is compiled into the kernel as is the non-libata PATA driver.
> In the libata configuration, only SATA_AHCI, ATA_PIIX and ATA_GENERIC are
> defined. For the non-libata side of things most options are selected
> including BLK_DEV_IDE, BLK_DEV_IDECD, IDE_GENERIC, BLK_DEV_IDEPCI,
> BLK_DEV_GENERIC, BLK_DEV_IDEDMA_PCI and BLK_DEV_PIIX.
>
> Does anyone have any ideas as to why there is a problem detecting the PATA
> (IDE) CDROM/DVDROM in this machine? Further information/testing can be
> provided if requested.
A lot of newer Intel boards have the IDE interface provided by an
external JMicron, etc. chip so you may need to enable that driver for
things to work.
Also, it's unrelated to this problem, but you should check the BIOS
settings for the SATA controller - you really want to get the controller
into AHCI mode for best performance.
--
Robert Hancock Saskatoon, SK, Canada
To email, remove "nospam" from hancockr@nospamshaw.ca
Home Page: http://www.roberthancock.com/
next parent reply other threads:[~2007-05-21 7:12 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <fa.mF3GWjxaUtH4GJg0vJ8o0F2EuwE@ifi.uio.no>
2007-05-21 7:12 ` Robert Hancock [this message]
2007-05-21 7:41 ` IDE/ATA: Intel i865-based mainboard, CDROM not detected Jonathan Woithe
2007-05-21 7:56 ` Robert Hancock
2007-05-21 23:05 ` Jonathan Woithe
2007-05-21 23:17 ` Jesse Barnes
2007-05-21 23:18 ` Alan Cox
2007-05-21 23:51 ` Jonathan Woithe
2007-05-22 0:39 ` Alan Cox
2007-05-22 1:59 ` Jonathan Woithe
2007-05-25 12:49 ` Holger Eitzenberger
2007-05-25 13:37 ` Jeff Garzik
2007-05-21 6:57 Jonathan Woithe
2007-05-21 13:40 ` Alan Cox
2007-05-26 16:26 ` Bill Davidsen
2007-05-27 23:07 ` Jonathan Woithe
2007-05-28 14:31 ` Lennart Sorensen
2007-05-31 0:51 ` Jonathan Woithe
2007-05-31 13:40 ` Lennart Sorensen
2007-05-31 13:53 ` Jeff Garzik
2007-06-01 7:05 ` Jonathan Woithe
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4651464B.4080903@shaw.ca \
--to=hancockr@shaw.ca \
--cc=jwoithe@physics.adelaide.edu.au \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).