upgrade evms-1.1.0 -> Kernel bug at blkpg.c (need help)
Hi Willy,
Do you remember this.
Quoted 2 lines · On Wed, Aug 21, 2002 at 05:14:28PM +0200, [email protected] wrote:
Quoted 1 line
After this upgarde, all evms tools failled and I got folowing kernel
message
Quoted 11 lines
Quoted 9 lines
at the console:
kernel BUG at blkpg.c:252!
evms:ldev_mgr: error(-28): creating logical disk fordevice(8,0).at line 250 of /drivers/block/blkpg.c I read:
...
returnput_user(uulval << 9, (u64 *)arg);
...Aw, crap. It now seems to be `legal' to
put_usera 64-bit argument on
a
Quoted 1 line
32-bit system. Someone needs to fix this in
include/asm-parisc/uaccess.h
May I suggest a trivial sol:
in put_user, case 8 uses something like as:__put_user_asm("stw",(unsigned int)(x >> 32), (unsigned int) ptr);__put_user_asm("stw",(unsigned int) x, (unsigned int) (ptr+1) );
or is it in the contrary order (I am not familiar with SE and BE conversion)
Thanks for attention,
Joel
Big Brother Anders - With Tiscali you will see it all ! Check it up on
www.tiscali.be/bigbrother
Hi all,
Quoted 4 lines
in
put_user, case 8 uses something like as:__put_user_asm("stw",(unsigned int)(x >> 32), (unsigned int) ptr);__put_user_asm("stw",(unsigned int) x, (unsigned int) (ptr+1) );
Well it is the contrary.
But I am a bit confuse of what do this __put_user_asm:
what does it return? (error code or ptr or something else?)
Thanks in advance for help;
Joel
Big Brother Anders - With Tiscali you will see it all ! Check it up on
www.tiscali.be/bigbrother