Re: EACESS when trying to open the file

2012-12-22 Thread Shreyansh Jain
Hi Niroj On Saturday, December 22, 2012, Niroj Pokhrel wrote: > Hi, > I have been trying to open a character device and getting the following error . It > open("/dev/mychardev", O_RDONLY)= -1 EACCES (Permission denied) > What do I have to change my permission mode ?? > Please help. Thanx

Re: kernel stack memory

2012-09-16 Thread Shreyansh Jain
urrent process. > Try to access current macro after overrun, it will try do access corrupt > thread_info structure to get task_struct pointer. > > But make sure to corrupt the thread_info structure in predictive manner as > pointed out in previous mails :). > > -Rajat

Re: kernel stack memory

2012-09-15 Thread Shreyansh Jain
Hi 卜弋天 and list, Please find my comments inline On Thu, Sep 13, 2012 at 7:38 PM, 卜弋天 wrote: > i don't know why you want to corrupt kernel stack by using this method, > stack usually grow from high address to low address, > if you allocate a buff in a function then use memset(), it is writing dat

Re: Problem compiling BCM Wireless driver on 2.6.37 (lib80211 symbol issue)

2011-03-21 Thread Shreyansh Jain
Hi Greg, On Mon, Mar 21, 2011 at 12:20 AM, Greg KH wrote: > On Sun, Mar 20, 2011 at 11:42:36PM +0530, Shreyansh Jain wrote: >> Hi Greg >> >> > >> > Why not ask the authors of that code?  As it is closed source, they are >> > the only ones that can le

Re: Problem compiling BCM Wireless driver on 2.6.37 (lib80211 symbol issue)

2011-03-20 Thread Shreyansh Jain
Hi Greg On Sun, Mar 20, 2011 at 9:28 PM, Greg KH wrote: > On Sun, Mar 20, 2011 at 09:04:21PM +0530, Shreyansh Jain wrote: >> Dear List, >> >> I recently compiled and booted up the 2.6.37 kernel on my Ubuntu >> (10.04), from 2.6.36.1. I have been trying to compile the

Problem compiling BCM Wireless driver on 2.6.37 (lib80211 symbol issue)

2011-03-20 Thread Shreyansh Jain
Dear List, I recently compiled and booted up the 2.6.37 kernel on my Ubuntu (10.04), from 2.6.36.1. I have been trying to compile the Broadcom Wireless driver on 2.6.37, after making some changes in the source code. Just to add, this driver has been working fine on 2.6.36.1 which my machine ran ea

Re: LDD3 examples updated

2011-01-06 Thread Shreyansh Jain
Hi Javier, On Thu, Jan 6, 2011 at 1:15 PM, Javier Martinez Canillas wrote: > Hello, > > I see many people in the list asking where do I start? In my opinion > the best way to learn kernel development is first learning some basic > concepts and start coding to get your hands dirty. > > The Linux D

Re: recurring problem, booting git-built to black screen with intel GPU

2010-12-27 Thread Shreyansh Jain
Hi Robert, On Mon, Dec 27, 2010 at 6:47 PM, Robert P. J. Day wrote: > On Mon, 27 Dec 2010, Shreyansh Jain wrote: > >> What parameters are being passed to the new kernel via Grub? I had >> the same issue (don't remember, but I think it was with one of the >> rc build

Re: recurring problem, booting git-built to black screen with intel GPU

2010-12-27 Thread Shreyansh Jain
Hi Robert, I have a tiny comment - inline - On Mon, Dec 27, 2010 at 4:18 PM, Robert P. J. Day wrote: > >  this is a copy of something i forwarded to the linux kernel mailing > list, and i'd be interested if anyone else would test this and > reproduce the problem: > > = start = > >  on my

Re: Problem with booting newly compiled kernel

2010-12-21 Thread Shreyansh Jain
Hi, On Wed, Dec 22, 2010 at 2:58 AM, Prasad Joshi wrote: > On Tue, Dec 21, 2010 at 8:43 PM, John Mahoney wrote: b. Also, who generates these UUID - is it a disk property (like, ROM signature or stuff?), or this is some udev magic? >>> >>> IMHO, this is fixed for every device durin

Re: Sound not coming after compiling new kernel 2.6.36

2010-12-21 Thread Shreyansh Jain
Hi Rishi, On Tue, Dec 21, 2010 at 11:04 AM, Rajat Sharma wrote: > likely sound driver for Intel 82801G is not selected in your kernel config > file. .config generated after you did make menuconfig. > > On Tue, Dec 21, 2010 at 10:11 AM, Rishi Agrawal > wrote: >> >> Hi All, >> >> I compiled the ke

Re: Problem with booting newly compiled kernel

2010-12-21 Thread Shreyansh Jain
Hi List, On Tue, Dec 21, 2010 at 7:22 PM, Prasad Joshi wrote: > On Tue, Dec 21, 2010 at 1:37 AM, Alexandre Courbot wrote: >>>        linux   /vmlinuz-2.6.37-rc6+ >>> root=UUID=01432597-18e7-4609-9f85-3fad1d762ddc ro iommu=1 >> >> Try replacing root=UUID=01432597-18e7-4609-9f85-3fad1d762ddc by th

Re: A query on page cache and writepage

2010-12-20 Thread Shreyansh Jain
Hi Prasad, (My comment inline) On Sat, Dec 18, 2010 at 5:24 PM, Rajat Sharma wrote: > I am not sure if memory what for your filesystem needs mapping, may be to > support binary execution. Do you really need to support Writable or Shared > memory mappings? If you are good with Read-only mappings