Re: Debugging kernel modules

2010-12-04 Thread Dev Null
tool or techniques available to debug highly critical production server, where data might be corrupted or OS is behaving crazy? Lets consider the scenario, where the back up server is not present in infrastructure of the business process. Thanks, Dev Null On Fri, Dec 3, 2010 at 7:28 PM, Mulyadi

Re: Debugging kernel modules

2010-12-03 Thread Dev Null
Hello, How to debug the running kernel module on any production server? In general, what are the debugging techniques of any running production server? Thanks, Dev Null On Mon, Nov 29, 2010 at 8:56 PM, Alexandre Courbot wrote: > Hi, > > > Can some one tell, whats the best w

Re: File size from Linux Kernel Module

2010-10-26 Thread Dev Null
Hi Rajat, I couldn't find kern_path function in Linux Kernel 2.6.27.20. Could you please let me know how to get the file size in detail? Thanks, Dev On Mon, Oct 25, 2010 at 8:21 PM, Rajat Sharma wrote: > Do a lookup of the file using kern_path kernel function and then use > vfs

File size from Linux Kernel Module

2010-10-25 Thread Dev Null
queries? Thanks, Dev Null

difference between Kernel Logical Addresses and Kernel virtual addresses

2010-10-08 Thread Dev Null
d help me to get the clear understanding of MMU of Linux. Thanks, Dev Null

Re: I2C Driver: Attach_adapter VS Probe or Detect

2010-10-01 Thread Dev Null
Do you think that this way of driver detection has any side effects on SMBus? After running the system for more than 24-48 hours, the system hangs on reboot. This driver is needed for our project. On Wed, Sep 29, 2010 at 7:02 PM, Arun KS wrote: > On Thu, Sep 30, 2010 at 2:45 AM, Dev N

Re: I2C Driver: Attach_adapter VS Probe or Detect

2010-09-29 Thread Dev Null
hangs on reboot. Somehow, CPU doesn't get reset signal. On Wed, Sep 29, 2010 at 3:08 AM, Silesh C V wrote: > Hello, > > On Wed, Sep 29, 2010 at 12:57 AM, Dev Null wrote: > > Hello, > > I have been using the I2C driver and the driver detection routine through > > a

I2C Driver: Attach_adapter VS Probe or Detect

2010-09-28 Thread Dev Null
could be the source of that issue? Thanks, Dev Null

Re: Hang on Reboot due to I2C driver

2010-09-27 Thread Dev Null
that CPU isn't getting the reset signal during /sbin/reboot command. On Mon, Sep 27, 2010 at 11:22 AM, Carlo Caione wrote: > > On Sep 27, 2010, at 7:40 PM, Dev Null wrote: > > > I have been executing the i2c driver which is connected to power supply > module through i2c int

Hang on Reboot due to I2C driver

2010-09-27 Thread Dev Null
remove the i2c driver from the system, then I cannot see any issue. Please reply any solution might you have. Thanks Dev Null

Re: Why SAVE_ALL (for x86) macro in 2.6 loads __USER_DS to %ds

2010-06-07 Thread rahul dev
Hi Joel, > since Linux doesn't use segmentation , all the segment descriptor values > > are the same. So I think it doesn't matter what selector value you load > in > DS, ES etc. Though I don't know the real reason for why __USER_DS  is > used > instead of __KERNEL_DS Although, linux doesn't

Why SAVE_ALL (for x86) macro in 2.6 loads __USER_DS to %ds

2010-06-07 Thread rahul dev
Guys, I was looking at the SAVE_ALL code for kernel 2.6. I am confused why SAVE_ALL restores __USER_DS to ds and es ? #define SAVE_ALL \ cld; \ pushl %fs; \ pushl %es; \ pushl %ds; \ pushl %eax; \ pushl %ebp; \ pushl %edi; \ pushl

significance of BUF_CLEAN list

2010-01-04 Thread rahul dev
Guys, In function __refile_buffer() (linux 2.4.21-50), what is the significance of moving a buffer to BUF_CLEAN list. I don't see traversing BUF_CLEAN list anywhere in the code. So, why do we need to move the buffer to clean list. In case if dispose == BUF_CLEAN, just removing the buffer fr

Re: problem with linux booting

2007-10-19 Thread dev
Hey, I had once ran into a problem with FC5 because FC5 used xen as a hypervisor, and didn't work with normal kernel compiles. Maybe thats a problem over here? Regards, dev -- To unsubscribe from this list: send an email with "unsubscribe kernelnewbies" to [EMAIL PROTECTED] Plea

Re: Hibernate shuts off comp but shutdown now -h doesn't

2007-10-16 Thread dev . akhawe
Hey, I wasn't even using APM. APM is disabled in my config. Isn't ACPI a replacement for APM ? Regards, devdatta -- To unsubscribe from this list: send an email with "unsubscribe kernelnewbies" to [EMAIL PROTECTED] Please read the FAQ at http://kernelnewbies.org/FAQ

Re: Hibernate shuts off comp but shutdown now -h doesn't

2007-10-14 Thread dev
Hey, > What happens if you do "echo shutdown > /sys/power/disk" before hibernation? Absolutely nothing! No change at all. I did that and then am writing this reply. whats supposed to happen? Regards, dev -- To unsubscribe from this list: send an email with "unsubscribe ker

Hibernate shuts off comp but shutdown now -h doesn't

2007-10-14 Thread dev
s/power/state In this case, the system halts down. I want to know : if the hibernate / suspend to disk can halt my computer why can't shutdown now -h. Any reasons for this / fix ? Regards, dev Also , a 'halt' entry in my grub's menu.lst shuts down my computer just fine.

Re: Syscall Creation Question - New Member

2007-09-28 Thread dev
see tldp.org ... there is a FAQ on implementing a sys call. -- To unsubscribe from this list: send an email with "unsubscribe kernelnewbies" to [EMAIL PROTECTED] Please read the FAQ at http://kernelnewbies.org/FAQ

Re: boot logs >> KERNEL PANIC !!

2007-09-20 Thread dev
> Is it because the initrd image is too large ... I would think so as that whats it says in the error log! :) Why do you want to use an initrd anyways? Just build in your root fs! -- To unsubscribe from this list: send an email with "unsubscribe kernelnewbies" to [EMAIL PROTECTED] Please read the

Re: Passing arguments/parameters to a kernel module via sysfs

2007-09-12 Thread dev . akhawe
Hey, AFAIK, /proc is being deprecated so all new developers are asked to use sysfs (or atleast thats what I read somewhere). On 9/12/07, Ron Lee <[EMAIL PROTECTED]> wrote: > Hello all, > > I would like to pass arguments/parameters to a kernel module. My current > method is to use the proc file

Re: [DOUBT]Kernel Kbuild and linker behaviour on 2.6.18 kernel.

2007-09-11 Thread dev
I am not sure , but could you try not making a new directory for your foo,. Just as a test? Whatever .c files you create put them in net/ and edit net/Makefile . Then try? This same problem I faced when I didn't edit the makefile correctly. Alternatively, maybe you could post a diff to show us ex

Re: trying to clarify initramfs processing

2007-09-07 Thread dev
It seems to me that the kernel will first search for init in the initramfs file. If it doesn't find anything there it will boot up the legacy init. If it finds a init there, the init is run (which in most cases calls up the legacy init), When and exactly where initrd comes in I am not sure. All I w