HELP: INIT: error reading initrequest ?!

HELP: INIT: error reading initrequest ?!

Post by Martin Opi » Fri, 31 May 1996 04:00:00



Hi,

After I installed RedHat 3.0.3 and kernel p207 when I reboot with
c-a-d the system says:

INIT: Entering runlevel: 6

and then there comes anbout 10exp6 times the message:

INIT: error reading initrequest

The reboot finally works but this message comes all the time and drives me mad.
Can anyone help me PLEASE ?!

Thanks !!!!
Martin

--
_____________________________________________________________  /--i--\   . __

| University of Frankfurt am Main, Germany (computer science)     ||o - o|  |
|  "As to Gina winning her gamble...                              | /---\ \ |
|   that's a secret between her and me."   Fio, "Porco Rosso"     E/^ ^ ^\W |
`----------------------------------------------------------------  \m___m/ -'

 
 
 

HELP: INIT: error reading initrequest ?!

Post by Timothy Goldenbur » Sat, 01 Jun 1996 04:00:00



> Hi,

> After I installed RedHat 3.0.3 and kernel p207 when I reboot with
> c-a-d the system says:

> INIT: Entering runlevel: 6

> and then there comes anbout 10exp6 times the message:

> INIT: error reading initrequest

> The reboot finally works but this message comes all the time and drives me mad.
> Can anyone help me PLEASE ?!

> Thanks !!!!
> Martin

I had this problem as well.  Just download sysvinit-2.60.tar.gz from
sunsite.  It is located in /pub/Linux/system/Daemons/init

(for those that like using Netscape)

ftp://sunsite.unc.edu/pub/Linux/system/Daemons/init/sysvinit-2.60.tar.gz

Compile it and install it and the problem will be fixed.

I tried intalling RedHat's RPM update, but it didn't work.  This is what
I had to resort to.

Now everything is working happily together.

--
Tim Goldenburg


 
 
 

HELP: INIT: error reading initrequest ?!

Post by Jeffrey Ka » Sun, 02 Jun 1996 04:00:00


The "Changes" doc in the kernel distribution says:
   Linux's handling of named pipes changed (it now does it The Right Way
instead of the SunOS way ;-).  This broke some programs that depended
on the SunOS behavior, most notably SysVinit.  If you're running 2.59
or earlier, you will probably get a weird error on shutdown in which
your computer shuts down fine but "INIT: error reading initrequest" or
words to that effect scroll across your screen hundreds of times.  To
fix, upgrade to
ftp://ftp.cistron.nl/pub/people/miquels/debian/sysvinit-2.60.tar.gz.

 
 
 

HELP: INIT: error reading initrequest ?!

Post by Mika Sor » Sun, 02 Jun 1996 04:00:00


: Hi,

: After I installed RedHat 3.0.3 and kernel p207 when I reboot with
: c-a-d the system says:

: INIT: Entering runlevel: 6

: and then there comes anbout 10exp6 times the message:

: INIT: error reading initrequest

: The reboot finally works but this message comes all the time and drives me mad.
: Can anyone help me PLEASE ?!

Cannot help now, but I've exactly same problem at the moment with the
same system. I got the SysVinit sources for the RedHat christmas

surprise and the relevant line seems to be in init.c:
#if NEWINIT

/*
 * We got a change runlevel request through the
 * init.fifo. Process it.
 */

..
1392-/*
1393- * Read from the init FIFO. Processes like telnetd and rlogind can
1394- * ask us to create login processes on their behalf.
1395- *
1396- * FIXME: this needs to be finished.
1397- */
1398-void CheckInitFifo(void)
1399-{
1400-  static int pipe_fd = -1;
1401-  struct init_request request;
1402-  int n;
1403-  fd_set fds;
1404-  int quit = 0;
1405-
1406-  /* Try to open /dev/initctl */
1407-  if (pipe_fd < 0) {
1408-   if ((pipe_fd = open(INIT_FIFO, O_RDONLY|O_NONBLOCK)) >= 0) {
1409-           /* Don't use fd's 0, 1 or 2. */
1410-           (void) dup2(pipe_fd, PIPE_FD);
1411-           close(pipe_fd);
1412-           pipe_fd = PIPE_FD;
1413-   }
1414-  }
1415-
1416-  /* Wait for data to appear, _if_ the pipe was opened. */
1417-  if (pipe_fd >= 0) while(!quit) {
1418-
1419-   /* Do select, return on EINTR. */
1420-   FD_ZERO(&fds);
1421-   FD_SET(pipe_fd, &fds);
1422-   n = select(pipe_fd + 1, &fds, NULL, NULL, NULL);
1423-   if (n <= 0) {
1424-           if (errno == EINTR) return;
1425-           continue;
1426-   }
1427-
1428-   /* Read the data, return on EINTR. */
1429-   n = read(pipe_fd, &request, sizeof(request));
1430-   if (n <= 0) {
1431-           if (errno == EINTR) return;

******************************************************
*1432:          Log(L_VB, "error reading initrequest");
******************************************************

1433-           continue;
1434-   }
1472-#endif

--

                                     ?

 
 
 

HELP: INIT: error reading initrequest ?!

Post by Martin Pottendorf » Tue, 04 Jun 1996 04:00:00




> Newsgroups: comp.os.linux.development.system
> Date: 30 May 1996 20:35:07 GMT
> Organization: J. W. Goethe-Universitaet Frankfurt/Main

> Hi,

> After I installed RedHat 3.0.3 and kernel p207 when I reboot with
> c-a-d the system says:

> INIT: Entering runlevel: 6

> and then there comes anbout 10exp6 times the message:

same on my box

Quote:

> INIT: error reading initrequest

> The reboot finally works but this message comes all the time and drives me mad.
> Can anyone help me PLEASE ?!

redhat 3.0.3 comes with sysvinit-2.58.

from linux/Documentation/Changes (linux-pre2.0.10)

  Last updated: June 1, 1996.

  Current Releases
  ****************

  - Kernel modules         Stable: 1.3.57, Exp: 1.3.69k
  - PPP daemon             Stable: 2.2.0f
  - Dynamic linker (ld.so) 1.7.14
  - GNU CC                 2.7.2
  - Binutils               2.6.0.12
  - Linux C Library        Stable:  5.2.18, Beta:  5.3.12
  - Linux C++ Library      2.7.1.4
  - Termcap                2.0.8
  - Procps                 0.99a
  - Gpm                    1.09
  - SysVinit               2.60
  - Util-linux             2.5

so get a new init (and other stuff: check version with rpm)!

happy hacking,
martin

 
 
 

1. INIT: error reading initrequest

I had Redhat 3.0.3 running fine, but when I changed to kernel version 1.3.98
and used vfat as system type in my fstab, I get hundreds of:
INIT: error reading initrequest
when I try to shutdown.

Any suggestions?

JC Pollman

later,

JC          


^This is what happens when I roll my head on the keyboard.

2. LKCD for 2.5.40

3. Reading a DOS FAT partition?

4. INIT:error reading initrequest

5. Help: rsh without password

6. INIT: error reading initrequest

7. XDGA Programming Information

8. Why do I get "init: error reading initrequest"??

9. INIT: error reading initrequest (RedHat Picasso)

10. INIT: error in reading initrequest

11. INIT: Error reading initrequest

12. 1.2.13 -> 2.0.19 - INIT: error reading initrequest