lkml.org 
[lkml]   [2010]   [Apr]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Subject[BUG] x86info fails on 2.6.34 ?
From
Date
Hi Dave

I just noticed x86info was not working anymore on latest kernel

x86info v1.24. Dave Jones 2001-2009
Feedback to <davej@redhat.com>.

type seek: Value too large for defined data type


Offending syscall is an lseek(fd, -1, SEEK_CUR) on /dev/mem file



open("/dev/mem", O_RDONLY) = 3
...
lseek(3, 1023092, SEEK_SET) = 1023092
read(3, "PCMP\4\3\4\266HP PROLIANT \0\0\0\0\0"..., 44) = 44
read(3, "\0"..., 1) = 1
lseek(3, -1, SEEK_CUR) = -1 EOVERFLOW (Value too large
for defined data type)

It seems -1 is taken as an unsigned quantity ?




\
 
 \ /
  Last update: 2010-04-05 22:27    [W:0.145 / U:0.044 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site