chochis
Posts: 14
Joined: Mon Jul 16, 2012 8:29 pm

Torrent apps gives a kernel panic

Mon Jul 16, 2012 8:35 pm

Hi:
Just installed rtorrent and Transmission and both give me a kernel panic or similar:
It starts dumping data really fast to the screen and freezes with both rtorrent and Transmission.
For what I can see in the screen dump seems to be a bug with the ethernet driver.
Can't say no more.
Is there a way I can find the dump?

plugwash
Forum Moderator
Forum Moderator
Posts: 3439
Joined: Wed Dec 28, 2011 11:45 pm

Re: Torrent apps gives a kernel panic

Mon Jul 16, 2012 8:43 pm

We suspect it's a bug in the kernel, most likely the USB host driver (ethernet goes via usb)

Increasing vm.min_free_kbytes in /etc/sysctl.conf may help.

chochis
Posts: 14
Joined: Mon Jul 16, 2012 8:29 pm

Re: Torrent apps gives a kernel panic

Mon Jul 16, 2012 9:23 pm

Doubled the value, also crashed.
Instead 1 minute took like 5 or 10.

Thanks anyways :-D

mclassing
Posts: 1
Joined: Fri Feb 24, 2012 10:57 pm

Re: Torrent apps gives a kernel panic

Mon Jul 16, 2012 10:18 pm

For what it is worth, I've had this exact issue. I've even tried non-graphical text based torrent apps (don't remember the name) and crashed as well...

This was NOT on Hard Float Raspbian though...it was on the "official" Debian release.

blackarchon
Posts: 20
Joined: Sat Jun 23, 2012 5:39 pm

Re: Torrent apps gives a kernel panic

Tue Jul 17, 2012 7:03 am

Well then you might consider reporting a bug to Debian. :)

plugwash
Forum Moderator
Forum Moderator
Posts: 3439
Joined: Wed Dec 28, 2011 11:45 pm

Re: Torrent apps gives a kernel panic

Tue Jul 17, 2012 7:39 am

Please don't. I'm pretty damn sure this is a bug in the Pi kernel patches, NOT a distribution bug. Reporting bugs to the wrong place is bad for the reputation of our community within the wider linux community.

blackarchon
Posts: 20
Joined: Sat Jun 23, 2012 5:39 pm

Re: Torrent apps gives a kernel panic

Tue Jul 17, 2012 8:09 am

But he states
This was NOT on Hard Float Raspbian though...it was on the "official" Debian release.
so he seems to have tested using Wheezy armel (and not Raspbian).

kadamski
Posts: 187
Joined: Fri Jun 08, 2012 10:56 pm

Re: Torrent apps gives a kernel panic

Tue Jul 17, 2012 8:14 am

https://github.com/raspberrypi/linux/issues Will be a better place to report a bug to.

plugwash
Forum Moderator
Forum Moderator
Posts: 3439
Joined: Wed Dec 28, 2011 11:45 pm

Re: Torrent apps gives a kernel panic

Tue Jul 17, 2012 8:16 am

blackarchon wrote:But he states
This was NOT on Hard Float Raspbian though...it was on the "official" Debian release.
so he seems to have tested using Wheezy armel (and not Raspbian).
Whether he is using an armel userland or a raspbian userland is irrelevant, this is pretty clearly a bug in the Pi kernel drivers/patches. Debian DO NOT provide a kernel for the Pi. As such reporting it to debian will achieve nothing but to piss people off.

chochis
Posts: 14
Joined: Mon Jul 16, 2012 8:29 pm

Re: Torrent apps gives a kernel panic

Tue Jul 17, 2012 8:17 am

I'll get the new kernel from the official rpi image of raspbian and try it.

If its still failing, Where can I get the kernel dump?

blackarchon
Posts: 20
Joined: Sat Jun 23, 2012 5:39 pm

Re: Torrent apps gives a kernel panic

Tue Jul 17, 2012 8:25 am

plugwash wrote:
blackarchon wrote:But he states
This was NOT on Hard Float Raspbian though...it was on the "official" Debian release.
so he seems to have tested using Wheezy armel (and not Raspbian).
Whether he is using an armel userland or a raspbian userland is irrelevant, this is pretty clearly a bug in the Pi kernel drivers/patches. Debian DO NOT provide a kernel for the Pi. As such reporting it to debian will achieve nothing but to piss people off.
Ok, now I understand your point. You are right, sorry.


