04-27-2006
system hangs in case of driver
hi,
i am working on device drivers in linux kernel-2.6.11. Distribution is Mandrake-10.2. Basically i have to port the driver from kernel-2.4 to kernel-2.6.11.
My system hangs,when ever an application calls select.
Basically the kernel code for select,
contains only 2 apis
void poll_wait (struct file *, wait_queue_head_t *, poll_table *);
signal_pending(current);
and atlast pollmask is returned.
What might be the problem????
Any help is welcome
regards
sriram
10 More Discussions You Might Find Interesting
1. SCO
Hi,
We are having an automated system installed on SCO unixware, which runs a End Of Day routine during midnight. Since few days system is hanging at data backup, I have checked the log, system hangs exactly on data compression, any idea or help that why system is hanging only on compression....... (10 Replies)
Discussion started by: tayyabq8
10 Replies
2. Filesystems, Disks and Memory
I'm setting up a server with software RAID1, and everything is working perfectly, except that when I pull either of the drives, the system completely hangs and has to be rebooted. The computer is a Tyan Transport GX28, which is alleged to have hot-swappable SATA. I can fail a drive and the system... (1 Reply)
Discussion started by: vertigo23
1 Replies
3. Ubuntu
Hi
I have to buy my selfe external case for hdd but I don't know whether my ubuntu linux, needs some driver to be able to work with this device or it has inside of itselfe this driver ?
rhx for help. (1 Reply)
Discussion started by: presul
1 Replies
4. Solaris
Hi,
today when i started the OS Sun Solaris 10 it hangs on initialization. Following was shown in the end of the screen
Initializing system
Please wait....
*
Please help? (3 Replies)
Discussion started by: malikshahid85
3 Replies
5. Solaris
I am running OpenIndiana development version oi_148 32-bit on a seven-year-old Dell Inspiron 8600.
Seems to be running fine except for one particular annoyance: It freezes whenever a system bell/beep plays.
I have mitigated this by turning the system bell off in gnome-terminal, which I use... (3 Replies)
Discussion started by: DeadBadger
3 Replies
6. Red Hat
Hi folks,
I am facing issue of my system (host1) getting hanged after throwing following ntpd messages. I am not able to ssh to the server there after. only option is to restart the host:
Dec 29 02:58:51 host1 ntpd: time reset -0.207907 s
Dec 29 02:58:51 host1 ntpd: synchronisation lost
Dec 29... (0 Replies)
Discussion started by: SiddhV
0 Replies
7. Solaris
Solaris 10 (Sun V210) System hangs every couple of months. Have to go into ALOM to reset. I did a consolehistory report and seen this in it.
Failed to exec inetd_start method of instance svc:/network/bootps/udp:default: I/O error
WARNING: /pci@1c,600000/scsi@2 (glm0):
Resetting... (3 Replies)
Discussion started by: Joeentech
3 Replies
8. Hardware
In general terms what are the differences platform driver,codec driver and Machine driver? (1 Reply)
Discussion started by: rupeshkp728
1 Replies
9. Red Hat
Hi,
We're using -
openldap-2.3.43-12.el5_6.5
nss_ldap-253-25.el5
on RHEL-5.5
Intermittently the entire system hangs, no message is present in any of the log files, login to the system fails, ssh fails, ping fails, the only way to recover is to hard-boot the system.
We consulted... (3 Replies)
Discussion started by: TheRock
3 Replies
10. UNIX for Advanced & Expert Users
Hi, I've got an issue which I've been 'google-fu'ing without much luck. We have a legacy program which has been plagued by an issue for a long time and I've been tasked to investigate/fix.
The program uses XMotif2.1 (required due to dependency on an old GUI designer) and runs on a RHEL7... (4 Replies)
Discussion started by: altrefrain
4 Replies
LEARN ABOUT OSF1
select_wakeup
select_wakeup(9r) select_wakeup(9r)
NAME
select_wakeup - General: Wakes up a kernel thread
SYNOPSIS
void select_wakeup(
sel_queue_t *selq );
ARGUMENTS
Specifies a pointer to a sel_queue structure.
DESCRIPTION
The select_wakeup routine wakes up a kernel thread that is suspended while waiting for an event on the specified device. A user-level
process can use the select system call to cause the process to be suspended while waiting for an event to happen on a device. For example,
a graphics application may issue a select call while waiting for mouse or keyboard input to arrive. In this case the process would issue
the select system call, which would indirectly call the graphics driver's select routine (through the driver's select entry point in the
dsent table) to determine if any input is available. If input is available, the select call may return immediately. If no input is cur-
rently available, the graphics driver would suspend the process until input arrived.
For this example, when the graphics driver has received input (typically through its interrupt handler), it causes any processes suspended
from calling select to continue by calling the select_wakeup routine. This causes any process currently suspended on the select channel
(as specified by the selq argument) to resume.
RETURN VALUES
None
SEE ALSO
Routines: select_dequeue(9r), select_dequeue_all(9r), select_enqueue(9r)
System Calls: select(2)
select_wakeup(9r)