Linux MIPS Architecture development
 help / color / mirror / Atom feed
* execve("sbin/init",argv_init,envp-init) in init() of main.c and sbin/init.
@ 2001-08-08  0:36 Steven Liu
  2001-08-08  0:36 ` Steven Liu
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Steven Liu @ 2001-08-08  0:36 UTC (permalink / raw)
  To: linux-mips; +Cc: dankamura

Hi, ALL:

I posted a message in this board regarding
execve("sbin/init",argv_init,envp-init) in init() of main.c this
morning. Pete gave some very good suggessions.Thank you very much, Pete.
I tried them but the problem has not been solved yet. My CPU is not
standard R3000 mips CPU with some registers added in and modified. For
example, ASID field in EntryHi register is of 8 bits instead of 6 bits.
This may creat some problems.

I want to investigate the "sbin/init" program but I do not know where I
can find the source code of this program. If you know any hint and let
me know, I would be very pleased.

Thank you for your help.

Regards,

Steven Liu

^ permalink raw reply	[flat|nested] 5+ messages in thread

* execve("sbin/init",argv_init,envp-init) in init() of main.c and sbin/init.
  2001-08-08  0:36 execve("sbin/init",argv_init,envp-init) in init() of main.c and sbin/init Steven Liu
@ 2001-08-08  0:36 ` Steven Liu
  2001-08-08  3:59 ` Ilya Volynets
  2001-08-08  4:39 ` Pete Popov
  2 siblings, 0 replies; 5+ messages in thread
From: Steven Liu @ 2001-08-08  0:36 UTC (permalink / raw)
  To: linux-mips; +Cc: dankamura

Hi, ALL:

I posted a message in this board regarding
execve("sbin/init",argv_init,envp-init) in init() of main.c this
morning. Pete gave some very good suggessions.Thank you very much, Pete.
I tried them but the problem has not been solved yet. My CPU is not
standard R3000 mips CPU with some registers added in and modified. For
example, ASID field in EntryHi register is of 8 bits instead of 6 bits.
This may creat some problems.

I want to investigate the "sbin/init" program but I do not know where I
can find the source code of this program. If you know any hint and let
me know, I would be very pleased.

Thank you for your help.

Regards,

Steven Liu

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: execve("sbin/init",argv_init,envp-init) in init() of main.c and sbin/init.
  2001-08-08  0:36 execve("sbin/init",argv_init,envp-init) in init() of main.c and sbin/init Steven Liu
  2001-08-08  0:36 ` Steven Liu
@ 2001-08-08  3:59 ` Ilya Volynets
  2001-08-08  3:59   ` Ilya Volynets
  2001-08-08  4:39 ` Pete Popov
  2 siblings, 1 reply; 5+ messages in thread
From: Ilya Volynets @ 2001-08-08  3:59 UTC (permalink / raw)
  To: Steven Liu, linux-mips; +Cc: dankamura

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Look for SystemVinit at sunsite.unc.edu, or any other major free software archive.
Or just search alte vista...
On Tuesday 07 August 2001 17:36, Steven Liu wrote:
> Hi, ALL:
>
> I posted a message in this board regarding
> execve("sbin/init",argv_init,envp-init) in init() of main.c this
> morning. Pete gave some very good suggessions.Thank you very much, Pete.
> I tried them but the problem has not been solved yet. My CPU is not
> standard R3000 mips CPU with some registers added in and modified. For
> example, ASID field in EntryHi register is of 8 bits instead of 6 bits.
> This may creat some problems.
>
> I want to investigate the "sbin/init" program but I do not know where I
> can find the source code of this program. If you know any hint and let
> me know, I would be very pleased.
>
> Thank you for your help.
>
> Regards,
>
> Steven Liu
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.4 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iEYEARECAAYFAjtwuSYACgkQtKh84cA8u2nn7gCeNd3zrFk3mPAzKubwGfW3EVEC
Cq4AoIyMVLJ0LSbc/1Iot28eCBSmaVaf
=UyqM
-----END PGP SIGNATURE-----

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: execve("sbin/init",argv_init,envp-init) in init() of main.c and sbin/init.
  2001-08-08  3:59 ` Ilya Volynets
@ 2001-08-08  3:59   ` Ilya Volynets
  0 siblings, 0 replies; 5+ messages in thread
From: Ilya Volynets @ 2001-08-08  3:59 UTC (permalink / raw)
  To: Steven Liu, linux-mips; +Cc: dankamura

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Look for SystemVinit at sunsite.unc.edu, or any other major free software archive.
Or just search alte vista...
On Tuesday 07 August 2001 17:36, Steven Liu wrote:
> Hi, ALL:
>
> I posted a message in this board regarding
> execve("sbin/init",argv_init,envp-init) in init() of main.c this
> morning. Pete gave some very good suggessions.Thank you very much, Pete.
> I tried them but the problem has not been solved yet. My CPU is not
> standard R3000 mips CPU with some registers added in and modified. For
> example, ASID field in EntryHi register is of 8 bits instead of 6 bits.
> This may creat some problems.
>
> I want to investigate the "sbin/init" program but I do not know where I
> can find the source code of this program. If you know any hint and let
> me know, I would be very pleased.
>
> Thank you for your help.
>
> Regards,
>
> Steven Liu
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.4 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iEYEARECAAYFAjtwuSYACgkQtKh84cA8u2nn7gCeNd3zrFk3mPAzKubwGfW3EVEC
Cq4AoIyMVLJ0LSbc/1Iot28eCBSmaVaf
=UyqM
-----END PGP SIGNATURE-----

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: execve("sbin/init",argv_init,envp-init) in init() of main.c and sbin/init.
  2001-08-08  0:36 execve("sbin/init",argv_init,envp-init) in init() of main.c and sbin/init Steven Liu
  2001-08-08  0:36 ` Steven Liu
  2001-08-08  3:59 ` Ilya Volynets
@ 2001-08-08  4:39 ` Pete Popov
  2 siblings, 0 replies; 5+ messages in thread
From: Pete Popov @ 2001-08-08  4:39 UTC (permalink / raw)
  To: Steven Liu; +Cc: linux-mips, dankamura

Steven Liu wrote:

> Hi, ALL:
> 
> I posted a message in this board regarding
> execve("sbin/init",argv_init,envp-init) in init() of main.c this
> morning. Pete gave some very good suggessions.Thank you very much, Pete.
> I tried them but the problem has not been solved yet. My CPU is not
> standard R3000 mips CPU with some registers added in and modified. For
> example, ASID field in EntryHi register is of 8 bits instead of 6 bits.
> This may creat some problems.
> 
> I want to investigate the "sbin/init" program but I do not know where I
> can find the source code of this program. If you know any hint and let
> me know, I would be very pleased.
> 
> Thank you for your help.

If you tried sash and you couldn't run it, I strongly suggest not 
messing with /sbin/init. Work on your kernel until you can run a simple 
userland shell like sash.

Pete

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2001-08-08  4:40 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-08-08  0:36 execve("sbin/init",argv_init,envp-init) in init() of main.c and sbin/init Steven Liu
2001-08-08  0:36 ` Steven Liu
2001-08-08  3:59 ` Ilya Volynets
2001-08-08  3:59   ` Ilya Volynets
2001-08-08  4:39 ` Pete Popov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox