Mike Zanker | 13 May 12:12
Favicon

Re: No /dev/mem on Intel 10.4?

On 13/5/06 11:06, Martin Costabel wrote:

> I would suggest to go on a more specialized forum like darwin-dev.
> Or file a bug with Apple directly.

Yes, have filed a bug report with Apple. darwin-dev is a good idea, thanks.

> I don't get the error, but snmpd doesn't work for me either. It just
> silently quits.

You'll probably find the error in /var/log/snmpd.log.

> Maybe, but this doesn't sound like something a user should play with. If
> they removed it, they probably had their reasons. Judging from Apple's
> past behavior, I think it is quite possible that some kernel security
> guy did this and never told anyone else about it.

OK, thanks for the response.

Regards,

Mike.

This message has been scanned for viruses by MailController - www.MailController.altohiway.com

-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
(Continue reading)

Max Horn | 13 May 15:33
Picon
Gravatar

Re: switch to fink.cvs.sourceforge.net


Am 13.05.2006 um 12:23 schrieb Martin Costabel:

> Now that cvs is up again, I guess everybody is reinventing the  
> wheel in the form of a little one-liner to convert their local CVS  
> repository to the new style.
>
> To save others the time for testing, here is one that worked for me  
> (cut in four to avoid chopping by mailers):
>
> find . -name CVS -type d \
> -execdir perl -pi -e \
> 's|\@cvs.sourceforge|\@fink.cvs.sourceforge|' CVS/Root \; \
> -execdir perl -pi -e 's|/cvsroot/fink/||' CVS/Repository \;
>
> Note that if you only change the Root and don't change the  
> Repository too (a change I haven't seen mentioned in SF's  
> explanations of the new configuration), you will get thousands of  
> "move away *; it is in the way" messages.
[...]
>
> I guess something like this should be mentioned on the home page, too.

FYI, this is what SF.net staff says about this:

<Fingolfin> burley: one guy posted a script to fink-devel for auto- 
converting the CVS repos to the new server URL, quite handy

<burley> Fingolfin: yeah, I would be hesitant to use those

(Continue reading)

Martin Costabel | 13 May 12:06
Picon

Re: No /dev/mem on Intel 10.4?

Mike Zanker wrote:
> Sorry - a little off-topic but I guess there is expertise here :) I

I would suggest to go on a more specialized forum like darwin-dev.
Or file a bug with Apple directly.

> tried running /usr/sbin/snmpd on a new Mac Mini core duo - it just gives
> the error message:
> 
> init_kmem: kvm_openfiles failed: /dev/mem: No such file or directory

I don't get the error, but snmpd doesn't work for me either. It just 
silently quits.

Yes, there is no /dev/kmem or /dev/mem on Mac/intel. This is weird. I 
haven't seen it discussed anywhere although it breaks the whole 
documented kvm interface.

> Is there a way to create /dev/mem?

Maybe, but this doesn't sound like something a user should play with. If 
they removed it, they probably had their reasons. Judging from Apple's 
past behavior, I think it is quite possible that some kernel security 
guy did this and never told anyone else about it.

> To bring it more on-topic - if I built the fink net-snmp is it likely to
> suffer from the same problem?

No idea, but it sounds likely.

(Continue reading)

Martin Costabel | 13 May 12:31
Picon

Re: No /dev/mem on Intel 10.4?

Mike Zanker wrote:
[]
> You'll probably find the error in /var/log/snmpd.log.

Yes, found it. Same as yours.

--

-- 
Martin

-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
Martin Costabel | 13 May 12:35
Picon

Re: switch to fink.cvs.sourceforge.net

Martin Costabel wrote:
[]
> I guess something like this should be mentioned on the home page, too.

Forgot to say that this works in the same way for both anon CVS access 
and for developer access.

--

-- 
Martin

-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
Martin Costabel | 13 May 12:23
Picon

switch to fink.cvs.sourceforge.net

Now that cvs is up again, I guess everybody is reinventing the wheel in 
the form of a little one-liner to convert their local CVS repository to 
the new style.

To save others the time for testing, here is one that worked for me (cut 
in four to avoid chopping by mailers):

find . -name CVS -type d \
-execdir perl -pi -e \
's|\@cvs.sourceforge|\@fink.cvs.sourceforge|' CVS/Root \; \
-execdir perl -pi -e 's|/cvsroot/fink/||' CVS/Repository \;

Note that if you only change the Root and don't change the Repository 
too (a change I haven't seen mentioned in SF's explanations of the new 
configuration), you will get thousands of "move away *; it is in the 
way" messages.

Run this inside /sw/fink, or change "." to the root of the repository 
you want converted.

A somewhat more comfortable method would be the following little script, 
to be saved for example as ~/bin/cvsconvert and to be used as

  cvsconvert /sw/fink

#!/bin/sh
# switch sf CVS rep to new version 2006-05-12
[ -z $1 ] && exec echo Usage: cvsconvert directory
DIR=$1
for CVS in `find $DIR -name CVS -type d`
(Continue reading)


Gmane