Here are a few messages from the list that might help.




> ----------
> From:         Nathan Paul Simons[SMTP:[EMAIL PROTECTED]]
> Reply To:     [EMAIL PROTECTED]
> Sent:         Wednesday, February 21, 2001 10: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 1:53 PM
> Cc:   Ludwig > Öfele; [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 Öfele 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 Öfele, 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:         Cort Dougan[SMTP:[EMAIL PROTECTED]]
> Sent:         Wednesday, February 21, 2001 1:40 PM
> To:   Basham, Richard R
> Cc:   [EMAIL PROTECTED]
> Subject:      Re: [rtl] root id
> 
> } I think the bigger question here is:  Why did this happen in the first place?
> } 
> } Cort,
> } 
> } Is there anyone at FSM Labs know why this occurred?
> 
> The problem was with the psc module.  Well, actually it wasn't the psc
> module it was bad user-land programs.
> 
> The PSC module grabs a free syscall when it's loaded.  With older kernels
> we were getting a free syscall that happens to correspond with a syscall
> added to later kernels to set/check privilege levels.  Some user-programs
> would make a direct call to syscall #201 (not through glibc) and assume it
> was the correct one.  On kernels that didn't support this syscall the
> user-program would get an error.  When psc grabbed that syscall the
> user-program would end up calling a syscall it didn't intend rather than
> the privilege syscall.
> 
> We've changed the syscall hook code in psc so that it searches top-down
> rather than bottom up.  That fixes the problem.
> 
> In short, if you have doubts just don't load psc.  It's not needed unless
> you're using the user-level realtime features of RTLinux.
> 
> 
> 
> 
> ----------
> From:         Hai Xu[SMTP:[EMAIL PROTECTED]]
> Sent:         Friday, March 16, 2001 2:04 AM
> To:   [EMAIL PROTECTED]
> Subject:      [rtl] A strange problem!
> 
> Dear all,
>  
> I met a very strange problem of RTLinux. My system is RedHat 7.0 + Linux Kerenl 
>2.2.18 + RTLinux 3.0 final. When I finish the installation of RTLinux 3.0, everything 
>looks fine. So I use "rtlinux start" command to start the rtlinux. Then the strange 
>problem happens. It says my uid is changed. When I use "whoami" to check my status, 
>it says "whoami: cannot find username for UID 4294967295".(I login as root, so I 
>think the uid should be 0)> 
>  
> Then I can not reboot or shutdown my computer. When I type in "reboot", it tells me 
>as I am not a superuser, I can not do so. I then logout, try to restart the computer 
>using the menu of login screen, but I just go back to the login screen. I have to 
>reset my computer. After I tried several times, I found out that I just need to stop 
>the rtlinux, then everything is OK. So I think maybe this problem is coming from 
>RTLinux.
>  
> I hope you can give me some help about it.
>  
> Thanks in advance.
>  
> Hai Xu
> 
-- [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/

Reply via email to