Bug 136666 - [handbook] Configure serial port for remote kernel debuging.
Summary: [handbook] Configure serial port for remote kernel debuging.
Status: Open
Alias: None
Product: Documentation
Classification: Unclassified
Component: Books & Articles (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-doc (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-07-11 18:50 UTC by Balazs
Modified: 2021-12-28 13:24 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Balazs 2009-07-11 18:50:00 UTC
Please extend Developer's Handbook '10.6 On-Line Kernel Debugging Using Remote GDB' section with a similar note:

It is maybe necessary to enable a serial port for remote kernel debugging. 
The "gdb: no debug ports present" dmesg message means there is no serial ports
configured for remote debugging. Edit '/boot/device.hints' and edit/insert:

hint.uart.0.flags="0x80" or 
hint.sio.0.flags="0x80"

For details please consult man uart(4) or man sio(4) depending on the serial 
driver is in use.

Thank you!
Comment 1 Eitan Adler freebsd_committer freebsd_triage 2017-12-31 08:01:38 UTC
For bugs matching the following criteria:

Status: In Progress Changed: (is less than) 2014-06-01

Reset to default assignee and clear in-progress tags.

Mail being skipped
Comment 2 Graham Perrin freebsd_committer freebsd_triage 2021-12-28 13:24:46 UTC
(In reply to Balazs from comment #0)

<https://docs.freebsd.org/en/books/developers-handbook/kerneldebug/#kerneldebug-online-gdb> is now section 10.4 …