Linux MIPS Architecture development
 help / color / mirror / Atom feed
* shared mem problem
@ 2004-06-03 14:31 Sujith Nayak
  2004-06-03 20:30 ` Jan-Benedict Glaw
  2004-06-04  0:50 ` Ralf Baechle
  0 siblings, 2 replies; 3+ messages in thread
From: Sujith Nayak @ 2004-06-03 14:31 UTC (permalink / raw)
  To: linux-mips

Hi,
I am currently working on a board powered by a MIPS
processor, using Linux kernel 2.4.2. The problem that
I am facing is, whenever I create a shared memory
using shmget(), shmat(), etc. APIs, I always see that
the shared mem is created with 0 bytes. As a result
any access to it bombs the process.

Anyone has any idea, I will be grateful for your
response. I had a look at the patch-2.4.2-ac23, which
talks about the some shared mem lock up problem. But I
cannot apply the patch as it is because my customer
has pruned the kernel so much that the patch does not
apply right away.

Pl. help (by CCing your response to my mail id also).

Regards,

Sujeet


	
	
		
____________________________________________________________
Yahoo! Messenger - Communicate instantly..."Ping" 
your friends today! Download Messenger Now 
http://uk.messenger.yahoo.com/download/index.html

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: shared mem problem
  2004-06-03 14:31 shared mem problem Sujith Nayak
@ 2004-06-03 20:30 ` Jan-Benedict Glaw
  2004-06-04  0:50 ` Ralf Baechle
  1 sibling, 0 replies; 3+ messages in thread
From: Jan-Benedict Glaw @ 2004-06-03 20:30 UTC (permalink / raw)
  To: linux-mips

[-- Attachment #1: Type: text/plain, Size: 1457 bytes --]

On Thu, 2004-06-03 15:31:53 +0100, Sujith Nayak <nayak_27@yahoo.com>
wrote in message <20040603143153.42483.qmail@web60703.mail.yahoo.com>:
> Hi,
> I am currently working on a board powered by a MIPS
> processor, using Linux kernel 2.4.2. The problem that

Before doing anything else, you'd consider moving forward to current
2.4.x or even 2.6.x...

> I am facing is, whenever I create a shared memory
> using shmget(), shmat(), etc. APIs, I always see that
> the shared mem is created with 0 bytes. As a result
> any access to it bombs the process.
> 
> Anyone has any idea, I will be grateful for your
> response. I had a look at the patch-2.4.2-ac23, which
> talks about the some shared mem lock up problem. But I
> cannot apply the patch as it is because my customer
> has pruned the kernel so much that the patch does not
> apply right away.

Then talk your customer (isn't that actually your vendor?) into putting
work into a newer kernel. Maybe you can diff you their changes agains a
2.4.2 from either linux-mips.org or 2.4.2 from Linus and try to
forward-port the changes to current 2.4.x or 2.6.x ...

MfG, JBG

-- 
   Jan-Benedict Glaw       jbglaw@lug-owl.de    . +49-172-7608481
   "Eine Freie Meinung in  einem Freien Kopf    | Gegen Zensur | Gegen Krieg
    fuer einen Freien Staat voll Freier Bürger" | im Internet! |   im Irak!
   ret = do_actions((curr | FREE_SPEECH) & ~(NEW_COPYRIGHT_LAW | DRM | TCPA));

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: shared mem problem
  2004-06-03 14:31 shared mem problem Sujith Nayak
  2004-06-03 20:30 ` Jan-Benedict Glaw
@ 2004-06-04  0:50 ` Ralf Baechle
  1 sibling, 0 replies; 3+ messages in thread
From: Ralf Baechle @ 2004-06-04  0:50 UTC (permalink / raw)
  To: Sujith Nayak; +Cc: linux-mips

On Thu, Jun 03, 2004 at 03:31:53PM +0100, Sujith Nayak wrote:

> I am currently working on a board powered by a MIPS
> processor, using Linux kernel 2.4.2. The problem that
> I am facing is, whenever I create a shared memory
> using shmget(), shmat(), etc. APIs, I always see that
> the shared mem is created with 0 bytes. As a result
> any access to it bombs the process.
> 
> Anyone has any idea, I will be grateful for your
> response. I had a look at the patch-2.4.2-ac23, which
> talks about the some shared mem lock up problem. But I
> cannot apply the patch as it is because my customer
> has pruned the kernel so much that the patch does not
> apply right away.

This doesn't look like the fingerprint of any known problem.  Anyway,
discussing 2.4.2 bugs is pointless - you're missing over three years
worth of bugfixes.

  Ralf

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2004-06-04  0:52 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-06-03 14:31 shared mem problem Sujith Nayak
2004-06-03 20:30 ` Jan-Benedict Glaw
2004-06-04  0:50 ` Ralf Baechle

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox