Gaspar,
Here are a few messages on the subject and it looks like it solved the problem. I
believe that this problem arose because RedHat included an experimental version of the
compiler in 7.0 & 7.1.
Rich
> ----------
> From: Nathan Paul Simons[SMTP:[EMAIL PROTECTED]]
> Reply To: [EMAIL PROTECTED]
> Sent: Wednesday, February 21, 2001 11:04 PM
> To: Frederic Cazenave
> Cc: Der Herr Hofrat; Ludwig Ofele; [EMAIL PROTECTED]
> Subject: Re: [rtl] root id
>
> On Wed, Feb 21, 2001 at 05:56:40PM -0500, Frederic Cazenave wrote:
> <snip>
> > gcc -v
> > Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/2.96/specs
> > gcc version 2.96 20000731 (Red Hat Linux 7.0)
> <snip>
>
> Erk . . . um, there have been known problems compiling the kernel
> with RedHat's "stable" distribution because they decided to put a cutting
> edge compiler in it. I don't know if that version of the compiler (2.96)
> miscompiles RTLinux, but I wouldn't rule that out. Have you tried getting
> the updates for RedHat or using a different version of the compiler (2.7.2.x
> comes to mind right away)?
> -- [rtl] ---
> To unsubscribe:
> echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR
> echo "unsubscribe rtl <Your_email>" | mail [EMAIL PROTECTED]
> --
> For more information on Real-Time Linux see:
> http://www.rtlinux.org/rtlinux/
>
>
>
>
> ----------
> From: Frederic Cazenave[SMTP:[EMAIL PROTECTED]]
> Sent: Wednesday, February 21, 2001 2:53 PM
> Cc: Ludwig > Ofele; [EMAIL PROTECTED]
> Subject: Re: [rtl] root id
>
> Thanks every buddies, I have upgraded my glibc (glibc-2.2.2-1.i686.rpm) and my
> problem
> seem to be solved.
>
> Fred
>
> Frederic Cazenave wrote:
>
> > The both files /etc/passwd and /etc/group the id of root is 0 !!!
> >
> > Fred
> >
> > Ludwig Ofele wrote:
> >
> > > Hello Frederic!
> > >
> > > I think, I had a similar problem after an update of Linux Kernel
> > > (without RT). Your effective user id is 4294967295 which corresponds to
> > > -1 if you look at it in 64-Bit-Terms. There seems to be a change of
> > > semantics (-1 changed to 4294967295) in the system and now the rights of
> > > user and the rights of files do not match any more. I can't explain it
> > > any better, but maybe this gives you an advice.
> > > I think, I fixed it by changing the id -1 in the groups or passwd file
> > > to something more sensful ( (unsigned int32)(-1) = 65535 ?).
> > >
> > > Have luck!
> > >
> > > Ludwig Ofele, Humantec Industriesysteme
> > >
> > > Frederic Cazenave wrote:
> > > >
> > > > Last week I have posted a question concerning the lost of my root
> > > > privilege
> > > > after installing rtlinux modules. I can summary all my mail with hofrat
> > > > ( Der Herr Hofrat <[EMAIL PROTECTED]> ), thanks to him, as following :
> > > >
> > > > I have installed this files :
> > > > 521612 -rw-r--r-- 1 root root 19090206 Feb 14 20:56
> > > > linux-2.2.18.tar.gz
> > > > 521622 -rw-r--r-- 1 root root 450860 Feb 16 15:10
> > > > rtlinux-3.0.tar.gz
> > > >
> > > > then patch linux with kernel_patch-2.2 and build the new rtlinux image
> > > >
> > > > when I reboot my machine and logged as root my id is
> > > >
> > > > [root@xport /root]# id
> > > > uid=0(root) gid=0(root)
> > > > groups=0(root),1(bin),2(daemon),3(sys),4(adm),6(disk),10(wheel)
> > > >
> > > > After installing all the modules of rtlinux my effective id changes :
> > > >
> > > > uid=0(root) gid=0(root) euid=4294967295
> > > > groups=0(root),1(bin),2(daemon),3(sys),4(adm),6(disk),10(wheel)
> > > > (here there is no possibility to bring down the system propely !!)
> > > >
> > > > If I remove all the rt modules my id goes back to the original
> > > >
> > > > uid=0(root) gid=0(root)
> > > > groups=0(root),1(bin),2(daemon),3(sys),4(adm),6(disk),10(wheel)
> > > >
> > > > Rigth now I didn't find any solution>
> > > >
> > > > Fred Cazenave
> > > >
> > > > --
> > > > _________________________________________________________
> > > > | |
> > > > | Frederic CAZENAVE |
> > > > | _/\_ /^= McGill Radar |
> > > > | \_/ \// Box 198, MacDonald College |
> > > > | | /-\ | Ste Anne de Bellevue |
> > > > | || || Quebec, Canada H9X 3V9 |
> > > > | Tel (514) 398 7733 fax (514) 398 7755 |
> > > > | mailto:[EMAIL PROTECTED] |
> > > > | http://www.mpl.orstom.fr/hydrologie/catch/ |
> > > > |__________________________________________________________|
> > > >
> > > > -- [rtl] ---
> > > > To unsubscribe:
> > > > echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR
> > > > echo "unsubscribe rtl <Your_email>" | mail [EMAIL PROTECTED]
> > > > --
> > > > For more information on Real-Time Linux see:
> > > > http://www.rtlinux.org/rtlinux/
> >
> > -- [rtl] ---
> > To unsubscribe:
> > echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR
> > echo "unsubscribe rtl <Your_email>" | mail [EMAIL PROTECTED]
> > --
> > For more information on Real-Time Linux see:
> > http://www.rtlinux.org/rtlinux/
>
> --
> _________________________________________________________
> | |
> | Frederic CAZENAVE |
> | _/\_ /^= McGill Radar |
> | \_/ \// Box 198, MacDonald College |
> | | /-\ | Ste Anne de Bellevue |
> | || || Quebec, Canada H9X 3V9 |
> | Tel (514) 398 7733 fax (514) 398 7755 |
> | mailto:[EMAIL PROTECTED] |
> | http://www.mpl.orstom.fr/hydrologie/catch/ |
> |__________________________________________________________|
>
>
>
> -- [rtl] ---
> To unsubscribe:
> echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR
> echo "unsubscribe rtl <Your_email>" | mail [EMAIL PROTECTED]
> --
> For more information on Real-Time Linux see:
> http://www.rtlinux.org/rtlinux/
>
>
>
> ----------
> From: Gaspar Bakos[SMTP:[EMAIL PROTECTED]]
> Reply To: [EMAIL PROTECTED]
> Sent: Wednesday, May 09, 2001 9:59 AM
> To: [EMAIL PROTECTED]
> Subject: [rtl] psc.o, EUID problems
>
> Hi,
>
> I am a newcomer and installed rtlinux v3.0 on a AMD-K7 600MHz PC
> running redhat 7.0 with kernel 2.2.18.
> Installation was straightforward by following steps in the INSTALL file.
>
> I found that when loading the psc.o module, the id() system utility gets
> screwed up, returning a bad euid:
>
> [[EMAIL PROTECTED] rtlinux-3.0]# lsmod
> Module Size Used by
> psc 18264 0 (unused)
> rtl_fifo 8536 0 [psc]
> rtl_posixio 6988 0 [rtl_fifo]
> rtl_sched 26692 0 [psc]
> rtl_time 4964 0 [psc rtl_posixio rtl_sched]
> rtl 17392 0 [psc rtl_fifo rtl_posixio rtl_sched
> rtl_time]
> mbuff 5156 0 (unused)
> tulip 34220 1 (autoclean)
> pci-scan 2808 0 (autoclean) [tulip]
>
> [[EMAIL PROTECTED] rtlinux-3.0]# id
> uid=0(root) gid=0(root) euid=4294967295 <= !!!
> groups=0(root),1(bin),2(daemon),3(sys),4(adm),6(disk),10(wheel)
>
> After this you can't even reboot/halt the system. First I needed to unload
> psc.o:
>
> [[EMAIL PROTECTED] rtlinux-3.0]# rmmod psc
> [[EMAIL PROTECTED] rtlinux-3.0]# id
> uid=0(root) gid=0(root)
> groups=0(root),1(bin),2(daemon),3(sys),4(adm),6(disk),10(wheel)
>
> I checked the FAQ, etc., but found no trace of such a problem. Can anyone
> suggest something?>
>
> Regards,
> Gaspar
>
> p.s.:
> Sorry if You receive this two times. Probably I've sent it to a wrong
> address before.
> -- [rtl] ---
> To unsubscribe:
> echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR
> echo "unsubscribe rtl <Your_email>" | mail [EMAIL PROTECTED]
> --
> For more information on Real-Time Linux see:
> http://www.rtlinux.org/rtlinux/
>
-- [rtl] ---
To unsubscribe:
echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR
echo "unsubscribe rtl <Your_email>" | mail [EMAIL PROTECTED]
--
For more information on Real-Time Linux see:
http://www.rtlinux.org/rtlinux/