missing file in Linux /proc

2010-02-04 Thread Pierre Abbat
I was poking around in /compat/linux and saw a file /etc/mtab. I catted it and 
got a no such file error. It's a symbolic link to /proc/mounts, which does 
not exist.

Pierre
-- 
li ze te'a ci vu'u ci bi'e te'a mu du
li ci su'i ze te'a mu bi'e vu'u ci


Re: Anyone tried an Atom 330 with Dragonfly

2010-02-04 Thread Steve O'Hara-Smith
On Sat, 30 Jan 2010 18:18:11 +0100
Jan Lentfer jan.lent...@web.de wrote:

 Steve O'Hara-Smith schrieb:
  Hi,
 
  One of my workstations died and I'm looking to replace it, since
  the computing needs are not great I thought it might be nice to use
  something low powered and the dual core Atom 330 looks like a good
  option.
 
  I'm a little torn between two Asrock boards the A330GC with an
  Intel chipset and the rather newer A330ION with it's faster memory and
  all out more of everything and apparently lower power consumption than
  the lesser Intel chipset.
 
  Question is has anyone run DFLY on either of these (or anything
  with the same chipsets) or am would I be breaking new ground 
 
 One of my Dev boxes is a Atom 330, Foxconn mainboard with intel chipset.
 No problem running DF.

Thanks guys.

In the end I went for the A330GC over the newer D510 or the ION on
the grounds that the Intel chipset is fully supported by Xorg unlike the
ION (when the nouveau driver is abit more mature I suspect the ION will
be a very nice choice in the meantime there would be a lot of silicon
doing nothing and not even Xvideo support). Also the A330GC has dual channel
memory support which is perhaps faster than the single channel on the D510
board.

I'm happy to report that everything on the board works perfectly.
Currently I have hyperthreading enabled so it shows up as having four CPUs.

It's a *lot* faster than the XP1700 it replaces :)

-- 
Steve O'Hara-Smith  |   Directable Mirror Arrays
C:WIN  | A better way to focus the sun
The computer obeys and wins.|licences available see
You lose and Bill collects. |http://www.sohara.org/


Re: missing file in Linux /proc

2010-02-04 Thread Oliver Fromme
Pierre Abbat p...@phma.optus.nu wrote:
  I was poking around in /compat/linux and saw a file /etc/mtab. I
  catted it and got a no such file error. It's a symbolic link to
  /proc/mounts, which does not exist.

Do you have linprocfs mounted?

Best regards
   Oliver

-- 
Oliver Fromme, secnetix GmbH  Co. KG, Marktplatz 29, 85567 Grafing b. M.
Handelsregister: Registergericht Muenchen, HRA 74606,  Geschäftsfuehrung:
secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht Mün-
chen, HRB 125758,  Geschäftsführer: Maik Bachmann, Olaf Erb, Ralf Gebhart

FreeBSD-Dienstleistungen, -Produkte und mehr:  http://www.secnetix.de/bsd


Re: missing file in Linux /proc

2010-02-04 Thread Pierre Abbat
On Thursday 04 February 2010 09:07:24 Oliver Fromme wrote:
 Pierre Abbat p...@phma.optus.nu wrote:
   I was poking around in /compat/linux and saw a file /etc/mtab. I
   catted it and got a no such file error. It's a symbolic link to
   /proc/mounts, which does not exist.

 Do you have linprocfs mounted?

Yes. Here's what's in it:
0   2442366 700 766 770 778 916 cpuinfo stat
1   2444664 739 767 771 779 918 loadavg uptime
212 2445678 746 768 772 790 919 meminfo 
version
226 2770682 765 769 773 792 9533self

Pierre
-- 
lo ponse be lo mruli po'o cu ga'ezga roda lo ka dinko


Re: missing file in Linux /proc

2010-02-04 Thread Oliver Fromme
Pierre Abbat p...@phma.optus.nu wrote:
  On Thursday 04 February 2010 09:07:24 Oliver Fromme wrote:
   Pierre Abbat p...@phma.optus.nu wrote:
I was poking around in /compat/linux and saw a file /etc/mtab. I
catted it and got a no such file error. It's a symbolic link to
/proc/mounts, which does not exist.
  
   Do you have linprocfs mounted?
  
  Yes. Here's what's in it:
  0   2442366 700 766 770 778 916 cpuinfo stat
  1   2444664 739 767 771 779 918 loadavg 
  uptime
  212 2445678 746 768 772 790 919 meminfo 
  version
  226 2770682 765 769 773 792 9533self

