Package: hddtemp Version: 0.3-beta12-12 Followup-For: Bug #235422
ahrairah:/home/admin/hddtemp-0.3-beta12/src# gdb hddtemp GNU gdb 6.3-debian Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i386-linux"...Using host libthread_db library "/lib/tls/libthread_db.so.1".
(gdb) run /dev/sda Starting program: /home/admin/hddtemp-0.3-beta12/src/hddtemp /dev/sda
Program received signal SIGSEGV, Segmentation fault. 0x40095cef in memcpy () from /lib/tls/libc.so.6 (gdb) bt #0 0x40095cef in memcpy () from /lib/tls/libc.so.6 #1 0x0804b567 in modeselect (device=-13, pagenum=6 '\006', pBuf=0xbffff72c "") at scsicmds.c:137 #2 0x40580000 in ?? ()
...
Actually I think this bug would be fix (the fact that hddtemp crashes, not the fact that it can't read temperature of 3ware card) soon. I have a working version of hddtemp using SG_IO on my hard disk, and it seems that fixes the problem.
This version needs some more work to be distributable (currently the code is ugly), I think it'll take 1 or 2 weeks.
Bye, Aurelien
-- .''`. Aurelien Jarno GPG: 1024D/F1BCDB73 : :' : Debian GNU/Linux developer | Electrical Engineer `. `' [EMAIL PROTECTED] | [EMAIL PROTECTED] `- people.debian.org/~aurel32 | www.aurel32.net
-- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]