All of lore.kernel.org
 help / color / mirror / Atom feed
* [BUG] x86info fails on 2.6.34 ?
@ 2010-04-05 20:24 Eric Dumazet
  2010-04-05 21:04 ` Eric Dumazet
  0 siblings, 1 reply; 8+ messages in thread
From: Eric Dumazet @ 2010-04-05 20:24 UTC (permalink / raw)
  To: Dave Jones; +Cc: linux-kernel

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 ?



^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2010-04-06  6:24 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-04-05 20:24 [BUG] x86info fails on 2.6.34 ? Eric Dumazet
2010-04-05 21:04 ` Eric Dumazet
2010-04-05 21:19   ` [PATCH] /dev/mem: Allow rewinding Eric Dumazet
2010-04-06  5:15     ` Wu Fengguang
2010-04-06  5:30     ` Américo Wang
2010-04-06  5:43       ` Wu Fengguang
2010-04-06  6:24         ` Américo Wang
2010-04-06  6:21       ` Eric Dumazet

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.