Ok ...  FreeBSD got mtab and mounts (which have the same
content) in linprocfs in 2001, so I thought that DFly BSD
had it, too.  Anyway, shouldn't be difficult to port over.

If you need that file to make a linux application happy,
it is sufficient to put some static content in compat/linux/
etc/mtab.  It looks like this:

/dev/ad0s1a / ufs rw 0 0
devfs /dev devfs rw 0 0
/dev/ad0s1d /var ufs rw,nosuid 0 0
/dev/ad0s1e /usr ufs rw 0 0
/dev/ad0s1f /usr/tmp ufs rw 0 0
/dev/md0 /tmp ufs rw,nosuid 0 0
venus:/home /home nfs rw,nosuid 0 0
venus:/trash /trash nfs rw,nosuid 0 0
proc /proc proc rw 0 0

Should be trivial to generate with a short awk script.

Best regards
   Oliver

-- 
Oliver Fromme, secnetix GmbH  Co. KG, Marktplatz 29, 85567 Grafing b. M.
Handelsregister: Registergericht Muenchen, HRA 74606,  Geschäftsfuehrung:
secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht Mün-
chen, HRB 125758,  Geschäftsführer: Maik Bachmann, Olaf Erb, Ralf Gebhart

FreeBSD-Dienstleistungen, -Produkte und mehr:  http://www.secnetix.de/bsd


Testers needed: wpa_supplicant and hostapd tested to 0.6.10

2010-02-04 Thread Jan Lentfer
Hi all,

I have updated both wpa_supplicant and hostapd to latest release (0.6.10).
One tester (thanks jh33) already confirmed that wpa_supplicant and wpa_cli
are working for him, but I'd like to get more positive feedback also on
hostapd before I will actually push this in. So, please TEST :-)

The relevant bits can be found here:

http://gitweb.dragonflybsd.org/~lentferj/dragonfly.git/shortlog/refs/heads/wpasup_update
http://gitweb.dragonflybsd.org/~lentferj/dragonfly.git/shortlog/refs/heads/vendor/HOSTAPD
http://gitweb.dragonflybsd.org/~lentferj/dragonfly.git/shortlog/refs/heads/vendor/WPA_SUPPLICANT


Jan


Re: SAS RAID controllers support

2010-02-04 Thread Francois Tigeot
On Mon, Feb 01, 2010 at 07:16:46PM +0100, Francois Tigeot wrote:
 On Mon, Feb 01, 2010 at 08:48:37AM -0800, Freddie Cash wrote:
  On Mon, Feb 1, 2010 at 4:41 AM, Francois Tigeot ftig...@wolfpond.orgwrote:
  
   On Mon, Feb 01, 2010 at 12:02:38PM +0100, Francois Tigeot wrote:
   
I'm curious about the state of hardware RAID controllers in DragonFly.

I'm now pretty sure the only hardware RAID adapters which *could* be usable
are based on the LSI 1078 chipset

At least 6 different cards are based on it:

- LSI MegaRAID SAS 8704ELP / 8708ELP
- LSI MegaRAID SAS 8704EM2 / 8708EM2
- LSI MegaRAID SAS 8880EM2
- LSI MegaRAID SAS ELP

http://www.lsi.com/storage_home/products_home/internal_raid/megaraid_sas/megaraid_sas_8704elp/index.html
http://www.lsi.com/storage_home/products_home/internal_raid/megaraid_sas/value_line/megaraid_sas_8704em2/index.html
http://www.lsi.com/storage_home/products_home/internal_raid/megaraid_sas/megaraid_sas_8708elp/index.html
http://www.lsi.com/storage_home/products_home/internal_raid/megaraid_sas/value_line/megaraid_sas_8708em2/index.html
http://www.lsi.com/storage_home/products_home/internal_raid/megaraid_sas/feature_line/megaraid_sas_8880em2/index.html
http://www.lsi.com/storage_home/products_home/internal_raid/megaraid_sas/megaraid_sas_elp/index.html

I should be able to test a MegaRAID SAS ELP soon. It was not recognized last
year but Matt has since updated the mpt(4) driver.

-- 
Francois Tigeot