[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#420177: libdrm2: the output of my /usr/share/bug/xserver-xorg-core/script 3>&1



Package: libdrm2
Version: 2.3.0-4
Followup-For: Bug #420177


As requested I put the output of my
/usr/share/bug/xserver-xorg-core/script 3>&1

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.18-4-686 (SMP w/2 CPU cores)
Locale: LANG=it_IT@euro, LC_CTYPE=it_IT@euro (charmap=ISO-8859-15)
Shell: /bin/sh linked to /bin/bash

Versions of packages libdrm2 depends on:
ii  libc6                         2.5-2      GNU C Library: Shared libraries

libdrm2 recommends no packages.

-- no debconf information

*** output.txt
#!/bin/sh

# $Id$

PATH="/sbin:$PATH"
CONFIG_DIR=/etc/X11
SERVER_SYMLINK="$CONFIG_DIR/X"
XORGCONFIG="$CONFIG_DIR/xorg.conf"
CONFIG_AUX_DIR=/var/lib/x11
SERVER_SYMLINK_CHECKSUM="$CONFIG_AUX_DIR/${SERVER_SYMLINK##*/}.md5sum"
SERVER_SYMLINK_ROSTER="$CONFIG_AUX_DIR/${SERVER_SYMLINK##*/}.roster"
XORGCONFIG_CHECKSUM="$CONFIG_AUX_DIR/${XORGCONFIG##*/}.md5sum"
XORGCONFIG_ROSTER="$CONFIG_AUX_DIR/${XORGCONFIG##*/}.roster"

if [ -e "$SERVER_SYMLINK_ROSTER" ]; then
    printf "Contents of $SERVER_SYMLINK_ROSTER:\n" >&3
    cat "$SERVER_SYMLINK_ROSTER" >&3
else
    printf "$SERVER_SYMLINK_ROSTER does not exist.\n" >&3
fi

printf "\n" >&3

if [ -e "$SERVER_SYMLINK" ]; then
    if [ -e "$SERVER_SYMLINK_CHECKSUM" ]; then
        if [ "$(readlink "$SERVER_SYMLINK" | md5sum)" = \
             "$(cat "$SERVER_SYMLINK_CHECKSUM")" ]; then
            printf "%s target unchanged from checksum in %s.\n" \
              "$SERVER_SYMLINK" "$SERVER_SYMLINK_CHECKSUM" >&3
        else
            printf "%s target does not match checksum in %s.\n" \
              "$SERVER_SYMLINK" "$SERVER_SYMLINK_CHECKSUM" >&3
        fi
    else
        printf "$SERVER_SYMLINK_CHECKSUM does not exist.\n" >&3
    fi
    printf "\n" >&3
    printf "X server symlink status:\n" >&3
    ls -dl "$SERVER_SYMLINK" >&3
    ls -dl "$(readlink "$SERVER_SYMLINK")" >&3
else
    printf "$SERVER_SYMLINK does not exist.\n" >&3
fi

if ! [ -L "$SERVER_SYMLINK" ]; then
    printf "$SERVER_SYMLINK is not a symlink.\n" >&3
fi

if ! [ -x "$SERVER_SYMLINK" ]; then
    printf "$SERVER_SYMLINK is not executable.\n" >&3
fi

printf "\n" >&3

if [ -e "$XORGCONFIG_ROSTER" ]; then
    printf "Contents of $XORGCONFIG_ROSTER:\n" >&3
    cat "$XORGCONFIG_ROSTER" >&3
else
    printf "$XORGCONFIG_ROSTER does not exist.\n" >&3
fi

printf "\n" >&3

if which lspci > /dev/null 2>&1; then
    printf "VGA-compatible devices on PCI bus:\n" >&3
    LC_ALL=C lspci | grep 'VGA compatible controller:' >&3
    LC_ALL=C lspci -n | grep 'Class 0300:' >&3
else
    printf "The lspci command was not found; not including PCI data.\n" >&3
fi

printf "\n" >&3

if [ -e "$XORGCONFIG" ]; then
    if [ -e "$XORGCONFIG_CHECKSUM" ]; then
        if [ "$(md5sum "$XORGCONFIG")" = "$(cat "$XORGCONFIG_CHECKSUM")" ]; then
            printf "%s unchanged from checksum in %s.\n" "$XORGCONFIG" \
              "$XORGCONFIG_CHECKSUM" >&3
        else
            printf "%s does not match checksum in %s.\n" "$XORGCONFIG" \
              "$XORGCONFIG_CHECKSUM" >&3
        fi
    else
        printf "$XORGCONFIG_CHECKSUM does not exist.\n" >&3
    fi
    printf "\n" >&3
    printf "Xorg X server configuration file status:\n" >&3
    ls -dl "$XORGCONFIG" >&3
    printf "\n" >&3
    printf "Contents of $XORGCONFIG:\n" >&3
    iconv -c -t ascii "$XORGCONFIG" >&3
    printf "\n" >&3
else
    printf "$XORGCONFIG does not exist.\n" >&3
fi

printf "\n" >&3

XORG_LOGS=$(ls -dt /var/log/Xorg.*.log 2>/dev/null)

if [ -n "$XORG_LOGS" ]; then
    printf "Xorg X server log files on system:\n" >&3
    ls -dlrt /var/log/Xorg.*.log >&3 2>/dev/null
    printf "\n" >&3
    for LOG in $XORG_LOGS; do
        if [ -f "$LOG" ]; then
            printf "Contents of most recent Xorg X server log file\n" >&3
            printf "%s:\n" "$LOG" >&3
            cat "$LOG" >&3
            # the log files are large; only show the most recent
            break
        fi
    done
else
    printf "No Xorg X server log files found.\n" >&3
fi

printf "\n" >&3

# vim:set ai et sts=4 sw=4 tw=0:

Attachment: output.txt
Description: application/shellscript


Reply to: