From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on sa.int.altlinux.org X-Spam-Level: X-Spam-Status: No, score=-1.8 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.2.5 Date: Sun, 16 Aug 2009 17:24:01 +0300 From: Michael Shigorin To: sisyphus@lists.altlinux.org Message-ID: <20090816142401.GV29935@osdn.org.ua> Mail-Followup-To: sisyphus@lists.altlinux.org, Alexander Bokovoy Mime-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline Content-Transfer-Encoding: 8bit User-Agent: Mutt/1.4.2.1i Cc: Alexander Bokovoy Subject: [sisyphus] =?koi8-r?b?cTogbGlidXNieywtY29tcGF0fSDJIDIuNi4xOC1v?= =?koi8-r?b?dnotcmhlbA==?= X-BeenThere: sisyphus@lists.altlinux.org X-Mailman-Version: 2.1.12 Precedence: list Reply-To: shigorin@gmail.com, ALT Linux Sisyphus discussions List-Id: ALT Linux Sisyphus discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 16 Aug 2009 14:24:06 -0000 Archived-At: List-Archive: List-Post: Здравствуйте. Несколько ранее было обнаружено, что sispmctl сегфолтится при попытке работы с USB-устройством на 2.6.18-ovz-rhel-alt7: --- $ strace sispmctl -o 1 ...... open("/sys/bus/usb/devices", O_RDONLY|O_NONBLOCK|O_DIRECTORY| O_CLOEXEC) = 3 getdents(3, /* 14 entries */, 32768) = 384 stat("/sys/bus/usb/devices/1-1/descriptors", 0x7fff9270a8a0) = -1 ENOENT (No such file or directory) open("/sys/bus/usb/devices/1-1/busnum", O_RDONLY) = -1 ENOENT (No such file or directory) close(3) = 0 --- SIGSEGV (Segmentation fault) @ 0 (0) --- +++ killed by SIGSEGV +++ --- Возможно ли собрать, как понимаю, libusb/libusb-compat таким образом, чтобы они работали и на самом старом из официально поддерживаемых в сизифе ядер? Что для этого следует сделать? (один из пакетов собирается с linux-libc-headers) -- ---- WBR, Michael Shigorin ------ Linux.Kiev http://www.linux.kiev.ua/