Partition / filled by log files thanks to the Intel wifi card

13 replies [Last post]
Davide Valenti

I am a member!

Offline
Joined: 09/19/2010

Do you remember the problem given to me by the Intel wifi card? Who causes my system to slow down? Well that problem was solved but I've noticed that the / partition has been filled by the logs of "Couldn't find free firmware"!!!!!!

The file kern.log and syslog.1 togheter occupy 66 GB!!! That's absurd for logs files!!!!
What should I do? May I delete those files without have problems in the management of the system?

jxself
Offline
Joined: 09/13/2010

Sure, delete logs but that won't stop them from coming back.

Blacklist the kernel module?

Even better: Remove the Intel WiFi card?

Magic Banana

I am a member!

Offline
Joined: 07/24/2010

If you only want to remove that specific message (not the rest of the log):
$ sudo sed -i '/Couldn\'t find free firmware/d' /var/log/*

This command deletes every lines, in the logs, that contains the string "Couldn't find free firmware".

MeNoMore
Offline
Joined: 10/05/2015

for that session only or, every time the system sees the line?

lembas
Offline
Joined: 05/13/2010

Once.

lembas
Offline
Joined: 05/13/2010

Once.

MeNoMore
Offline
Joined: 10/05/2015

for that session only or, every time the system sees the line?

Davide Valenti

I am a member!

Offline
Joined: 09/19/2010

I've have already solved the problem of the Intel wifi card upgrading the kernel and that stopped the infinite loop that was slowing down my system, however after 1 week I've found what that problem left me in the /var/log directory.

So the logs won't come back :), I've only to remove them :)

Davide Valenti

I am a member!

Offline
Joined: 09/19/2010

Ok I've chosen the most radical way, I've deleted the logs files :D and now the partition is no more filled :)

davide@valentisrl.eu
Offline
Joined: 02/07/2016

Do you remember the problem given to me by the Intel wifi card? Who causes my
system to slow down? Well that problem was solved but I've noticed that the /
partition has been filled by the logs of "Couldn't find free firmware"!!!!!!

The file kern.log and syslog.1 togheter occupy 66 GB!!! That's absurd for
logs files!!!!
What should I do? May I delete those files without have problems in the
management of the system?

jxself
Offline
Joined: 09/13/2010

Sure, delete logs but that won't stop them from coming back.

Blacklist the kernel module?

Even better: Remove the Intel WiFi card?

Magic Banana

I am a member!

Offline
Joined: 07/24/2010

If you only want to remove that specific message (not the rest of the log):
$ sudo sed -i '/Couldn't find free firmware/d' /var/log/*

This command deletes every lines, in the logs, that contains the string
"Couldn't find free firmware".

davide@valentisrl.eu
Offline
Joined: 02/07/2016

I've have already solved the problem of the Intel wifi card upgrading the
kernel and that stopped the infinite loop that was slowing down my system,
however after 1 week I've found what that problem left me in the /var/log
directory, so the logs won't come back :)
I've only to remove them :)

davide@valentisrl.eu
Offline
Joined: 02/07/2016

Ok I've chosen the most radical way, I've deleted the logs files :D and now
the partition is no more filled :)