Re: determine SCSI HBA

2009-07-20 Thread ajit mote
Along with /proc/scsi/scsi , /var/log/dmesg file will help U ... you can also use systool to get more detailed information the HBA cards present on system On Sun, Jul 19, 2009 at 8:27 PM, Pranav Sawargaonkar pranav.sawargaon...@gmail.com wrote: On Sat, Jul 18, 2009 at 11:57 AM, Leena

Re: determine SCSI HBA

2009-07-20 Thread Leena M.
Hi All, here are few outputs , based on this can I say that there is a SCSI adapter (which I cant see on my MB) somewhere. le...@debian:~$ ls /proc/scsi/ device_info scsi usb-storage le...@debian:~$ ls /proc/scsi/ device_info scsi usb-storage on...@debian:~$ cat /proc/scsi/device_info

Re: how to flush cache ??

2009-07-20 Thread er krishna
Not only linux kernel, every aspect of life and in fact the whole life is to discover more more more and it will never end. :) On Mon, Jul 20, 2009 at 5:29 AM, Peter Teoh htmldevelo...@gmail.com wrote: wow.Linux Kernel is excitinglots of things to readand re-readand

Re: determine SCSI HBA

2009-07-20 Thread arshad hussain
On Mon, Jul 20, 2009 at 12:50 PM, arshad hussainarshad.su...@gmail.com wrote: On Mon, Jul 20, 2009 at 11:44 AM, Leena M.kernm...@gmail.com wrote: Hi All, here are few outputs , based on this can I say that there is a SCSI adapter (which I cant see on my MB)  somewhere. le...@debian:~$ ls

Re: Single UART handling multiple devices.

2009-07-20 Thread matthias
Hi, Why you don't put everything in user space. So you just need the driver to communicate with your UART port. Use pipes for communication between your applications and the UART-controller-application in user space. regards, Matthias 2009/7/19 srinivas ramana srinivas.ram...@gmail.com: Hi

Re: to emulate kernel using any virtualizations ?

2009-07-20 Thread H M Thalib
On Fri, 2009-07-17 at 13:52 +0700, Mulyadi Santosa wrote: Hi... On 7/17/09, Siddu siddu.s...@gmail.com wrote: Hi all, Have you ever tried to emulate the Linux kernel using any of the virtualizations techniques without tampering the host kernel ? if so please tell me how , or give me

Re: to emulate kernel using any virtualizations ?

2009-07-20 Thread H M Thalib
On Mon, 2009-07-20 at 19:59 +0530, H M Thalib wrote: On Fri, 2009-07-17 at 13:52 +0700, Mulyadi Santosa wrote: Hi... On 7/17/09, Siddu siddu.s...@gmail.com wrote: Hi all, Have you ever tried to emulate the Linux kernel using any of the virtualizations techniques without tampering

how to export function from fs/dropcache.c

2009-07-20 Thread er krishna
Dear All, I have one simple problem in exporting the function. Everything is fine, but its not working as per the expectation. Actually I have to export some function from fs/dropcache.c, but it is not working as per the expectataion, [ I am able to export any function from other files like

simulating the kernel crash and kernel panic

2009-07-20 Thread H M Thalib
I want to test my kernel for stability. Can you help me in artificially simulating the kernel crash, kernel panic scenarios. Is there any standard way to simulate it. maybe by running applications, scripts. but I dont want to modify anything in the kernel space. -- H M Thalib -- To unsubscribe

Simple USB mouse driver.

2009-07-20 Thread Vipul Jain
Hi All, I am looking for some documentation and or skeleton code for USB mouse driver. I have went through couple for documents and books likes LDD3 and Essential Linux Device Driver but they all talk about USB bulk drivers. I am more interested in code that talks about initialization of

Re: how to export function from fs/dropcache.c

2009-07-20 Thread SandeepKsinha
Hi Krishna, On Mon, Jul 20, 2009 at 8:10 PM, er krishna erkris...@gmail.com wrote: Dear All, I have one simple problem in exporting the function. Everything is fine, but its not working as per the expectation. Actually I have to export some function from fs/dropcache.c, but it is

Re: simulating the kernel crash and kernel panic

2009-07-20 Thread Vipul Jain
Hi Thalib, I believe you can use simple helloworld kernel module and just dereference a null pointer any where in your code that will give to kernel crash for analysis. (Below is very beautiful article written by Rob Day that can be helpful...You don't have to change kernel.. : ) )

Re: Simple USB mouse driver.

2009-07-20 Thread Quentin Carbonneaux
Hi, I'm currently working on a the driver appletouch.c (can be found in drivers/input/mouse/) it's quite clear and uses USB interrupts. Irecommand you to read this. Moreover the chapter about USB devices in LDD can give you informations on USB interrupts messages (how to submit URBs etc ).

Re: how to export function from fs/dropcache.c

2009-07-20 Thread Peter Teoh
sorry...let me debug my statement, one more thing to do: d. and from the function user side (whoever use the function) extern drop_pagecache() have to be declared. On Tue, Jul 21, 2009 at 8:03 AM, Peter Teohhtmldevelo...@gmail.com wrote: since drop_cache is part of kernel, u have to do 3

Re: how to export function from fs/dropcache.c

2009-07-20 Thread er krishna
I have already done the above things, not only one time but many time, all the function except fs/dropcache.c are exported in usual manner, but the function from fs/dropcache.c file are never get exported; please check its entry in system.map file. I have exported myfunction, myfunction2 and

Re: how to export function from fs/dropcache.c

2009-07-20 Thread Mulyadi Santosa
On Mon, Jul 20, 2009 at 9:40 PM, er krishnaerkris...@gmail.com wrote: I have exported three functions from fs/dropcaches.c by making their function declaration in linux/mm.h, compiled the  corresponding 2.6.26 kernel got their entries in System.map file as follows: c0174d98 T drop_slab

Re: Checking Installed library

2009-07-20 Thread अनुज
Hi Rishi On Tue, Jul 14, 2009 at 11:08 PM, Rishi Agrawal rishi.b.agra...@gmail.comwrote: Hello All, I want to check whether a particular library is installed or not using a shell command. You can simply run this command : $ ldconfig -v | grep 'your_library_name' The output will tell

Re: simulating the kernel crash and kernel panic

2009-07-20 Thread Mulyadi Santosa
On Mon, Jul 20, 2009 at 10:54 PM, H M Thalibhmtha...@gmail.com wrote: I want to test my kernel for stability. Can you help me in artificially simulating the kernel crash, kernel panic scenarios. Is there any standard way to simulate it. maybe by running applications, scripts. but I dont want