home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.os.linux
- Path: sparky!uunet!munnari.oz.au!metro!peterw
- From: peterw@archsci.arch.su.oz.au (Peter Williams )
- Subject: Re: select () broken in 0.96cpl2?
- Message-ID: <1992Jul27.075032.5700@ucc.su.OZ.AU>
- Keywords: KERNEL
- Sender: news@ucc.su.OZ.AU
- Nntp-Posting-Host: freeman.arch.su.oz.au
- Organization: Design Computing Unit, The University of Sydney
- References: <dirkst.712200984@kaa>
- Date: Mon, 27 Jul 1992 07:50:32 GMT
- Lines: 52
-
- In article <dirkst.712200984@kaa>, dirkst@kaa.informatik.rwth-aachen.de (Dirk Steinberg) writes:
- |> Am I the only one or did someone else notice?
- |> Ever since I upgraded from 0.96c pl1 to pl2 zsh and X stopped
- |> working. I had no problems before. The X server does not
- |> respond to mouse movements at all, and although the xterm
- |> appears, there is no shell in it. When I run zsh (from hlu)
- |> it prints a prompt, but I cannot type anything.
- |> As ps(1) shows, in both cases the process hangs in do_select()
- |> so I wonder whether it might be broken.
- |>
- |> Any comments?
- |>
- |> Dirk
- |> --
- |> ---
- |> Dirk W. Steinberg
- |> Aachen University of Technology
- |> email: dirkst@pool.informatik.rwth-aachen.de
-
- It's not select() but mouse_select() that is broken.
- The following patch to mouse.c is a TEMPORARY fix for this problem
-
- ----cut here-------
- *** kernel/chr_drv/mouse.c.orig Mon Jul 20 22:11:23 1992
- --- kernel/chr_drv/mouse.c Mon Jul 20 22:12:03 1992
- ***************
- *** 77,84 ****
- return -EBUSY;
- if (!mouse.present)
- return -EINVAL;
- - if (request_irq(MOUSE_IRQ, mouse_interrupt))
- - return -EBUSY;
- mouse.active = 1;
- mouse.ready = 0;
- mouse.inode = inode;
- --- 77,82 ----
- ***************
- *** 86,91 ****
- --- 84,91 ----
- mouse.dy = 0;
- mouse.buttons = mouse.latch_buttons = 0x80;
- MSE_INT_ON();
- + if (request_irq(MOUSE_IRQ, mouse_interrupt))
- + return -EBUSY;
- return 0;
- }
-
- ----cut here----------
- --
- Peter Williams |e-mail: peterw@archsci.arch.su.oz.au
- Key Centre for Design Quality |phone: +61-2-692 2053 or +61-2-660 6156
- University of Sydney |+++++++++++++++++++++++++++++++++++++++
-