henks@nikhefk.UUCP (Henk Schouten) (12/01/89)
Hello netlanders, I would like to know if anyone out there has been doing any work on porting the KA9Q-package to a IBM PS2 model 80. I started compiling the sources, thinking it wouldn't cause any problems, but the resulting executable runs OK on a regular PC, but hangs on the PS2/80. What I see is that the copyright message is printed, as well as the prompt but from that moment the system is dead. I looked at the source of main(), and it seemes that just after the call to pwait() on the Command queue, all processes are waiting for some signal and no signals ever arrive. : : for (;;) { printf(Prompt); while(Cmdq == NULLBUF) pwait(&Cmndq); bp = dequeue(&Cmdq); : : I used the Turbo Debugger and found out that the variable Tick does get incremented, so that would mean that at least the timer interrupts arrive ok. What I see next is that the variable Clock isn't incremented anymore after its value is about 5 (sometimes 6 or 7). So to me it seems that some part of the initialization stops the system from working. I compiled again with the PROCTRACE flag on, which results in the following output: (... copyright notice ...) net> -> killer(1) -> timer(1) -> network(1) -> keyboard(1) -> timer(0) Does this mean that the interrupts were turned off at some moment? Any help would be very much appreciated. ------------------------------------------------------------------------------- Henk Schouten internet: henks@nikhefk.nl Software Expertise Center uucp: hp4nl!hhinsi!henks Haagse Hogeschool - Intersector Informatica uucp: hp4nl!nikhefk!henks Louis Couperusplein 1-19 phone: (31) 70 618419 2419 AP Den Haag, The Netherlands fax: (31) 70 618599 -------------------------------------------------------------------------------