Date: Sat, 02 May 2020 11:01:11 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 246119] ahci: MFC of r359499 in 12.1-STABLE r359972 breaks cd device detection on JMicron JMB362 Message-ID: <bug-246119-227@https.bugs.freebsd.org/bugzilla/>
index | next in thread | raw e-mail
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=246119 Bug ID: 246119 Summary: ahci: MFC of r359499 in 12.1-STABLE r359972 breaks cd device detection on JMicron JMB362 Product: Base System Version: 12.1-STABLE Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: kern Assignee: bugs@FreeBSD.org Reporter: rk@ronald.org The following MFC in r359972 breaks the detection of cd0 on the JMB362 ahci controller on 12.1-STABLE: MFC r359499: Add ID for JMicron JMB582/JMB585 AHCI controller. JMB582 has 2 6Gbps SATA ports and PCIe 3.0 x1. JMB585 has 5 6Gbps SATA ports and PCIe 3.0 x2. Both chips support AHCI v1.31, Port Multiplier with FBS and 8 MSI vectors. Before that change (e.g. r359957): ================================== pci3: <ACPI PCI bus> on pcib3 atapci1: <JMicron JMB362 SATA300 controller> port 0xc040-0xc047,0xc030-0xc033,0xc020-0xc027,0xc010-0xc013,0xc000-0xc00f mem 0xfe510000-0xfe5101ff irq 46 at device 0.0 on pci3 ahci1: <JMicron JMB362 AHCI SATA controller> at channel -1 on atapci1 ahci1: AHCI v1.10 with 2 3Gbps ports, Port Multiplier supported ahcich2: <AHCI channel> at channel 0 on ahci1 ahcich3: <AHCI channel> at channel 1 on ahci1 ... cd0 at ahcich3 bus 0 scbus3 target 0 lun 0 cd0: <PLEXTOR BD-R PX-B950SA 1.02> Removable CD-ROM SCSI device cd0: Serial Number 2512075 216211500893 cd0: 150.000MB/s transfers (SATA 1.x, UDMA5, ATAPI 12bytes, PIO 8192bytes) cd0: Attempt to query device size failed: NOT READY, Medium not present - tray closed -> cd0 is detected, all is well With r359972: ============= pci3: <ACPI PCI bus> on pcib3 ahci1: <JMicron JMB362 AHCI SATA controller> port 0xc040-0xc047,0xc030-0xc033,0x c020-0xc027,0xc010-0xc013,0xc000-0xc00f mem 0xfe510000-0xfe5101ff irq 46 at devi ce 0.0 on pci3 ahci1: AHCI v1.10 with 2 3Gbps ports, Port Multiplier supported ahcich2: <AHCI channel> at channel 0 on ahci1 ahcich3: <AHCI channel> at channel 1 on ahci1 ... Root mount waiting for: CAM [repeated for multiple seconds] ... ahcich3: Poll timeout on slot 1 port 15 ahcich3: is 00000000 cs 00000002 ss 00000000 rs 00000002 tfd 77 serr 00000000 cm d 0004c117 Root mount waiting for:(aprobe1:ahcich3:0:15:0): SOFT_RESET. ACB: 00 00 00 00 00 00 00 00 00 00 00 00 CAM(aprobe1:ahcich3:0:15:0): CAM status: Command timeout (aprobe1:ahcich3:0:15:0): Error 5, Retries exhausted Root mount waiting for: CAM last message repeated 15 times ahcich3: Poll timeout on slot 2 port 0 ahcich3: is 00000000 cs 00000004 ss 00000000 rs 00000004 tfd 77 serr 00000000 cm d 0004c217 (aprobe0:ahcich3:0:0:0): SOFT_RESET. ACB: 00 00 00 00 00 00 00 00 00 00 00 00 (aprobe0:ahcich3:0:0:0): CAM status: Command timeout (aprobe0:ahcich3:0:0:0): Error 5, Retries exhausted --> no cd0 detected, hence unusable -- You are receiving this mail because: You are the assignee for the bug.help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-246119-227>
