Bug 8809
Summary: | libata detects no cdrom drive | ||
---|---|---|---|
Product: | IO/Storage | Reporter: | Hauke (mail) |
Component: | Serial ATA | Assignee: | Tejun Heo (htejun) |
Status: | CLOSED CODE_FIX | ||
Severity: | normal | CC: | kristen.c.accardi |
Priority: | P1 | ||
Hardware: | All | ||
OS: | Linux | ||
Kernel Version: | >= 2.6.22 | Subsystem: | |
Regression: | --- | Bisected commit-id: | |
Attachments: |
lspci -nn output
full dmesg output ich8-map-01b-update.patch |
Description
Hauke
2007-07-25 10:02:33 UTC
Please post the result of 'lpsci -nn' and full dmesg without the generic driver. Thanks. Created attachment 12152 [details]
lspci -nn output
Created attachment 12153 [details]
full dmesg output
cc'ing Kristen. It seems something is wrong with the ich8 map table. It's entry 10b which is currently { IDE, IDE, NA, NA } but HTS541612J9SA00 is a SATA drive and ODD isn't detected. Should it be { P0, P2, IDE, IDE } like earlier controllers? if someone needs more information about my system/problem, please post. greets Hauke I have the same issue, the cdrom works with ide-generic built-in, but then harddrive will use ide-generic aswell, libata also freezes cdrom, if ide-generic built as module and modprobed after boot we get: ide0: I/O resource 0x3F6-0x3F6 not free. ide0: ports already in use, skipping probe ide1: I/O resource 0x376-0x376 not free. ide1: ports already in use, skipping probe What do you mean by 'libata also freezes cdrom'? freezes is probably not the right word but as you can see, even if libata doesn't detect the cdrom, it's resources are in use (ide1). Created attachment 12234 [details]
ich8-map-01b-update.patch
OIC, you meant grabbing the resources and not letting ide-generic take it. 'freeze' usually means something like the controller dying while holding PCI bus and is a bit strong for occupying the IO ports. I was scared, you know. :-)
Does the attached patch change anything?
Thats excactl what I mean :). The patch seems to have solved the issue. from dmesg: ata2.01: ATAPI: HL-DT-ST DVDRAM GSA-T20N, WA03, max UDMA/33 ata2.01: configured for UDMA/33 dvd/cdrom is now /dev/sr0 and /dev/sg1 excellent work! thank you. Dennis, I'm still not sure whether the MAP value is correct one. There should be several IDE controller related options in the BIOS. Is the controller in "combined" mode? How many SATA and PATA ports do you have on the board? If you have PATA port, can you connect a PATA device to the port and report boot log? I'm on a new MSI ex600 laptop (santa rosa), there's not many options in bios only type,dma,pio and they are all set to auto. I assume I only got 2 sata-ports hdd and cdrom. Right, yeah I think [P0 P2 IDE IDE] is correct. You have a SATA hard drive detected on ata1 and a PATA dvdram on ata2. I'll try to find a document about this and verify it. God-Like!! Perfect work - thank you! The Patch works for me. Will I find it in the next kernel version/release? Greets Hauke Yeah, probably. I still can't find any doc from intel which describes the mapping for map 01b tho. Patch submitted. Closing. |