Re: Kernel messages redirection

2009-01-07 Thread chris.scott
typical, after hunting around for a few days and not no luck, i get luck 
just after giving in and posting to this list

8/

$ sysctl -a| grep mute
kern.consmute: 0

does the job

setting it in boot/loader.conf makes the kernel silently boot

but im setting in in /etc/sysctl.conf so it set at userland.

This way i can see the kernel boot normally rather than looking like its 
hung, no anoying geom messages now


hmm, now to tidy up stuff that looked like it was working nicely before 
i ran it in the root console



David Horn wrote:

On Wed, Jan 7, 2009 at 10:52 AM, chris.scott  wrote:
  

hi

Does anyone know howto redirect/stop kernel messages from displaying on
ttyv0?



Look at conscontrol(8) as one option. ( There may be other ways that
work better for your case, but I have used conscontrol on my
7.0-RELEASE machine before with success )

You can use conscontrol(8) to either mute, or redirect kernel messages
to another virtual console.

Good Luck.

---Dave Horn

  

eg when you plug in a usb disk you get a load of messages to the 1st screen
console

I am writing a custom installer and its a pain as every time I label and
geom provider it spams a load of stuff and messes up my nice display. This
is nothing to do with syslog as I have already turned off logging to
/dev/console, ive tried a few curious looking sysctl varibles but not found
anything that works yet.


k


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"




  


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Kernel messages redirection

2009-01-07 Thread David Horn
On Wed, Jan 7, 2009 at 10:52 AM, chris.scott  wrote:
>
> hi
>
> Does anyone know howto redirect/stop kernel messages from displaying on
> ttyv0?

Look at conscontrol(8) as one option. ( There may be other ways that
work better for your case, but I have used conscontrol on my
7.0-RELEASE machine before with success )

You can use conscontrol(8) to either mute, or redirect kernel messages
to another virtual console.

Good Luck.

---Dave Horn

>
> eg when you plug in a usb disk you get a load of messages to the 1st screen
> console
>
> I am writing a custom installer and its a pain as every time I label and
> geom provider it spams a load of stuff and messes up my nice display. This
> is nothing to do with syslog as I have already turned off logging to
> /dev/console, ive tried a few curious looking sysctl varibles but not found
> anything that works yet.
>
>
> k
>
>
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
>
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Kernel messages redirection

2009-01-07 Thread chris.scott


hi

Does anyone know howto redirect/stop kernel messages from displaying on 
ttyv0?


eg when you plug in a usb disk you get a load of messages to the 1st 
screen console


I am writing a custom installer and its a pain as every time I label and 
geom provider it spams a load of stuff and messes up my nice display. 
This is nothing to do with syslog as I have already turned off logging 
to /dev/console, ive tried a few curious looking sysctl varibles but not 
found anything that works yet.



k


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"