Bug#681057: i2c-tools: Error while running decode-dimms

July 10th, 2012 - 06:30 am ET by Enrico Polesel | Report spam
Package: i2c-tools
Version: 3.1.0-1
Severity: grave
Justification: renders package unusable

Dear Maintainer,
when I run $ decode-dimms I get this error:

12:21:03 enrico@beatrice-sid:~$ decode-dimms
# decode-dimms version 5929 (2011-02-16 14:58:38 +0100)

Memory Serial Presence Detect Decoder
By Philip Edelbrock, Christian Zuckschwerdt, Burkart Lingner,
Jean Delvare, Trent Piepho and others
Can't use string ("") as a HASH ref while "strict refs" in use at /usr/bin/decode-dimms line 1783.



Thanks
Enrico

Debian Release: wheezy/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages i2c-tools depends on:
ii adduser 3.113+nmu3
ii libc6 2.13-34
ii perl 5.14.2-12
ii udev 175-3.1

i2c-tools recommends no packages.

Versions of packages i2c-tools suggests:
pn libi2c-dev <none>
pn python-smbus <none>




To UNSUBSCRIBE, email to debian-bugs-dist-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
email Follow the discussionReplies 4 repliesReplies Make a reply

Similar topics

Replies

#1 Aurelien Jarno
July 10th, 2012 - 10:20 am ET | Report spam
On Tue, Jul 10, 2012 at 12:24:57PM +0200, Enrico Polesel wrote:
Package: i2c-tools
Version: 3.1.0-1
Severity: grave
Justification: renders package unusable



This package contains many more than only decode-dimms. Are the others
binaries also broken? If not I don't think the package can be called
unusable.

Dear Maintainer,
when I run $ decode-dimms I get this error:
> 12:21:03 :~$ decode-dimms
> # decode-dimms version 5929 (2011-02-16 14:58:38 +0100)
>
> Memory Serial Presence Detect Decoder
> By Philip Edelbrock, Christian Zuckschwerdt, Burkart Lingner,
> Jean Delvare, Trent Piepho and others
> Can't use string ("") as a HASH ref while "strict refs" in use at /usr/bin/decode-dimms line 1783.




This is not something reproducible at least on the few machines I have
tried. It is likely related to the data you have in /sys on your system.
Can you please run the following command and send the resulting file:

tar -cvzf eeprom.tar.gz /sys/bus/i2c/drivers/eeprom/

Aurelien

Aurelien Jarno GPG: 1024D/F1BCDB73
http://www.aurel32.net



To UNSUBSCRIBE, email to
with a subject of "unsubscribe". Trouble? Contact
Replies Reply to this message
#2 Enrico Polesel
July 14th, 2012 - 06:20 am ET | Report spam
Hash: SHA1

Hi

On 07/10/2012 04:14 PM, Aurelien Jarno wrote:
On Tue, Jul 10, 2012 at 12:24:57PM +0200, Enrico Polesel wrote:
Package: i2c-tools Version: 3.1.0-1 Severity: grave
Justification: renders package unusable



This package contains many more than only decode-dimms. Are the
others binaries also broken? If not I don't think the package can
be called unusable.




I don't know the name of other binaries provided by i2c-tools, can you
give me some examples?

Dear Maintainer, when I run $ decode-dimms I get this error:
12:21:03 :~$ decode-dimms # decode-dimms
version 5929 (2011-02-16 14:58:38 +0100)

Memory Serial Presence Detect Decoder By Philip Edelbrock,
Christian Zuckschwerdt, Burkart Lingner, Jean Delvare, Trent
Piepho and others Can't use string ("") as a HASH ref while
"strict refs" in use at /usr/bin/decode-dimms line 1783.






This is not something reproducible at least on the few machines I
have tried. It is likely related to the data you have in /sys on
your system. Can you please run the following command and send the
resulting file:

tar -cvzf eeprom.tar.gz /sys/bus/i2c/drivers/eeprom/



I can't access to this files as root:

11:12:57 :~$ sudo tar -cvzf eeprom.tar.gz
/sys/bus/i2c/drivers/eeprom/ tar: Removing leading `/' from member
names /sys/bus/i2c/drivers/eeprom/
/sys/bus/i2c/drivers/eeprom/module tar:
/sys/bus/i2c/drivers/eeprom/uevent: Cannot open: Permission denied
tar: /sys/bus/i2c/drivers/eeprom/unbind: Cannot open: Permission
denied tar: /sys/bus/i2c/drivers/eeprom/bind: Cannot open:
Permission denied tar: Exiting with failure status due to previous
errors



What can I do?

Thanks
Enrico



Aurelien







To UNSUBSCRIBE, email to
with a subject of "unsubscribe". Trouble? Contact
Replies Reply to this message
#3 Aurelien Jarno
July 14th, 2012 - 06:20 am ET | Report spam
On Thu, Jul 12, 2012 at 11:14:45AM +0200, Enrico Polesel wrote:
Hash: SHA1

Hi

On 07/10/2012 04:14 PM, Aurelien Jarno wrote:
> On Tue, Jul 10, 2012 at 12:24:57PM +0200, Enrico Polesel wrote:
>> Package: i2c-tools Version: 3.1.0-1 Severity: grave
>> Justification: renders package unusable
>
> This package contains many more than only decode-dimms. Are the
> others binaries also broken? If not I don't think the package can
> be called unusable.
>

I don't know the name of other binaries provided by i2c-tools, can you
give me some examples?



# dpkg -L i2c-tools | grep bin
/usr/sbin
/usr/sbin/i2cset
/usr/sbin/i2cdetect
/usr/sbin/i2cget
/usr/sbin/i2cdump
/usr/bin
/usr/bin/decode-dimms
/usr/bin/decode-edid
/usr/bin/decode-vaio
/usr/bin/ddcmon

>> Dear Maintainer, when I run $ decode-dimms I get this error:
>>> 12:21:03 :~$ decode-dimms # decode-dimms
>>> version 5929 (2011-02-16 14:58:38 +0100)
>>>
>>> Memory Serial Presence Detect Decoder By Philip Edelbrock,
>>> Christian Zuckschwerdt, Burkart Lingner, Jean Delvare, Trent
>>> Piepho and others Can't use string ("") as a HASH ref while
>>> "strict refs" in use at /usr/bin/decode-dimms line 1783.
>>
>
> This is not something reproducible at least on the few machines I
> have tried. It is likely related to the data you have in /sys on
> your system. Can you please run the following command and send the
> resulting file:
>
> tar -cvzf eeprom.tar.gz /sys/bus/i2c/drivers/eeprom/

I can't access to this files as root:

> 11:12:57 :~$ sudo tar -cvzf eeprom.tar.gz
> /sys/bus/i2c/drivers/eeprom/ tar: Removing leading `/' from member
> names /sys/bus/i2c/drivers/eeprom/
> /sys/bus/i2c/drivers/eeprom/module tar:
> /sys/bus/i2c/drivers/eeprom/uevent: Cannot open: Permission denied
> tar: /sys/bus/i2c/drivers/eeprom/unbind: Cannot open: Permission
> denied tar: /sys/bus/i2c/drivers/eeprom/bind: Cannot open:
> Permission denied tar: Exiting with failure status due to previous
> errors




