lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <f22d86810910270024o4cd69265v61536afedc0e510b@mail.gmail.com>
Date:	Tue, 27 Oct 2009 00:24:43 -0700
From:	"Leonidas ." <leonidas137@...il.com>
To:	linux-kernel <linux-kernel@...r.kernel.org>
Subject: Garbled printk output on 2.7.27 - No multi line printks

Hi,

I am trying a simple char driver and for debug purposes I have added
lot of printks
in my module. The module is rather heavily being used by my test app which does
hundreds of open/read/write calls. The driver just copies and prints
incoming/outgoing
buffers.

I see a lot of garbled output in /var/log/messages

E.g.

Oct 27 00:18:47 ubuntu-vm kernel: [ 4903.382917] returned buf  "Hello"
Oct 27 00:18:47 ubuntu-vm kernel: [ 4903.382925] returned buf "Hello"
Oct 27 00:18:47 ubuntu-vm kernel: [ 4903.383033] returned buf "Hello"
reeeeeeeeeexeeeeeeexteeeexeeeeeeeeeeeeeeeeeeeeeeeeeeeeexeeeeeeeeeeeeeeeeeexeeeeeeeeeexteexeeeeeeeeexeeeeeeeeeeeeeeeeeeeeeeexeeeeeeeeeeeexeeeeeeeeeeeexeeeeeeeeeeeeeeeeeeeeexeeeeeeeeeeeeeeeeeeexeeeeeeeeeexteeeeeeeeeeeeeeexeeeext
for 8902 Hello
Oct 27 00:18:47 ubuntu-vm kernel: [ d
Oct 27 00:18:47 ubuntu-vm kernel: dddddddd
Oct 27 00:18:47 ubuntu-vm kernel:
ddddddddn3eexeeeeeeeeeeeeeeeexeeeeeeeeeeeeexeeeeexteeeeeeexeeeeeeeeeeeeeeeeeeeeeeeeeeexeeeeeeeeeexeeeeeeeeeeexeeeeeeeeeeeeexeeeeeeeeeeeeeexeeeeeeeeeexeeeeexeeeeeeeeeeeeeeeeeeeeeeexeeeeeeeeeeeeeeeeeeeeexeeeeeeeeeexeeeeeeeeeeeeeeeeexeeeeeeeext
for 8903 Hello


My loglevel is KERN_INFO, my understanding was a multiline printk
might cause garbled output
on SMPs but a single line printk is always protected using a semaphore.

-Leo.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