BTS

Issue330

Title check for squashfs error in syslog
Priority wish Status wont-fix
Superseder Nosy List gebi, mika
Assigned To mika Topics core

Created on 2007-11-13.09:12:12 by mika, last changed 2010-02-27.22:45:29 by mika.

Messages
msg3017 (view) Author: mika Date: 2010-02-27.22:45:28
This kind of errors don't happen that often anymore nowadays, thanks to wide 
use of usb pens. As nobody came up with a solution which would be ready-to-go 
for more than 2 years I'm closing this with "won't" fix.
msg1032 (view) Author: mika Date: 2007-12-22.14:13:58
* Michael Gebetsroither <bts@bts.grml.org> [20071222 12:14]:

> dmesg -n <right loglevel>
> doesn't help either?

Hm?! How is this supposed to help us? I'd like to "grep for Squashfs
errors in syslog" and display it immediately on all available
consoles (including X terminals as well) without any user
interaction. (On the other side I don't want to flood the user with
any other messages of course.)

thx && regards,
-mika-
msg1031 (view) Author: gebi Date: 2007-12-22.11:14:36
dmesg -n <right loglevel>
doesn't help either?
msg1028 (view) Author: mika Date: 2007-12-21.23:22:58
Yeah, I was aware of that. My problem is, that syslog-ng does not provide a way 
of including seperate configuration files. So looks like we have to add that 
snippet to the official syslog-ng configuration. :-/

thx && regards,
-mika-
msg1009 (view) Author: gebi Date: 2007-12-10.11:24:09
it should be enough to adjust the kernel loglevel to our needs ;).

but netherless something like this should do it for syslog-ng to all users:
destination allusers { usertty("*"); };
msg996 (view) Author: mika Date: 2007-12-09.23:36:53
Gebi: do you have any templates for syslog-ng you think might match the needs 
of http://bts.grml.org/grml/issue330 ?

regards,
-mika-
msg917 (view) Author: mika Date: 2007-11-13.09:12:12
If we notice:

SQUASHFS error: sb_bread failed reading block ...
SQUASHFS error: Unable to read page, block ..., size ....

or:

loop0: read i/o error, sector ...

inside the syslog we should write a warning to all consoles so the user is 
notified about the broken CD-ROM.
History
Date User Action Args
2010-02-27 22:45:29mikasetstatus: chatting -> wont-fix
messages: + msg3017
2007-12-22 14:13:59mikasetmessages: + msg1032
2007-12-22 11:14:36gebisetmessages: + msg1031
2007-12-21 23:22:59mikasettopic: - release-stopper
messages: + msg1028
2007-12-10 11:24:09gebisetmessages: + msg1009
2007-12-09 23:37:00mikasetstatus: in-progress -> chatting
2007-12-09 23:36:53mikasetstatus: unread -> in-progress
nosy: + gebi
topic: + release-stopper
messages: + msg996
assignedto: mika
2007-11-13 09:12:12mikacreate