Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 05 Apr 2004 07:40:59 +1000
From:      Rob B <robbyrnes@fastmail.com.au>
To:        =?ISO-8859-1?Q?Dag-Erling_Sm=F8rgrav?= <des@des.no>
Cc:        alpha@freebsd.org
Subject:   Re: Linprocfs on 4.9-STABLE
Message-ID:  <407080EB.9050509@fastmail.com.au>
In-Reply-To: <xzpisgfd8ev.fsf@dwp.des.no>
References:  <1081095192.31162.183867161@webmail.messagingengine.com> <xzpisgfd8ev.fsf@dwp.des.no>

next in thread | previous in thread | raw e-mail | index | archive | help
Dag-Erling Smørgrav wrote:
> "Rob Byrnes" <robbyrnes@fastmail.com.au> writes:
> 
>>Does linprocfs work on the Alpha arch?
> 
> Yes.

Good :)

> root@dsa ~# uname -a
> FreeBSD dsa.des.no 5.2-CURRENT FreeBSD 5.2-CURRENT #21: Wed Mar  3 10:19:58 CET 2004     des@dsa.des.no:/usr/obj/usr/src/sys/dsa  alpha
> root@dsa ~# mount
> /dev/da0a on / (ufs2, local, noatime, soft-updates)
> devfs on /dev (devfs, local)
> /dev/da1d on /sec (ufs, local, noatime, soft-updates)
> procfs on /proc (procfs, local)
> linprocfs on /usr/compat/linux/proc (linprocfs, local)
> root@dsa ~# ll /compat/linux/proc/$$
> total 0
> -r--r--r--  1 root  wheel  0 Apr  4 18:15 cmdline
> lr--r--r--  1 root  wheel  0 Apr  4 18:15 cwd@ -> /root
> -r--r--r--  1 root  wheel  0 Apr  4 18:15 environ
> lr--r--r--  1 root  wheel  0 Apr  4 18:15 exe@ -> /bin/zsh
> -r--r--r--  1 root  wheel  0 Apr  4 18:15 maps
> -rw-------  1 root  wheel  0 Apr  4 18:15 mem
> lr--r--r--  1 root  wheel  0 Apr  4 18:15 root@ -> /
> -r--r--r--  1 root  wheel  0 Apr  4 18:15 stat
> -r--r--r--  1 root  wheel  0 Apr  4 18:15 statm
> -r--r--r--  1 root  wheel  0 Apr  4 18:15 status

I don't have any of these directories ... should they be created 
automatically?  If so, when should this happen?

>>erwin # mount_linprocfs linprocfs /compat/linux/proc
>>mount_linprocfs: vfsload(linprocfs): No such file or directory

> does 'kldload linprocfs' work?  do you get any error messages on the
> console?

erwin # kldload linprocfs
Password:
kldload: can't load linprocfs: No such file or directory

I managed to get the procfs module loaded, so that bit is OK.

Cheers,
Rob
-- 
A man goes to the doctor with a strawberry growing out of his head.
The Doc says, "I'll give you some cream to put on it."

This is random quote 157 of 1255.

Distance from the centre of the brewing universe
[15200.8 km (8207.8 mi), 262.8 deg](Apparent) Rennerian

Public Key fingerprint = 6219 33BD A37B 368D 29F5  19FB 945D C4D7 1F66 D9C5



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?407080EB.9050509>