How to trace the module after system freeze?


 
Thread Tools Search this Thread
Operating Systems Linux How to trace the module after system freeze?
# 1  
Old 09-19-2009
Power How to trace the module after system freeze?

Hi,

I wrote a kernel module that did a virtual network protocol and library that provide interface for application use to interact with the kernel module by ioctl actions.

insmod the module and unload the module, there will be no problem. But once I call the library with my example application. The system freezed. And there is almost no any information on the console. So Are there any better solutions to track what happened?

Thanks very much.
a2156z
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Inputs required in decoding file on AIX- executable (RISC System/6000) or object module not stripped

Hi, We are in the process of migrating from AIX to Linux. There is a script of type "executable (RISC System/6000) or object module not stripped" on AIX and we are unable to read the contents of it. Is there a way to read the contents of the file on AIX, so that we can rewrite the code in... (3 Replies)
Discussion started by: venkatesh17
3 Replies

2. Cybersecurity

Freeze system

hello is there any freeze software for Linux-redhat system to prevent any changes on /root (wish open topic on right forum) (3 Replies)
Discussion started by: nimafire
3 Replies

3. Red Hat

PAM module pam_passwdqc module

Hello friends Today i have changed my passwd policy for strong password Everything is working correctly but when i changed my password , it did not ask me my old password my /etc/pam.d/system-auth file is (only passwdqc.so module line) password required pam_passwdqc.so retry=3... (0 Replies)
Discussion started by: rink
0 Replies

4. HP-UX

Command to trace System Calls on HP UX

All, Kindly let me know command which is used to trace the system calls on HP - UX server when an executable is run. On Solaris we have TRUSS which does the need. On HP UX we have TUSC command which is a third party software. Currently this is not installed on my HP Server. If there... (3 Replies)
Discussion started by: helper
3 Replies

5. SCO

Help on System Freeze in SCO

Hi, My SCO server freezes suddenly. I just want to know if there any tools / commands availble that can find which is causing the freeze? Any help on this would be greatly appreciated. Regards, Ravikumar R (4 Replies)
Discussion started by: rrb2009
4 Replies

6. Linux

Read data of a page frame (linux) make freeze the system

Hello, I'm writing a linux driver that reading the data of a page frame of an process. But when I use it, it make immediately freeze the system. Can you help me? Thank for reading my question! system: Ubuntu 9.04, kernel 2.6.28.15, Intel Duo static int read_addr(int pid, unsigned long... (2 Replies)
Discussion started by: hahai
2 Replies

7. UNIX for Advanced & Expert Users

A question about kernel module and system power-shutdown

Dear all, I've just installed a Vanilla kernel (last stable version downloaded from www.kernel.org) as an exercice in order to better understand how to compile linux kernel. I loaded the .config file of the current kernel (Redhat kernel) in the menuconfig in order to restore all already... (0 Replies)
Discussion started by: dariyoosh
0 Replies

8. Linux

How to convert Linux Kernel built-in module into a loadable module

Hi all, I am working on USB data monitoring on Fedora Core 9. Kernel 2.6.25 has a built-in module (the one that isn't loadable, but compiles and links statically with the kernel during compilation) to snoop USB data. It is in <kernel_source_code>/drivers/usb/mon/. I need to know if I can... (0 Replies)
Discussion started by: anitemp
0 Replies

9. Linux

Making Socket System Call From Linux Kernel Module?

Hi Everyone! How can we make a socket() system call from a linux module executing in kernel space? If any one knows, kindly tell me. It will be great. I want to use the socket interface in linux kernel space for sending raw packets over the network. Hamayun (0 Replies)
Discussion started by: mian_m_hamayun
0 Replies
Login or Register to Ask a Question
timod(7)						 Miscellaneous Information Manual						  timod(7)

NAME
timod - STREAMS module for converting ioctl() calls into TI messages DESCRIPTION
The timod module is a STREAMS module that converts ioctl() calls from a transport user supporting the Transport Interface (TI) into mes- sages that a transport protocol provider supporting TI can consume. This allows the user to initiate TI functions as atomic operations. The user places and removes the timod module on a device stream by calling the STREAMS I_PUSH ioctl() and I_POP ioctl() functions. The timod module recognizes and processes STREAMS messages generated by I_STR ioctl() calls containing the following TI commands: This TI command binds an address to the transport protocol provider. The STREAMS message that the module issues to the TI_BIND ioctl() call is equivalent to the TI message type T_BIND_REQ. The STREAMS message that the module returns in response to the successful completion of the TI_BIND ioctl() call is equivalent to the TI message type TI_BIND_ACK. This TI command unbinds an address from the transport protocol provider. The STREAMS message that the module issues to the TI_UNBIND ioctl() call is equivalent to the TI message type T_UNBIND_REQ. The STREAMS message that the module returns in response to the successful completion of the TI_UNBIND ioctl() call is equivalent to the TI mes- sage type TI_OK_ACK. This TI command gets the TI protocol-specific information from the transport protocol provider. The STREAMS message that the module issues to the TI_GETINFO ioctl() call is equivalent to the TI message type T_INFO_REQ. The STREAMS message that the module returns in response to the successful completion of the TI_GETINFO ioctl() call is equivalent to the TI message type TI_INFO_ACK. This TI command gets, sets, or negotiates TI protocol-specific options with the transport protocol provider. The STREAMS message that the module issues to the TI_OPTMGMT ioctl() call is equivalent to the TI message type T_OPTMGMT_REQ. The STREAMS message that the module returns in response to the successful completion of the TI_OPTMGMT ioctl() call is equivalent to the TI message type TI_OPTMGMT_ACK. The timod module transparently passes any STREAMS messages that are not generated by the ioctl() calls previously described to the neigh- boring module or driver. RETURN VALUES If the timod module returns an error for an ioctl() call, the lower 8 bits of the return value will be one of the TI error codes defined in the sys/tiusr.h header file. If the TI error is of the type TSYERR, then the second 8 bits of the return value will contain an error as defined in the sys/errno.h header file. FILES
Defines the error codes for TI functions. Defines the message types for TI. Defines the error codes for system errors. RELATED INFORMATION
Functions: intro(2), ioctl(2) Interfaces: streamio(7) delim off timod(7)

Featured Tech Videos