psaux: Device or resource busy

psaux: Device or resource busy

Post by Jim Howe » Wed, 31 Mar 1999 04:00:00



Before everyone jumps in and says 'IRQ Problem', it isn't;
atleast I don't think so.  I think it's more a case of
hardware being silly.

On a Compaq Deskpro system, we have the following:

Kernel 2.0.34, P-II-333, 160Mb SDRAM, Intel EX chipset.
Adaptec 2940UW (system disk, and optical drive)
2 x 3Com PCI network cards
1 x ATI Rage IIc AGP video card
0 x ESS sound card (We had one, we didn't use it, we didn't
configure it, then we removed it).

Booting into xdm occasionally causes the system to loop
with xdm reporting 'Can't open /dev/mouse, device or resource busy'.
When this happens, the keyboard tends also to be locked, although
not always, which is wierd.

/dev/mouse is a symlink to /dev/psaux

No process has that inode (/dev/psaux) open (scanning through /proc),
GPM and the usual suspects are not running.  Shutting down to single
user mode and doing 'cat /dev/psaux' reports the same problem.

No device in /proc/pci is reported as using IRQ 12.
There is nothing listed in /proc/interrupts for IRQ 12
(the PS/2 mouse should only appear in there once it has been
opened).
Nothing in the BIOS allows us to get IRQ 12 for a PCI card,
only IRQ's 9, 10 and 11 seem to be available.

Hacking through drivers/char/psaux.c, I see that there are three
places where the device reports -EBUSY.  These are a result of
failures of request_irq(), poll_aux_status() and another request_irq()
which is not compiled in because CONFIG_82C710_MOUSE isn't defined.

Adding a couple of printk()'s, the poll_aux_status is failing.

Looking back through the syslog, the message 'Keyboard error'
appears every so often.  This is a result of keyboard.c getting
a scancode of 0xff back from the keyboard under certain conditions.

I currently suspect the keyboard controller (the PS/2 mouse being,
AFAIK an extension of that).

Any ideas?

Jim

 
 
 

psaux: Device or resource busy

Post by **Nick Brow » Wed, 31 Mar 1999 04:00:00


Weird.  If it's intermittent (you did say "occasionally"), I'd suspect
the hardware.  See if you can borrow an identical motherboard and try
your disk on that.  Normally the kayboard and mouse electronics are
close together, but they should use completely separate IRQs of course.


> Booting into xdm occasionally causes the system to loop

--
---------------------------------------------------------------
Nick Brown, Strasbourg, France (Nick(dot)Brown(at)coe(dot)fr)

Protect yourself against Word 95/97 viruses, free - check out
 http://www.geocities.com/NapaValley/Vineyard/1446/atlas-t.html
---------------------------------------------------------------

 
 
 

1. psaux device or resource busy

Hello,

I have problems loading the psaux module.
I always get device or resource busy.

Any ideas?

Michele Bergermann

p.s.: There is no device at IRQ 12 !!!

--
                                                                 #####
                                                                #######


    ##             #                                          ##  VVV  ##






  ############       ###    ####   #### #### ###  #####    QQQQQ#######QQQQQ

2. SLAKWARE ConfigFX86 ????

3. /dev/psaux - device or resource busy

4. how to find the IP address of a machine in a program

5. /dev/psaux: Device or resource busy

6. Linux 0.99-p10+ IP change problem???

7. modprobe eepro: Device or resource busy

8. An elementary(?) question--how to get modem to work? My modem is

9. Logitech BusMouse: Device or resource busy

10. Device or Resource busy

11. Cannot open mouse (Device or resource busy)

12. Device or resource busy

13. /dev/md0: Device or resource busy