>>>i was wondering how to make kernel messages appear on /dev/ttyS0
>>without a reboot, i.e. kernelparam "console=ttyS0"
>>
>>The solution is simple... the following piece of code is inside
>>opensuse-10.3/src/sysvinit-2.86-115.src.rpm#showconsole-1.08.tar.bz2#showconsole-1.08/blogd.c
>>
>>
In article <[EMAIL PROTECTED]>,
Jan Engelhardt <[EMAIL PROTECTED]> wrote:
>
>On Jan 3 2008 13:43, [EMAIL PROTECTED] wrote:
>>
>>hi !
>>
>>i was wondering how to make kernel messages appear on /dev/ttyS0
>without a reboot, i.e. kernelparam "console=ttyS0"
>
>The solution is simple... the following
> This errno is so out of place.
yes, that was stupid.
anyway:
# strace ./mytiocons
--snipp--
open("/dev/ttyS0", O_RDWR) = 3
ioctl(0, TIOCCONS) = -1 EBUSY (Device or resource busy)
ioctl(3, TIOCCONS) = -1 EBUSY (Device or resource busy)
On Jan 3 2008 15:39, [EMAIL PROTECTED] wrote:
>fantastic, thanks!
>
>unfortunately..
>
>opensuse103:/home/roland/serialcons # ./mytioccons
>ioctl: Device or resource busy
>
>but i`m not deep enough into programming to understand this.
>
>int main(void)
>{
>int fd = open("/dev/ttyS0",
03.01.08 14:28:45
> An: [EMAIL PROTECTED]
> CC: linux-kernel@vger.kernel.org
> Betreff: Re: serial console _after_ boot ? - was: Redirect kernel console
>
>
> On Jan 3 2008 13:43, [EMAIL PROTECTED] wrote:
> >
> >hi !
> >
> >i was wondering
On Jan 3 2008 13:43, [EMAIL PROTECTED] wrote:
>
>hi !
>
>i was wondering how to make kernel messages appear on /dev/ttyS0 without a
>reboot, i.e. kernelparam "console=ttyS0"
The solution is simple... the following piece of code is inside
hi !
i was wondering how to make kernel messages appear on /dev/ttyS0 without a
reboot, i.e. kernelparam "console=ttyS0"
after playing for a while with setconsole, setterm and klogconsole i didn`t
find a way to make that happen.
i can do "setconsole /dev/tty1 /dev/console" and see "test" on
hi !
i was wondering how to make kernel messages appear on /dev/ttyS0 without a
reboot, i.e. kernelparam console=ttyS0
after playing for a while with setconsole, setterm and klogconsole i didn`t
find a way to make that happen.
i can do setconsole /dev/tty1 /dev/console and then echo test
On Jan 3 2008 13:43, [EMAIL PROTECTED] wrote:
hi !
i was wondering how to make kernel messages appear on /dev/ttyS0 without a
reboot, i.e. kernelparam console=ttyS0
The solution is simple... the following piece of code is inside
14:28:45
An: [EMAIL PROTECTED]
CC: linux-kernel@vger.kernel.org
Betreff: Re: serial console _after_ boot ? - was: Redirect kernel console
On Jan 3 2008 13:43, [EMAIL PROTECTED] wrote:
hi !
i was wondering how to make kernel messages appear on /dev/ttyS0 without a
reboot, i.e
On Jan 3 2008 15:39, [EMAIL PROTECTED] wrote:
fantastic, thanks!
unfortunately..
opensuse103:/home/roland/serialcons # ./mytioccons
ioctl: Device or resource busy
but i`m not deep enough into programming to understand this.
int main(void)
{
int fd = open(/dev/ttyS0, O_RDWR);
int errno;
This errno is so out of place.
yes, that was stupid.
anyway:
# strace ./mytiocons
--snipp--
open(/dev/ttyS0, O_RDWR) = 3
ioctl(0, TIOCCONS) = -1 EBUSY (Device or resource busy)
ioctl(3, TIOCCONS) = -1 EBUSY (Device or resource busy)
In article [EMAIL PROTECTED],
Jan Engelhardt [EMAIL PROTECTED] wrote:
On Jan 3 2008 13:43, [EMAIL PROTECTED] wrote:
hi !
i was wondering how to make kernel messages appear on /dev/ttyS0
without a reboot, i.e. kernelparam console=ttyS0
The solution is simple... the following piece of code is
i was wondering how to make kernel messages appear on /dev/ttyS0
without a reboot, i.e. kernelparam console=ttyS0
The solution is simple... the following piece of code is inside
opensuse-10.3/src/sysvinit-2.86-115.src.rpm#showconsole-1.08.tar.bz2#showconsole-1.08/blogd.c
(void)ioctl(0,
14 matches
Mail list logo