Can you please send me the list of files present in
/sys/bus/i2c/drivers/eeprom/ on your system ? You should have files in
the form x-xxxx.

Do you also have a /sys/bus/i2c/drivers/at24 directory? If yes, can you
please send me a tarball of these files?

Aurelien Jarno GPG: 1024D/F1BCDB73
http://www.aurel32.net



To UNSUBSCRIBE, email to
with a subject of "unsubscribe". Trouble? Contact
Replies Reply to this message
#4 Enrico Polesel
July 14th, 2012 - 10:40 am ET | Report spam
Hash: SHA1

Hi

On 07/14/2012 11:14 AM, Aurelien Jarno wrote:
On Thu, Jul 12, 2012 at 11:14:45AM +0200, Enrico Polesel wrote:

Hi

On 07/10/2012 04:14 PM, Aurelien Jarno wrote:
On Tue, Jul 10, 2012 at 12:24:57PM +0200, Enrico Polesel
wrote:
Package: i2c-tools Version: 3.1.0-1 Severity: grave
Justification: renders package unusable



This package contains many more than only decode-dimms. Are the
others binaries also broken? If not I don't think the package
can be called unusable.




I don't know the name of other binaries provided by i2c-tools,
can you give me some examples?



# dpkg -L i2c-tools | grep bin /usr/sbin /usr/sbin/i2cset
/usr/sbin/i2cdetect /usr/sbin/i2cget /usr/sbin/i2cdump /usr/bin
/usr/bin/decode-dimms /usr/bin/decode-edid /usr/bin/decode-vaio
/usr/bin/ddcmon




I try some of this and I have problems only with decode-dimms

Dear Maintainer, when I run $ decode-dimms I get this error:
12:21:03 :~$ decode-dimms # decode-dimms
version 5929 (2011-02-16 14:58:38 +0100)

Memory Serial Presence Detect Decoder By Philip Edelbrock,
Christian Zuckschwerdt, Burkart Lingner, Jean Delvare,
Trent Piepho and others Can't use string ("") as a HASH ref
while "strict refs" in use at /usr/bin/decode-dimms line
1783.






This is not something reproducible at least on the few machines
I have tried. It is likely related to the data you have in /sys
on your system. Can you please run the following command and
send the resulting file:

tar -cvzf eeprom.tar.gz /sys/bus/i2c/drivers/eeprom/



I can't access to this files as root:

11:12:57 :~$ sudo tar -cvzf eeprom.tar.gz
/sys/bus/i2c/drivers/eeprom/ tar: Removing leading `/' from
member names /sys/bus/i2c/drivers/eeprom/
/sys/bus/i2c/drivers/eeprom/module tar:
/sys/bus/i2c/drivers/eeprom/uevent: Cannot open: Permission
denied tar: /sys/bus/i2c/drivers/eeprom/unbind: Cannot open:
Permission denied tar: /sys/bus/i2c/drivers/eeprom/bind: Cannot
open: Permission denied tar: Exiting with failure status due to
previous errors






Can you please send me the list of files present in
/sys/bus/i2c/drivers/eeprom/ on your system ? You should have files
in the form x-xxxx.



This is the terminal output:
16:16:36 :~$ ls -la
/sys/bus/i2c/drivers/eeprom/ total 0 drwxr-xr-x 2 root root 0
Jul 14 16:13 . drwxr-xr-x 4 root root 0 Jul 14 16:13 ..
root 0 Jul 14 16:14 module -> ../../../../module/eeprom
root 4096 Jul 14 16:14 unbind


Do you also have a /sys/bus/i2c/drivers/at24 directory? If yes, can
you please send me a tarball of these files?



I don't have this directory:
16:18:06 :~$ ls -la /sys/bus/i2c/drivers/ total
0 drwxr-xr-x 4 root root 0 Jul 14 16:13 . drwxr-xr-x 4 root root 0
Jul 14 15:51 .. drwxr-xr-x 2 root root 0 Jul 14 16:17 dummy
drwxr-xr-x 2 root root 0 Jul 14 16:13 eeprom



Enrico




To UNSUBSCRIBE, email to
with a subject of "unsubscribe". Trouble? Contact
email Follow the discussion Replies Reply to this message
Help Create a new topicReplies Make a reply
Search Make your own search