All of lore.kernel.org
 help / color / mirror / Atom feed
* how to detect a JM20330 based IDE-SATA adapter
@ 2016-06-06 13:29 christian montanari
  0 siblings, 0 replies; only message in thread
From: christian montanari @ 2016-06-06 13:29 UTC (permalink / raw)
  To: linux-ide

Hi, here a PC P4 would detect a SATA drive attached to this bi directionnal 
IDE-SATA adapter (from Dynamode) at bios time (so the connections are 
good!) ,

however carrying on booting linux-4.5.0-1-686-pae,
 and even forcing module pata_jmicron,  no PCI device of the chip is 
seen...and then the SATA drive is not detected...:


if id code 197b  is "JMicron Technology Corp.":

 lspci -d 197b:* 

returns zit.


would anyone have some idea how I could revive this cheap peace of kit,
using setpci, maybe?


Thanks.


here is my IDE interface...

00:1f.1 IDE interface: Intel Corporation 82801EB/ER (ICH5/ICH5R) IDE 
Controller (rev 02) (prog-if 8a [Master SecP PriP])
        Subsystem: Micro-Star International Co., Ltd. [MSI] 82801EB/ER 
(ICH5/ICH5R) IDE Controller
        Flags: bus master, medium devsel, latency 0, IRQ 18
        I/O ports at 01f0 [size=8]
        I/O ports at 03f4
        I/O ports at 0170 [size=8]
        I/O ports at 0374
        I/O ports at fc00 [size=16]
        Memory at 20000400 (32-bit, non-prefetchable) [size=1K]
        Kernel driver in use: ata_piix
        Kernel modules: ata_piix, ata_generic

and the dmesg snippet:
[    0.237071] pnp: PnP ACPI init
[    0.237509] system 00:00: [io  0x0290-0x0297] has been reserved
[    0.237557] system 00:00: [io  0x03f0-0x03f1] has been reserved
[    0.237603] system 00:00: [io  0x04d0-0x04d1] has been reserved
[    0.237648] system 00:00: [io  0x0400-0x043f] has been reserved
[    0.237695] system 00:00: [mem 0xfed20000-0xfed8ffff] has been reserved
[    0.237742] system 00:00: [mem 0xfee00000-0xfee00fff] has been reserved
[    0.237792] system 00:00: Plug and Play ACPI device, IDs PNP0c02 (active)
[    0.237890] pnp 00:01: Plug and Play ACPI device, IDs PNP0b00 (active)
[    0.238024] pnp 00:02: Plug and Play ACPI device, IDs PNP0303 PNP030b 
(active)
[    0.238154] pnp 00:03: [dma 2]
[    0.238238] pnp 00:03: Plug and Play ACPI device, IDs PNP0700 (active)
[    0.238622] pnp 00:04: Plug and Play ACPI device, IDs PNP0501 (active)
[    0.239136] pnp 00:05: [dma 3]
[    0.239275] pnp 00:05: Plug and Play ACPI device, IDs PNP0401 (active)
[    0.239725] pnp: PnP ACPI: found 6 devices
[    0.239775] PnPBIOS: Disabled by ACPI PNP
[    0.279512] clocksource: acpi_pm: mask: 0xffffff max_cycles: 0xffffff, 
max_idle_ns: 2085701024 ns
[    0.279607] pci 0000:00:1f.0: BAR 13: [io  size 0x0080] has bogus
alignment <<<=== LPC
[    0.279665] pci 0000:00:1d.7: BAR 0: assigned [mem 0x20000000-
0x200003ff]

[    0.279717] pci 0000:00:1f.1: BAR 5: assigned [mem
0x20000400-0x200007ff] <==ide bridge

[    0.279768] pci 0000:00:1f.5: BAR 2: assigned [mem 0x20000800-
0x200009ff]
1f.5 <==audio
[    0.279817] pci 0000:00:1f.5: BAR 3: assigned [mem 0x20000a00-
0x20000aff]
[    0.279868] pci 0000:00:01.0: PCI bridge to [bus 01]
[    0.279913] pci 0000:00:01.0:   bridge window [io  0xa000-0xafff]
[    0.279961] pci 0000:00:01.0:   bridge window [mem 0xffc00000-0xffcfffff]
[    0.280016] pci 0000:00:01.0:   bridge window [mem 0x9ff00000-0xdfefffff 
pref]
[    0.280073] pci 0000:00:1e.0: PCI bridge to [bus 02]
[    0.280119] pci 0000:00:1e.0:   bridge window [io  0xb000-0xbfff]
[    0.280167] pci 0000:00:1e.0:   bridge window [mem 0xffd00000-0xffdfffff]
[    0.280221] pci_bus 0000:00: resource 4 [io  0x0000-0x0cf7 window]
[    0.280225] pci_bus 0000:00: resource 5 [io  0x0d00-0xffff window]
[    0.280229] pci_bus 0000:00: resource 6 [mem 0x000a0000-0x000bffff 
window]
[    0.280232] pci_bus 0000:00: resource 7 [mem 0x000c0000-0x000dffff 
window]
[    0.280236] pci_bus 0000:00: resource 8 [mem 0x20000000-0xffdfffff 
window]
[    0.280240] pci_bus 0000:01: resource 0 [io  0xa000-0xafff]
[    0.280244] pci_bus 0000:01: resource 1 [mem 0xffc00000-0xffcfffff]
[    0.280248] pci_bus 0000:01: resource 2 [mem 0x9ff00000-0xdfefffff pref]
[    0.280252] pci_bus 0000:02: resource 0 [io  0xb000-0xbfff]
[    0.280256] pci_bus 0000:02: resource 1 [mem 0xffd00000-0xffdfffff]
[    0.280259] pci_bus 0000:02: resource 4 [io  0x0000-0x0cf7 window]
[    0.280263] pci_bus 0000:02: resource 5 [io  0x0d00-0xffff window]
[    0.280267] pci_bus 0000:02: resource 6 [mem 0x000a0000-0x000bffff 
window]
[    0.280271] pci_bus 0000:02: resource 7 [mem 0x000c0000-0x000dffff 
window]
[    0.280275] pci_bus 0000:02: resource 8 [mem 0x20000000-0xffdfffff 
window]
...
[    1.467926] libata version 3.00 loaded....



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2016-06-06 13:45 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-06-06 13:29 how to detect a JM20330 based IDE-SATA adapter christian montanari

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.