Skip to contentSkip to conversation

Xm-test problem (wrong permission for rcS)

DISCUSSION Matsumoto 2 participants 2 messages Dec 7, 2005

lore
Share & tools
lore

Matsumoto

author
#0 lore raw

Hi,

I'm trying xm-test on x86, and found
runtest.sh (sanity check to read /cpu/procinfo on DomU) fails.

It looks like /proc on DomU is empty because exec. permission is not set for /etc/init.d/rcS. So, I corrected the permission bit for rcS and now xm-test is working correctly.

Best Regards,

Matsumoto

#1 lore raw
Quoted 9 lines · Matsumoto

Hi,

I'm trying xm-test on x86, and found
runtest.sh (sanity check to read /cpu/procinfo on DomU) fails.

It looks like /proc on DomU is empty because exec. permission is not set for /etc/init.d/rcS. So, I corrected the permission bit for rcS and now xm-test is working correctly.

Thanks Matsumoto. That rcS file has been chmod'd +x in the repository, but obviously that's getting lost somewhere (hg bug, maybe?). Would you mind submitting a patch to the ramdisk-building scripts so that they enforce that setting when building the ramdisk? That would mean that even if people copy xm-test and the permissions get lost, the script would put them back correctly. Thank you.

If you don't want to do this work, I'm sure that Dan Smith or someone else will volunteer.

Cheers,

Ewan.