[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

System Call 119, etc; and apt broke



Hi,

Half way through using apt-get to finish installing sid on a Sparc
classic, I started getting "Unimplemented System calls".  As the screen
was quite messed up, and because I needed to answer questions that dpkg
mighta ask, I pressed ^C, and tried to telnet in to finish configuration.
This failed (telnetd was not started), so rebooted the machine
(Ctrl-Alt-Del).

Now managed to telnet in (the console is still scrolling away).  But
apt-get gives a Segmentation Fault.

Reinstalled apt-get (using dpkg -i).  Ditto.

First question:  What did I do wrong?

Secondly, I thought of recompiling the kernel, to atleast remove the
warnings.  Do I apply Christian's patch to:

kernel-source-2.0.35_2.0.35-2.deb or something else?

And do I need to install the sparclinux patches?  There doesn't seem to be
a dependency.

Output of ldd
 
slinux:~# ldd /usr/bin/apt-get 
        libpkg.so.0 => /usr/lib/libpkg.so.0 (0x5002e000)
        libstdc++.so.2.8 => /usr/lib/libstdc++.so.2.8 (0x500f5000)
        libm.so.6 => /lib/libm.so.6 (0x50149000)
        libc.so.6 => /lib/libc.so.6 (0x5018c000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x50000000)


-----
Christian Meder, email: meder@isr.uni-stuttgart.de, wrote:

--- linux/arch/sparc/kernel/sys_sparc.c-orig    Fri Aug 28 13:05:49 1998
+++ linux/arch/sparc/kernel/sys_sparc.c Fri Aug 28 13:06:03 1998
@@ -230,7 +230,7 @@
        /* Be silent for this one as it is attempted by newer
         * 2.1.x module utilities.
         */
-       if(regs->u_regs[1] != 184) {
+       if((regs->u_regs[1] != 103) && (regs->u_regs[1] != 119) &&
(regs->u_regs[1] != 184))   {
                printk ("Unimplemented SPARC system call
%d\n",(int)regs->u_regs[1]);
                show_regs (regs);
        }

-----

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Sanjeev "Ghane" Gupta			Tel: +91(11) 6941831, 6946619
Eurolink Systems Ltd			Fax: +91(11) 6943732
New Delhi, India		      email: ghane@eurolink.stpn.soft.net
          Eurolink doesn't pay me to speak for it, so I don't
           Old age is not an accomplishment, nor youth a sin


Reply to: