Bug 29698 - [linux] [patch] linux ipcs doesn'work
Summary: [linux] [patch] linux ipcs doesn'work
Status: Closed FIXED
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: 5.0-CURRENT
Hardware: Any Any
: Normal Affects Only Me
Assignee: Mark Linimon
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-08-14 10:20 UTC by Michael Reifenberger
Modified: 2010-08-07 07:47 UTC (History)
0 users

See Also:


Attachments
file.diff (4.67 KB, patch)
2001-08-14 10:20 UTC, Michael Reifenberger
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Reifenberger 2001-08-14 10:20:01 UTC
/compat/linux/usr/bin/ipcs [-s|-a] doesn't work

Fix: It is the needed step in getting "/compat/linux/usr/bin/ipcs -s" working.
Furthermore it enhances the sysv[sem|shm] sysctl's into tunables so they
can preset to usable values on modload.
How-To-Repeat: /compat/linux/usr/bin/ipcs [-s|-a]
Comment 1 Bruce M Simpson freebsd_committer freebsd_triage 2004-06-18 13:09:56 UTC
Responsible Changed
From-To: freebsd-bugs->emulation

One for the emulation team
Comment 2 Alexander Leidinger freebsd_committer freebsd_triage 2005-12-29 16:00:42 UTC
State Changed
From-To: open->feedback

There's no ipcs in the current default linux base... 

Is this still a problem on a recent FreeBSD? If yes, do you have 
updated patches?
Comment 3 Alexander Leidinger freebsd_committer freebsd_triage 2006-05-01 12:52:45 UTC
State Changed
From-To: feedback->open

Back to "open", maybe an upcomming SoC student is willing to have a look 
at this.
Comment 4 Alexander Best 2009-09-16 02:02:25 UTC
emulators/linux_dist-gentoo-stage3 comes with `ipcs` and `ipcrm`. running ipcs
[-s|-a] works without any problems.

`/usr/local/gentoo-stage3/usr/bin/ipcs -a`:

------ Shared Memory Segments --------
key        shmid      owner      perms      bytes      nattch     status

------ Semaphore Arrays --------
key        semid      owner      perms      nsems
0x74738b52 65536      arundel   600        1

------ Message Queues --------
key        msqid      owner      perms      used-bytes   messages

`/usr/local/gentoo-stage3/usr/bin/ipcs -s`:

------ Semaphore Arrays --------
key        semid      owner      perms      nsems
0x74738b52 65536      arundel   600        1

` /usr/local/gentoo-stage3/usr/bin/ipcrm -s 65536`

`/usr/local/gentoo-stage3/usr/bin/ipcs -s`:

------ Semaphore Arrays --------
key        semid      owner      perms      nsems

question is if `ipcs`/`ipcrm` is needed in emulators/linux_base-f*.

cheers.
alex

p.s.: i'm running - FreeBSD otaku 9.0-CURRENT FreeBSD 9.0-CURRENT #0 r197234:
Wed Sep 16 01:10:00 CEST 2009     root@otaku:/usr/obj/usr/src/sys/ARUNDEL
i386
Comment 5 Alexander Best freebsd_committer freebsd_triage 2010-08-01 23:11:07 UTC
State Changed
From-To: open->patched
Comment 6 Alexander Best freebsd_committer freebsd_triage 2010-08-01 23:22:39 UTC
State Changed
From-To: patched->open
Comment 7 Alexander Best freebsd_committer freebsd_triage 2010-08-02 00:29:19 UTC
the linux related changes in this PR have been committed in r83366.

the freebsd patches have also been committed. however it is unknown if this means linux ipc is fully functional now.

cheers.
alex

-- 
a13x
Comment 8 Mark Linimon freebsd_committer freebsd_triage 2010-08-02 03:31:49 UTC
State Changed
From-To: open->feedback

To submitter (if this email address is still valid): have the recent 
changes fixed the problem?
Comment 9 Mark Linimon freebsd_committer freebsd_triage 2010-08-07 07:46:52 UTC
State Changed
From-To: feedback->closed

Submitter's email address bounces. 


Comment 10 Mark Linimon freebsd_committer freebsd_triage 2010-08-07 07:46:52 UTC
Responsible Changed
From-To: freebsd-emulation->linimon