All of lore.kernel.org
 help / color / mirror / Atom feed
* JMicron JMB363 PCI SATA/IDE Card Support
@ 2013-06-19 13:12 Matthias Prager
  2013-06-23 14:28 ` Matthias Prager
  0 siblings, 1 reply; 3+ messages in thread
From: Matthias Prager @ 2013-06-19 13:12 UTC (permalink / raw)
  To: linux-scsi

Hello everyone,

I'm having a hard time getting my JMicron JMB363 PCI SATA/IDE Card
to work under linux.
The 'lspci -nn' output reads as follows:
> RAID bus controller [0104]: JMicron Technology Corp. JMB363 SATA/IDE
> Controller [197b:2363] (rev 03)

I tried my own kernel (3.9.6) under gentoo with CONFIG_PATA_JMICRON and
CONFIG_SATA_AHCI enabled. And I tried using
the latest SystemrescueCD (with kernel 3.4.47) which has pretty much
everything compiled into it.

FreeBSD is recognizing the devices just fine. How do I get them
to run on linux?

- Matthias

P.S. a side note: this is in an virtualized environment (VMWare ESXi)
with pass-through.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: JMicron JMB363 PCI SATA/IDE Card Support
  2013-06-19 13:12 JMicron JMB363 PCI SATA/IDE Card Support Matthias Prager
@ 2013-06-23 14:28 ` Matthias Prager
  2013-06-23 16:29   ` Matthias Prager
  0 siblings, 1 reply; 3+ messages in thread
From: Matthias Prager @ 2013-06-23 14:28 UTC (permalink / raw)
  To: linux-scsi; +Cc: Matthias Prager

I did some more digging and came up with a partial
workaround:
After adding the line:
>	{ PCI_VDEVICE(JMICRON, 0x236f), board_ahci_ign_iferr },
(at line 301 of drivers/ata/ahci.c)
The the sata ports of my two cards get detected and lspci -k shows
they are using the ahci driver.

My guess is the 'RAID bus controller [0104]' mode/class is keeping
my cards from beeing detected (they probably would be if they were
in PCI_CLASS_STORAGE_SATA_AHCI mode). Which would mean line 297
is just plain buggy.

This still leaves the problem of the missing IDE Ports (one master+slave
port per card are still not detected). I'm trying to
understand how the pata_jmicron driver is supposed to work
but haven't wrapped my head around it yet.

- Matthias

Am 19.06.2013 15:12, schrieb Matthias Prager:
> Hello everyone,
> 
> I'm having a hard time getting my JMicron JMB363 PCI SATA/IDE Card
> to work under linux.
> The 'lspci -nn' output reads as follows:
>> RAID bus controller [0104]: JMicron Technology Corp. JMB363 SATA/IDE
>> Controller [197b:2363] (rev 03)
> 
> I tried my own kernel (3.9.6) under gentoo with CONFIG_PATA_JMICRON and
> CONFIG_SATA_AHCI enabled. And I tried using
> the latest SystemrescueCD (with kernel 3.4.47) which has pretty much
> everything compiled into it.
> 
> FreeBSD is recognizing the devices just fine. How do I get them
> to run on linux?
> 
> - Matthias
> 
> P.S. a side note: this is in an virtualized environment (VMWare ESXi)
> with pass-through.
> 


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: JMicron JMB363 PCI SATA/IDE Card Support
  2013-06-23 14:28 ` Matthias Prager
@ 2013-06-23 16:29   ` Matthias Prager
  0 siblings, 0 replies; 3+ messages in thread
From: Matthias Prager @ 2013-06-23 16:29 UTC (permalink / raw)
  To: linux-scsi; +Cc: Matthias Prager

Looks like the RAID Mode is the default one and
quirk_jmicron_ata() in drivers/pci/quirks.c is supposed
to deal with it by changing the PCI device configuration ...
this does not happen or does not have the desired
result (maybe this is caused by working in a pass-trough
environment?).

- Matthias

Am 23.06.2013 16:28, schrieb Matthias Prager:
> I did some more digging and came up with a partial
> workaround:
> After adding the line:
>> 	{ PCI_VDEVICE(JMICRON, 0x236f), board_ahci_ign_iferr },
> (at line 301 of drivers/ata/ahci.c)
> The the sata ports of my two cards get detected and lspci -k shows
> they are using the ahci driver.
> 
> My guess is the 'RAID bus controller [0104]' mode/class is keeping
> my cards from beeing detected (they probably would be if they were
> in PCI_CLASS_STORAGE_SATA_AHCI mode). Which would mean line 297
> is just plain buggy.
> 
> This still leaves the problem of the missing IDE Ports (one master+slave
> port per card are still not detected). I'm trying to
> understand how the pata_jmicron driver is supposed to work
> but haven't wrapped my head around it yet.
> 
> - Matthias
> 
> Am 19.06.2013 15:12, schrieb Matthias Prager:
>> Hello everyone,
>>
>> I'm having a hard time getting my JMicron JMB363 PCI SATA/IDE Card
>> to work under linux.
>> The 'lspci -nn' output reads as follows:
>>> RAID bus controller [0104]: JMicron Technology Corp. JMB363 SATA/IDE
>>> Controller [197b:2363] (rev 03)
>>
>> I tried my own kernel (3.9.6) under gentoo with CONFIG_PATA_JMICRON and
>> CONFIG_SATA_AHCI enabled. And I tried using
>> the latest SystemrescueCD (with kernel 3.4.47) which has pretty much
>> everything compiled into it.
>>
>> FreeBSD is recognizing the devices just fine. How do I get them
>> to run on linux?
>>
>> - Matthias
>>
>> P.S. a side note: this is in an virtualized environment (VMWare ESXi)
>> with pass-through.
>>


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2013-06-23 16:29 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-06-19 13:12 JMicron JMB363 PCI SATA/IDE Card Support Matthias Prager
2013-06-23 14:28 ` Matthias Prager
2013-06-23 16:29   ` Matthias Prager

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.