<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<atom:link href="https://dev1galaxy.org/extern.php?action=feed&amp;tid=6888&amp;type=rss" rel="self" type="application/rss+xml" />
		<title><![CDATA[Dev1 Galaxy Forum / 6.12 kernel and Renesas USB 3.0 USB host controllers]]></title>
		<link>https://dev1galaxy.org/viewtopic.php?id=6888</link>
		<description><![CDATA[The most recent posts in 6.12 kernel and Renesas USB 3.0 USB host controllers.]]></description>
		<lastBuildDate>Wed, 16 Oct 2024 12:59:52 +0000</lastBuildDate>
		<generator>FluxBB</generator>
		<item>
			<title><![CDATA[Re: 6.12 kernel and Renesas USB 3.0 USB host controllers]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=52648#p52648</link>
			<description><![CDATA[<p>I received an email reply from one of the Linux kernel maintainers stating that users should review configuration options for a new kernel (e.g. 6.12, currently in the rc? cycle) to see that one&#039;s hardware is&#160; properly supported.</p><p>Unless someone writes a tool to interrogate the kernel source and compares it with what hardware is installed (via usb-ids and pci-ids, for many of the cases), <strong>it is not easy to identify what changed configuration options may be relevant for their hardware</strong>.</p><p>My problem was that the <span class="bbc">CONFIG_USB_XHCI_PCI_RENESAS=m</span> option was disabled by default in the 6.12.0-rc? kernels, so building a new kernel with <span class="bbc">CONFIG_USB_XHCI_PCI_RENESAS=m</span> is required if one has the hardware (and not all users build their own kernels).</p><p>The simplest check for those considering installing a new kernel (whether or not they do build their own kernels) would be to compare the kernel <span class="bbc">.config</span> file for their currently running kernel and for the new kernel (which they may have built themselves or just installed a binary from an upstream repository) and check what was different that might be applicable to their hardware.</p><p>However, a pci-ids / usb-ids check from installed hardware and new kernel source would be more complete.</p><p>Hardware detection / identification in this case, ie <span class="bbc">lspci -v</span> <strong>did</strong> show the Renesas USB 3.0 controller and that kernel module <span class="bbc">xhci_pci</span> was used on this hardware, but <strong>not</strong> that kernel module <span class="bbc">xhci_pci_renesas</span> was needed, since that hadn&#039;t been built as <span class="bbc">CONFIG_USB_XHCI_PCI_RENESAS=m</span> needed to be explicitly enabled.</p><p>A new kernel release changelog that lists applicable pci-ids / usb-ids with changed support (new modules needed, removed, changes in configuration options needed to enable/disable hardware support) would also help.</p><p>When a new Debian kernel is released to Experimental, I will file a bug report if the <span class="bbc">xhci_pci_renesas</span> module is not included in the built kernel.</p><p>EDIT, according to the following Debian kernel merge request, <span class="bbc">CONFIG_USB_XHCI_PCI_RENESAS=m</span> should be enabled for the Debian GNU/Linux 6.12 kernels:<br /><a href="https://salsa.debian.org/kernel-team/linux/-/merge_requests/675#note_528686" rel="nofollow">https://salsa.debian.org/kernel-team/li … ote_528686</a></p>]]></description>
			<author><![CDATA[dummy@example.com (mirrortokyo)]]></author>
			<pubDate>Wed, 16 Oct 2024 12:59:52 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=52648#p52648</guid>
		</item>
		<item>
			<title><![CDATA[Re: 6.12 kernel and Renesas USB 3.0 USB host controllers]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=52647#p52647</link>
			<description><![CDATA[<p>Hello:</p><div class="quotebox"><cite>mirrortokyo wrote:</cite><blockquote><div><p>... wasted several hours bisecting the failure of the 6.12-rc? kernels ...</p></div></blockquote></div><p>I beg to differ.</p><p>I don&#039;t think you have <em>wasted</em> your time.<br />You have spent / invested it. ie: in doing part of the legwork needed to make progress in the testing of the upcoming 6.12 kernel release.<br />Not the same by any means.</p><p>Thank you for that. </p><div class="quotebox"><cite>mirrortokyo wrote:</cite><blockquote><div><p>... hardware affected was identified ...</p></div></blockquote></div><p>Yes.<br />My box running Devuan <span class="bbc">Daedalus</span> has a card with one of those&#160; ubiquitous controllers, works properly:</p><div class="codebox"><pre><code>~$ lspci
--- snip ---
04:00.0 USB controller: Renesas Technology Corp. uPD720201 USB 3.0 Host Controller (rev 03)
--- snip ---
~$ </code></pre></div><div class="codebox"><pre><code>~$ lspci -n
--- snip ---
04:00.0 0c03: 1912:0014 (rev 03)
--- snip ---
~$ </code></pre></div><div class="codebox"><pre><code>/boot$ cat config-6.1.0-26-amd64 | grep -i CONFIG_USB_XHCI_PCI_RENESAS
# CONFIG_USB_XHCI_PCI_RENESAS is not set
/boot$ </code></pre></div><p>Being 6.12 a release candidate (ie: in testing) this glitch will probably be ironed out by the time 6.12 is released, possibly by mid/end of <a href="https://9to5linux.com/linus-torvalds-announces-first-linux-kernel-6-12-release-candidate" rel="nofollow">november</a>.</p><p>You may want to consider filing a bug report upstream <a href="https://www.kernel.org/doc/html/v4.19/admin-guide/reporting-bugs.html" rel="nofollow">bug report</a> to make both your efforts count and the maintainers aware of the problem.</p><p>Best,</p><p>A.</p>]]></description>
			<author><![CDATA[dummy@example.com (Altoid)]]></author>
			<pubDate>Wed, 16 Oct 2024 11:12:09 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=52647#p52647</guid>
		</item>
		<item>
			<title><![CDATA[6.12 kernel and Renesas USB 3.0 USB host controllers]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=52645#p52645</link>
			<description><![CDATA[<p>I wasted several hours bisecting the failure of the 6.12-rc? kernels to recognise USB hard disks connected to a Renesas USB 3.0 host controller.</p><p>The hardware affected was identified as:</p><p>lspci output:</p><p><span class="bbc">02:00.0 USB controller: Renesas Electronics Corp. uPD720201 USB 3.0 Host Controller (rev 03)</span></p><p>lspci -n output:</p><p><span class="bbc">02:00.0 0c03: 1912:0014 (rev 03)</span></p><p>This hardware had been supported in the Linux kernel for some years with the <span class="bbc">xhci_pci</span> module enabled by <span class="bbc">CONFIG_USB_XHCI_PCI=m</span></p><p>Now with 6.12.0-rc? kernels it also requires the <span class="bbc">xhci_pci_renesas</span> module enabled by <span class="bbc">CONFIG_USB_XHCI_PCI_RENESAS=m</span>.</p><p>The problem is that <span class="bbc">CONFIG_USB_XHCI_PCI_RENESAS=m</span> is not enabled unless manually selected.</p><p>Hope that this saves someone some time.</p>]]></description>
			<author><![CDATA[dummy@example.com (mirrortokyo)]]></author>
			<pubDate>Tue, 15 Oct 2024 15:08:40 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=52645#p52645</guid>
		</item>
	</channel>
</rss>
