General :: Direct Kernel Messages To COM Port?
Mar 31, 2010
I need to debug a kernel panic. It prints some long log to the console, but even if i set 1920x1440 VESA framebuffer mode, i can't see it whole.
So, i would like to direct all the kernel messages to a COM port and read them on another machine. Is there any way of doing so? What are the other (maybe better/easier/etc.) ways of catching whole kernel panic messages or scrolling the ones already displayed?
View 3 Replies
ADVERTISEMENT
Aug 24, 2009
I wrote a script which will run in ubuntu box and will display in tty1, without loading the gdm. The problem is when I plugged in a usb drive it will cause some messages to be printed into the current tty user logged in.
Like : [sdb] Assuming drive cache: write through
This is really disturbing when a user is running the script. Is there anyway that I can direct all the messages to some other tty which I don't use.
View 2 Replies
View Related
May 31, 2011
Any one using php program to direct lpt port print command, now i am creating one programe for mini shope that system having citizen CT-S4000 model.
View 2 Replies
View Related
Oct 16, 2010
how exactly would you open a port and point it to an html page, like port 80 does by default?
Example: Port 2985 -> ./var/www/login/index.php
View 5 Replies
View Related
Apr 13, 2011
I have an OLED screen on my laptop that I have configured to show status information. The current driver I have installed in Linux for it is able to display messages by sending them to a script as an argument separated by spaces.Example: the command /opt/asusg50oled/utils/notify.sh Hi Everybody "Hello World" displays on the oled screen:
Hi
Everybody
Hello World
If another message is sent before the old ones disappear and it reverts to status info, it pushes off the top message. Example: less than 30 seconds after the previous example, /opt/asusg50oled/utils/notify.sh "Bananas have potassium" is executed:
Everybody
Hello World
Bananas have potassium
What I want to do is have kernel messages (the kind you see by running dmesg) forwarded to this script. For example, when I insert a USB drive, the following information would show on the OLED screen as they're logged:........
View 3 Replies
View Related
Mar 23, 2010
In the firewall, I opened port 5900 for TCP traffic. Now the console is displaying packet information whenever a connection is made. Why does it send a message to stdout/stderr for an allowed connection? How can I stop it? Logging level is set to critical only, and not-accepted packets should only be logged for the internal and DMZ zones.
View 1 Replies
View Related
Dec 17, 2010
on a SuSE-11.3 (xen domU) I repeatedly notice the following messages:
Dec 17 19:30:01 MTW kernel: [22484.319192] type=1503 audit(1292610601.862:84): operation="change_hat" info="unconfined" error=-1 pid=22001
Dec 17 19:30:01 MTW kernel: [22484.319222] type=1503 audit(1292610601.862:85): operation="change_hat" info="unconfined" error=-1 pid=22001
Dec 17 19:45:01 MTW kernel: [23384.365597] type=1503 audit(1292611501.910:86): operation="change_hat" info="unconfined" error=-1 pid=22702
[code]...
View 7 Replies
View Related
Mar 11, 2011
My /var/log/messages file is being flooded by messages like these.
Code:
View 1 Replies
View Related
May 17, 2010
is there any way to disable kernel messages on the console? The problem I have is that it is almost impossible to work on the console due to a flood of file system errors from the kernel.
I've checked /etc/syslog.conf and disabled kernel logging to the console. Even with syslog turned off the messages still flood the console.
View 2 Replies
View Related
Mar 4, 2010
I have just installed Fedora 11 to my laptop and it appears I am in trouble. I have received two kernel failure messages, which I post below. What are the consequences of these issues and how can I solve them ?
Message 1:
Message 2:
View 4 Replies
View Related
Aug 12, 2010
I've got this lines in /var/log/messages Server is running varnish-cache
View 1 Replies
View Related
Jan 30, 2010
When my computer shuts down, I always get a long error message from the kernel. It's the very last thing the computer does and I can't even use the keyboard, since the system is halted. I wanted to read it more carefully (it's very long and doesn't fit the screen) and file a bug report against the kernel with it. But for that, I needed to save all that text in a file.
View 1 Replies
View Related
Feb 1, 2011
Recently I am trying to install the latest Ubuntu / Xubuntu but after the kernel messages the display becomes corrupted. The machine is a Clevo laptop with the dreaded SIS 671 / 672 chipset. The Ubuntu 8.04 is working flawlessly. Any other version I get several problems and depending on the mood of the system I get a vertical running display ( not readable ) or a left horizontal displaced screen (readable) ...
I tried more tan several CDs ranging from 9.01 to 10.10 both Ubuntu or Xubuntu. What is the plainest (simpler ) VGA mode in order to install it? I have tried vga=normal and even VGA =3 with no success. With the latest Ubuntu 10.10 I get another problem it simply does not recognize the HDD / SSD. I have traced the SSD problem with the sata_sis module in kernel 2.6.35 and up... Other distros have the same problem ...
View 2 Replies
View Related
Dec 16, 2008
I'm having intermittent trouble with my network card.
It always makes kernel messages like the following:
Code:
View 3 Replies
View Related
Oct 4, 2010
I am using latest updated Fedora 13 (presently kernel-2.6.34.7-56.fc13.i686).
kernel imklog error messages fills my hard disk again and again, /var/log/messages file becomes more than 5Gb daily.
the /var/log/messages file contains following entries:
Sep 27 10:35:09 arun kernel: imklog 4.4.2, log source = /proc/kmsg started.
Sep 27 10:35:09 arun rsyslogd: [origin software="rsyslogd" swVersion="4.4.2" x-pid="1083" x-info="http://www.rsyslog.com"] (re)start
Sep 27 10:35:09 arun atd[19007]: File a0000b0145c567 is in wrong format - aborting
[Code]....
I think, I can stop kernel logging from /etc/rsyslog.conf, but I wanted to know the real problem.
View 2 Replies
View Related
May 9, 2010
What i'm trying to accomplish seems rather silly but is needed for my little project here.
I'm using OpenSuSE 11.2 as a media center PC and need it to login automatically(console not X). That one i accomplished without problems.
However, after login i can see all the info about the services that were started and that needs to "go away".
One could do a "clear" in the .bash_rc and or .bash_profile but it will still show the login prompt which i don't want to see either (i don't even want to see the blinking cursor as well).
Question: How do i accomplish that so that the login console shows only the "splash screen" without any output of the kernel,rc.status nor the "issue-file"... just a plain blank screen ?
View 6 Replies
View Related
Aug 2, 2010
Is there a way I can redirect messages from kernel ringbuffer to a logfile, e.g. with rsyslogd? With redirect I mean that the messages do no longer appear in dmesg, but only in the logfile.
In my case that should be iptables log messages.
View 3 Replies
View Related
Mar 3, 2010
I am having a hard time locating the Success Stories area here.
View 3 Replies
View Related
Jun 13, 2011
I notice that when people message me in a channel the message itself show up in the channel, but I also get notified from pidgin that I got a message. Now my question is, how do I send a message to a specific user so he gets notified like I do, but still the message show up in the channel. I know It's not Linux specific question, but IRC is in Linux culture anyway, and I been googling but for no solution at the end.
View 3 Replies
View Related
Apr 4, 2011
I have the following problem: syslog is constantly writing to disk, because the kernel spams these messages
Code:
Apr 4 14:14:56 aspire kernel: [138498.252610] display port opened
Apr 4 14:14:56 aspire kernel: [138498.299755] display port closed
Apr 4 14:14:57 aspire kernel: [138499.328206] display port opened
Apr 4 14:14:57 aspire kernel: [138499.371835] display port closed
Apr 4 14:14:58 aspire kernel: [138500.452671] display port opened
[Code]...
View 1 Replies
View Related
Oct 5, 2010
Normally all I/O goes through the kernel so that it can schedule the operations and prevent processes from stepping on each other. A few special user processes are allowed to slide around the kernel, usually by being given direct access to I/O ports. X servers are the most common example of this isn't it ? give examples for any other processes that are allowed to slide around the kernel ?
View 3 Replies
View Related
Aug 23, 2010
Did a quick search through the site and could not find the answer i was looking for. Currently i am running Fedora core 12.I would like to get amarok installed with all the mp3+ support with it.I do not have internet at home. just on my phone (so i can download and transfer small files), and at work with a jump drive.How would i go about getting this done?
View 1 Replies
View Related
Oct 21, 2010
VERY new to linux, erm but I have an issue that needs solving!I recently moved to university, where their network blocks sftp port 22, this means that I cannot connect to my FTP server which is running a version of linux.Now I've got this ftp server connected to a seedbox and it was created using the following walk through..Code:I have written this guide for a friend, but I though it would be useful for others as well.
There are several guides floating around, but I found that most always cock up in some way. This one is tried and tested to work on Debian Etch (on an OVH rps, but should apply to most servers).If there is a new stable release of rtorrent/libtorrent then I will update this guide to show you how to update it (without reinstalling the whole server).
At the bottom there are also instructions to install ftp access & some network monitoring software.Basically, I would really like someone to be able to construct the commands on how to change the listen port for sftp connection on linux or add another port to the list that Linux would use so that I could put in through putty.
View 2 Replies
View Related
Jul 20, 2010
I tried to make "ssh tunneling", but failed and got this message.
Quote:
Administrator@windstory-PC /
$ ssh -R 7869:localhost:7869 windowsstudy@192.168.0.4
windowsstudy@192.168.0.4's password:
Warning: remote port forwarding failed for listen port 7869 Last login: Wed Jul 21 01:56:04 2010 from 192.168.0.2 -bash-3.2$
1. system environment
192.168.0.2 - windows 7 + copssh
192.168.0.4 - centos 5.4 x86 + openssh
2. Guide for setting "ssh tunneling"
[URL]
3. Added this to sshd.conf
Quote:
AllowTcpForwarding yes
4. "netstat -na|grep 7869" at 192.168.0.4
Quote:
[root:maestro:~]# netstat -na|grep 7869
tcp 0 0 0.0.0.0:7869 0.0.0.0:* LISTEN
tcp 0 0 127.0.0.1:7869 127.0.0.1:53539 ESTABLISHED
[code]....
5. result of "ssh -vvv -R 7869:localhost:7869 windowsstudy@192.168.0.4"
Quote:
debug3: authmethod_lookup password
debug3: remaining preferred: ,password
debug3: authmethod_is_enabled password
[code]....
6. I added 7869 for telnet service as follow;
Quote:
mytelnet 7869/tcp # My Telnet server
View 1 Replies
View Related
Apr 19, 2010
I have a need to start an application on bootup on the linux console and I do not have a need for any type of login or security. I do not need any ALT-F1,F2,etc virtual consoles but I would like to allow SSH access via the network port for debugging, loading, etc.
The application is a SDL graphics program running with fbcon as the SDL_VIDEODRIVER if that matters. I'm currently using Fedora 10 and 12 but any distro that supports SDL using the fbcon framebuffer would be acceptable.
View 2 Replies
View Related
Jul 13, 2011
I have a syslog-ng running and kernel build of 2.6.34.8 I use a syslog API in my program with facility LOG_LOCAL5 and and levels debug err and crit and info. when I ran on the older syslog facility I had everything logged fine as I intended. now I have written these rules into the syslog-ng.conf:
options {
flush_lines (0);
time_reopen (10);
log_fifo_size (1000);
[code]....
the last two rules show my program gnssapp. the result is all debug levels or crit or err levels I don't see any of them !
View 3 Replies
View Related
Aug 16, 2010
I want to write data to serial port ( ttyS ) from inside the kernel.
View 5 Replies
View Related
Feb 18, 2010
I want to do a simple port redirect, i.e. whatever comes trough whatever interface on port AAAA will get redirected to port BBBBI thought that iptables -t nat -I PREROUTING --source 0/0 --destination 0/0 -p tcp --dport AAAA -j REDIRECT --to-ports BBBBhowever it doesn't work, e.g. nc -v -w2 -z localhost AAAA gives:
nc: connect to localhost port AAAA (tcp) failed: Connection refused
while
nc -v -w2 -z localhost BBBB
[code]....
View 10 Replies
View Related
Jan 29, 2010
Driven by my needs , i need to toggle only the flow control (RTS, CTS) bits and have nothing to do with the rest of the functionality (e.g. normaltx , rx operation). I am presuming that there exists a line discipline from user space for toggling RTS as ioctl (*file, cmd, *unsigned long ) can be used easily to toggle RTS. However, the use of IOCTL in kernel space for the same purpose brings about no change on RTS (oscilloscope shows no change). google led me to this [URL] and according to that i should make changes directly in the driver.
Code:
int x=0;
int actual_module()
{ int k;
mm_segment_t oldfs;
[code]....
View 3 Replies
View Related
May 2, 2010
I have a mail server i need it to send message via port 587 not port 25, i make some changes to my postfix server which i use and it is already successed making a telnet to 587 port like it :
[Code]....
View 3 Replies
View Related