Subject: postgresql-common: pg_checksystem sending ioctl to a partition
Date: Tue, 07 Aug 2012 16:35:20 -0300
Package: postgresql-common
Version: 134
Severity: normal
Hi!
I am unsure on how harmless it's but I am seeing this on kern.log:
[4927088.495625] pg_checksystem: sending ioctl 5401 to a partition!
[4927088.495629] pg_checksystem: sending ioctl 5401 to a partition!
[4927088.507403] pg_checksystem: sending ioctl 30e to a partition!
[4927088.507413] pg_checksystem: sending ioctl 30e to a partition!
[6729871.075313] pg_checksystem: sending ioctl 5401 to a partition!
[6729871.075325] pg_checksystem: sending ioctl 5401 to a partition!
[6729871.075389] pg_checksystem: sending ioctl 30e to a partition!
[6729871.075395] pg_checksystem: sending ioctl 30e to a partition!
[7509389.237269] pg_checksystem: sending ioctl 5401 to a partition!
[7509389.237280] pg_checksystem: sending ioctl 5401 to a partition!
[7509389.237344] pg_checksystem: sending ioctl 30e to a partition!
[7509389.237351] pg_checksystem: sending ioctl 30e to a partition!
[9840643.158979] pg_checksystem: sending ioctl 5401 to a partition!
[9840643.158991] pg_checksystem: sending ioctl 5401 to a partition!
[9840643.159056] pg_checksystem: sending ioctl 30e to a partition!
[9840643.159063] pg_checksystem: sending ioctl 30e to a partition!
Harmless?
Thank you!
Best regards,
Nelson
-- System Information:
Debian Release: wheezy/sid
APT prefers testing
APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 3.2.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=pt_BR.UTF-8, LC_CTYPE=pt_BR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages postgresql-common depends on:
ii adduser 3.113+nmu3
ii debconf [debconf-2.0] 1.5.44
ii logrotate 3.8.1-4
ii lsb-base 4.1+Debian7
ii postgresql-client-common 134
ii procps 1:3.3.3-2
ii ssl-cert 1.0.31
postgresql-common recommends no packages.
postgresql-common suggests no packages.
-- debconf information excluded
Re: Nelson A. de Oliveira 2012-08-07 <[email protected]>
> I am unsure on how harmless it's but I am seeing this on kern.log:
>
> [4927088.495625] pg_checksystem: sending ioctl 5401 to a partition!
At least it is intended:
sub get_device_write_cache {
open DRV, $_[0] or return -1;
sub HDIO_GET_WCACHE () {0x30e;}
my $pval = pack 'l', 0;
ioctl DRV, &HDIO_GET_WCACHE, $pval or return -1;
The check seems to be broken here. At least when using LVM, ioctl() on
the partition doesn't look through the LVM layer to check the write
cache on the base disk. (Verified by using hdparm -W 1 /dev/sda.)
Looks like we need to do something smarter for LVM systems, or at
least disable the check there.
For the actual question: yes, harmless.
Christoph
--
[email protected] | http://www.df7cb.de/
Acknowledgement sent
to Joe Hillenbrand <[email protected]>:
Extra info received and forwarded to list. Copy sent to Debian PostgreSQL Maintainers <[email protected]>.
Your message did not contain a Subject field. They are recommended and
useful because the title of a $gBug is determined using this field.
Please remember to include a Subject field in your messages in future.
I just had this error show up on our production server when or
rails/unicorn processes became unresponsive.
[2012-08-31T16:10:18-07:00] {notice} kernel: snigicl50 oapriin
[2012-08-31T16:10:18-07:00] {warning} kernel: [1231708.586185]
pg_checksystem: sending ioctl 5401 to a partition!
[2012-08-31T16:10:18-07:00] {warning} kernel: [1231708.586189] gcekytm
edn ot 41t atto!<>1378569]p_hcsse:snigicl50 oapriin
[2012-08-31T16:10:18-07:00] {notice} kernel[210.824]: gcekytm edn ot 0
oapriin
[2012-08-31T16:10:18-07:00] {notice} kernel[210.826]: gcekytm edn ot 0
oapriin
[2012-08-31T16:10:18-07:00] {notice} kernel[210.827]: gcekytm edn ot 0
oapriin
I'm not sure it's harmless.
Debbugs is free software and licensed under the terms of the GNU General
Public License version 2. The current version can be obtained
from https://bugs.debian.org/debbugs-source/.