View previous topic :: View next topic |
Author |
Message |
gr0x0rd Guru
Joined: 12 Aug 2006 Posts: 311
|
Posted: Sat Oct 20, 2012 6:07 pm Post subject: kernel not detecting eSATA drive [solved] |
|
|
I was previously having an issue where my kernel was picking up my eSATA drive and "bumping" other connected drives, skewing my RAID1 at boot and forcing me to resynchronize the array.
Now, I can't get my drive on eSATA to show up at all: at least not in Gentoo. It shows up in the BIOS just fine. My ASUS P7P55D PRO has two SATA controllers on it, one Intel and one JMicron.
Code: | ...
00:1f.2 IDE interface: Intel Corporation 5 Series/3400 Series Chipset 4 port SATA IDE Controller (rev 05) (prog-if 8f [Master SecP SecO PriP PriO])
Subsystem: ASUSTeK Computer Inc. Device 8383
Flags: bus master, 66MHz, medium devsel, latency 0, IRQ 21
I/O ports at 9c00 [size=8]
I/O ports at 9880 [size=4]
I/O ports at 9800 [size=8]
I/O ports at 9480 [size=4]
I/O ports at 9400 [size=16]
I/O ports at 9080 [size=16]
Capabilities: [70] Power Management version 3
Capabilities: [b0] PCI Advanced Features
Kernel driver in use: ata_piix
...
00:1f.5 IDE interface: Intel Corporation 5 Series/3400 Series Chipset 2 port SATA IDE Controller (rev 05) (prog-if 85 [Master SecO PriO])
Subsystem: ASUSTeK Computer Inc. Device 8383
Flags: bus master, 66MHz, medium devsel, latency 0, IRQ 21
I/O ports at ac00 [size=8]
I/O ports at a880 [size=4]
I/O ports at a800 [size=8]
I/O ports at a480 [size=4]
I/O ports at a400 [size=16]
I/O ports at a080 [size=16]
Capabilities: [70] Power Management version 3
Capabilities: [b0] PCI Advanced Features
Kernel driver in use: ata_piix
...
03:00.0 SATA controller: JMicron Technology Corp. JMB363 SATA/IDE Controller (rev 03) (prog-if 01 [AHCI 1.0])
Subsystem: ASUSTeK Computer Inc. Device 824f
Flags: bus master, fast devsel, latency 0, IRQ 15
Memory at f7efe000 (32-bit, non-prefetchable) [size=8K]
Capabilities: [68] Power Management version 2
Capabilities: [50] Express Legacy Endpoint, MSI 01
03:00.1 IDE interface: JMicron Technology Corp. JMB363 SATA/IDE Controller (rev 03) (prog-if 85 [Master SecO PriO])
Subsystem: ASUSTeK Computer Inc. Device 824f
Flags: bus master, fast devsel, latency 0, IRQ 19
I/O ports at dc00 [size=8]
I/O ports at d880 [size=4]
I/O ports at d800 [size=8]
I/O ports at d480 [size=4]
I/O ports at d400 [size=16]
Capabilities: [68] Power Management version 2
Kernel driver in use: pata_jmicron
... | The intel controller handles 6 on-board SATA ports, all of which have connected drives in RAID configurations. The jmicron controller handles the IDE CDROM and the additional SATA port, which is wired to my eSATA connector.
During bootup, dmesg shows the jmircon controller and the connected IDE CD-ROM: Code: | ...
[ 0.884325] pata_jmicron 0000:03:00.1: enabling device (0000 -> 0001)
[ 0.884432] pata_jmicron 0000:03:00.1: setting latency timer to 64
[ 0.884673] scsi4 : pata_jmicron
[ 0.884815] scsi5 : pata_jmicron
...
[ 1.742386] scsi 4:0:0:0: CD-ROM HL-DT-ST DVD-RAM GH22NP21 1.00 PQ: 0 ANSI: 5
[ 1.744751] sr0: scsi3-mmc drive: 48x/48x writer dvd-ram cd/rw xa/form2 cdda tray
[ 1.744903] cdrom: Uniform CD-ROM driver Revision: 3.20 |
In the lspci output above, I noticed that there is no kernel driver listed for the AHCI instance of the JMicron controller. Could this be the reason for the drive not being detected? I've thought of changing the jmicron kernel driver to a module, but before that I though I'd post to see if anyone had any other suggestions. I'm currently using kernel 3.4.9.
Thanks, _________________ ~g
emerge -FML...
Last edited by gr0x0rd on Sat Oct 20, 2012 7:26 pm; edited 1 time in total |
|
Back to top |
|
|
DONAHUE Watchman
Joined: 09 Dec 2006 Posts: 7651 Location: Goose Creek SC
|
Posted: Sat Oct 20, 2012 6:59 pm Post subject: |
|
|
if you look in bios you will find the jmicron can be in ide or raid or ahci mode. you may be able to select ide in bios to run the cd drive; you may be able to switch to achi in bios to run the esata drive; but you can't run one port in one and the other port in the other. _________________ Defund the FCC. |
|
Back to top |
|
|
gr0x0rd Guru
Joined: 12 Aug 2006 Posts: 311
|
Posted: Sat Oct 20, 2012 7:25 pm Post subject: |
|
|
Sadly, that makes a lot of sense.
I changed the JMicron controller from IDE to AHCI in my BIOS, but it still picked up the CD-Rom and not the eSATA drive. I can't find any other options to change for the controller itself. Bummer. I haven't tried it yet, but I'm guessing the only way to get the kernel to choose the eSATA over the CD-Rom will be to actually power off the CD-Rom.
Looks like I'm going to have to find a board with yet another SATA controller to get my external ports working so I can have CD-ROM and eSATA at the same time.
Thanks for the info Donahue. _________________ ~g
emerge -FML... |
|
Back to top |
|
|
s4e8 Guru
Joined: 29 Jul 2006 Posts: 311
|
Posted: Tue Oct 23, 2012 12:58 am Post subject: |
|
|
Jmicron sata part using the AHCI driver, not the pata_jmicron. Even you set controller to IDE mode, kernel will quirk it to AHCI mode. pata_jmicron is for the IDE interface. |
|
Back to top |
|
|
DONAHUE Watchman
Joined: 09 Dec 2006 Posts: 7651 Location: Goose Creek SC
|
Posted: Tue Oct 23, 2012 1:24 am Post subject: |
|
|
No, bios rules _________________ Defund the FCC. |
|
Back to top |
|
|
|
|
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
|
|