WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: I realise this is not an error but..  (Read 3648 times)

Offline coreplayer2

  • Hero Member
  • *****
  • Posts: 3020
I realise this is not an error but..
« on: August 20, 2012, 04:35:30 PM »
I am constantly explaining to folks that this is not an error per se..  But the messages get a lot of attention which ultimately raises flags and doubt of stability in the whole operation.  So is there any way to hide the caching messages, it's not like we have any control over the issue, a USB thumb stick is what it is..

2x USB thumb drive's connected here
« Last Edit: August 20, 2012, 04:43:00 PM by coreplayer2 »

Offline tinypoodle

  • Hero Member
  • *****
  • Posts: 3857
Re: I realise this is not an error but..
« Reply #1 on: August 20, 2012, 05:23:07 PM »
Not clear what you refer to...
"Software gets slower faster than hardware gets faster." Niklaus Wirth - A Plea for Lean Software (1995)

Offline gerald_clark

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 4254
Re: I realise this is not an error but..
« Reply #2 on: August 20, 2012, 05:48:20 PM »
Did you try the 'quiet' boot option?

Offline coreplayer2

  • Hero Member
  • *****
  • Posts: 3020
Re: I realise this is not an error but..
« Reply #3 on: August 20, 2012, 07:28:08 PM »
All my systems use the quiet boot code,
"quiet" boot code doesn't suppress the cache messages 

Messages occur if booting from a frugal install on a USB thumb drive, and
when booting to a freshly downloaded CorePlus ISO, 4 cache messages are displayed any time for each USB Thumb Drive attached to the system.
« Last Edit: August 20, 2012, 07:59:17 PM by coreplayer2 »

Offline tinypoodle

  • Hero Member
  • *****
  • Posts: 3857
Re: I realise this is not an error but..
« Reply #4 on: August 20, 2012, 08:08:51 PM »
Messages pertaining to attached storage media are generated by the kernel, not specific to core.
See boot parameters in kernel docs for advanced options of finetuning.

Linux defaults - not a bug.
"Software gets slower faster than hardware gets faster." Niklaus Wirth - A Plea for Lean Software (1995)

Offline coreplayer2

  • Hero Member
  • *****
  • Posts: 3020
Re: I realise this is not an error but..
« Reply #5 on: August 20, 2012, 08:15:52 PM »
Thanks, like I said in the beginning I know it's not an error (bug) but am  looking for a way to suppress these messages which I haven't found yet..


Offline tinypoodle

  • Hero Member
  • *****
  • Posts: 3857
Re: I realise this is not an error but..
« Reply #6 on: August 20, 2012, 08:23:19 PM »
Main reason I pointed that out is that thread is posted under "TCB Bugs"
"Software gets slower faster than hardware gets faster." Niklaus Wirth - A Plea for Lean Software (1995)

Offline coreplayer2

  • Hero Member
  • *****
  • Posts: 3020
Re: I realise this is not an error but..
« Reply #7 on: August 20, 2012, 08:25:36 PM »
Ah ha!  ok well I couldn't find a more appropriate place here sounds as good a place as any to me.. :)

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11049
Re: I realise this is not an error but..
« Reply #8 on: August 21, 2012, 06:24:06 AM »
"quiet" sets the log level to 4. Replace with "loglevel=N" where N is the level you want, see kernel-parameters.txt.
The only barriers that can stop you are the ones you create yourself.

Offline coreplayer2

  • Hero Member
  • *****
  • Posts: 3020
I realise this is not an error but..
« Reply #9 on: August 21, 2012, 10:22:10 AM »
Thanks will investigate this option

Offline roberts

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 7361
  • Founder Emeritus
Re: I realise this is not an error but..
« Reply #10 on: August 22, 2012, 03:18:09 PM »
Try replacing quiet with loglevel=3
It should suppress the spurious messages mentioned.
10+ Years Contributing to Linux Open Source Projects.

Offline coreplayer2

  • Hero Member
  • *****
  • Posts: 3020
Re: I realise this is not an error but..
« Reply #11 on: August 22, 2012, 04:47:07 PM »
Thanks roberts & curaga for the advise,  replacing quiet with loglevel=3 does in fact suppress the messages

Thank you

Offline lverns

  • Newbie
  • *
  • Posts: 29
Re: I realise this is not an error but..
« Reply #12 on: August 25, 2012, 02:55:37 PM »
Awesome! I've got to try this solution. I've had to live with those messages for 8 months :)

Offline roberts

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 7361
  • Founder Emeritus
Re: I realise this is not an error but..
« Reply #13 on: August 25, 2012, 03:29:00 PM »
Replacing quiet with loglevel=3 for 4.6 release.
10+ Years Contributing to Linux Open Source Projects.

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11049
Re: I realise this is not an error but..
« Reply #14 on: August 25, 2012, 03:34:53 PM »
Actually, instead of not showing errors (which the user may want to see), I'd prefer to change these two messages to warnings.

Just like in the squashfs code, we disagree with upstream that these messages qualify as errors. But since making this kernel change isn't urgent, let's lower the log level for now and in tc 5 do it the proper way, returning quiet.
The only barriers that can stop you are the ones you create yourself.