Dahc
Posts: 1
Joined: Mon Jul 16, 2012 9:44 pm

Re: Torrent apps gives a kernel panic

Wed Jul 18, 2012 2:24 am

I've been downloading torrents all day with no issues yet. I'm using transmission-daemon (from the repo) and running with the following tcp changes:

net.core.rmem_max = 4194304
net.core.wmem_max = 1048576

BenWiley4000
Posts: 100
Joined: Sun Jun 24, 2012 1:36 am

Re: Torrent apps gives a kernel panic

Wed Jul 18, 2012 3:29 am

I'm glad to know I was not the only person with this issue. Hopefully there will be a fix soon!

p.s. I know the debate has been quelled, but why would debian be providing a kernel that doesn't support torrenting? this is the kind of thing people notice really quickly..

User avatar
mpthompson
Posts: 620
Joined: Fri Feb 03, 2012 7:18 pm
Location: San Carlos, CA
Contact: Website

Re: Torrent apps gives a kernel panic

Wed Jul 18, 2012 4:00 am

To be fair to Debian, the kernel supplied by the Foundation with their images is not a Debian based kernel. It has a number of Broadcom generated extensions to support the Raspberry Pi hardware which I believe is branched off a generic 3.1 kernel. We hope to work with the Foundation on a 3.2 kernel specifically for Raspbian which will be much closer to a true Debian kernel.

chochis
Posts: 14
Joined: Mon Jul 16, 2012 8:29 pm

Re: Torrent apps gives a kernel panic

Wed Jul 18, 2012 7:35 am

Dahc will try the settings this afternoon and let others know.

chochis
Posts: 14
Joined: Mon Jul 16, 2012 8:29 pm

Re: Torrent apps gives a kernel panic

Thu Jul 19, 2012 6:53 am

The parameters didn't work.
It seems that crashes when the stream is pretty high, over 1 megabyte.

Aydan
Posts: 688
Joined: Fri Apr 13, 2012 11:48 am
Location: Germany, near Lake Constance

Re: Torrent apps gives a kernel panic

Thu Jul 19, 2012 1:51 pm

It seems I have the same problem.
Look here.

Regards
Aydan

eelkonio
Posts: 2
Joined: Thu Jul 26, 2012 7:56 am
Location: Breda, Netherlands

Re: Torrent apps gives a kernel panic

Thu Jul 26, 2012 8:36 am

I've got the same problem: when downloading through TorrentFlux, I get kernel panics.

It did however start when I started a relatively large torrent download (about 6G). The 700MB download before that gave no problems; but that was also not a very high-demand torrent, which may indicate that the amount of leaches was relatively low.

The kernel panic states that it's crashing in python's fuse(), but I think that might be coincidence. The fuse() routine does however show up at every panic so far.

Attached is a snapshot of the screen at one of the panics with horribly reduced quality to fit this forum's requirement of 64KiB. :)

Hope this gets sorted in the near future! Meanwhile I've made a mental note: stay away from (large) torrents.

Cheers,
Eelko
Attachments
2012-07-25 23.14.48-reducessize.jpg
2012-07-25 23.14.48-reducessize.jpg (58.47 KiB) Viewed 5287 times

dom
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 5314
Joined: Wed Aug 17, 2011 7:41 pm
Location: Cambridge

Re: Torrent apps gives a kernel panic

Thu Jul 26, 2012 11:52 am

@eelkonio
How old is your kernel? We've had symbols in backtrace for months, so I think yours is quite old. Several panic bugs have been fixed since then.
Can you try running rpi-update, or even better move to the newer Raspbian Wheezy image on the downloads page.

eelkonio
Posts: 2
Joined: Thu Jul 26, 2012 7:56 am
Location: Breda, Netherlands

Re: Torrent apps gives a kernel panic

Thu Jul 26, 2012 1:52 pm

Hi Dom,

I'm using the default Debian image that was provided on the website, which I downloaded about four or five weeks ago:
Linux version 3.1.9+ ([email protected]) (gcc version 4.5.1 (Broadcom-2708) ) #90 Wed Apr 18 18:23:05 BST 2012

Indeed it's a few months old. I'll search for a more recent one and let you know the results.

Cheers,
Eelko

Return to “Raspbian”