{"id":142544,"date":"2025-09-08T11:11:55","date_gmt":"2025-09-08T09:11:55","guid":{"rendered":"https:\/\/prohoster.info\/blog\/novosti-interneta\/pri-pomoshhi-ai-dlya-novyh-yader-linux-portirovan-drajver-ftape-udalyonnyj-20-let-nazad"},"modified":"2025-09-08T11:11:55","modified_gmt":"2025-09-08T09:11:55","slug":"pri-pomoshhi-ai-dlya-novyh-yader-linux-portirovan-drajver-ftape-udalyonnyj-20-let-nazad","status":"publish","type":"post","link":"https:\/\/prohoster.info\/en\/blog\/news\/pri-pomoshhi-ai-dlya-novyh-yader-linux-portirovan-drajver-ftape-udalyonnyj-20-let-nazad","title":{"rendered":"Using AI, the ftape driver, removed 20 years ago, has been ported to new Linux kernels","gt_translate_keys":[{"key":"rendered","format":"text"}]},"content":{"rendered":"<p>Dmitry Brant from the Wikimedia organization presented a port of the ftape driver for modern Linux kernels. The driver stopped being updated in 2000 and was removed from kernel 2.6.20 in 2006 due to issues on multicore systems. To resume the ability to compile and run the driver in distributions with modern Linux kernels, it required a complete redesign to accommodate the changes in the internal APIs and subsystems of the kernel that have occurred over the last 20 years.    <\/p>\n<p>The porting is noteworthy in that it was almost entirely carried out by the AI assistant Claude Code. As a result, a fully functional driver was created, capable of being compiled and operating on systems with kernels 6.8 and newer. The porting was done in three stages. In the first stage, the AI assistant was tasked with modifying the driver code, which could only be compiled with kernels 2.4, to build with the new kernel versions. The AI successfully replaced deprecated kernel function calls in the driver with current calls, corrected the use of data structures, and resolved all compilation errors.        <\/p>\n<p>In the second stage, the task was to transform the driver from a compile-in-kernel form to a version capable of working as a loadable kernel module. The AI assistant prepared the loadable module. In the third stage, by providing the AI assistant with dmesg output containing information about errors and issues encountered during operation, as well as reference debugging dmesg messages from the working old driver, the port was brought to a functional state, able to detect the tape drive and extract the contents of the cartridges.      <\/p>\n<p>A task that initially seemed difficult and would require several weeks of documentation study was completed in just two evenings. Creating the working module required three requests, several discussions, and a couple of manual code tweaks. Dmitry notes that one should not overestimate AI assistants, which are merely tools requiring thoughtful interaction. Dmitry knows the C language and has knowledge of kernel modules, but he believes it would be impossible to direct the AI assistant without an understanding of the internal workings of kernel modules.     <\/p>\n<p> When formulating a task, it is essential to understand the specifics and use professional terminology, clearly defining the framework of the implemented function and identifying the gaps in this framework that the AI should fill. It is also necessary to study the strengths and weaknesses of AI assistants, so as not to assign them tasks they cannot handle well. To achieve results, Dmitry recommends treating the AI assistant as an enhancer of one's own skills, and the communication with it as a collaboration with a subordinate engineer who will do everything as instructed, is eager to please, self-confident, but acknowledges mistakes. The responsibility for decision-making, rule-setting, and results remains with the human.      <\/p>\n<p>The ftape driver is designed to work with tape drives that use QIC cartridges, which utilize a proprietary encoding and compression format. Such devices were commonly used in the 1990s for backups. The tape drives supported by the driver did not require an expensive SCSI controller and connected to a typical floppy disk controller (for example, Colorado Jumbo 250 and Ditto Max devices) or to a parallel port (Trakker, Iomega Ditto).      <\/p>\n<p>Ftape was the only driver capable of extracting raw-mode cartridge dumps, which allowed for the initial loading of a complete dump, followed by the decoding of the format and extraction of files. At the same time, connecting the drive through the Floppy disk controller felt like a hack, as the driver had to 'trick' the controller designed to work only with Floppy disks to send commands and facilitate interaction with the tape drive.      <\/p>\n<p>Previously, to extract information from tape cartridges, Dmitry had to use a separate computer with CentOS 3.5 and kernel 2.4.21. After the driver was ported, it became possible to extract archives on PCs with modern Linux distributions, such as Ubuntu 24.04. Both 32-bit and 64-bit builds are supported, but a motherboard with a similar floppy disk controller is required for working with devices connected to the floppy disk controller.     <\/p>\n<p>The driver is mentioned as being applicable for recovering information from old tape cartridges and for use in projects aimed at recreating vintage computers. In the future, a toolkit will be developed based on the driver for low-level data extraction from failing tape drives, using raw dumps for data recovery, regardless of the state of partition tables or the presence of error correction failures.<br \/>\n<br \/>Source: <a content=\"nofollow\" rel=\"nofollow\" href=\"https:\/\/www.opennet.ru\/opennews\/art.shtml?num=63841\">opennet.ru<\/a> <\/p>","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"excerpt":{"rendered":"<p>\u0414\u043c\u0438\u0442\u0440\u0438\u0439 \u0411\u0440\u0430\u043d\u0442 (Dmitry Brant) \u0438\u0437 \u043e\u0440\u0433\u0430\u043d\u0438\u0437\u0430\u0446\u0438\u0438 Wikimedia \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u0438\u043b \u043f\u043e\u0440\u0442 \u0434\u0440\u0430\u0439\u0432\u0435\u0440\u0430 ftape \u0434\u043b\u044f \u0441\u043e\u0432\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0445 \u044f\u0434\u0435\u0440 Linux. \u0414\u0440\u0430\u0439\u0432\u0435\u0440 \u043f\u0435\u0440\u0435\u0441\u0442\u0430\u043b \u043e\u0431\u043d\u043e\u0432\u043b\u044f\u0442\u044c\u0441\u044f \u0432 2000 \u0433\u043e\u0434\u0443 \u0438 \u0431\u044b\u043b \u0438\u0441\u043a\u043b\u044e\u0447\u0451\u043d \u0438\u0437 \u044f\u0434\u0440\u0430 2.6.20 \u0432 2006 \u0433\u043e\u0434\u0443 \u0438\u0437-\u0437\u0430 \u043f\u0440\u043e\u0431\u043b\u0435\u043c \u043f\u0440\u0438 \u0440\u0430\u0431\u043e\u0442\u0435 \u043d\u0430 \u043c\u043d\u043e\u0433\u043e\u044f\u0434\u0435\u0440\u043d\u044b\u0445 \u0441\u0438\u0441\u0442\u0435\u043c\u0430\u0445. \u0414\u043b\u044f \u0432\u043e\u0437\u043e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u044f \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u0438 \u043a\u043e\u043c\u043f\u0438\u043b\u044f\u0446\u0438\u0438 \u0438 \u0440\u0430\u0431\u043e\u0442\u044b \u0434\u0440\u0430\u0439\u0432\u0435\u0440\u0430 \u0432 \u0434\u0438\u0441\u0442\u0440\u0438\u0431\u0443\u0442\u0438\u0432\u0430\u0445 \u0441 \u0441\u043e\u0432\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u043c\u0438 \u044f\u0434\u0440\u0430\u043c\u0438 Linux \u043f\u043e\u0442\u0440\u0435\u0431\u043e\u0432\u0430\u043b\u0430\u0441\u044c \u0435\u0433\u043e \u043f\u0435\u0440\u0435\u0440\u0430\u0431\u043e\u0442\u043a\u0430 \u0441 \u0443\u0447\u0451\u0442\u043e\u043c [&hellip;]<\/p>\n","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[702],"tags":[],"class_list":["post-142544","post","type-post","status-publish","format-standard","hentry","category-news"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 5.0.1.1 - aioseo.com -->\n\t<meta name=\"description\" content=\"\u0414\u043c\u0438\u0442\u0440\u0438\u0439 \u0411\u0440\u0430\u043d\u0442 (Dmitry Brant) \u0438\u0437 \u043e\u0440\u0433\u0430\u043d\u0438\u0437\u0430\u0446\u0438\u0438 Wikimedia \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u0438\u043b \u043f\u043e\u0440\u0442 \u0434\u0440\u0430\u0439\u0432\u0435\u0440\u0430 ftape \u0434\u043b\u044f \u0441\u043e\u0432\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0445 \u044f\u0434\u0435\u0440 Linux.\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Yuri Gagarin\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/prohoster.info\/en\/blog\/news\/pri-pomoshhi-ai-dlya-novyh-yader-linux-portirovan-drajver-ftape-udalyonnyj-20-let-nazad\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.1.1\" \/>\n\t\t<meta property=\"og:locale\" content=\"en_US\" \/>\n\t\t<meta property=\"og:site_name\" content=\"ProHoster | \u041a\u0443\u043f\u0438\u0442\u044c \u043d\u0430\u0434\u0435\u0436\u043d\u044b\u0439 \u0445\u043e\u0441\u0442\u0438\u043d\u0433 \u0434\u043b\u044f \u0441\u0430\u0439\u0442\u043e\u0432 \u0441 \u0437\u0430\u0449\u0438\u0442\u043e\u0439 \u043e\u0442 DDoS, VPS VDS \u0441\u0435\u0440\u0432\u0435\u0440\u044b\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"\ud83e\udd47\u041f\u0440\u0438 \u043f\u043e\u043c\u043e\u0449\u0438 AI \u0434\u043b\u044f \u043d\u043e\u0432\u044b\u0445 \u044f\u0434\u0435\u0440 Linux \u043f\u043e\u0440\u0442\u0438\u0440\u043e\u0432\u0430\u043d \u0434\u0440\u0430\u0439\u0432\u0435\u0440 ftape, \u0443\u0434\u0430\u043b\u0451\u043d\u043d\u044b\u0439 20 \u043b\u0435\u0442 \u043d\u0430\u0437\u0430\u0434 | ProHoster\" \/>\n\t\t<meta property=\"og:description\" content=\"\u0414\u043c\u0438\u0442\u0440\u0438\u0439 \u0411\u0440\u0430\u043d\u0442 (Dmitry Brant) \u0438\u0437 \u043e\u0440\u0433\u0430\u043d\u0438\u0437\u0430\u0446\u0438\u0438 Wikimedia \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u0438\u043b \u043f\u043e\u0440\u0442 \u0434\u0440\u0430\u0439\u0432\u0435\u0440\u0430 ftape \u0434\u043b\u044f \u0441\u043e\u0432\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0445 \u044f\u0434\u0435\u0440 Linux.\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/prohoster.info\/en\/blog\/news\/pri-pomoshhi-ai-dlya-novyh-yader-linux-portirovan-drajver-ftape-udalyonnyj-20-let-nazad\" \/>\n\t\t<meta property=\"og:image\" content=\"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg\" \/>\n\t\t<meta property=\"og:image:secure_url\" content=\"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg\" \/>\n\t\t<meta property=\"og:image:width\" content=\"350\" \/>\n\t\t<meta property=\"og:image:height\" content=\"350\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2025-09-08T09:11:55+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2025-09-08T09:11:55+00:00\" \/>\n\t\t<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/prohoster\" \/>\n\t\t<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/prohoster\" \/>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"\ud83e\udd47The ftape driver, removed 20 years ago, has been ported to new Linux kernels using AI | ProHoster","description":"Dmitry Brant from Wikimedia presented the ftape driver port for modern Linux kernels.","canonical_url":"https:\/\/prohoster.info\/en\/blog\/news\/pri-pomoshhi-ai-dlya-novyh-yader-linux-portirovan-drajver-ftape-udalyonnyj-20-let-nazad","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":null,"og:locale":"en_US","og:site_name":"ProHoster | \u041a\u0443\u043f\u0438\u0442\u044c \u043d\u0430\u0434\u0435\u0436\u043d\u044b\u0439 \u0445\u043e\u0441\u0442\u0438\u043d\u0433 \u0434\u043b\u044f \u0441\u0430\u0439\u0442\u043e\u0432 \u0441 \u0437\u0430\u0449\u0438\u0442\u043e\u0439 \u043e\u0442 DDoS, VPS VDS \u0441\u0435\u0440\u0432\u0435\u0440\u044b","og:type":"article","og:title":"\ud83e\udd47\u041f\u0440\u0438 \u043f\u043e\u043c\u043e\u0449\u0438 AI \u0434\u043b\u044f \u043d\u043e\u0432\u044b\u0445 \u044f\u0434\u0435\u0440 Linux \u043f\u043e\u0440\u0442\u0438\u0440\u043e\u0432\u0430\u043d \u0434\u0440\u0430\u0439\u0432\u0435\u0440 ftape, \u0443\u0434\u0430\u043b\u0451\u043d\u043d\u044b\u0439 20 \u043b\u0435\u0442 \u043d\u0430\u0437\u0430\u0434 | ProHoster","og:description":"\u0414\u043c\u0438\u0442\u0440\u0438\u0439 \u0411\u0440\u0430\u043d\u0442 (Dmitry Brant) \u0438\u0437 \u043e\u0440\u0433\u0430\u043d\u0438\u0437\u0430\u0446\u0438\u0438 Wikimedia \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u0438\u043b \u043f\u043e\u0440\u0442 \u0434\u0440\u0430\u0439\u0432\u0435\u0440\u0430 ftape \u0434\u043b\u044f \u0441\u043e\u0432\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0445 \u044f\u0434\u0435\u0440 Linux.","og:url":"https:\/\/prohoster.info\/en\/blog\/news\/pri-pomoshhi-ai-dlya-novyh-yader-linux-portirovan-drajver-ftape-udalyonnyj-20-let-nazad","og:image":"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg","og:image:secure_url":"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg","og:image:width":350,"og:image:height":350,"article:published_time":"2025-09-08T09:11:55+00:00","article:modified_time":"2025-09-08T09:11:55+00:00","article:publisher":"https:\/\/www.facebook.com\/prohoster","article:author":"https:\/\/www.facebook.com\/prohoster"},"aioseo_meta_data":{"post_id":"142544","title":null,"description":null,"keywords":null,"keyphrases":null,"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":null,"og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"","isEnabled":true},"graphs":[]},"schema_type":"default","schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"local_seo":null,"seo_analyzer_scan_date":"2026-01-23 14:40:19","breadcrumb_settings":null,"limit_modified_date":false,"reviewed_by":null,"ai":null,"created":"2026-01-23 14:40:19","updated":"2026-01-23 14:40:19","focus_keyword":null,"additional_keywords":null,"truseo_locale":null},"gt_translate_keys":[{"key":"link","format":"url"}],"_links":{"self":[{"href":"https:\/\/prohoster.info\/en\/wp-json\/wp\/v2\/posts\/142544","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/prohoster.info\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/prohoster.info\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/prohoster.info\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/prohoster.info\/en\/wp-json\/wp\/v2\/comments?post=142544"}],"version-history":[{"count":0,"href":"https:\/\/prohoster.info\/en\/wp-json\/wp\/v2\/posts\/142544\/revisions"}],"wp:attachment":[{"href":"https:\/\/prohoster.info\/en\/wp-json\/wp\/v2\/media?parent=142544"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/prohoster.info\/en\/wp-json\/wp\/v2\/categories?post=142544"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/prohoster.info\/en\/wp-json\/wp\/v2\/tags?post=142544"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}