Re: System Call 119, etc; and apt broke
On Sat, Nov 07, 1998 at 06:46:19PM +0530, Sanjeev Gupta wrote:
> 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.
The unimplemented syscalls messages are _really_ annoying but
harmless. You installed a new glibc (2.0.95) while upgrading which
causes the messages. Besides the new glibc breaks libstdc++2.8 and
therefore apt.
>
> Reinstalled apt-get (using dpkg -i). Ditto.
>
> First question: What did I do wrong?
Nothing like I said above ;-)
If you want to use apt with the new glibc you have to compile it
yourself or just don't use it (use dselect ftp instead, I know that's
not a real solution: I'll have to sort out the glibc stuff before I'll
start to recompile stuff, sorry :-/
>
> Secondly, I thought of recompiling the kernel, to atleast remove the
> warnings. Do I apply Christian's patch to:
To get rid of the warnings recompile a vger sparclinux kernel with the
fix which you included below.
>
> kernel-source-2.0.35_2.0.35-2.deb or something else?
You have to use a vger kernel source. The kernel-patch-sparc debian
package won't work anymore, I'll upload a new package next week
together with the new glibc.
>
> --- 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);
> }
>
Greetings,
Christian
--
Christian Meder, email: meder@isr.uni-stuttgart.de
What's the railroad to me ?
I never go to see
Where it ends.
It fills a few hollows,
And makes banks for the swallows,
It sets the sand a-blowing,
And the blackberries a-growing.
(Henry David Thoreau)
Reply to: