Units
Translation components API.
See the Weblate's Web API documentation for detailed description of the API.
GET /api/translations/documentation/booksdevelopers-handbookkerneldebug_index/fr/units/?format=api&page=3
{ "count": 208, "next": "https://translate-dev.freebsd.org/api/translations/documentation/booksdevelopers-handbookkerneldebug_index/fr/units/?format=api&page=4", "previous": "https://translate-dev.freebsd.org/api/translations/documentation/booksdevelopers-handbookkerneldebug_index/fr/units/?format=api&page=2", "results": [ { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksdevelopers-handbookkerneldebug_index/fr/?format=api", "source": [ " panic\n" ], "previous_source": "", "target": [ "" ], "id_hash": 2803869489937803147, "content_hash": 2803869489937803147, "location": "documentation/content/en/books/developers-handbook/kerneldebug/_index.adoc:521", "context": "", "note": "type: delimited block . 4", "flags": "no-wrap", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 101, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 1, "source_unit": "https://translate-dev.freebsd.org/api/units/1072104/?format=api", "priority": 100, "id": 1740111, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksdevelopers-handbookkerneldebug_index/fr/?checksum=a6e95872104c678b", "url": "https://translate-dev.freebsd.org/api/units/1740111/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2025-01-22T17:59:03.629861Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksdevelopers-handbookkerneldebug_index/fr/?format=api", "source": [ "This will cause your kernel to dump core and reboot, so you can later analyze the core on a higher level with man:kgdb[1]." ], "previous_source": "", "target": [ "" ], "id_hash": -1654698747974798305, "content_hash": -1654698747974798305, "location": "documentation/content/en/books/developers-handbook/kerneldebug/_index.adoc:524", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 102, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 23, "source_unit": "https://translate-dev.freebsd.org/api/units/1072106/?format=api", "priority": 100, "id": 1740112, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksdevelopers-handbookkerneldebug_index/fr/?checksum=6909544174adb41f", "url": "https://translate-dev.freebsd.org/api/units/1740112/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2025-01-22T17:59:03.630663Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksdevelopers-handbookkerneldebug_index/fr/?format=api", "source": [ " call boot(0)\n" ], "previous_source": "", "target": [ "" ], "id_hash": -4007639140884062784, "content_hash": -4007639140884062784, "location": "documentation/content/en/books/developers-handbook/kerneldebug/_index.adoc:528", "context": "", "note": "type: delimited block . 4", "flags": "no-wrap", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 103, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 2, "source_unit": "https://translate-dev.freebsd.org/api/units/1072108/?format=api", "priority": 100, "id": 1740113, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksdevelopers-handbookkerneldebug_index/fr/?checksum=4862016f4ba75dc0", "url": "https://translate-dev.freebsd.org/api/units/1740113/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2025-01-22T17:59:03.631448Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksdevelopers-handbookkerneldebug_index/fr/?format=api", "source": [ "Might be a good way to cleanly shut down the running system, `sync()` all disks, and finally, in some cases, reboot. As long as the disk and filesystem interfaces of the kernel are not damaged, this could be a good way for an almost clean shutdown." ], "previous_source": "", "target": [ "" ], "id_hash": -5984816259470374258, "content_hash": -5984816259470374258, "location": "documentation/content/en/books/developers-handbook/kerneldebug/_index.adoc:532", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 104, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 46, "source_unit": "https://translate-dev.freebsd.org/api/units/1193380/?format=api", "priority": 100, "id": 1740114, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksdevelopers-handbookkerneldebug_index/fr/?checksum=2cf1a95228494a8e", "url": "https://translate-dev.freebsd.org/api/units/1740114/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2025-01-22T17:59:03.632165Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksdevelopers-handbookkerneldebug_index/fr/?format=api", "source": [ " reset\n" ], "previous_source": "", "target": [ "" ], "id_hash": -1944641671625171309, "content_hash": -1944641671625171309, "location": "documentation/content/en/books/developers-handbook/kerneldebug/_index.adoc:536", "context": "", "note": "type: delimited block . 4", "flags": "no-wrap", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 105, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 1, "source_unit": "https://translate-dev.freebsd.org/api/units/1072112/?format=api", "priority": 100, "id": 1740115, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksdevelopers-handbookkerneldebug_index/fr/?checksum=65033eb3eb5c1e93", "url": "https://translate-dev.freebsd.org/api/units/1740115/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2025-01-22T17:59:03.632941Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksdevelopers-handbookkerneldebug_index/fr/?format=api", "source": [ "This is the final way out of disaster and almost the same as hitting the Big Red Button." ], "previous_source": "", "target": [ "" ], "id_hash": 1006556198172187426, "content_hash": 1006556198172187426, "location": "documentation/content/en/books/developers-handbook/kerneldebug/_index.adoc:539", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 106, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 18, "source_unit": "https://translate-dev.freebsd.org/api/units/1072114/?format=api", "priority": 100, "id": 1740116, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksdevelopers-handbookkerneldebug_index/fr/?checksum=8df801877e855b22", "url": "https://translate-dev.freebsd.org/api/units/1740116/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2025-01-22T17:59:03.633651Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksdevelopers-handbookkerneldebug_index/fr/?format=api", "source": [ "If you need a short command summary, simply type:" ], "previous_source": "", "target": [ "" ], "id_hash": 5924092086628229115, "content_hash": 5924092086628229115, "location": "documentation/content/en/books/developers-handbook/kerneldebug/_index.adoc:541", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 107, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 9, "source_unit": "https://translate-dev.freebsd.org/api/units/1072116/?format=api", "priority": 100, "id": 1740117, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksdevelopers-handbookkerneldebug_index/fr/?checksum=d2369a5d982d9ffb", "url": "https://translate-dev.freebsd.org/api/units/1740117/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2025-01-22T17:59:03.634373Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksdevelopers-handbookkerneldebug_index/fr/?format=api", "source": [ " help\n" ], "previous_source": "", "target": [ "" ], "id_hash": 8139362877915845335, "content_hash": 8139362877915845335, "location": "documentation/content/en/books/developers-handbook/kerneldebug/_index.adoc:545", "context": "", "note": "type: delimited block . 4", "flags": "no-wrap", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 108, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 1, "source_unit": "https://translate-dev.freebsd.org/api/units/1072118/?format=api", "priority": 100, "id": 1740118, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksdevelopers-handbookkerneldebug_index/fr/?checksum=f0f4d369cc2cd2d7", "url": "https://translate-dev.freebsd.org/api/units/1740118/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2025-01-22T17:59:03.635012Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksdevelopers-handbookkerneldebug_index/fr/?format=api", "source": [ "It is highly recommended to have a printed copy of the man:ddb[4] manual page ready for a debugging session. Remember that it is hard to read the on-line manual while single-stepping the kernel." ], "previous_source": "", "target": [ "" ], "id_hash": -233623505148067867, "content_hash": -233623505148067867, "location": "documentation/content/en/books/developers-handbook/kerneldebug/_index.adoc:549", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 109, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 33, "source_unit": "https://translate-dev.freebsd.org/api/units/1193382/?format=api", "priority": 100, "id": 1740119, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksdevelopers-handbookkerneldebug_index/fr/?checksum=7cc200a8ec77bfe5", "url": "https://translate-dev.freebsd.org/api/units/1740119/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2025-01-22T17:59:03.635736Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksdevelopers-handbookkerneldebug_index/fr/?format=api", "source": [ "On-Line Kernel Debugging Using Remote GDB" ], "previous_source": "", "target": [ "" ], "id_hash": -9167911044082387841, "content_hash": -9167911044082387841, "location": "documentation/content/en/books/developers-handbook/kerneldebug/_index.adoc:551", "context": "", "note": "type: Title ==", "flags": "no-wrap", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 110, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 6, "source_unit": "https://translate-dev.freebsd.org/api/units/1072122/?format=api", "priority": 100, "id": 1740120, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksdevelopers-handbookkerneldebug_index/fr/?checksum=00c5097aa516b47f", "url": "https://translate-dev.freebsd.org/api/units/1740120/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2025-01-22T17:59:03.636474Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksdevelopers-handbookkerneldebug_index/fr/?format=api", "source": [ "The FreeBSD kernel provides a second KDB backend for on-line debugging: man:gdb[4]. This feature has been supported since FreeBSD 2.2, and it is actually a very neat one." ], "previous_source": "", "target": [ "" ], "id_hash": -352032692029475477, "content_hash": -352032692029475477, "location": "documentation/content/en/books/developers-handbook/kerneldebug/_index.adoc:555", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 111, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 28, "source_unit": "https://translate-dev.freebsd.org/api/units/1253200/?format=api", "priority": 100, "id": 1740121, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksdevelopers-handbookkerneldebug_index/fr/?checksum=7b1d5421ba42356b", "url": "https://translate-dev.freebsd.org/api/units/1740121/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2025-01-22T17:59:03.637188Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksdevelopers-handbookkerneldebug_index/fr/?format=api", "source": [ "GDB has supported _remote debugging_ for a long time. This is done using a very simple protocol along a serial line. Unlike the other debugging methods described above, you will need two machines for doing this. One is the host providing the debugging environment, including all the sources, and a copy of the kernel binary with all the symbols in it. The other is the target machine that runs a copy of the very same kernel (optionally stripped of the debugging information)." ], "previous_source": "", "target": [ "" ], "id_hash": 7533493010922904100, "content_hash": 7533493010922904100, "location": "documentation/content/en/books/developers-handbook/kerneldebug/_index.adoc:561", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 112, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 82, "source_unit": "https://translate-dev.freebsd.org/api/units/1253202/?format=api", "priority": 100, "id": 1740122, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksdevelopers-handbookkerneldebug_index/fr/?checksum=e88c57fab1f29a24", "url": "https://translate-dev.freebsd.org/api/units/1740122/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2025-01-22T17:59:03.637931Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksdevelopers-handbookkerneldebug_index/fr/?format=api", "source": [ "In order to use remote GDB, ensure that the following options are present in your kernel configuration:" ], "previous_source": "", "target": [ "" ], "id_hash": 5398313879314040155, "content_hash": 5398313879314040155, "location": "documentation/content/en/books/developers-handbook/kerneldebug/_index.adoc:563", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 113, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 17, "source_unit": "https://translate-dev.freebsd.org/api/units/1253204/?format=api", "priority": 100, "id": 1740123, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksdevelopers-handbookkerneldebug_index/fr/?checksum=caeaa9df2a93055b", "url": "https://translate-dev.freebsd.org/api/units/1740123/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2025-01-22T17:59:03.638650Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksdevelopers-handbookkerneldebug_index/fr/?format=api", "source": [ "makeoptions DEBUG=-g\noptions KDB\noptions GDB\n" ], "previous_source": "", "target": [ "" ], "id_hash": 8322731124342098501, "content_hash": 8322731124342098501, "location": "documentation/content/en/books/developers-handbook/kerneldebug/_index.adoc:568", "context": "", "note": "type: delimited block . 4", "flags": "no-wrap", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 114, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 6, "source_unit": "https://translate-dev.freebsd.org/api/units/1253206/?format=api", "priority": 100, "id": 1740124, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksdevelopers-handbookkerneldebug_index/fr/?checksum=f38047dca37f8a45", "url": "https://translate-dev.freebsd.org/api/units/1740124/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2025-01-22T17:59:03.639407Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksdevelopers-handbookkerneldebug_index/fr/?format=api", "source": [ "Note that the `GDB` option is turned off by default in `GENERIC` kernels on -STABLE and -RELEASE branches, but enabled on -CURRENT." ], "previous_source": "", "target": [ "" ], "id_hash": -6930172421620075163, "content_hash": -6930172421620075163, "location": "documentation/content/en/books/developers-handbook/kerneldebug/_index.adoc:571", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 115, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 22, "source_unit": "https://translate-dev.freebsd.org/api/units/1253208/?format=api", "priority": 100, "id": 1740125, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksdevelopers-handbookkerneldebug_index/fr/?checksum=1fd314e671207565", "url": "https://translate-dev.freebsd.org/api/units/1740125/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2025-01-22T17:59:03.640117Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksdevelopers-handbookkerneldebug_index/fr/?format=api", "source": [ "Once built, copy the kernel to the target machine, and boot it. Connect the serial line of the target machine that has \"flags 080\" set on its uart device to any serial line of the debugging host. See man:uart[4] for information on how to set the flags on a uart device." ], "previous_source": "", "target": [ "" ], "id_hash": 1812070427944085181, "content_hash": 1812070427944085181, "location": "documentation/content/en/books/developers-handbook/kerneldebug/_index.adoc:575", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 116, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 51, "source_unit": "https://translate-dev.freebsd.org/api/units/1253210/?format=api", "priority": 100, "id": 1740126, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksdevelopers-handbookkerneldebug_index/fr/?checksum=9925c4741598e6bd", "url": "https://translate-dev.freebsd.org/api/units/1740126/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2025-01-22T17:59:03.640870Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksdevelopers-handbookkerneldebug_index/fr/?format=api", "source": [ "The target machine must be made to enter the GDB backend, either due to a panic or by taking a purposeful trap into the debugger. Before doing this, select the GDB debugger backend:" ], "previous_source": "", "target": [ "" ], "id_hash": -3467317070440185935, "content_hash": -3467317070440185935, "location": "documentation/content/en/books/developers-handbook/kerneldebug/_index.adoc:578", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 117, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 33, "source_unit": "https://translate-dev.freebsd.org/api/units/1253212/?format=api", "priority": 100, "id": 1740127, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksdevelopers-handbookkerneldebug_index/fr/?checksum=4fe19d7ebcc3bfb1", "url": "https://translate-dev.freebsd.org/api/units/1740127/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2025-01-22T17:59:03.641604Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksdevelopers-handbookkerneldebug_index/fr/?format=api", "source": [ "# sysctl debug.kdb.current=gdb\ndebug.kdb.current: ddb -> gdb\n" ], "previous_source": "", "target": [ "" ], "id_hash": -696288623343671618, "content_hash": -696288623343671618, "location": "documentation/content/en/books/developers-handbook/kerneldebug/_index.adoc:582", "context": "", "note": "type: delimited block . 4", "flags": "no-wrap", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 118, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 7, "source_unit": "https://translate-dev.freebsd.org/api/units/1253214/?format=api", "priority": 100, "id": 1740128, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksdevelopers-handbookkerneldebug_index/fr/?checksum=7656492fa87466be", "url": "https://translate-dev.freebsd.org/api/units/1740128/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2025-01-22T17:59:03.642279Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksdevelopers-handbookkerneldebug_index/fr/?format=api", "source": [ "The supported backends can be listed by the `debug.kdb.available` sysctl. If the kernel configuration includes `options DDB`, then man:ddb[4] will be selected by default. If `gdb` does not appear in the list of available backends, then the debug serial port may not have been configured correctly." ], "previous_source": "", "target": [ "" ], "id_hash": -7218124733934394552, "content_hash": -7218124733934394552, "location": "documentation/content/en/books/developers-handbook/kerneldebug/_index.adoc:589", "context": "", "note": "type: delimited block = 4", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 119, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 46, "source_unit": "https://translate-dev.freebsd.org/api/units/1253216/?format=api", "priority": 100, "id": 1740129, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksdevelopers-handbookkerneldebug_index/fr/?checksum=1bd411cc39612348", "url": "https://translate-dev.freebsd.org/api/units/1740129/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2025-01-22T17:59:03.642928Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksdevelopers-handbookkerneldebug_index/fr/?format=api", "source": [ "Then, force entry to the debugger:" ], "previous_source": "", "target": [ "" ], "id_hash": -4409532443334674692, "content_hash": -4409532443334674692, "location": "documentation/content/en/books/developers-handbook/kerneldebug/_index.adoc:592", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 120, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 6, "source_unit": "https://translate-dev.freebsd.org/api/units/1253218/?format=api", "priority": 100, "id": 1740130, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksdevelopers-handbookkerneldebug_index/fr/?checksum=42ce319b0179f6fc", "url": "https://translate-dev.freebsd.org/api/units/1740130/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2025-01-22T17:59:03.643579Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksdevelopers-handbookkerneldebug_index/fr/?format=api", "source": [ "# sysctl debug.kdb.enter=1\ndebug.kdb.enter: 0KDB: enter: sysctl debug.kdb.enter\n" ], "previous_source": "", "target": [ "" ], "id_hash": -1295558010695243948, "content_hash": -1295558010695243948, "location": "documentation/content/en/books/developers-handbook/kerneldebug/_index.adoc:596", "context": "", "note": "type: delimited block . 4", "flags": "no-wrap", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 121, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 8, "source_unit": "https://translate-dev.freebsd.org/api/units/1253220/?format=api", "priority": 100, "id": 1740131, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksdevelopers-handbookkerneldebug_index/fr/?checksum=6e0540da7a992754", "url": "https://translate-dev.freebsd.org/api/units/1740131/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2025-01-22T17:59:03.644197Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksdevelopers-handbookkerneldebug_index/fr/?format=api", "source": [ "The target machine now awaits connection from a remote GDB client. On the debugging machine, go to the compile directory of the target kernel, and start `gdb`:" ], "previous_source": "", "target": [ "" ], "id_hash": -4820396904489052933, "content_hash": -4820396904489052933, "location": "documentation/content/en/books/developers-handbook/kerneldebug/_index.adoc:600", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 122, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 27, "source_unit": "https://translate-dev.freebsd.org/api/units/1253222/?format=api", "priority": 100, "id": 1740132, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksdevelopers-handbookkerneldebug_index/fr/?checksum=3d1a828e0f8994fb", "url": "https://translate-dev.freebsd.org/api/units/1740132/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2025-01-22T17:59:03.644798Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksdevelopers-handbookkerneldebug_index/fr/?format=api", "source": [ "# cd /usr/obj/usr/src/amd64.amd64/sys/GENERIC/\n# kgdb kernel\nGNU gdb (GDB) 10.2 [GDB v10.2 for FreeBSD]\nCopyright (C) 2021 Free Software Foundation, Inc.\n...\nReading symbols from kernel...\nReading symbols from /usr/obj/usr/src/amd64.amd64/sys/GENERIC/kernel.debug...\n(kgdb)\n" ], "previous_source": "", "target": [ "" ], "id_hash": -2767260815250311503, "content_hash": -2767260815250311503, "location": "documentation/content/en/books/developers-handbook/kerneldebug/_index.adoc:611", "context": "", "note": "type: delimited block . 4", "flags": "no-wrap", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 123, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 31, "source_unit": "https://translate-dev.freebsd.org/api/units/1253224/?format=api", "priority": 100, "id": 1740133, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksdevelopers-handbookkerneldebug_index/fr/?checksum=5998b6f33a25b6b1", "url": "https://translate-dev.freebsd.org/api/units/1740133/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2025-01-22T17:59:03.645457Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksdevelopers-handbookkerneldebug_index/fr/?format=api", "source": [ "Initialize the remote debugging session (assuming the first serial port is being used) by:" ], "previous_source": "", "target": [ "" ], "id_hash": -1295082993008790408, "content_hash": -1295082993008790408, "location": "documentation/content/en/books/developers-handbook/kerneldebug/_index.adoc:614", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 124, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 14, "source_unit": "https://translate-dev.freebsd.org/api/units/1072132/?format=api", "priority": 100, "id": 1740134, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksdevelopers-handbookkerneldebug_index/fr/?checksum=6e06f0e1270fb478", "url": "https://translate-dev.freebsd.org/api/units/1740134/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2025-01-22T17:59:03.646123Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksdevelopers-handbookkerneldebug_index/fr/?format=api", "source": [ "(kgdb) target remote /dev/cuau0\n" ], "previous_source": "", "target": [ "" ], "id_hash": 4742226336166887117, "content_hash": 4742226336166887117, "location": "documentation/content/en/books/developers-handbook/kerneldebug/_index.adoc:618", "context": "", "note": "type: delimited block . 4", "flags": "no-wrap", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 125, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 4, "source_unit": "https://translate-dev.freebsd.org/api/units/1072134/?format=api", "priority": 100, "id": 1740135, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksdevelopers-handbookkerneldebug_index/fr/?checksum=c1cfc5ba33babecd", "url": "https://translate-dev.freebsd.org/api/units/1740135/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2025-01-22T17:59:03.646770Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksdevelopers-handbookkerneldebug_index/fr/?format=api", "source": [ "Your hosting GDB will now gain control over the target kernel:" ], "previous_source": "", "target": [ "" ], "id_hash": -6268951514492079630, "content_hash": -6268951514492079630, "location": "documentation/content/en/books/developers-handbook/kerneldebug/_index.adoc:621", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 126, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 11, "source_unit": "https://translate-dev.freebsd.org/api/units/1253226/?format=api", "priority": 100, "id": 1740136, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksdevelopers-handbookkerneldebug_index/fr/?checksum=290035cfd88d71f2", "url": "https://translate-dev.freebsd.org/api/units/1740136/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2025-01-22T17:59:03.647371Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksdevelopers-handbookkerneldebug_index/fr/?format=api", "source": [ "Remote debugging using /dev/cuau0\nkdb_enter (why=<optimized out>, msg=<optimized out>) at /usr/src/sys/kern/subr_kdb.c:506\n506 kdb_why = KDB_WHY_UNSET;\n(kgdb)\n" ], "previous_source": "", "target": [ "" ], "id_hash": 6804866642611412000, "content_hash": 6804866642611412000, "location": "documentation/content/en/books/developers-handbook/kerneldebug/_index.adoc:628", "context": "", "note": "type: delimited block . 4", "flags": "no-wrap", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 127, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 16, "source_unit": "https://translate-dev.freebsd.org/api/units/1253228/?format=api", "priority": 100, "id": 1740137, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksdevelopers-handbookkerneldebug_index/fr/?checksum=de6fbe2860c21c20", "url": "https://translate-dev.freebsd.org/api/units/1740137/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2025-01-22T17:59:03.648016Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksdevelopers-handbookkerneldebug_index/fr/?format=api", "source": [ "Depending on the compiler used, some local variables may appear as `<optimized out>`, preventing them from being inspected directly by `gdb`. If this causes problems while debugging, it is possible to build the kernel at a decreased optimization level, which may improve the visibility of some variables. This can be done by passing `COPTFLAGS=-O1` to man:make[1]. However, certain classes of kernel bugs may manifest differently (or not at all) when the optimization level is changed." ], "previous_source": "", "target": [ "" ], "id_hash": -9005003129252145848, "content_hash": -9005003129252145848, "location": "documentation/content/en/books/developers-handbook/kerneldebug/_index.adoc:636", "context": "", "note": "type: delimited block = 4", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 128, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 75, "source_unit": "https://translate-dev.freebsd.org/api/units/1253230/?format=api", "priority": 100, "id": 1740138, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksdevelopers-handbookkerneldebug_index/fr/?checksum=0307cd5d4fa51548", "url": "https://translate-dev.freebsd.org/api/units/1740138/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2025-01-22T17:59:03.648652Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksdevelopers-handbookkerneldebug_index/fr/?format=api", "source": [ "You can use this session almost as any other GDB session, including full access to the source, running it in gud-mode inside an Emacs window (which gives you an automatic source code display in another Emacs window), etc." ], "previous_source": "", "target": [ "" ], "id_hash": -6168787770030191155, "content_hash": -6168787770030191155, "location": "documentation/content/en/books/developers-handbook/kerneldebug/_index.adoc:640", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 129, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 38, "source_unit": "https://translate-dev.freebsd.org/api/units/1072148/?format=api", "priority": 100, "id": 1740139, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksdevelopers-handbookkerneldebug_index/fr/?checksum=2a641034f0938dcd", "url": "https://translate-dev.freebsd.org/api/units/1740139/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2025-01-22T17:59:03.649326Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksdevelopers-handbookkerneldebug_index/fr/?format=api", "source": [ "Debugging a Console Driver" ], "previous_source": "", "target": [ "" ], "id_hash": 2860065002994796865, "content_hash": 2860065002994796865, "location": "documentation/content/en/books/developers-handbook/kerneldebug/_index.adoc:642", "context": "", "note": "type: Title ==", "flags": "no-wrap", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 130, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 4, "source_unit": "https://translate-dev.freebsd.org/api/units/1072150/?format=api", "priority": 100, "id": 1740140, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksdevelopers-handbookkerneldebug_index/fr/?checksum=a7b0fdf78a080941", "url": "https://translate-dev.freebsd.org/api/units/1740140/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2025-01-22T17:59:03.649974Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksdevelopers-handbookkerneldebug_index/fr/?format=api", "source": [ "Since you need a console driver to run DDB on, things are more complicated if the console driver itself is failing. You might remember the use of a serial console (either with modified boot blocks, or by specifying `-h` at the `Boot:` prompt), and hook up a standard terminal onto your first serial port. DDB works on any configured console driver, including a serial console." ], "previous_source": "", "target": [ "" ], "id_hash": 8627124673991061421, "content_hash": 8627124673991061421, "location": "documentation/content/en/books/developers-handbook/kerneldebug/_index.adoc:648", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 131, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 65, "source_unit": "https://translate-dev.freebsd.org/api/units/1193390/?format=api", "priority": 100, "id": 1740141, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksdevelopers-handbookkerneldebug_index/fr/?checksum=f7b9b42eba3eafad", "url": "https://translate-dev.freebsd.org/api/units/1740141/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2025-01-22T17:59:03.650598Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksdevelopers-handbookkerneldebug_index/fr/?format=api", "source": [ "Debugging Deadlocks" ], "previous_source": "", "target": [ "" ], "id_hash": 2097252920944746805, "content_hash": 2097252920944746805, "location": "documentation/content/en/books/developers-handbook/kerneldebug/_index.adoc:650", "context": "", "note": "type: Title ==", "flags": "no-wrap", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 132, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 2, "source_unit": "https://translate-dev.freebsd.org/api/units/1072154/?format=api", "priority": 100, "id": 1740142, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksdevelopers-handbookkerneldebug_index/fr/?checksum=9d1af06b7d0fe135", "url": "https://translate-dev.freebsd.org/api/units/1740142/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2025-01-22T17:59:03.651261Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksdevelopers-handbookkerneldebug_index/fr/?format=api", "source": [ "You may experience so called deadlocks, a situation where a system stops doing useful work. To provide a helpful bug report in this situation, use man:ddb[4] as described in the previous section. Include the output of `ps` and `trace` for suspected processes in the report." ], "previous_source": "", "target": [ "" ], "id_hash": 4635025437151360121, "content_hash": 4635025437151360121, "location": "documentation/content/en/books/developers-handbook/kerneldebug/_index.adoc:655", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 133, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 45, "source_unit": "https://translate-dev.freebsd.org/api/units/1193392/?format=api", "priority": 100, "id": 1740143, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksdevelopers-handbookkerneldebug_index/fr/?checksum=c052eb13e24e7479", "url": "https://translate-dev.freebsd.org/api/units/1740143/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2025-01-22T17:59:03.651923Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksdevelopers-handbookkerneldebug_index/fr/?format=api", "source": [ "If possible, consider doing further investigation. The recipe below is especially useful if you suspect that a deadlock occurs in the VFS layer. Add these options to the kernel configuration file." ], "previous_source": "", "target": [ "" ], "id_hash": -2388268878746146349, "content_hash": -2388268878746146349, "location": "documentation/content/en/books/developers-handbook/kerneldebug/_index.adoc:659", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 134, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 31, "source_unit": "https://translate-dev.freebsd.org/api/units/1193394/?format=api", "priority": 100, "id": 1740144, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksdevelopers-handbookkerneldebug_index/fr/?checksum=5edb2a1bbe3729d3", "url": "https://translate-dev.freebsd.org/api/units/1740144/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2025-01-22T17:59:03.652600Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksdevelopers-handbookkerneldebug_index/fr/?format=api", "source": [ "makeoptions \tDEBUG=-g\noptions \tINVARIANTS\noptions \tINVARIANT_SUPPORT\noptions \tWITNESS\noptions \tWITNESS_SKIPSPIN\noptions \tDEBUG_LOCKS\noptions \tDEBUG_VFS_LOCKS\noptions \tDIAGNOSTIC\n" ], "previous_source": "", "target": [ "" ], "id_hash": 7497464575482713649, "content_hash": 7497464575482713649, "location": "documentation/content/en/books/developers-handbook/kerneldebug/_index.adoc:670", "context": "", "note": "type: delimited block . 4", "flags": "no-wrap", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 135, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 16, "source_unit": "https://translate-dev.freebsd.org/api/units/1072160/?format=api", "priority": 100, "id": 1740145, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksdevelopers-handbookkerneldebug_index/fr/?checksum=e80c584ee1b8d631", "url": "https://translate-dev.freebsd.org/api/units/1740145/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2025-01-22T17:59:03.653293Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksdevelopers-handbookkerneldebug_index/fr/?format=api", "source": [ "When a deadlock occurs, in addition to the output of the `ps` command, provide information from the `show pcpu`, `show allpcpu`, `show locks`, `show alllocks`, `show lockedvnods` and `alltrace`." ], "previous_source": "", "target": [ "" ], "id_hash": -3039835492729931625, "content_hash": -3039835492729931625, "location": "documentation/content/en/books/developers-handbook/kerneldebug/_index.adoc:673", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 136, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 29, "source_unit": "https://translate-dev.freebsd.org/api/units/1072162/?format=api", "priority": 100, "id": 1740146, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksdevelopers-handbookkerneldebug_index/fr/?checksum=55d055b9a0353897", "url": "https://translate-dev.freebsd.org/api/units/1740146/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2025-01-22T17:59:03.653914Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksdevelopers-handbookkerneldebug_index/fr/?format=api", "source": [ "To obtain meaningful backtraces for threaded processes, use `thread thread-id` to switch to the thread stack, and do a backtrace with `where`." ], "previous_source": "", "target": [ "" ], "id_hash": -6678747301909682186, "content_hash": -6678747301909682186, "location": "documentation/content/en/books/developers-handbook/kerneldebug/_index.adoc:675", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 137, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 22, "source_unit": "https://translate-dev.freebsd.org/api/units/1072164/?format=api", "priority": 100, "id": 1740147, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksdevelopers-handbookkerneldebug_index/fr/?checksum=235052b6e51327f6", "url": "https://translate-dev.freebsd.org/api/units/1740147/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2025-01-22T17:59:03.654542Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksdevelopers-handbookkerneldebug_index/fr/?format=api", "source": [ "Kernel debugging with Dcons" ], "previous_source": "", "target": [ "" ], "id_hash": -8021026871178478871, "content_hash": -8021026871178478871, "location": "documentation/content/en/books/developers-handbook/kerneldebug/_index.adoc:677", "context": "", "note": "type: Title ==", "flags": "no-wrap", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 138, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 4, "source_unit": "https://translate-dev.freebsd.org/api/units/1072166/?format=api", "priority": 100, "id": 1740148, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksdevelopers-handbookkerneldebug_index/fr/?checksum=10af968ed18b3ae9", "url": "https://translate-dev.freebsd.org/api/units/1740148/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2025-01-22T17:59:03.655155Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksdevelopers-handbookkerneldebug_index/fr/?format=api", "source": [ "man:dcons[4] is a very simple console driver that is not directly connected with any physical devices. It just reads and writes characters from and to a buffer in a kernel or loader. Due to its simple nature, it is very useful for kernel debugging, especially with a FireWire(R) device. Currently, FreeBSD provides two ways to interact with the buffer from outside of the kernel using man:dconschat[8]." ], "previous_source": "", "target": [ "" ], "id_hash": -198851919097673976, "content_hash": -198851919097673976, "location": "documentation/content/en/books/developers-handbook/kerneldebug/_index.adoc:683", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 139, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 66, "source_unit": "https://translate-dev.freebsd.org/api/units/1193396/?format=api", "priority": 100, "id": 1740149, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksdevelopers-handbookkerneldebug_index/fr/?checksum=7d3d893baf474708", "url": "https://translate-dev.freebsd.org/api/units/1740149/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2025-01-22T17:59:03.655782Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksdevelopers-handbookkerneldebug_index/fr/?format=api", "source": [ "Dcons over FireWire(R)" ], "previous_source": "", "target": [ "" ], "id_hash": -6104043363039745232, "content_hash": -6104043363039745232, "location": "documentation/content/en/books/developers-handbook/kerneldebug/_index.adoc:684", "context": "", "note": "type: Title ===", "flags": "no-wrap", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 140, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 3, "source_unit": "https://translate-dev.freebsd.org/api/units/1072170/?format=api", "priority": 100, "id": 1740150, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksdevelopers-handbookkerneldebug_index/fr/?checksum=2b4a14e6e46f6b30", "url": "https://translate-dev.freebsd.org/api/units/1740150/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2025-01-22T17:59:03.656437Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksdevelopers-handbookkerneldebug_index/fr/?format=api", "source": [ "Most FireWire(R) (IEEE1394) host controllers are based on the OHCI specification that supports physical access to the host memory. This means that once the host controller is initialized, we can access the host memory without the help of software (kernel). We can exploit this facility for interaction with man:dcons[4]. man:dcons[4] provides similar functionality as a serial console. It emulates two serial ports, one for the console and DDB, the other for GDB. Since remote memory access is fully handled by the hardware, the man:dcons[4] buffer is accessible even when the system crashes." ], "previous_source": "", "target": [ "" ], "id_hash": 3809018050849014267, "content_hash": 3809018050849014267, "location": "documentation/content/en/books/developers-handbook/kerneldebug/_index.adoc:692", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 141, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 92, "source_unit": "https://translate-dev.freebsd.org/api/units/1193398/?format=api", "priority": 100, "id": 1740151, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksdevelopers-handbookkerneldebug_index/fr/?checksum=b4dc59bc77e801fb", "url": "https://translate-dev.freebsd.org/api/units/1740151/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2025-01-22T17:59:03.657040Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksdevelopers-handbookkerneldebug_index/fr/?format=api", "source": [ "FireWire(R) devices are not limited to those integrated into motherboards. PCI cards exist for desktops, and a cardbus interface can be purchased for laptops." ], "previous_source": "", "target": [ "" ], "id_hash": 3650064407362868425, "content_hash": 3650064407362868425, "location": "documentation/content/en/books/developers-handbook/kerneldebug/_index.adoc:695", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 142, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 24, "source_unit": "https://translate-dev.freebsd.org/api/units/1193400/?format=api", "priority": 100, "id": 1740152, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksdevelopers-handbookkerneldebug_index/fr/?checksum=b2a7a23d582914c9", "url": "https://translate-dev.freebsd.org/api/units/1740152/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2025-01-22T17:59:03.657731Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksdevelopers-handbookkerneldebug_index/fr/?format=api", "source": [ "Enabling FireWire(R) and Dcons support on the target machine" ], "previous_source": "", "target": [ "" ], "id_hash": 1114850457617457629, "content_hash": 1114850457617457629, "location": "documentation/content/en/books/developers-handbook/kerneldebug/_index.adoc:696", "context": "", "note": "type: Title ====", "flags": "no-wrap", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 143, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 9, "source_unit": "https://translate-dev.freebsd.org/api/units/1072176/?format=api", "priority": 100, "id": 1740153, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksdevelopers-handbookkerneldebug_index/fr/?checksum=8f78be959ff861dd", "url": "https://translate-dev.freebsd.org/api/units/1740153/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2025-01-22T17:59:03.658376Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksdevelopers-handbookkerneldebug_index/fr/?format=api", "source": [ "To enable FireWire(R) and Dcons support in the kernel of the _target machine_:" ], "previous_source": "", "target": [ "" ], "id_hash": 2796590560546049749, "content_hash": 2796590560546049749, "location": "documentation/content/en/books/developers-handbook/kerneldebug/_index.adoc:699", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 144, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 13, "source_unit": "https://translate-dev.freebsd.org/api/units/1072178/?format=api", "priority": 100, "id": 1740154, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksdevelopers-handbookkerneldebug_index/fr/?checksum=a6cf7c4c3f8eced5", "url": "https://translate-dev.freebsd.org/api/units/1740154/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2025-01-22T17:59:03.658979Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksdevelopers-handbookkerneldebug_index/fr/?format=api", "source": [ "Make sure your kernel supports `dcons`, `dcons_crom` and `firewire`. `Dcons` should be statically linked with the kernel. For `dcons_crom` and `firewire`, modules should be OK." ], "previous_source": "", "target": [ "" ], "id_hash": 3005414486345424520, "content_hash": 3005414486345424520, "location": "documentation/content/en/books/developers-handbook/kerneldebug/_index.adoc:701", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 145, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 25, "source_unit": "https://translate-dev.freebsd.org/api/units/1072180/?format=api", "priority": 100, "id": 1740155, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksdevelopers-handbookkerneldebug_index/fr/?checksum=a9b5608d4d6e9e88", "url": "https://translate-dev.freebsd.org/api/units/1740155/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2025-01-22T17:59:03.659584Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksdevelopers-handbookkerneldebug_index/fr/?format=api", "source": [ "Make sure physical DMA is enabled. You may need to add `hw.firewire.phydma_enable=1` to [.filename]#/boot/loader.conf#." ], "previous_source": "", "target": [ "" ], "id_hash": -2817640662278197820, "content_hash": -2817640662278197820, "location": "documentation/content/en/books/developers-handbook/kerneldebug/_index.adoc:702", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 146, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 14, "source_unit": "https://translate-dev.freebsd.org/api/units/1072182/?format=api", "priority": 100, "id": 1740156, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksdevelopers-handbookkerneldebug_index/fr/?checksum=58e5babf04362dc4", "url": "https://translate-dev.freebsd.org/api/units/1740156/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2025-01-22T17:59:03.660212Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksdevelopers-handbookkerneldebug_index/fr/?format=api", "source": [ "Add options for debugging." ], "previous_source": "", "target": [ "" ], "id_hash": -2425110275542579937, "content_hash": -2425110275542579937, "location": "documentation/content/en/books/developers-handbook/kerneldebug/_index.adoc:703", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 147, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 4, "source_unit": "https://translate-dev.freebsd.org/api/units/1072184/?format=api", "priority": 100, "id": 1740157, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksdevelopers-handbookkerneldebug_index/fr/?checksum=5e58470d9d22851f", "url": "https://translate-dev.freebsd.org/api/units/1740157/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2025-01-22T17:59:03.660825Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksdevelopers-handbookkerneldebug_index/fr/?format=api", "source": [ "Add `dcons_gdb=1` in [.filename]#/boot/loader.conf# if you use GDB over FireWire(R)." ], "previous_source": "", "target": [ "" ], "id_hash": 5668580999687692192, "content_hash": 5668580999687692192, "location": "documentation/content/en/books/developers-handbook/kerneldebug/_index.adoc:704", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 148, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 10, "source_unit": "https://translate-dev.freebsd.org/api/units/1072186/?format=api", "priority": 100, "id": 1740158, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksdevelopers-handbookkerneldebug_index/fr/?checksum=ceaad862c2e9dfa0", "url": "https://translate-dev.freebsd.org/api/units/1740158/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2025-01-22T17:59:03.661418Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksdevelopers-handbookkerneldebug_index/fr/?format=api", "source": [ "Enable `dcons` in [.filename]#/etc/ttys#." ], "previous_source": "", "target": [ "" ], "id_hash": -9152337080057231012, "content_hash": -9152337080057231012, "location": "documentation/content/en/books/developers-handbook/kerneldebug/_index.adoc:705", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 149, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 4, "source_unit": "https://translate-dev.freebsd.org/api/units/1072188/?format=api", "priority": 100, "id": 1740159, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksdevelopers-handbookkerneldebug_index/fr/?checksum=00fc5deab68d895c", "url": "https://translate-dev.freebsd.org/api/units/1740159/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2025-01-22T17:59:03.662016Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksdevelopers-handbookkerneldebug_index/fr/?format=api", "source": [ "Optionally, to force `dcons` to be the high-level console, add `hw.firewire.dcons_crom.force_console=1` to [.filename]#loader.conf#." ], "previous_source": "", "target": [ "" ], "id_hash": -8789285806397853196, "content_hash": -8789285806397853196, "location": "documentation/content/en/books/developers-handbook/kerneldebug/_index.adoc:706", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 150, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 13, "source_unit": "https://translate-dev.freebsd.org/api/units/1072190/?format=api", "priority": 100, "id": 1740160, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksdevelopers-handbookkerneldebug_index/fr/?checksum=06062f207045f1f4", "url": "https://translate-dev.freebsd.org/api/units/1740160/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2025-01-22T17:59:03.662676Z" } ] }