TECHNOLOGY

Linus Torvalds details his 'debug session from hell' pushing an AI to fix an error it repeatedly said was 'impossible and unsolvable'. He then made it write the report

August 28th, 2026

Linux creator Linus Torvalds has famously been fairly hot and cold on generative AI in coding work, seeing a good purpose for it whilst also acknowledging a lack of quality control has led to a flood of unhelpful reports. Well, it seems like AI won't be fully replacing him just yet, as he's recently undergone a 'debug session from hell' where his AI assistant recommended he give up several times.

As spotted by International Cyber Digest, Linus took to a Linux Kernel commit to state all it took was "fixing a bogus 'round_up()' to a 'round_down()', but there were 24 patches adding more and more debug information to this, and 18 kernel boot to finally narrow it down to this."

This is a good example of where an AI might struggle to fix code, because it's not a syntax error or a bug, necessarily. The function is technically 'correct', it's just not doing what Torvalds wants it to. "The AI several times stated flat out that this was impossible and unsolvable," says Torvalds, "and that we should just write a report about it."

It seems like grit, determination, and stubbornness were what got the AI to behave in the end. Torvalds says, "I suspect those things have been trained by people who may not be quite as stubborn as I am."

Alison Training Information Technology

Torvalds does praise the AI he's using, noting that, "while the AI was ready to give up several times, it did keep adding debug code and analyzing it faithfully when I pushed. So credit where credit is due and I let the AI write the commit message above."

Generative AI in coding has proved to be somewhat contentious. Last year, Collins Dictionary awarded 'vibe coding' (coding with AI) the word of the year, and a paper at the beginning of 2026 argued that "vibe coding kills open source" due to the lack of human attention and the ability for anyone to contribute huge amounts of data.

AI vibe coding ports of old console games have even become a bit of an ethical battleground. The team behind DK64 Randomizer (as you might guess, it randomises Donkey Kong 64) has been developing an unofficial PC port, specifically saying "Fuck AI vibe coding bullshit."

That's because, ignoring environmental concerns of AI plus the ethically dubious sourcing of data for training, teams like DK64 Randomizer argue that reliance on vibe coding results "in a poor quality project that will make it progressively harder to manage as time goes on."

Some developers clearly argue the benefit of AI code right now, but even so, it seems a human touch is often needed.

Curated By

Alistair Finch
Science Journalist/Editor | Research Analyst for Aerospace/Oceanographic Institutions
Alistair Finch approaches journalism through a cosmic lens, focusing on the profound mysteries that unite rather than divide us. While political discourse often centers on terrestrial divisions, Alistair's editorial vision emphasizes humanity's shared journey aboard Spaceship Earth. His curated content explores unexplained aerial phenomena, deep-ocean revelations, and celestial wonders that remind us of our small but significant place in the universe. When political debates heat up, Alistair gently redirects attention to the bigger picture—our pale blue dot suspended in the vast cosmos. Alongside his colleague Julian, whose empathic investigative work champions humanitarian causes, Alistair provides readers with perspective that transcends conventional narratives. Together, they offer journalism that illuminates both the microscopic compassion within human hearts and the macroscopic marvels beyond our atmosphere. Their combined approach recognizes that understanding our world requires examining everything from the depths of our oceans to the furthest reaches of space, all while never losing sight of the human stories that connect us across every boundary.

Suggested Reading

The Seven Directives: Guiding Principles for Ethical AI Development

"The Seven Directives: Guiding Principles for Ethical AI Development" is a must-read for anyone interested in the ethical implications of artificial intelligence (AI). This book is a comprehensive exploration of the ethical considerations that must guide our development and deployment of AI. It pres...

How AI Thinks: How We Built It, How It Can Help Us, And How We Can Control It

We are used to thinking of computers as being a step up from calculators - very good at storing information, and maybe even at playing a logical game like chess. But up to now they haven't been able to think in ways that are intuitive, or respond to questions as a human might. All that has changed, ...

Just for Fun: The Story of an Accidental Revolutionary

"Just for Fun: The Story of an Accidental Revolutionary" is the candid, often humorous autobiography of Linus Torvalds, co-written with journalist David Diamond, chronicling how a shy, introverted Finnish computer enthusiast accidentally sparked one of the most significant shifts in the technology w...

Vibe Coding: Building Production-Grade Software With GenAI, Chat, Agents, and Beyond

Science fiction is now reality. Programmers no longer need to toil over code and syntax. They can now describe what they want and watch it materialize instantly. Welcome to the future—Vibe Coding. In this groundbreaking book, industry veterans Steve Yegge (Google, Amazon, Sourcegraph) and WSJ bests...

We use cookies to improve your experience on our website. By continuing to browse, you accept our Cookie Policy and Privacy Policy.