* [9fans] Why does 9legacy's 9k kernel ignore all uarti8250 devices?
@ 2025-07-20 17:49 Kyohei Kadota via 9fans
2025-07-20 18:26 ` [9fans] " i
0 siblings, 1 reply; 2+ messages in thread
From: Kyohei Kadota via 9fans @ 2025-07-20 17:49 UTC (permalink / raw)
To: Fans of the OS Plan 9 from Bell Labs
I have a question: why does 9legacy's 9k kernel ignore all uarti8250 devices?
In my understanding, originally, i8250pnp() removed unable uart
devices from the i8250uart array then returned the rest devices, but
now, its function always returns empty.
As a result, 9k kernel does not have anything in the '#t' driver, and
I can't input anything from QEMU's serial console.
That behavior was introduced by:
http://9legacy.org/9legacy/patch/9k-jmk-uarti8250-noexists.diff
--
kadota
------------------------------------------
9fans: 9fans
Permalink: https://9fans.topicbox.com/groups/9fans/T95b72661c697986e-M0444ff80cdfe937c6203393a
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription
^ permalink raw reply [flat|nested] 2+ messages in thread
* [9fans] Re: Why does 9legacy's 9k kernel ignore all uarti8250 devices?
2025-07-20 17:49 [9fans] Why does 9legacy's 9k kernel ignore all uarti8250 devices? Kyohei Kadota via 9fans
@ 2025-07-20 18:26 ` i
0 siblings, 0 replies; 2+ messages in thread
From: i @ 2025-07-20 18:26 UTC (permalink / raw)
To: 9fans
[-- Attachment #1: Type: text/plain, Size: 524 bytes --]
I added the patch. It's from http://www.collyer.net/who/geoff/9/9k-pf.tgz. For me it was the opposite, no serial device was detected. That patch fixed it. Are you testing with newest qemu version? Any options other than the defaults for qemu? I'll probably re-test at some point. Can't right now.
------------------------------------------
9fans: 9fans
Permalink: https://9fans.topicbox.com/groups/9fans/T95b72661c697986e-Mfeb08351df34ea4200c53834
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription
[-- Attachment #2: Type: text/html, Size: 1083 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2025-07-20 18:44 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-07-20 17:49 [9fans] Why does 9legacy's 9k kernel ignore all uarti8250 devices? Kyohei Kadota via 9fans
2025-07-20 18:26 ` [9fans] " i
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).