attempt to access beyond end of device

Charles Galpin charles at galpin.org
Fri Dec 28 12:31:01 EST 2007


Hi All, first time poster, happy to be part of this community

How I got here: I downloaded an olpc image, expanded it to 2G using  
gpartd per the wiki, wrote it to a USB stick, booted my XO off it,  
added dome dev tools and started building the kernel (slowly :) ).  
Despite having 400M free, I started getting these messages in the logs  
and finally the kernel compile (using rpmbuild) failed.

Any idea what has gone wrong?  Did I perhaps make the image larger  
than my USB stick? How can I tell if this is the case?

In short I just want to setup a dev env that I can do things like  
build the kernel, add modules, and do other development.  I have  
access to 2G USB sticks and a 4G sdhc card.

tia, and happy holidays!
charles

excerpt from /var/log/messages:

Dec 28 11:51:25 localhost kernel: [38337.373588] attempt to access  
beyond end of device
Dec 28 11:51:25 localhost kernel: [38337.401787] sda: rw=1,  
want=4080239, limit=3999377
Dec 28 11:51:25 localhost kernel: [38337.429688] attempt to access  
beyond end of device
Dec 28 11:51:25 localhost kernel: [38337.457752] sda: rw=1,  
want=4128927, limit=3999377
Dec 28 11:51:25 localhost kernel: [38337.485608] attempt to access  
beyond end of device
Dec 28 11:51:25 localhost kernel: [38337.513431] sda: rw=1,  
want=4145359, limit=3999377

Kernel build output at point of failure:

   CHK     include/linux/version.h
   CHK     include/linux/utsrelease.h
fs/udf/balloc.c: In function 'udf_table_new_block':
fs/udf/balloc.c:747: warning: 'goal_eloc.logicalBlockNum' may be used  
uninitialized in this function
fs/udf/super.c: In function 'udf_fill_super':
fs/udf/super.c:1359: warning: 'ino.partitionReferenceNum' may be used  
uninitialized in this function



make[4]: *** sound/core/seq/instr/.built-in.o.cmd: Input/output  
error.  Stop.
make[3]: *** [sound/core/seq/instr] Error 2
make[2]: *** [sound/core/seq] Error 2
make[1]: *** [sound/core] Error 2
make: *** [sound] Error 2
+ exit 1
error: Bad exit status from /var/tmp/rpm-tmp.92705 (%build)


RPM build errors:
     Bad exit status from /var/tmp/rpm-tmp.92705 (%build)






More information about the Devel mailing list