IRQ storm when trying to burn a CD/DVD with JMicron JMB363 controller and PATA DVD burner

2009-09-19 Thread Pierre-Luc Drouin

Hi,

My motherboard (EVGA X58 Classified) has a JMicron JMB363 SATA300/PATA 
controller and it seems to be working fine with FreeBSD as long as I 
don't try burning a DVD or a CD with my PATA DVD burner, which is the 
only device hooked to the controller. However, when I try burning a CD 
or a DVD with either cdrecord or growisofs, I get the following:


interrupt storm detected on "irq17:"; throttling interrupt source
interrupt storm detected on "irq17:"; throttling interrupt source
interrupt storm detected on "irq17:"; throttling interrupt source
interrupt storm detected on "irq17:"; throttling interrupt source
interrupt storm detected on "irq17:"; throttling interrupt source
interrupt storm detected on "irq17:"; throttling interrupt source
interrupt storm detected on "irq17:"; throttling interrupt source
interrupt storm detected on "irq17:"; throttling interrupt source
...

I have seen a few emails on the mailing lists from people having the 
exact same issue with this controller 2 years ago, but I could not find 
any helpful reply. Is there any workaround for this?


Thanks!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Newbie question about ASYNC communication with FTDI-based device (via uftdi)

2009-09-19 Thread Pierre-Luc Drouin

Hi,

I'm trying to hack the code of tbancontrol, a linux tool used to control 
t-balancer fan controllers that use FTDI FT232BL chips. It seems to be 
working fine on linux, but when I try to use it on FreeBSD, I noticed 
that read calls fail with "Interruted system call". It seems there is 
something wrong with the SIGIO signal since it is generated as soon as 
tcsetattr is called. I guess there must be something wrong with either 
the way the device is opened or (more likely) the way the descriptor is 
configured, but I have very little experience with serial 
communication... Here is the main lines of the code related to 
initialization:


tban->port = open("/dev/ttyU0", O_RDWR | O_NOCTTY | O_NONBLOCK);
...
saio.sa_handler = tban_signal_handler_IO;
result = sigemptyset(&saio.sa_mask);
saio.sa_flags = 0;
result = sigaction(SIGIO, &saio, NULL);
result = fcntl(tban->port, F_SETFL, FASYNC);
...
tcgetattr(tban->port, &(tban->oldtio));
...
memcpy(&newtio,&tban->oldtio,sizeof(struct termios)); /*I added this 
line to avoid the error EINVAL when calling tcsetattr below. This is 
probably not enough to set all flags properly :S */

...

newtio.c_cflag = intToBaud(tban->baudrate)  /*baudrate is 19200*/
   | CRTSCTS
   | intToDataBits(tban->databits) /*databits is 8*/
   | intToStopBits(tban->stopBits) /*stopBits is 0*/
   | CLOCAL
   | CREAD;
 newtio.c_iflag = IGNPAR;
 newtio.c_oflag = 0;
 newtio.c_lflag = 0;
 newtio.c_cc[VMIN]  = 1;
 newtio.c_cc[VTIME] = 0;
...
result = tcsetattr(tban->port, TCSANOW, &newtio);
/*SIGIO is generated (?)*/
...
result = write(tban->port, sndBuf, cmdLen); /*request device status*/
...
/*Initialize data availability flag to false*/
/*sleep 1 second*/
/*SIGIO is generated */
bytesread = read(tban->port, local_buf, sizeof(local_buf));
/*bytesread is -1, EINTR is generated*/

So does anybody know what could be wrong in this code?

Thanks a lot!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: IRQ storm when trying to burn a CD/DVD with JMicron JMB363 controller and PATA DVD burner

2009-09-21 Thread Pierre-Luc Drouin

Hi,

so does anybody know what could be wrong with this?
Thanks!
Pierre-Luc Drouin

Pierre-Luc Drouin wrote:

Hi,

My motherboard (EVGA X58 Classified) has a JMicron JMB363 SATA300/PATA 
controller and it seems to be working fine with FreeBSD as long as I 
don't try burning a DVD or a CD with my PATA DVD burner, which is the 
only device hooked to the controller. However, when I try burning a CD 
or a DVD with either cdrecord or growisofs, I get the following:


interrupt storm detected on "irq17:"; throttling interrupt source
interrupt storm detected on "irq17:"; throttling interrupt source
interrupt storm detected on "irq17:"; throttling interrupt source
interrupt storm detected on "irq17:"; throttling interrupt source
interrupt storm detected on "irq17:"; throttling interrupt source
interrupt storm detected on "irq17:"; throttling interrupt source
interrupt storm detected on "irq17:"; throttling interrupt source
interrupt storm detected on "irq17:"; throttling interrupt source
...

I have seen a few emails on the mailing lists from people having the 
exact same issue with this controller 2 years ago, but I could not 
find any helpful reply. Is there any workaround for this?


Thanks!



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


When is it worth enabling hyperthreading?

2009-10-07 Thread Pierre-Luc Drouin

Hi,

Could someone explain me in which cases it is useful to enable 
hyperthreading on a machine running FreeBSD 8.0 and in which other cases 
it is not a good idea? Is that possible that hyperthreading is 
disadvantageous unless the number of active (non-sleeping) threads is 
really high?


For example, if I have an i7 CPU with 4 physical cores and that I run 
some multi-threaded code that has only 4 threads, it will run almost 
always (twice) slower with hyperthreading enabled than when I disable it 
in the BIOS. If I understand correctly, hyperthreading has the advantage 
of being able to do CPU context switching faster than the OS, but it 
does this context switching systematically instead of only when 
requested, so it slows things down unless the number of running 
(non-sleeping) threads is greater or equal to let say the number of 
physical threads x 1.5-1.75.


Thanks!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


STOP state in top + segmentation fault and core dump?

2009-10-08 Thread Pierre-Luc Drouin

Hi,

When I run many heavily multi-threaded (1000+ threads/process) and 
memory intensive (1800 MB+/process) processes on FreeBSD 8.0 amd64, some 
of them get in STOP state in top and then seg fault and core dump. Are 
stop states in top caused by seg faults or it is the OS that stops the 
processes because they exceed some limit? I do not see any message about 
any limit being exceeded. The machine has 12GB of memory so it should  
be able to sustain 4 processes using 1800MB each of memory I guess (I 
have 12 GB of swap space anyway but it stays unused). Everything runs 
fine if I run a single process and I have never encountered such 
problems when running these on Linux. Anyone has an idea?


I am using the default limits right now:
>limit
cputime  unlimited
filesize unlimited
datasize 33554432 kbytes
stacksize524288 kbytes
coredumpsize unlimited
memoryuseunlimited
vmemoryuse   unlimited
descriptors  11095
memorylocked unlimited
maxproc  5547
sbsize   unlimited
swapsize unlimited

Thank you!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Netbooks good for FreeBSD?

2009-10-12 Thread Pierre-Luc Drouin

Hi,

So far I have been able to get WiFi working on most netbooks I got, but 
honestly, FreeBSD is not the best for laptops. WiFi drivers are often a 
bit buggy (connection is dropping because of driver problems) and ACPI 
sleep modes never worked on my laptops. WiFi, ACPI sleep modes and 
graphic card support are the weakest points of FreeBSD for non-server 
usage according to me...



Yuri wrote:
I am thinking about buying a netbook. But I am afraid that WiFi 
wouldn't be supported. And all my previous attempts to make NDIS to 
work on FreeBD failed.


Anybody has good experiences making netbooks work?
Or better is there a hardware compatibility list for FreeBSD?

Yuri

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
"freebsd-questions-unsubscr...@freebsd.org"


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Demande de renseignements

2009-10-12 Thread Pierre-Luc Drouin

Bonjour,

je crois bien que c'est possible. La license BSD est beaucoup plus 
permittive que la license GPL. En pratique je crois que la seule 
restriction est de ne pas alterer la notice. Il n'est pas obligatiore de 
rendre disponible le code source comme avec la license GPL. Le copyright 
complet est dans le fichier COPYRIGHT dans le dossier racine de FreeBSD.


Pierre-Luc Drouin

Jérémy SALMERON wrote:

Bonsoir ,
Je souhaiterai distribuer une version modifiée de FreeBSD : non alteration
du code source mais avec modification d'ordre graphique . Je souhaiterai la
distribuer en bundle avec un périphérique nomade .

Puis-je utiliser librement le système d'exploitation et le distribuer de
cette manière ?
Le cas échéant , quelles sont les obligations que je dois respecter afin de
ne pas être en contradiction avec le copyright ?

Je ne trouve pas de réponses sur le net , je m'en remets à vous .

Cordialement

Jérémy Salmeron



I would like to sell a customized version of FreeBSD : no alteration but
only a template modification . I would like to sell this product on a
netbook.

Could i use the OS and distribute like this way ?
What are the rules that i must respect to be OK with the copyright ?

I'm seeking on the net without finding answers
I need your point

Best Regards
Jeremy Salmeron
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
  


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


How to display back trace automatically after seg fault?

2009-10-27 Thread Pierre-Luc Drouin

Hi,

How can I make FreeBSD to display automatically the backtrace of an 
executable after a segmentation fault (the same way Linux does it)? I 
prefer this option by default rather than a core dump.


Thanks!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


How painful is the nv driver supposed to be?

2009-11-19 Thread Pierre-Luc Drouin

Hi,

I am using the nv xorg driver on 8.0 amd64 with a GeForce 6600 (CPU is 
an i7 overclocked at 4GHz) configured in 1920x1080. With that setup it 
takes about 2 seconds to maximize a window or to switch workspace in 
fluxbox. Is there a way to improve speed or this is all I can hope to get?


Thanks!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: How painful is the nv driver supposed to be?

2009-11-20 Thread Pierre-Luc Drouin
Awesome! I have been waiting for years for this driver, so a few more 
months won't make a difference. This was the major factor preventing me 
from fully enjoy FreeBSD for workstation usage.


Uwe Laverenz wrote:

Pierre-Luc Drouin schrieb:

an i7 overclocked at 4GHz) configured in 1920x1080. With that setup 
it takes about 2 seconds to maximize a window or to switch workspace 
in fluxbox. Is there a way to improve speed or this is all I can hope 
to get?


NVidia will release an official driver for FreeBSD/amd64 in the near 
future:


http://www.nvnews.net/vbulletin/showthread.php?t=41545&page=37

If you can't wait, and I guess that's the case, you culd try the free 
nv alternative named "nouveau".


Uwe
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
"freebsd-questions-unsubscr...@freebsd.org"


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: How painful is the nv driver supposed to be?

2009-11-20 Thread Pierre-Luc Drouin

Thanks

well this won't work on amd64 until Nvidia releases a driver. I was 
waiting for the amd64 driver to buy a new video card...


Sean Cavanaugh wrote:


  

Date: Fri, 20 Nov 2009 00:28:19 -0500
From: pldro...@pldrouin.net
To: freebsd-questions@freebsd.org
Subject: How painful is the nv driver supposed to be?

Hi,

I am using the nv xorg driver on 8.0 amd64 with a GeForce 6600 (CPU is 
an i7 overclocked at 4GHz) configured in 1920x1080. With that setup it 
takes about 2 seconds to maximize a window or to switch workspace in 
fluxbox. Is there a way to improve speed or this is all I can hope to get?



 
the default nv driver with xorg does not fully utilize the nvidia GPU.

install one of the nvidia drivers from /usr/ports/x11/nvidia-driver*
make sure you pick the one that still has support for your card in it as they 
cull older cards from the newer drivers. judging by nvidia.coms driver lookup, 
the highest driver that supports the GeForce 6 series was 191.07
 
also make sure to follow the extra instructions that you get after installing the driver

if i remember correctly, theres a line you add to /boot/loader.conf and you change the xorg.conf 
file driver from "nv" to "nvidia"
 
 
-Sean

  
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
  


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Which compiler compiled system?

2012-03-12 Thread Pierre-Luc Drouin
If Java is broken, then you know FreeBSD was compiled with clang...

On Mon, Mar 12, 2012 at 3:45 PM,  wrote:

> Hi,
>
> Is there a way to determine whether a FreeBSD-system was compiled with gcc
> or clang?
> I thought of some libs or so that might significantly differ.
>
> Regards,
> kaltheat
>
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "
> freebsd-questions-unsubscr...@freebsd.org"
>
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Printer recommendation please

2012-03-30 Thread Pierre-Luc Drouin
On Fri, Mar 30, 2012 at 11:38 AM, Karel Miklav  wrote:

> Could you please recommend me a home printer that works nicely with
> FreeBSD?
>
> HP inkjets aren't that bad, FreeBSD drivers are allright, but I'd like to
> shift towards some kind of PostScript laser. Xerox Phaser 6500 looks nice,
> but I can not economically justify my appetite. Is there a cheaper
> alternative or maybe PostScript printers aren't that good idea anyway, heh?
>
> --
>
> Thanks,
> Karel
> __**_
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/**mailman/listinfo/freebsd-**questions
> To unsubscribe, send any mail to "freebsd-questions-**
> unsubscr...@freebsd.org "
>

I have a postscript laser printer (HP LaserJet 1200) and the PCL HPIJS
driver is faster anyway, so I am not sure how much you can gain with these
printers?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: newfs on a SSD

2012-05-29 Thread Pierre-Luc Drouin
On Tue, May 29, 2012 at 2:05 PM, Roland Smith  wrote:

> On Fri, May 11, 2012 at 09:01:33AM +0200, Christer Solskogen wrote:
> > After years of waiting for a decent price on one of these I finally
> > got one. The questions is, which options should I use on a SSD that
> > will be / on my system. I see that newfs supports TRIM, so that will
> > be turned on, but should I use journaling? gjournal? softupdates? soft
> > updates journaling? I'm confused :)
>
> Enabling TRIM with the '-t' option for newfs sounds like a good idea.
> Assuming
> the underlaying device supports it. You can check that with the 'camcontrol
> identify' command, assuming you're using the ada(4) driver.
>
> OCZ has a page with tips for Linux. Some would apply to FreeBSD as well;
>
> http://www.ocztechnologyforum.com/forum/showthread.php?54379-Linux-Tips-tweaks-and-alignment&highlight=linux
>
> Aligning the partitions with the Erase Block Size is important. See:
> https://wiki.archlinux.org/index.php/Solid_State_Drives
>
> One thing to keep in mind is to mount the filesystems you make on the SSD
> with
> the "noatime" option. This to avoid a lot of unnecessary writes.
>
> Some of the newfs parameters like blocks per cilinder group don't seem to
> make
> much sense for an SSD. Since the controller of the SSD already does all
> kinds
> of things to emulate a harddisk, I'm not sure if it makes much sense to
> tune
> the filesystem's parameters much.
>
> As for softupdates (journaled of not): try it and let us know if you see
> differences, especially in write performance. :-)
>
> The FreeBSD foundation has awarded a grant to port a special Flash
> filesystem
> and tools to FreeBSD:
>
> http://freebsdfoundation.blogspot.com/2012/03/new-project-nand-flash-support.html
> It might be worthwhile to keep that in mind for the future.
>
> What I would certainly recommend is that you make a daily automated backup
> (may I suggest calling rsync from cron at night?) of the SSD's filesystem
> to
> an actual HDD, just to be sure.
>
> Roland
> --
> R.F.Smith   http://rsmith.home.xs4all.nl/
> [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
> pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)
>

Is there a tool in FreeBSD, similar to fstrim in Linux, that allows to
perform trimming through a cronjob as opposed to perform it every time data
is deleted? It supposedly results into a significant gain in performance...

Thanks!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Basic i5/i7 Motherboard Suggestion..

2012-07-11 Thread Pierre-Luc Drouin
Hi,

I am looking to build a simple i5 or i7 CPU-based desktop computer that is
compatible with FreeBSD. Could someone suggest me a sub $200 motherboard
whose chipsets and BIOS works well with FreeBSD? I would prefer to stick
with either Intel or Asus if possible...

Thanks!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: FreeBSD kernel init slower than linux

2011-03-04 Thread Pierre-Luc Drouin
I guess part of it must have something to do with how the devices are
identified by the FreeBSD kernel vs linux. I know also that when using a ZFS
boot partition, it takes a lot longer to my system to boot compared to
UFS...

On Fri, Mar 4, 2011 at 5:10 PM, David Demelier wrote:

> Hello,
>
> I know this is a awful subject, but I recently tried a Gentoo on my laptop
> and I was surprised to see Linux booting about 2-3 times faster than
> FreeBSD.
>
> I don't talk about the init/rc script but only kernel initialisation. For
> linux kernel it's around 5-6 seconds vs 15-18 seconds for FreeBSD.
>
> Why FreeBSD is so slower than Linux to boot the kernel?
>
> Cheers,
>
> --
> David Demelier
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "
> freebsd-questions-unsubscr...@freebsd.org"
>
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Options for Secondary DNS Service?

2011-04-10 Thread Pierre-Luc Drouin

Hi,

I am looking for a secondary DNS service. Any suggestion? It is not for 
a non-profit organisation so I am not necessarily looking for a free 
solution, but I am wondering if there are reliable solutions for less 
than what dyndns charges ($40 /year/zone).


Thanks!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Options for Secondary DNS Service?

2011-04-11 Thread Pierre-Luc Drouin

Donating is an option yes. Any suggestion for a reliable free service?

Thanks!

On 04/11/2011 12:15 AM, Outback Dingo wrote:

whats the org ? could consider domating

On Sun, Apr 10, 2011 at 11:43 PM, Pierre-Luc Drouin 
mailto:pldro...@pldrouin.net>> wrote:


Hi,

I am looking for a secondary DNS service. Any suggestion? It is
not for a non-profit organisation so I am not necessarily looking
for a free solution, but I am wondering if there are reliable
solutions for less than what dyndns charges ($40 /year/zone).

Thanks!
___
freebsd-questions@freebsd.org
<mailto:freebsd-questions@freebsd.org> mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to
"freebsd-questions-unsubscr...@freebsd.org
<mailto:freebsd-questions-unsubscr...@freebsd.org>"




___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Options for Secondary DNS Service?

2011-04-11 Thread Pierre-Luc Drouin
I was more looking for a slave server, since it would prefer to keep my 
primary server...


Thanks!

On 04/11/2011 06:10 AM, Maxim Khitrov wrote:

On Sun, Apr 10, 2011 at 11:43 PM, Pierre-Luc Drouin
  wrote:

Hi,

I am looking for a secondary DNS service. Any suggestion? It is not for a
non-profit organisation so I am not necessarily looking for a free solution,
but I am wondering if there are reliable solutions for less than what dyndns
charges ($40 /year/zone).

Thanks!

If you're able/willing to transfer your domain to gandi.net, they
offer free secondary dns service. It is enabled by adding
ns6.gandi.net as one of the nameservers. I've been using it without
any issues for a few years with djbdns as primary server.

- Max


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: (8.2) amd64 + linuxulator + nvidia driver is it stable ?

2011-05-10 Thread Pierre-Luc Drouin
On Tue, May 10, 2011 at 2:00 PM, Ivan Klymenko  wrote:

> В Tue, 10 May 2011 17:31:53 +0200
> Patrick Lamaiziere  пишет:
>
> > Hi,
> >
> > I've got a new box running 8.2-stable with amd64 + linuxulator +
> > nvidia driver. Quite often when watching video on youtube the box
> > freeze (no panic).
> >
> > Are there some known problems with this kind of configuration on
> > amd64? (Works fine on my old laptop using 8.2/i386)
> >
> > I don't know where is problem, but one time the machine crashed just
> > after a pkill of npviewer.bin (they were in the futex state), so it
> > could be the linuxulator?
> >
>
> I have encountered in the system exactly the same problem
>
>uname -a
>FreeBSD nonamehost 9.0-CURRENT FreeBSD 9.0-CURRENT #0 r221598:
>Sat May 7 17:28:18 EEST 2011
>ivan@nonamehost:/usr/obj/usr/src/sys/mk9  amd64
>
>pciconf -lv|grep Ge
>device = 'Geforce 8400M GS (unknown)'
>
>pkg_info|grep nvidi
>nvidia-driver-270.41.06 NVidia graphics card binary drivers for
>hardware OpenGL ren
>
>dmesg|grep NVRM
>NVRM: Xid (:01:00): 13, 000a  8297 19d0
>003c 0100
>
> they were observed for nearly all nvidia drivers for amd64...
> I tried to change the different options:
> setenv VDPAU_NVIDIA_NO_OVERLAY=1 -> ~/.cshrc
> Option "Xinerama" "False" and Option "Xinerama" "0"
> -> /etc/X11/xorg.conf
> cat /etc/adobe/mms.cfg
> OverrideGPUValidation=false
> AutoUpdateDisable=true
> EnableLinuxHWVideoDecode=0
> FullScreenDisable=false
>
> and it seems to me it helped for flashplayer...
>
> but the situation as a whole wants the best, because these problems
> continue with using VDPAU
>
> so I'm leaning that cause these problems in drivers...
>
> sorry for my english...
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "
> freebsd-questions-unsubscr...@freebsd.org"
>

I have had the same problem as well in the past when I tried killing
npviewer.bin . Also using an NVidia card on amd64...

Thanks
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: kernel and buildworld questions

2011-05-10 Thread Pierre-Luc Drouin
Hi,

If you initially compiled your ports using the -p option of portupgrade,
then using the -P option of portupgrade will install the ports using the
package files that you have generated rather than fetching them from the
server. If you want to fetch the binaries rather than recompile it on your
system, make sure to delete any package from /usr/ports/packages/All before
using portupgrade -afkP

On Tue, May 10, 2011 at 1:39 PM, Mage  wrote:

>Hello,
>
> I just arrived to FreeBSD soon after I met silent data corruption on one
> of my software raid mirrors and went looking ZFS capable OS.
>
> So far I like it, I suppose I will migrate, however some issues appeared
> already.
>
> First of all, I think this manual doesn't work anymore:
> http://wiki.freebsd.org/RootOnZFS/ZFSBootPartition
>
> I did it very precise multiple times and I tried the other version too
> (create zroot /dev/ad0s3a vs. create zroot /dev/ad0s3). After googling a
> while I think the MBR bootloader just doesn't work for pool version 15+.
> It hangs on boot. I tried with 8.2 installer, snapshot and PC-BSD too. I
> ended up UFS boot + ZFS with PCBSD install disk (but FreeBSD install).
>
> Later I will try GPT manually. My question is that does the FreeBSD
> kernel and its loader use some kind of checksuming? Initially my move to
> FreeBSD was inspired by the fear of bit rot. Maybe it seems to be
> paranoid but I would like to be sure that everything loads in perfect
> condition. Even the kernel image. Is it checked somehow in case of UFS
> boot?
>
> After installing the system I upgraded it to the current release by the
> manual. Upgraded zpool to v28. I installed Xorg, KDE and E17 from ports.
> Everything was fine and working. Then I played with /etc/make.conf and
> accidentally set incorrect CPU type (I missed my laptop with my
> desktop). I set athlon64 instead of core2. After some installation and
> testing I realized that cvsup stops with signal 4. So does 'rvm install
> 1.9.2' (ruby userspace installer).
>
> Other things like Xorg and KDE were still working.
>
> I decided to repair the system instead of reinstalling. Not because I
> have anything valuable on it. Just because I would like to learn FreeBSD
> fast and I think that fixing errors helps more than blind reinstall with
> a GUI.
>
> In my dmesg I see this:
>
> pid 2780 (cvsup), uid 0: exited on signal 4 (core dumped)
> pid 8865 (cvsup), uid 0: exited on signal 4 (core dumped)
> pid 27368 (miniruby), uid 1001: exited on signal 4 (core dumped)
> pid 34725 (cvsup), uid 0: exited on signal 4 (core dumped)
>
> Other commands don't do signal 4 (gcc, make, and related things work) it
> doesn't look really bad for me.
>
> First I thought the signal 4 is because some ports were compiled with
> bad cflags. Deinstalling and reinstalling didn't help. After some failed
> attempts I finally ran:
>
> portupgrade -afkP
>
> I think this replaced all my ports to binary packages. However I still
> got signal 4 for 'rvm install' and 'cvsup' both.
>
> I fixed my make.conf to 'core2' cpu and removed everthing else (cflags),
> and made:
>
> cd /usr/obj
> rm -rf *
> cd /usr/src
> make cleandir
> make cleandir
>
> make buildworld
> make buildkernel
> make installkernel
> reboot
> make installworld
> reboot
>
> And this didn't help.
>
> After this I was not sure even core2 is fine in make.conf (yes I have
> core2), I changed it to 'CPUTYPE?=native', without defining any cflags I
> rebuilt the world and the kernel and I still get signal 4.
>
> It does frustrate me. I should be able to fix it. Actually I am
> recompiling the world without any make.conf, but it takes hours. How
> should I repair my test system? What did I miss?
>
> Thank you.
>
>Mage
>
>
>
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "
> freebsd-questions-unsubscr...@freebsd.org"
>
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: kernel and buildworld questions

2011-05-10 Thread Pierre-Luc Drouin
On Tue, May 10, 2011 at 2:23 PM, Mage  wrote:

> On 05/10/2011 08:10 PM, Pierre-Luc Drouin wrote:
> > Hi,
> >
> > If you initially compiled your ports using the -p option of
> > portupgrade, then using the -P option of portupgrade will install the
> > ports using the package files that you have generated rather than
> > fetching them from the server. If you want to fetch the binaries
> > rather than recompile it on your system, make sure to delete any
> > package from /usr/ports/packages/All before using portupgrade -afkP
> >
> That folder was empty for sure. When I have been running portupgrade
> -afkP I also ran ran 'ls -l | wc' in that folder to see how many
> packages I fetched. To check the progress.
>
> I had about 344 packages, all installed from ports and I ended up having
> 360 packages after the portupgrade command. All were downloaded except
> one or two (maybe xterm) which was installed from ports as the remote
> package was not the latest version.
>
> I also ran portsclean -C before switching to binary packages. I still
> have some history on console:
>
> [root@eden /usr/ports/packages/All]# ls -l
> total 156160
> -rw-r--r--  1 root  wheel169882 Apr 27 22:18 aalib-1.4.r5_5.tbz
> -rw-r--r--  1 root  wheel630601 Apr 27 22:11 autoconf-2.68.tbz
> -rw-r--r--  1 root  wheel  3641 Apr 27 21:30
> autoconf-wrapper-20101119.tbz
> -rw-r--r--  1 root  wheel  3509 Apr 27 21:30
> automake-wrapper-20101119.tbz
>
> They are dated Apr 27. I installed this system 3-4 days ago.
>
> Also 'rvm install 1.9.2' drops signal 4. I think it only uses make and
> gcc. However, make buildworld and buildkernel finishes successfully.
>
> I wouldn't like to give up.
>
>Mage
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "
> freebsd-questions-unsubscr...@freebsd.org"
>

By the way you don't really need to use the cvsup package anymore, as there
is now the csup command that is part of FreeBSD. Regarding the core dumps,
maybe you should tried running portsclean -PLD to remove old packages,
libraries and distfiles from your system.If you can reproduce easily the
core dumps, maybe you can find which libraries causes the processes to crash
using gdb
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: kernel and buildworld questions

2011-05-10 Thread Pierre-Luc Drouin
On Tue, May 10, 2011 at 2:59 PM, Mage  wrote:

> On 05/10/2011 08:35 PM, Pierre-Luc Drouin wrote:
> >
> >
> > By the way you don't really need to use the cvsup package anymore, as
> > there is now the csup command that is part of FreeBSD. Regarding the
> > core dumps, maybe you should tried running portsclean -PLD to remove
> > old packages, libraries and distfiles from your system.If you can
> > reproduce easily the core dumps, maybe you can find which libraries
> > causes the processes to crash using gdb
> >
> Thank you for helping.
>
> I tried:
>
> [root@eden ~]# cvsup sup_standard
> Connected to cvsup.de.FreeBSD.org
> Updating collection src-all/cvs
>  Edit src/bin/sh/expand.c
> Illegal instruction: 4 (core dumped)
>
> [root@eden ~]#  portsclean -PLD
> Detecting unreferenced distfiles...
> no unreferenced distfiles found.
> Cleaning out /usr/ports/packages...
> Delete /usr/ports/packages/All/ezm3-1.1_2.tbz
>
> [root@eden ~]# cvsup sup_standard
> Connected to cvsup.de.FreeBSD.org
> Updating collection src-all/cvs
>  Edit src/bin/sh/expand.c
> Illegal instruction: 4 (core dumped)
>
>
> All my packages must be binary now as this system didn't exist in April:
>
> [mage@eden ~]$ cd /usr/ports/packages/All/
> [mage@eden /usr/ports/packages/All]$ ls -l | grep Apr | wc
> 3513159   24777
> [mage@eden /usr/ports/packages/All]$ ls -l | grep May | wc
>   0   0   0
>
> Any of them would have date from May if built from ports.
>
> Where can I see the core dump? In dmesg I see only this:
>
> pid 12239 (cvsup), uid 0: exited on signal 4 (core dumped)
>
> (Or 'miniruby' when I try to build ruby 1.9.2)
>
>Mage
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "
> freebsd-questions-unsubscr...@freebsd.org"
>

Since it core dumps with "Illegal instruction", it looks like there cvsup is
still using some of the ports you compiled with the wrong flags. I would try
the following:

1) Rename your file /etc/make.conf such that the system stops using it (just
in case there is still something wrong with it
2) run pkg_deinstall -Rf cvsup (or cvsup-without-gui, depending on what you
installed exactly)
3) cd /usr/ports/cvsup (or cvsup-without-gui)
4) make clean install
5) Try cvsup again
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: kernel and buildworld questions

2011-05-10 Thread Pierre-Luc Drouin
On Tue, May 10, 2011 at 3:42 PM, Mage  wrote:

>
> > Since it core dumps with "Illegal instruction", it looks like there cvsup
> is
> > still using some of the ports you compiled with the wrong flags. I would
> try
> > the following:
> >
> > 1) Rename your file /etc/make.conf such that the system stops using it
> (just
> > in case there is still something wrong with it
> > 2) run pkg_deinstall -Rf cvsup (or cvsup-without-gui, depending on what
> you
> > installed exactly)
> > 3) cd /usr/ports/cvsup (or cvsup-without-gui)
> > 4) make clean install
> > 5) Try cvsup again
> I did these steps yesterday. The only difference was that I used
> pkg_cutleaves instead of pkg_deinstall (in several times to remove
> dependencies too).
>
> Removing the UTC zoneinfo file helped with cvsup singal 4. I have no
> idea why.
>
> I still can't compile ruby with rvm and gcc46:
>
> gcc46 -O3 -g -Wextra -Wno-unused-parameter -Wno-parentheses
> -Wpointer-arith -Wwrite-strings -Wno-missing-field-initializers
> -Wno-long-long  -fPIC -L.  -rdynamic   main.o dmydln.o dmyencoding.o
> dmyversion.o miniprelude.o array.o  bignum.o  class.o  compar.o
> complex.o  dir.o  dln_find.o  enum.o  enumerator.o  error.o  eval.o
> load.o  proc.o  file.o  gc.o  hash.o  inits.o  io.o  marshal.o  math.o
> node.o  numeric.o  object.o  pack.o  parse.o  process.o  random.o
> range.o  rational.o  re.o  regcomp.o  regenc.o  regerror.o  regexec.o
> regparse.o  regsyntax.o  ruby.o  safe.o  signal.o  sprintf.o  st.o
> strftime.o  string.o  struct.o  time.o  transcode.o  util.o  variable.o
> compile.o  debug.o  iseq.o  vm.o  vm_dump.o  thread.o  cont.o  ascii.o
> us_ascii.o unicode.o utf_8.o  newline.o  close.o dmyext.o -lthr -lrt
> -lcrypt -lm   -o miniruby
> *** Signal 4
>
> I have libmap.conf as mentioned in the manual.
>
>Mage
>
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "
> freebsd-questions-unsubscr...@freebsd.org"
>

If the -O3 argument in the command above comes from your make.conf, it is
possible that this level of optimisation causes gcc46 to crash for these
particular input files... You can try lowering the level of optimisation as
a whole when building ruby, or to reduce the optimisation level only when
linking miniruby
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: kernel and buildworld questions

2011-05-10 Thread Pierre-Luc Drouin
On Tue, May 10, 2011 at 4:06 PM, Mage  wrote:

> On 05/10/2011 09:55 PM, Pierre-Luc Drouin wrote:
> >
> > If the -O3 argument in the command above comes from your make.conf, it is
> > possible that this level of optimisation causes gcc46 to crash for these
> > particular input files... You can try lowering the level of optimisation
> as
> > a whole when building ruby, or to reduce the optimisation level only when
> > linking miniruby
> gcc46 -O2 -fno-strict-aliasing -pipe -march=native -fPIC -L.
> -rdynamic   main.o dmydln.o dmyencoding.o dmyversion.o miniprelude.o
> array.o  bignum.o  class.o  compar.o  complex.o  dir.o  dln_find.o
> enum.o  enumerator.o  error.o  eval.o  load.o  proc.o  file.o  gc.o
> hash.o  inits.o  io.o  marshal.o  math.o  node.o  numeric.o  object.o
> pack.o  parse.o  process.o  random.o  range.o  rational.o  re.o
> regcomp.o  regenc.o  regerror.o  regexec.o  regparse.o  regsyntax.o
> ruby.o  safe.o  signal.o  sprintf.o  st.o  strftime.o  string.o
> struct.o  time.o  transcode.o  util.o  variable.o  compile.o  debug.o
> iseq.o  vm.o  vm_dump.o  thread.o  cont.o  ascii.o us_ascii.o unicode.o
> utf_8.o  newline.o  close.o dmyext.o -lthr -lrt -lcrypt -lm   -o miniruby
> *** Signal 4
>
> gcc46 -O1 -fno-strict-aliasing -pipe -march=native -fPIC -L.
> -rdynamic   main.o dmydln.o dmyencoding.o dmyversion.o miniprelude.o
> array.o  bignum.o  class.o  compar.o  complex.o  dir.o  dln_find.o
> enum.o  enumerator.o  error.o  eval.o  load.o  proc.o  file.o  gc.o
> hash.o  inits.o  io.o  marshal.o  math.o  node.o  numeric.o  object.o
> pack.o  parse.o  process.o  random.o  range.o  rational.o  re.o
> regcomp.o  regenc.o  regerror.o  regexec.o  regparse.o  regsyntax.o
> ruby.o  safe.o  signal.o  sprintf.o  st.o  strftime.o  string.o
> struct.o  time.o  transcode.o  util.o  variable.o  compile.o  debug.o
> iseq.o  vm.o  vm_dump.o  thread.o  cont.o  ascii.o us_ascii.o unicode.o
> utf_8.o  newline.o  close.o dmyext.o -lthr -lrt -lcrypt -lm   -o miniruby
> *** Signal 4
>
>
> I the meanwhile I made a new world, I will try that too.
>
>
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "
> freebsd-questions-unsubscr...@freebsd.org"
>


It is not necessarily the -O. It can also be the -march=native ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: (8.2) amd64 + linuxulator + nvidia driver is it stable ?

2011-05-10 Thread Pierre-Luc Drouin
On Tue, May 10, 2011 at 5:21 PM, Mario Lobo  wrote:

>  On Tuesday 10 May 2011 15:21:07 Pierre-Luc Drouin wrote:
>
> > On Tue, May 10, 2011 at 2:00 PM, Ivan Klymenko  wrote:
>
> > > В Tue, 10 May 2011 17:31:53 +0200
>
> > >
>
> > > Patrick Lamaiziere  пишет:
>
> > > > Hi,
>
> > > >
>
> > > > I've got a new box running 8.2-stable with amd64 + linuxulator +
>
> > > > nvidia driver. Quite often when watching video on youtube the box
>
> > > > freeze (no panic).
>
> > > >
>
> > > > Are there some known problems with this kind of configuration on
>
> > > > amd64? (Works fine on my old laptop using 8.2/i386)
>
> > > >
>
> > > > I don't know where is problem, but one time the machine crashed just
>
> > > > after a pkill of npviewer.bin (they were in the futex state), so it
>
> > > > could be the linuxulator?
>
> > >
>
> > > I have encountered in the system exactly the same problem
>
> > >
>
> > > uname -a
>
> > > FreeBSD nonamehost 9.0-CURRENT FreeBSD 9.0-CURRENT #0 r221598:
>
> > > Sat May 7 17:28:18 EEST 2011
>
> > > ivan@nonamehost:/usr/obj/usr/src/sys/mk9 amd64
>
> > >
>
> > > pciconf -lv|grep Ge
>
> > >
>
> > > device = 'Geforce 8400M GS (unknown)'
>
> > >
>
> > > pkg_info|grep nvidi
>
> > > nvidia-driver-270.41.06 NVidia graphics card binary drivers for
>
> > > hardware OpenGL ren
>
> > >
>
> > > dmesg|grep NVRM
>
> > > NVRM: Xid (:01:00): 13, 000a  8297 19d0
>
> > > 003c 0100
>
> > >
>
> > > they were observed for nearly all nvidia drivers for amd64...
>
> > > I tried to change the different options:
>
> > > setenv VDPAU_NVIDIA_NO_OVERLAY=1 -> ~/.cshrc
>
> > > Option "Xinerama" "False" and Option "Xinerama" "0"
>
> > > -> /etc/X11/xorg.conf
>
> > > cat /etc/adobe/mms.cfg
>
> > > OverrideGPUValidation=false
>
> > > AutoUpdateDisable=true
>
> > > EnableLinuxHWVideoDecode=0
>
> > > FullScreenDisable=false
>
> > >
>
> > > and it seems to me it helped for flashplayer...
>
> > >
>
> > > but the situation as a whole wants the best, because these problems
>
> > > continue with using VDPAU
>
> > >
>
> > > so I'm leaning that cause these problems in drivers...
>
> > >
>
> > > sorry for my english...
>
> > > ___
>
> > > freebsd-questions@freebsd.org mailing list
>
> > > http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>
> > > To unsubscribe, send any mail to "
>
> > > freebsd-questions-unsubscr...@freebsd.org"
>
> >
>
> > I have had the same problem as well in the past when I tried killing
>
> > npviewer.bin . Also using an NVidia card on amd64...
>
> >
>
> > Thanks
>
> > ___
>
> > freebsd-questions@freebsd.org mailing list
>
> > http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>
> > To unsubscribe, send any mail to
>
> > "freebsd-questions-unsubscr...@freebsd.org"
>
>
> Are you guys using nspluginwrapper-devel?
>
>
> Since I started using it I have no more freezes in firefox and no more
> dangling npviewer.bin processes. YouTube plays fine for as many videos as I
> want.
>
>
> By the way, I never experienced system freezes even when I was using a
> non-devel wrapper. Only firefox froze with watching flash videos. All I had
> to do was to kill it and kill the npviewer.bins.
>
>
> My system:
>
>
> FreeBSD Papi 8.2-STABLE Tue May 3 13:17:39 BRT 2011 amd64
>
> NVIDIA Driver Version: 270.41.06
>
> device = 'NVIDIA GeForce 9800 GT (G92)'
>
>
> --
>
> Mario Lobo
>
> http://www.mallavoodoo.com.br
>
> FreeBSD since 2.2.8 [not Pro-Audio YET!!] (99% winblows FREE)
>

I am using the non-devel version of nspluginwrapper. On my system, flash
causes firefox to hang for maybe 10-20 seconds sometimes, but this resolves
by itself... I think the problem that was originally identified and that I
am also experiencing is not necessarily the same as what you are describing,
although it is nice to know that the hanging problems might be gone with
nspluginwrapper-devel. Usually when I kill npviewer.bin though, it is to
prevent it from generating CPU load...

Thanks
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


List of Servers for FreeBSD and Ports Updates...

2011-06-22 Thread Pierre-Luc Drouin
Hi,

I am working on a network which uses a http/ftp proxy that prompts by
default for user permission before downloading any file. In order to be able
to keep my system up-to-date (FreeBSD and ports), I have to white list the
FreeBSD servers and directories that need to be accessible, because
otherwise I can only download files through a web browser, which is
obviously extremely painful. Also only the HTTP and FTP protocols are
allowed on my network, so CVSUP is not allowed. So my current plan is to
update FreeBSD using the following tools:

1-Port directory update through portsnap
2-FreeBSD src update through CTM
3-Port updates through distfiles and/or packages

I think 1- and 2- are quite straightforward. To allow 1- I need to white
list the whole content of  http://portsnap.freebsd.org/ . To allow 2- I need
to white list the content of ftp://ftp.freebsd.org/pub/FreeBSD/CTM/ . That
should be sufficient, right?

The main issue I have though is with 3-. MASTER_SITE_BACKUP and
MASTER_SITE_OVERRIDE variables are no longer recognized in /etc/make.conf,
right? How can I force FreeBSD to pull distfiles and packages from
ftp://ftp.freebsd.org/pub/FreeBSD/ports ? Also what is the difference
between ftp://ftp.freebsd.org/pub/FreeBSD/distfiles and
ftp://ftp.freebsd.org/pub/FreeBSD/ports/distfiles ? I guess one of the
directories is aliased to point to the other, right?

Thanks!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Required HTTP/FTP Servers for FreeBSD and Ports Updates?

2011-06-22 Thread Pierre-Luc Drouin
Hi,

I am working on a network which uses a http/ftp proxy that prompts by
default for user permission before downloading any file. In order to be able
to keep my system up-to-date (FreeBSD and ports), I have to white list the
FreeBSD servers and directories that need to be accessible, because
otherwise I can only download files through a web browser, which is
obviously extremely painful. Also only the HTTP and FTP protocols are
allowed on my network, so CVSUP is not allowed. So my current plan is to
update FreeBSD using the following tools:

1-Port directory update through portsnap
2-FreeBSD src update through CTM
3-Port updates through distfiles and/or packages

I think 1- and 2- are quite straightforward. To allow 1- I need to white
list the whole content of  http://portsnap.freebsd.org/ . To allow 2- I need
to white list the content of ftp://ftp.freebsd.org/pub/FreeBSD/CTM/ . That
should be sufficient, right?

The main issue I have though is with 3-. MASTER_SITE_BACKUP and
MASTER_SITE_OVERRIDE variables are no longer recognized in /etc/make.conf,
right? How can I force FreeBSD to pull distfiles and packages from
ftp://ftp.freebsd.org/pub/FreeBSD/ports ? Also what is the difference
between ftp://ftp.freebsd.org/pub/FreeBSD/distfiles and
ftp://ftp.freebsd.org/pub/FreeBSD/ports/distfiles ? I guess one of the
directories is aliased to point to the other, right?

Thanks!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: printing to Kyocera FS-1030D

2011-08-03 Thread Pierre-Luc Drouin
Hi,

I would install CUPS and use the PPD file recommended on
openprinting.org
(http://www.openprinting.org/printer/Kyocera/Kyocera-FS-1030D).

Cheers,
Pierre-Luc

On Wed, Aug 3, 2011 at 12:41 PM, Chris Whitehouse  wrote:
> Hi,
>
> before I use up too many trees experimenting, could some kind soul tell me
> how I can get OpenOffice to print to this printer. This is the first time I
> have tried to get anything printed from FreeBSD.
>
> I'm following the handbook. I think the basic setup is ok, I can get text
> printed using eg
> # lptest 20 5 | lpr -Plp
>
> If I try to print the postscript program given in the handbook
> %!PS
> 100 100 moveto 300 300 lineto stroke
> 310 310 moveto /Helvetica findfont 12 scalefont setfont
> (Is this thing working?) show
> showpage
>
> # cat  |lpr -Plp
>
> I get the whole text of the file not just "Is this thing working?".
>
> The printer has various emulations, it is set to PCL 6 and I can't change it
> (not my printer)
>
> Printing from OpenOffice just produces screeds of garbage, starting with
> %!PS so I presume the text of the postscript that OO has produced.
>
> The bit I'm stuck on is in section 9.4.1.3 Simulating PostScript on Non
> PostScript Printers (which I presume is what I need), specifically setting
> the device. gs -h doesn't show this printer or any Kyocera printer. So
> either what should I set Device to, or how do I get ghostscript to know
> about this printer?
>
> I'm using 8.1-RELEASE, openoffice.org-3.2.1, ghostscript8-8.71_6
>
> thanks
>
> Chris
>
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
>
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Alternative windowmanagers

2011-08-05 Thread Pierre-Luc Drouin
For me fluxbox is the way to go, since it is very light, has good key
binding configuration and can be configured very easily. The only
thing that I miss is the true transparency feature of Compiz, which
can be quite useful sometimes, for example to quickly compare plots.
Xfce is next on my list, since it got lots of features without being
too heavy...

On Fri, Aug 5, 2011 at 3:12 PM, Christian Barthel  
wrote:
> Hello,
>
> I read on slashdot that Linus Torvalds moved from Gnome 2.3x to Xfce. It
> seems that he isn't thrilled by xfce, but it's far better than Gnome3.
>
> As a Gnome 2.3x user too, I am also a bit nervouse. Gnome 3 is a big
> mistake. And there are also rumors that Gnome will be Linux only. Maybe,
> we will never see Gnome3 under FreeBSD, but this is not a tragedy :)
>
> I am not very interested in eyecandy: I want a stable and fast wm (less
> memory and cpu, quick access to important places), different workspaces,
> and it should be configurable with ordinary files. Of course, It must
> run under FreeBSD.
>
> I sniffed into AfterStep, fvwm2 and fluxbox (I don't want to use KDE). I
> think, fluxbox is a nice wm and for my future, it will be the default wm
> for me. It's also very fast and easy to configure.
>
> Are there any other window manager worth looking?
>
> What is your window manager?
>
>
> --
> Christian Barthel
>
> Public-Key: http://bc.user-mode.org/bc.asc
> Mail: b...@nyx.user-mode.org
> Web: http://bc.user-mode.org
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
>
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: How to use gui

2011-08-09 Thread Pierre-Luc Drouin
On Tue, Aug 9, 2011 at 1:04 PM, Sudhakar K  wrote:
> Sir,
> i'm new to freebsd 8.2, i downloaded full dvd iso. I installed once.
> But on gui. Can you please tell me how to install this release and use
> gui desktop.
> Now its only a dos like environment. Please help me. I'm new to freebsd.

Hi. Welcome to FreeBSD!

By default FreeBSD takes the minimalistic approach of not installing
possibly unneeded dependencies, so this is why there is no X server
and window manager by default. To install some, you should read the
FreeBSD handbook
(http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/) and
particularly the Chapters 4 and 5. Or you could always install PC-BSD,
which is based on FreeBSD and which installs and configure X and a
window manager by default.


>
> --
> <%-- *Sudhakar K* --%>
> 
> "If you think, you can."
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
>
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


What is going on with the DNS for the Canadian FreeBSD Mirrors?

2011-08-09 Thread Pierre-Luc Drouin
Hi,

does someone know why the hostnames for the Canadian FreeBSD mirrors
can no longer be resolved?

Thanks!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: FreeBSD WIFI USB adapter

2011-08-11 Thread Pierre-Luc Drouin
Isn't the Intel 3000 AGN supported by FreeBSD? I thought it was?

On Thu, Aug 11, 2011 at 1:27 PM, Jerry  wrote:
> On Thu, 11 Aug 2011 16:27:29 -
> b...@taiotoshi.org articulated:
>
>> Folks:
>>
>> I have a Dell XPS Studio laptop with a broadcom wifi adapter built
>> in. I've had no luck trying to compile in the BWI option into the
>> kernel to get it to work and think that buying a cheap usb WIFI
>> adapter is the quickest way to make wireless 802.11 b/g work.
>>
>> Realizing that some chip sets are better supported than others, I was
>> hoping some list subscribers might be able to identify currently
>> offered USB WIFI adapters that they know to work.  I will then
>> purchase one that has a good track record.
>>
>> Any suggestions/comments on adapters that work would be greatly
>> appreciated.
>
> Basically, stay away form any "N" devices. Even the cheapest WIFI's
> offer "N" today, so be sure to purchase one that doesn't support it or
> else in all probability you will not be able to secure a driver for it.
> I know that sucks; however, it is what it is. It is also the reason I
> totally gave up attempting to use FreeBSD on any modern Laptop.
>
> --
> Jerry ✌
> jerry+f...@seibercom.net
>
> Disclaimer: off-list followups get on-list replies or ignored.
> Do not CC this poster. Please do not ignore the "Reply-To" header.
>
> http://www.catb.org/~esr/faqs/smart-questions.html
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
>
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: random generated password

2011-08-30 Thread Pierre-Luc Drouin
If the purpose is to make login unusable, starring the password is the
only 100% safe way...

On Tue, Aug 30, 2011 at 2:42 PM, Michael Sierchio  wrote:
> That occurred to me, but it's a smaller alphabet.  Probably doesn't
> matter if the purpose is to make login unusable.
>
> On Tue, Aug 30, 2011 at 11:40 AM, Randal L. Schwartz
>  wrote:
>>> "Michael" == Michael Sierchio  writes:
>>
>> Michael> dd if=/dev/random count=1 | tr -c "[:alnum:]"
>> Michael> '0-9A-Za-z0-9A-Za-z0-9A-Za-a-z0-9A-Za-z'
>>
>> Michael> will give you the right kind of characters to use, for example.
>>
>> I prefer "openssl rand -base64 6" to get an 8-char password from a
>> fairly large set of sensible characters.  Each multiple of 3 results in 4
>> characters in the output.
>>
>> --
>> Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
>>  http://www.stonehenge.com/merlyn/>
>> Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc.
>> See http://methodsandmessages.posterous.com/ for Smalltalk discussion
>>
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
>
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Best Server OS for Someone That Does not Want to Touch a Shell on a Regular Basis?

2011-09-04 Thread Pierre-Luc Drouin

Hi,

so I have a friend who is looking for the best OS for a web server, that 
allows to configure services (I guess HTTP, PHP, MySQL and web content) 
and do the OS maintenance (OS & package updates, firewall configuration) 
without having to touch a shell. I was wondering if something like 
PC-BSD + CPanel would be the way to go. Would there be other BSD-based 
alternatives? I always do upgrades and configure services through the 
shell and I am not aware too much about the GUI alternatives...


Thanks!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Best Server OS for Someone That Does not Want to Touch a Shell on a Regular Basis?

2011-09-05 Thread Pierre-Luc Drouin

On 09/05/2011 08:31 AM, Polytropon wrote:

On Sun, 04 Sep 2011 23:47:03 -0400, Pierre-Luc Drouin wrote:

Hi,

so I have a friend who is looking for the best OS for a web server, that
allows to configure services (I guess HTTP, PHP, MySQL and web content)
and do the OS maintenance (OS&  package updates, firewall configuration)
without having to touch a shell. I was wondering if something like
PC-BSD + CPanel would be the way to go. Would there be other BSD-based
alternatives? I always do upgrades and configure services through the
shell and I am not aware too much about the GUI alternatives...

There are webbased configuration tools that run on common
service combinations (like Apache + MySQL + PHP) that can
be installed. However _installing_ them requires a skilled
person who is able to administrate a server, which in turn
traditionally implies the ability to use the command line,
even if it's just for that "abstraction job".


Well, this part is not an issue, as he will not be the one doing the 
initial install of the system

FreeBSD can be the OS running such a combination.

PC-BSD primarily aims at desktop usage, so for example it
defaults to KDE, office applications, multimedia stuff and
all the things you traditionally won't want on a server.


But all these can be removed quite easily I guess...

Software solutions that come to mind are CPanel or WebMin.
Maybe there are others? I'm not sure as I void those mostly
inflexible, error-prone, overcomplicated and dangerous
piles of bloat whenever possible. :-)
How much security risk do these represent compared to using a Windows 
server?

For managing installed applications (ports), there are
KDE tools for that (at least _have been_ in the past,
not sure if they are still being maintained).
Do the PC-BSD package management tools still require KDE? I though they 
were removing this dependency?



The system
cannot be updated by a GUI tool (why should it?), but
it should be a job of max. 30 minutes to create a Tcl/Tk
GUI wrapper for those things.


Can PC-BSD OS be updated through a gui?


  And firewall configuration:
I'm quite sure PC-BSD has something for that, except that
it probably won't give you the flexibility to automatically
change firewall rules depending on different kinds of
attacks the server will encounter.

Please keep in mind: If you're running a web server, you're
part of the target group of thousands of "villains" across
the Internet who will happily exploit any weakness you are
presenting to them, depending on the services and software
you run.

What's possible to run will also depend on what kind of
server you have. For example if you run a server without
any GPU, but PC-BSD depends on hardware-accellerated 3D
graphics for managing the firewall, then... you know. :-)

There still is a question that your friend should give an
answer to himself: Wouldn't it be worth investing in basic
UNIX skills and command line operations to gain knowledge
and experience to professionally administer a server instead
of relying on abstracted layers of abstracted abstractions
that GUIs provide here, maybe paying with speed and security
loss?


Well, I know that. I can try convincing him...

Thanks!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Best Server OS for Someone That Does not Want to Touch a Shell on a Regular Basis?

2011-09-05 Thread Pierre-Luc Drouin
I just took a look at PBDir and the choice of PBIs for server-related 
softwares seems to be rather limited. They have a PBI for Apache, but I 
could not even find one for PHP... To me it seems that if not all the 
required softwares are available through PBI, it would be better to drop 
the whole PBI idea all together and fall back to the FreeBSD 
port/package system. But to go with the FreeBSD route, I will need to 
convince my friend of using the command line at least to update the 
packages and the OS. I am not sure if he will enjoy the usage of tools 
such as mergemaster, given that this requires to have a good idea of 
what is going on in the config files. This might make an OS like Ubuntu 
easier to use for my friend, although this is probably not the most 
stable and secure OS for a server. It might be a necessary compromise in 
this case though...

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Best Server OS for Someone That Does not Want to Touch a Shell on a Regular Basis?

2011-09-05 Thread Pierre-Luc Drouin
How well does it work to use binary packages only to maintain a FreeBSD 
web server in general (I am thinking of package availability, but also 
and in particular as a quasi-automated updating tool)? I noticed that in 
the past few years, updating softwares through ports has been requiring 
more user intervention, due to the way some dependencies are being 
updated from one version to the next. Would using binary packages allow 
to avoid more such user intervention?


Thanks
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Best Server OS for Someone That Does not Want to Touch a Shell on a Regular Basis?

2011-09-05 Thread Pierre-Luc Drouin



I noticed that in
the past few years, updating softwares through ports has been requiring
more user intervention, due to the way some dependencies are being
updated from one version to the next. Would using binary packages allow
to avoid more such user intervention?

Yes. All dependencies would be incorporated automatically.
Only ports without equivalent package that additionally have
OPTIONS to set would invoke a configuration screen, and this
screen would have to be dealt with only in the first run of
the updating process.

There are also options for portmaster that can be used to
control program behaviour in case of problems (e. g. some
package not found, conflicting ports, versioning problem,
or port marked "broken").


So, what I was referring to in particulars was special updates like this:
20110517:
  AFFECTS: users of lang/perl*
  AUTHOR: s...@freebsd.org

  lang/perl5.14 is out. If you want to switch to it from, for example
  lang/perl5.12, that is:

  Portupgrade users:
0) Fix pkgdb.db (for safety):
pkgdb -Ff

1) Reinstall new version of Perl (5.14):
env DISABLE_CONFLICTS=1 portupgrade -o lang/perl5.14 -f 
perl-5.12.\*


2) Reinstall everything that depends on Perl:
portupgrade -fr perl

So you are saying that this type of special interventions is not 
necessary when using only binary packages, right?


Thanks!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: 7.4 -> 8.2

2011-11-24 Thread Pierre-Luc Drouin
On Thu, Nov 24, 2011 at 10:44 AM, Robert Huff  wrote:
>
> Albert Shih writes:
>
>>  Anyone known if I can temporally run a 7.4 userland+service with
>>  8.2 kernel?
>
>        My gut reaction was "Are you familiar with the game of Russian
> Roulette?".
>
>
>                                Robert Huff
>

I would definitely test it on another machine beforehand, including
tests of the services which are running in the jails. It would
probably be safer to make a copy of the drive from that server, put it
on another machine, upgrade everything, then take the server offline,
rsync the user data and swap the drives...

Pierre-Luc Drouin
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: 9.0 PRERELEASE freezing when running Gnome and Firefox

2011-12-01 Thread Pierre-Luc Drouin
On Thu, Dec 1, 2011 at 12:27 PM, Jukka A. Ukkonen  wrote:
>
> Greetings,
>
> Has anybody else seen FreeBSD 9.0 PRERELEASE freezing totally when
> using X11, Gnome, and Firefox?
>
> Usually it does not happen immediately after starting firefox but
> instead everything might be just fine for about 1/2h, maybe even
> 1h or so.
> Then, when it hits, it just hits without any warning. Neither does
> the system log anything nor does it panic in a controlled manner.
> It just stops reacting to anything at all. The keyboard falls dead.
> The network connections freeze. All disk activity stops. It will not
> even respond to a ping.
>
> The system is a 12 core AMD64 environment. The last kernel I have
> tried is now roughly 2 days old or so (compiled Nov 29th), but as far
> as I can tell in 2 days there have been no patches to the system
> which could have an obvious positive effect to this sort of a problem.
>
>
>        Cheers,
>                // jau
> .---  ..-  -.-  -.-  .-    .-  .-.-.-    ..-  -.-  -.-  ---  -.  .  -.
>  /    Jukka A. Ukkonen,                             Oxit Ltd, Finland
>  /__   M.Sc. (sw-eng & cs)                    (Phone) +358-500-606-671
>   /   Internet: Jukka.Ukkonen(a)Oxit.Fi
>  /    Internet: jau(a)iki.fi
>  v
>        .---  .-  ..-  ...-.-  ..  -.-  ..  .-.-.-  ..-.  ..
> + + + + My opinions are mine and mine alone, not my employers. + + + +
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
>

Just a guess... Do you happen to use the nvidia driver? If you do,
have you recompiled it, unloaded and reloaded it after updating your
kernel and/or X.org?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Which Lenovo Laptop?

2011-12-08 Thread Pierre-Luc Drouin
Hi,

so which current 14" Lenovo laptop is the best for FreeBSD
compatibility right now? Is it the T420 with the Nvidia card (Nvidia
card forced in the BIOS)? Sleep modes work with the T420, right? And I
guess Intel Wi-Fi cards are the most supported ones, right?

Thanks!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Which Lenovo Laptop?

2011-12-08 Thread Pierre-Luc Drouin
On Thu, Dec 8, 2011 at 11:44 AM, Erik Nørgaard  wrote:
> On 08/12/2011 15:01, Pierre-Luc Drouin wrote:
>
>> so which current 14" Lenovo laptop is the best for FreeBSD
>> compatibility right now? Is it the T420 with the Nvidia card (Nvidia
>> card forced in the BIOS)? Sleep modes work with the T420, right? And I
>> guess Intel Wi-Fi cards are the most supported ones, right?
>
>
> Hi: I got an E520 and tried to install 90RC2 on it, ACPI problems with
> thermal zone 0 (-273). I got the system installed awkardly: the installer
> was useless as the console would fill with acpi error messages. Tried to
> boot live and run sysinstall on a different console but wouldn't install.
> Eventually I did everything manually.
>
> But then trying buildworld got the system hanging without any error message
> probably due to overheating.
>
> So, the final resort was to install linux .. that suck. :(
>
> I don't know the other series. Good luck and let me know.
>
> BR, Erik
> --
>

>From what I read in the past I think the T series has more support
than the other series, but maybe I am wrong. After the options that
are offered to me, it seems that the T series model I could get with a
Nvidia chipset would be the T520 with the i7 2630QM CPU and the Intel
5205 wireless card. From what I have read, the wireless card should
work fine on FreeBSD, but I have read that some people had problems in
October with the BIOS and GPT. I assume these problems do not apply
with the MBR? WHat about the sleep modes with the T520? Does suspend
to RAM and suspend to disk works?

Thanks!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Which Lenovo Laptop?

2011-12-09 Thread Pierre-Luc Drouin
On Fri, Dec 9, 2011 at 2:03 AM, 文鳥  wrote:
> Hi,
>
> I am typing this message on a W520 running 9.0 stable, which should be
> similar enough to the T520.
>
> - MBR boot works fine, but GPT seems to be impossible (Lenovo
>  appears to have messed up again).
> - The NVidia driver is working almost perfectly once you enforce it in
>  BIOS, but occasionally (3 times in last 2.5 months) the screen starts
>  displaying a strange block pattern after some time and renders the
>  display unusable until I restart X (logging in via SSH works, as does
>  the power button == ACPI shutdown). Haven't been able track the cause
>  down yet.
> - Suspend seems to be unreliable, so I stopped trying (back on BETA2).
> - acpi_ibm.ko works once you patch sys/dev/acpi_support/acpi_ibm.c,
>  line 338, and replace "IBM0068" with "LEN0068", which makes most of
>  the multimedia keys usable.
> - Wireless is working (iwn), but I'm not using it that frequently so
>  YMMV.
> - I cannot comment on bluetooth, camera or SD card reader, since I
>  never use those.
>
> But there is one annoying problem I did not manage to fix yet: The
> screen brightness control does not work at all, i.e. it's always at
> maximum (hw.acpi.video sysctls seem to have no effect). All in all, this
> laptop is a nice desktop replacement, just don't expect the battery to
> last too long.
>
> Best regards

When you say that suspending seems unreliable, do you mean that it
sometimes work? Did you try unloading kernel modules before putting it
in sleep mode to see if it makes a difference?
About screen brightness, I thought there was a setting in xorg.conf
that made it to work?

Cheers
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Installing free bsd

2011-12-12 Thread Pierre-Luc Drouin
On Mon, Dec 12, 2011 at 4:00 PM, Jerry McAllister  wrote:
> On Mon, Dec 12, 2011 at 02:36:04PM -0600, Daniel Lewis wrote:
>
>> Im new to FreeBSD and did a FTP of 8.2 and unzipped to a cd rom. It
>> was an ISO Version. I then FTP the CDROM BOOT file and un zipped it.
>> Unfortunately It wont auto start when i put disk in computer startup.
>> Need support.. Is the windows format on disk causing problems?
>
> Well, the .iso files you get from the FreeBSD distribution are ISO
> image files that need to be burned directly to a disk.  There is no
> other processing or formatting that may be done.
>
> I do not know what you mean by 'unzipped to a cd rom'.  I have never
> done anything that sounded like that.
>
> You should just download the .iso file and burn in to a fresh cd
> and fixate it.  Then boot it.
>
> jerry

Yeah, there is nothing to "unzip". You need to simply burn the ISO
image on a CD/DVD. Once it is burned you should look at the content of
the CD/DVD and you should see the files that are part of the ISO
image...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Using non-gcc linker?

2012-01-23 Thread Pierre-Luc Drouin
Hi,

I just "made" world and kernel using clang, but I noticed that ld is still
using the GNU ld. The page
http://wiki.freebsd.org/BuildingFreeBSDWithClangmentions using a
different linker that supports LTO optimisation. Is that
non-GNU linker part of FreeBSD 9?

Thanks!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Problems with libz since libz.so.5 is gone...

2012-01-26 Thread Pierre-Luc Drouin
Hi,

so various ports, in particular the java ports, are giving me headaches
since /lib/libz.so.5 was replaced by /lib/libz.so.6. I managed to update
most of my ports, but the binary java ports, such as diablo-jdk16, are now
installing broken binary files. Even if I put an entry such as

libz.so.4 libz.so.6

in /etc/libmap.conf

javac --version
#
# An unexpected error has been detected by Java Runtime Environment:
#
#  SIGBUS (0xa) at pc=0x2811918c, pid=99059, tid=0x28404900
#
# Java VM: Diablo Java HotSpot(TM) Client VM (10.0-b23 mixed mode, sharing
bsd-x86)
# Problematic frame:
# C  [libc.so.7+0x4d18c]  vsnprintf+0x1c
#
# An error report file with more information is saved as:
# /usr/ports/graphics/xv/hs_err_pid99059.log
#
# Please submit bug reports to freebsd-j...@freebsd.org
#
Abort


cat hs_err_pid99059.log
---  T H R E A D  ---

Current thread (0x2863d400):  JavaThread "Unknown thread" [_thread_in_vm,
id=675301632, stack(0xbf5ff000,0xbf9ff000)]

siginfo:si_signo=SIGBUS: si_errno=0, si_code=3 (BUS_OBJERR),
si_addr=0x2811918c

Registers:
EAX=0xbf9fe32c, EBX=0x281d0884, ECX=0x28ba535b, EDX=0x0100
ESP=0xbf9fe14c, EBP=0xbf9fe254, ESI=0xbf9fe32c, EDI=0x0056
EIP=0x2811918c, EFLAGS=0x00010206

Top of Stack: (sp=0xbf9fe14c)
0xbf9fe14c:   bf9fe168 bf9fe168 00c8 2808d538
0xbf9fe15c:   2840f370 28682f50 0003 28b89698
0xbf9fe16c:   2902c9c0  2902ca88 2902ca88
0xbf9fe17c:   bf9fe42c bf9fe430 bf9fe430 2902ca45
0xbf9fe18c:   2800 bf9fe168 2902ca88 
0xbf9fe19c:   2902ca88 2902ca88  
0xbf9fe1ac:    2902ca88 bf9fe1d4 289783bd
0xbf9fe1bc:   2845c180  2902ca88 289783aa

Instructions: (pc=0x2811918c)
0x2811917c:   e8 00 00 00 00 5b 81 c3 03 77 0b 00 66 0f ef c0
0x2811918c:   0f 29 45 d8 0f 29 45 c8 0f 29 45 b8 0f 29 45 a8

Stack: [0xbf5ff000,0xbf9ff000],  sp=0xbf9fe14c,  free space=4092k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native
code)
C  [libc.so.7+0x4d18c]  vsnprintf+0x1c
V  [libjvm.so+0x1fb30f]
V  [libjvm.so+0x1fb34b]
V  [libjvm.so+0x2e6221]
V  [libjvm.so+0x28cad9]
V  [libjvm.so+0x28cb97]
V  [libjvm.so+0x313e4f]
V  [libjvm.so+0x31402e]
V  [libjvm.so+0x31407c]
V  [libjvm.so+0x312ece]
V  [libjvm.so+0x3136af]
V  [libjvm.so+0x314770]
V  [libjvm.so+0x1458d5]
V  [libjvm.so+0x19ab54]
v  ~BufferBlob::Interpreter
v  ~BufferBlob::Interpreter
v  ~BufferBlob::Interpreter
v  ~BufferBlob::Interpreter
v  ~BufferBlob::StubRoutines (1)
V  [libjvm.so+0x1aa0dc]
V  [libjvm.so+0x2a3fd9]
V  [libjvm.so+0x1a920f]
V  [libjvm.so+0x18134a]
V  [libjvm.so+0x1813b1]
V  [libjvm.so+0x18169e]
V  [libjvm.so+0x181c08]
V  [libjvm.so+0x333e3b]
V  [libjvm.so+0x1b3433]
C  [javac+0xa755]  JavaMain+0x1cf5
C  [javac+0x8b01]  JavaMain+0xa1
C  [libthr.so.3+0x68ce]  pthread_create+0x72e

Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
v  ~BufferBlob::Interpreter
v  ~BufferBlob::Interpreter
v  ~BufferBlob::Interpreter
v  ~BufferBlob::Interpreter
v  ~BufferBlob::StubRoutines (1)

---  P R O C E S S  ---

Java Threads: ( => current thread )
=>0x2863d400 JavaThread "Unknown thread" [_thread_in_vm, id=675301632,
stack(0xbf5ff000,0xbf9ff000)]

Other Threads:
  0x28488800 VMThread [stack: 0xbf57e000,0xbf5fe000] [id=675420160]

VM state:not at safepoint (normal execution)

VM Mutex/Monitor currently owned by a thread: None

Heap
 def new generation   total 960K, used 17K [0x4aff, 0x4b0f,
0x4b4d)
  eden space 896K,   2% used [0x4aff, 0x4aff47c8, 0x4b0d)
  from space 64K,   0% used [0x4b0d, 0x4b0d, 0x4b0e)
  to   space 64K,   0% used [0x4b0e, 0x4b0e, 0x4b0f)
 tenured generation   total 7168K, used 0K [0x4b4d, 0x4bbd,
0x4eff)
   the space 7168K,   0% used [0x4b4d, 0x4b4d, 0x4b4d0200,
0x4bbd)
 compacting perm gen  total 12288K, used 4K [0x4eff, 0x4fbf,
0x52ff)
   the space 12288K,   0% used [0x4eff, 0x4eff1260, 0x4eff1400,
0x4fbf)
ro space 8192K,  73% used [0x52ff, 0x535d3618, 0x535d3800,
0x537f)
rw space 12288K,  58% used [0x537f, 0x53ee9a30, 0x53ee9c00,
0x543f)

Dynamic libraries:
0x08048000  /usr/local/diablo-jdk1.6.0/bin/javac
0x280ac000  /lib/libthr.so.3
0x280cc000  /lib/libc.so.7
0x2880  /usr/local/diablo-jdk1.6.0/jre/lib/i386/client/libjvm.so
0x281fb000  /usr/lib/libstdc++.so.6
0x282d7000  /lib/libm.so.5
0x282f3000  /lib/libgcc_s.so.1
0x282fe000
/usr/local/diablo-jdk1.6.0/jre/lib/i386/native_threads/libhpi.so
0x2831  /usr/local/diablo-jdk1.6.0/jre/lib/i386/libverify.so
0x2831d000  /usr/local/diablo-jdk1.6.0/jre/lib/i386/libjava.so
0x28344000  /usr/local/diablo-jdk1.6.0/jre/lib/i386/libzip.so
0x2834d000  /lib/libz.so.6
0x28059000  /libexec/ld-elf.so.1

VM Arguments:
jvm_args: -Dapplication.home=/usr/local/diablo-jdk1.6.0 -Xms8m -Xss4m
-ea:com.sun.tools...
java_command: com.sun.tools.javac.Main --version
Launcher Type: SUN_STANDARD

Environment 

Re: Problems with libz since libz.so.5 is gone...

2012-01-26 Thread Pierre-Luc Drouin

On 01/26/2012 05:40 PM, Dan Nelson wrote:

In the last episode (Jan 26), Pierre-Luc Drouin said:

so various ports, in particular the java ports, are giving me headaches
since /lib/libz.so.5 was replaced by /lib/libz.so.6.  I managed to update
most of my ports, but the binary java ports, such as diablo-jdk16, are now
installing broken binary files.  Even if I put an entry such as

libz.so.4 libz.so.6

in /etc/libmap.conf

libmap (or symlinking) only works for libraries that have a compatible ABI.
The version number of libz was bumped precisely because the ABI changed :)

Install the misc/compat8x port to get libz.so.5 back until you can replace
diablo-jdk16 with openjdk6.


Ok I will try that. Thanks!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Problems with libz since libz.so.5 is gone...

2012-01-27 Thread Pierre-Luc Drouin
On Thu, Jan 26, 2012 at 5:40 PM, Dan Nelson  wrote:

> In the last episode (Jan 26), Pierre-Luc Drouin said:
> > so various ports, in particular the java ports, are giving me headaches
> > since /lib/libz.so.5 was replaced by /lib/libz.so.6.  I managed to update
> > most of my ports, but the binary java ports, such as diablo-jdk16, are
> now
> > installing broken binary files.  Even if I put an entry such as
> >
> > libz.so.4 libz.so.6
> >
> > in /etc/libmap.conf
>
> libmap (or symlinking) only works for libraries that have a compatible ABI.
> The version number of libz was bumped precisely because the ABI changed :)
>
> Install the misc/compat8x port to get libz.so.5 back until you can replace
> diablo-jdk16 with openjdk6.
>
> --
>Dan Nelson
>dnel...@allantgroup.com
>

Hi,

sorry I tried to install compat8x but it did not solve the problem, as that
package does not install libz.so.5

Thanks
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Problems with libz since libz.so.5 is gone...

2012-01-27 Thread Pierre-Luc Drouin
On Fri, Jan 27, 2012 at 9:55 AM, Pierre-Luc Drouin wrote:

> On Thu, Jan 26, 2012 at 5:40 PM, Dan Nelson wrote:
>
>> In the last episode (Jan 26), Pierre-Luc Drouin said:
>> > so various ports, in particular the java ports, are giving me headaches
>> > since /lib/libz.so.5 was replaced by /lib/libz.so.6.  I managed to
>> update
>> > most of my ports, but the binary java ports, such as diablo-jdk16, are
>> now
>> > installing broken binary files.  Even if I put an entry such as
>> >
>> > libz.so.4 libz.so.6
>> >
>> > in /etc/libmap.conf
>>
>> libmap (or symlinking) only works for libraries that have a compatible
>> ABI.
>> The version number of libz was bumped precisely because the ABI changed :)
>>
>> Install the misc/compat8x port to get libz.so.5 back until you can replace
>> diablo-jdk16 with openjdk6.
>>
>> --
>>Dan Nelson
>>dnel...@allantgroup.com
>>
>
> Hi,
>
> sorry I tried to install compat8x but it did not solve the problem, as
> that package does not install libz.so.5
>
> Thanks
>

Sorry it did install libz.so.5, but diablo-jdk16 is still crashing for some
reason...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Problems with libz since libz.so.5 is gone...

2012-01-27 Thread Pierre-Luc Drouin
On Fri, Jan 27, 2012 at 9:58 AM, Pierre-Luc Drouin wrote:

>
>
> On Fri, Jan 27, 2012 at 9:55 AM, Pierre-Luc Drouin 
> wrote:
>
>> On Thu, Jan 26, 2012 at 5:40 PM, Dan Nelson wrote:
>>
>>> In the last episode (Jan 26), Pierre-Luc Drouin said:
>>> > so various ports, in particular the java ports, are giving me headaches
>>> > since /lib/libz.so.5 was replaced by /lib/libz.so.6.  I managed to
>>> update
>>> > most of my ports, but the binary java ports, such as diablo-jdk16, are
>>> now
>>> > installing broken binary files.  Even if I put an entry such as
>>> >
>>> > libz.so.4 libz.so.6
>>> >
>>> > in /etc/libmap.conf
>>>
>>> libmap (or symlinking) only works for libraries that have a compatible
>>> ABI.
>>> The version number of libz was bumped precisely because the ABI changed
>>> :)
>>>
>>> Install the misc/compat8x port to get libz.so.5 back until you can
>>> replace
>>> diablo-jdk16 with openjdk6.
>>>
>>> --
>>>Dan Nelson
>>>dnel...@allantgroup.com
>>>
>>
>> Hi,
>>
>> sorry I tried to install compat8x but it did not solve the problem, as
>> that package does not install libz.so.5
>>
>> Thanks
>>
>
> Sorry it did install libz.so.5, but diablo-jdk16 is still crashing for
> some reason...
>

Ok, so I installed linux-sun-jdk16 that does not seem to get broken by
FreeBSD 9, then I hacked the port Makefile for openjdk16 to bootstrap
itself with linux-sun-jdk16 and so far it seems to be compiling fine...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Problems with libz since libz.so.5 is gone...

2012-01-27 Thread Pierre-Luc Drouin
On Fri, Jan 27, 2012 at 10:41 AM, Pierre-Luc Drouin
wrote:

>
>
> On Fri, Jan 27, 2012 at 9:58 AM, Pierre-Luc Drouin 
> wrote:
>
>>
>>
>> On Fri, Jan 27, 2012 at 9:55 AM, Pierre-Luc Drouin > > wrote:
>>
>>> On Thu, Jan 26, 2012 at 5:40 PM, Dan Nelson wrote:
>>>
>>>> In the last episode (Jan 26), Pierre-Luc Drouin said:
>>>> > so various ports, in particular the java ports, are giving me
>>>> headaches
>>>> > since /lib/libz.so.5 was replaced by /lib/libz.so.6.  I managed to
>>>> update
>>>> > most of my ports, but the binary java ports, such as diablo-jdk16,
>>>> are now
>>>> > installing broken binary files.  Even if I put an entry such as
>>>> >
>>>> > libz.so.4 libz.so.6
>>>> >
>>>> > in /etc/libmap.conf
>>>>
>>>> libmap (or symlinking) only works for libraries that have a compatible
>>>> ABI.
>>>> The version number of libz was bumped precisely because the ABI changed
>>>> :)
>>>>
>>>> Install the misc/compat8x port to get libz.so.5 back until you can
>>>> replace
>>>> diablo-jdk16 with openjdk6.
>>>>
>>>> --
>>>>Dan Nelson
>>>>dnel...@allantgroup.com
>>>>
>>>
>>> Hi,
>>>
>>> sorry I tried to install compat8x but it did not solve the problem, as
>>> that package does not install libz.so.5
>>>
>>> Thanks
>>>
>>
>> Sorry it did install libz.so.5, but diablo-jdk16 is still crashing for
>> some reason...
>>
>
> Ok, so I installed linux-sun-jdk16 that does not seem to get broken by
> FreeBSD 9, then I hacked the port Makefile for openjdk16 to bootstrap
> itself with linux-sun-jdk16 and so far it seems to be compiling fine...
>

That solution did ont work either because jni_md.h is missing with
linux-sun-jdk16. So now I am trying to compile gcj by hand and use it to
bootstrap openjdk. This chicken and egg problem is getting really
annoying...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Problems with libz since libz.so.5 is gone...

2012-01-27 Thread Pierre-Luc Drouin
On Fri, Jan 27, 2012 at 11:44 AM, Pierre-Luc Drouin
wrote:

>
>
> On Fri, Jan 27, 2012 at 10:41 AM, Pierre-Luc Drouin  > wrote:
>
>>
>>
>> On Fri, Jan 27, 2012 at 9:58 AM, Pierre-Luc Drouin > > wrote:
>>
>>>
>>>
>>> On Fri, Jan 27, 2012 at 9:55 AM, Pierre-Luc Drouin <
>>> pldro...@pldrouin.net> wrote:
>>>
>>>> On Thu, Jan 26, 2012 at 5:40 PM, Dan Nelson wrote:
>>>>
>>>>> In the last episode (Jan 26), Pierre-Luc Drouin said:
>>>>> > so various ports, in particular the java ports, are giving me
>>>>> headaches
>>>>> > since /lib/libz.so.5 was replaced by /lib/libz.so.6.  I managed to
>>>>> update
>>>>> > most of my ports, but the binary java ports, such as diablo-jdk16,
>>>>> are now
>>>>> > installing broken binary files.  Even if I put an entry such as
>>>>> >
>>>>> > libz.so.4 libz.so.6
>>>>> >
>>>>> > in /etc/libmap.conf
>>>>>
>>>>> libmap (or symlinking) only works for libraries that have a compatible
>>>>> ABI.
>>>>> The version number of libz was bumped precisely because the ABI
>>>>> changed :)
>>>>>
>>>>> Install the misc/compat8x port to get libz.so.5 back until you can
>>>>> replace
>>>>> diablo-jdk16 with openjdk6.
>>>>>
>>>>> --
>>>>>Dan Nelson
>>>>>dnel...@allantgroup.com
>>>>>
>>>>
>>>> Hi,
>>>>
>>>> sorry I tried to install compat8x but it did not solve the problem, as
>>>> that package does not install libz.so.5
>>>>
>>>> Thanks
>>>>
>>>
>>> Sorry it did install libz.so.5, but diablo-jdk16 is still crashing for
>>> some reason...
>>>
>>
>> Ok, so I installed linux-sun-jdk16 that does not seem to get broken by
>> FreeBSD 9, then I hacked the port Makefile for openjdk16 to bootstrap
>> itself with linux-sun-jdk16 and so far it seems to be compiling fine...
>>
>
> That solution did ont work either because jni_md.h is missing with
> linux-sun-jdk16. So now I am trying to compile gcj by hand and use it to
> bootstrap openjdk. This chicken and egg problem is getting really
> annoying...
>

So I discovered that openjdk cannot be bootstrapped with gcj, but then I
discovered that there was an openjdk6 package available for FreeBSD 9
(generated on January 15th). I installed it, but event that one does not
work. I am wondering if the problem is not with vsnprintf instead of libz:

---  T H R E A D  ---

Current thread (0x2863d800):  JavaThread "Unknown thread" [_thread_in_vm,
id=100896, stack(0xbf9af000,0xbf9ff000)]

siginfo:si_signo=SIGBUS: si_errno=0, si_code=3 (BUS_OBJERR),
si_addr=0x2812718c

Registers:
EAX=0xbf9fddb0, EBX=0x281de884, ECX=0x28c77737, EDX=0xbf9fe5a0
ESP=0xbf9fdc48, EBP=0xbf9fdd50, ESI=0xbf9fe738, EDI=0x07d0
EIP=0x2812718c, EFLAGS=0x00010206

Top of Stack: (sp=0xbf9fdc48)
0xbf9fdc48:   bf9fdf44 bf9fe76c bf9fe0f0 2889545e
0xbf9fdc58:   bf9fe76c 0001 0003 28cd92d4
0xbf9fdc68:    bf9fe76c bf9fe0f0 28bd5b19
0xbf9fdc78:   bf9fe76c 00e1 28cd6108 28cd6208
0xbf9fdc88:   b7f9  fff8 0001
0xbf9fdc98:   bf9fdefc bf9fdd70 bf9fdd4c 28cd92d4
0xbf9fdca8:   28427284 28427270 bf9fdcc0 28c35c73
0xbf9fdcb8:   28cd92d4 bf9fdee0 bf9fdcf0 2896d834

Instructions: (pc=0x2812718c)
0x2812716c:   90 90 90 90 55 89 e5 53 57 56 81 ec fc 00 00 00
0x2812717c:   e8 00 00 00 00 5b 81 c3 03 77 0b 00 66 0f ef c0
0x2812718c:   0f 29 45 d8 0f 29 45 c8 0f 29 45 b8 0f 29 45 a8
0x2812719c:   0f 29 45 98 0f 29 45 88 0f 29 85 78 ff ff ff 0f

Register to memory mapping:

EAX=0xbf9fddb0 is pointing into the stack for thread: 0x2863d800
EBX=0x281de884: __nsdefaultsrc+0xd38 in /lib/libc.so.7 at 0x280da000
ECX=0x28c77737: _ZTV18AdaptiveSizePolicy+0x1b7 in
/usr/local/openjdk6/jre/lib/i386/client/libjvm.so at 0x2880
EDX=0xbf9fe5a0 is pointing into the stack for thread: 0x2863d800
ESP=0xbf9fdc48 is pointing into the stack for thread: 0x2863d800
EBP=0xbf9fdd50 is pointing into the stack for thread: 0x2863d800
ESI=0xbf9fe738 is pointing into the stack for thread: 0x2863d800
EDI=0x07d0 is an unknown value


Stack: [0xbf9af000,0xbf9ff000],  sp=0xbf9fdc48,  free space=315k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native
code)
C  [libc.so.7+0x4d18c]  vsnprintf+0x1c

I compiled FreeBSD (world+kernel) with clang. Is that possible that the
clang compilation of FreeBSD makes any native JDK (jdk16, openjdk6, etc)
unusable?

Thanks!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Problems with libz since libz.so.5 is gone...

2012-01-30 Thread Pierre-Luc Drouin
On Fri, Jan 27, 2012 at 6:19 PM, Pierre-Luc Drouin wrote:

>
>
> On Fri, Jan 27, 2012 at 11:44 AM, Pierre-Luc Drouin  > wrote:
>
>>
>>
>> On Fri, Jan 27, 2012 at 10:41 AM, Pierre-Luc Drouin <
>> pldro...@pldrouin.net> wrote:
>>
>>>
>>>
>>> On Fri, Jan 27, 2012 at 9:58 AM, Pierre-Luc Drouin <
>>> pldro...@pldrouin.net> wrote:
>>>
>>>>
>>>>
>>>> On Fri, Jan 27, 2012 at 9:55 AM, Pierre-Luc Drouin <
>>>> pldro...@pldrouin.net> wrote:
>>>>
>>>>> On Thu, Jan 26, 2012 at 5:40 PM, Dan Nelson 
>>>>> wrote:
>>>>>
>>>>>> In the last episode (Jan 26), Pierre-Luc Drouin said:
>>>>>> > so various ports, in particular the java ports, are giving me
>>>>>> headaches
>>>>>> > since /lib/libz.so.5 was replaced by /lib/libz.so.6.  I managed to
>>>>>> update
>>>>>> > most of my ports, but the binary java ports, such as diablo-jdk16,
>>>>>> are now
>>>>>> > installing broken binary files.  Even if I put an entry such as
>>>>>> >
>>>>>> > libz.so.4 libz.so.6
>>>>>> >
>>>>>> > in /etc/libmap.conf
>>>>>>
>>>>>> libmap (or symlinking) only works for libraries that have a
>>>>>> compatible ABI.
>>>>>> The version number of libz was bumped precisely because the ABI
>>>>>> changed :)
>>>>>>
>>>>>> Install the misc/compat8x port to get libz.so.5 back until you can
>>>>>> replace
>>>>>> diablo-jdk16 with openjdk6.
>>>>>>
>>>>>> --
>>>>>>Dan Nelson
>>>>>>dnel...@allantgroup.com
>>>>>>
>>>>>
>>>>> Hi,
>>>>>
>>>>> sorry I tried to install compat8x but it did not solve the problem, as
>>>>> that package does not install libz.so.5
>>>>>
>>>>> Thanks
>>>>>
>>>>
>>>> Sorry it did install libz.so.5, but diablo-jdk16 is still crashing for
>>>> some reason...
>>>>
>>>
>>> Ok, so I installed linux-sun-jdk16 that does not seem to get broken by
>>> FreeBSD 9, then I hacked the port Makefile for openjdk16 to bootstrap
>>> itself with linux-sun-jdk16 and so far it seems to be compiling fine...
>>>
>>
>> That solution did ont work either because jni_md.h is missing with
>> linux-sun-jdk16. So now I am trying to compile gcj by hand and use it to
>> bootstrap openjdk. This chicken and egg problem is getting really
>> annoying...
>>
>
> So I discovered that openjdk cannot be bootstrapped with gcj, but then I
> discovered that there was an openjdk6 package available for FreeBSD 9
> (generated on January 15th). I installed it, but event that one does not
> work. I am wondering if the problem is not with vsnprintf instead of libz:
>
>
> ---  T H R E A D  ---
>
> Current thread (0x2863d800):  JavaThread "Unknown thread" [_thread_in_vm,
> id=100896, stack(0xbf9af000,0xbf9ff000)]
>
> siginfo:si_signo=SIGBUS: si_errno=0, si_code=3 (BUS_OBJERR),
> si_addr=0x2812718c
>
> Registers:
> EAX=0xbf9fddb0, EBX=0x281de884, ECX=0x28c77737, EDX=0xbf9fe5a0
> ESP=0xbf9fdc48, EBP=0xbf9fdd50, ESI=0xbf9fe738, EDI=0x07d0
> EIP=0x2812718c, EFLAGS=0x00010206
>
> Top of Stack: (sp=0xbf9fdc48)
> 0xbf9fdc48:   bf9fdf44 bf9fe76c bf9fe0f0 2889545e
> 0xbf9fdc58:   bf9fe76c 0001 0003 28cd92d4
> 0xbf9fdc68:    bf9fe76c bf9fe0f0 28bd5b19
> 0xbf9fdc78:   bf9fe76c 00e1 28cd6108 28cd6208
> 0xbf9fdc88:   b7f9  fff8 0001
> 0xbf9fdc98:   bf9fdefc bf9fdd70 bf9fdd4c 28cd92d4
> 0xbf9fdca8:   28427284 28427270 bf9fdcc0 28c35c73
> 0xbf9fdcb8:   28cd92d4 bf9fdee0 bf9fdcf0 2896d834
>
> Instructions: (pc=0x2812718c)
> 0x2812716c:   90 90 90 90 55 89 e5 53 57 56 81 ec fc 00 00 00
> 0x2812717c:   e8 00 00 00 00 5b 81 c3 03 77 0b 00 66 0f ef c0
> 0x2812718c:   0f 29 45 d8 0f 29 45 c8 0f 29 45 b8 0f 29 45 a8
> 0x2812719c:   0f 29 45 98 0f 29 45 88 0f 29 85 78 ff ff ff 0f
>
> Register to memory mapping:
>
> EAX=0xbf9fddb0 is pointing into the stack for thread: 0x2863d800
> EBX=0x281de884: __nsdefaultsrc+0xd38 in /lib/libc.so.7 at 0x280da000
> ECX=0x28c77737: _ZTV18AdaptiveSizePolicy+0x1b7 in
> /usr/local/openjdk6/jre/lib/i386/client/libjvm.so at 0x2880
> EDX=0xbf9fe5a0 is pointing into the stack for thread: 0x2863d800
> ESP=0xbf9fdc48 is pointing into the stack for thread: 0x2863d800
> EBP=0xbf9fdd50 is pointing into the stack for thread: 0x2863d800
> ESI=0xbf9fe738 is pointing into the stack for thread: 0x2863d800
> EDI=0x07d0 is an unknown value
>
>
> Stack: [0xbf9af000,0xbf9ff000],  sp=0xbf9fdc48,  free space=315k
>
> Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native
> code)
> C  [libc.so.7+0x4d18c]  vsnprintf+0x1c
>
> I compiled FreeBSD (world+kernel) with clang. Is that possible that the
> clang compilation of FreeBSD makes any native JDK (jdk16, openjdk6, etc)
> unusable?
>
> Thanks!
>

So it seems that vsnprintf is indeed broken on FreeBSD 9 when it is built
with clang. I submitted a problem report...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Clang and ports

2012-02-02 Thread Pierre-Luc Drouin
On Thu, Feb 2, 2012 at 2:41 AM, Joshua Isom  wrote:

> I know that build cluster lists some ports that have problems with clang,
> but it doesn't say if they're tested or not.  I set up a clang jail to test
> out things before switching to clang for general use.  When I try running
> mencoder to encode a file to x264, it seg faults. Changing options doesn't
> change anything.  A gdb backtrace points to x264 being the problem.
>  Everything compiles and installs, but the build's useless.  Is clang ready
> for ports, or is it only safe for kernel/world?
> __**_
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/**mailman/listinfo/freebsd-**questions
> To unsubscribe, send any mail to "freebsd-questions-**
> unsubscr...@freebsd.org "
>

I noticed that anything that uses Java does not work when the FreeBSD world
is built with clang, because Java does not like something about vsnprintf
in libc as generated by Clang and it causes it to always seg fault (at
least on i386). I posted a PR about this:

http://www.freebsd.org/cgi/query-pr.cgi?pr=164637
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Xgl/Compiz port

2006-03-07 Thread Pierre-Luc Drouin

Hi,

I would like to know if there is someone working on a Xgl/Compiz port? I 
have searched the FreeBSD mailing lists and Google for a while, but I 
have not found anything about Xgl on FreeBSD. I have tried to get the 
Xgl sources and compile it, but it fails to configure with 
gnu-autoconf... It would be nice if a Xgl/Compiz port existed on FreeBSD.


Thanks!

Pierre-Luc Drouin
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Xgl/Compiz

2006-03-07 Thread Pierre-Luc Drouin

Hi,

I would like to know if there is someone working on a Xgl/Compiz port? I 
have searched the FreeBSD mailing lists and Google for a while, but I 
have not found anything about Xgl on FreeBSD. I have tried to get the 
Xgl sources and compile it, but it fails to configure with 
gnu-autoconf... It would be nice if a Xgl/Compiz port existed on FreeBSD.


Thanks!

Pierre-Luc Drouin
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Is Marvell 88E8001 ethernet card working fine on -stable?

2006-03-08 Thread Pierre-Luc Drouin

Hi,

I would like to buy a new motherboard (Asus P5WD2) that has a Marvell 
88E8001 ethernet card and I would like to know if this card works fine 
now on -stable. I have seen reported problems related to this card on 5.3...


Thanks!

Pierre-Luc Drouin
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Which OS for notebook

2010-10-05 Thread Pierre-Luc Drouin
Well, according to me FreeBSD works very well on desktops (except for CUDA),
but I agree that its usage is extremely limited for laptops and netbooks. If
I can't use ACPI or wireless on my laptop/netbook, I don't really see the
point... Over the past 6 years I have tried many times to use FreeBSD on my
laptops/netbooks but these problems always made me fall back to Linux... I
still use FreeBSD as the only OS on my desktop computers though...

On Tue, Oct 5, 2010 at 9:31 AM, Jonathan McKeown  wrote:

> On Tuesday 05 October 2010 13:31:08 Carmel wrote:
>
> > I have been tooling around with FreeBSD for a year or so now and I find
> > it incredible that there is virtually no support for modern hardware;
> > i.e., drivers for 'N' protocol devices. That one factor alone, and there
> > are others, precludes me from seriously thinking about installing
> > FreeBSD on a new laptop. The one PC that I have FreeBSD installed on is
> > connected via Ethernet cable to my LAN. Once that PC is replaced by
> > year's end with a more powerful, and wireless enabled unit, I am afraid
> > my experiment with FreeBSD will come to a close. At present it
> > certainly will not support the wireless card installed, and I am not
> > even sure if it will support all of the other hardware either.
> >
> > I realize that at this point someone will inevitably chime in and play
> > the "blame the manufacturers" whine. If that were factually correct,
> > then no one else would be able to supply drivers and support for
> > hardware that FreeBSD has left orphaned.
> >
> > The bottom line is that FreeBSD, if it is to continue to be considered
> > a viable alternative operating system, must stay current in today's
> > market. Many posts that I have viewed on other forums seem to feel that
> > FreeBSD is sadly, whether do to bad choices such as those related to GPL
> > licenses, or failure to properly gage today's market trends, is slipping
> > into an abyss.
>
> So. What's the connection between freebsd.u...@seibercom.net,
> carmel...@hotmail.com and ges...@yahoo.com, who all post through
> scorpio.seibercom.net, and who all have remarkably similar views on why
> FreeBSD is a pile of rubbish?
>
> And in terms of keeping my killfile reasonably effective, is there any easy
> way to filter out /all/ the sockpuppets at once? Or do I just need to keep
> adding them one at a time?
>
> Jonathan
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "
> freebsd-questions-unsubscr...@freebsd.org"
>
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Too many binary packages are missing

2010-10-13 Thread Pierre-Luc Drouin
On Wed, Oct 13, 2010 at 2:00 PM, Yuri  wrote:

> On 10/13/2010 10:51, Frank Shute wrote:
>
>> gcc is in base as cc(1). There are a metric ton of qt4 ports and they
>> are not basic in that they are not required if you don't use KDE or
>> its applications.
>>
>>
>
> Base has 4.2.1 and not updating (waiting for LLVM conversion maybe). So
> many ports require various gcc versions to be installed. Mostly to build
> them at buildtime, and libraries at runtime. And turns out that binaries for
> these extra gcc packages are missing for some reason.
>
> And QT is one of the major graphics toolkits. Various random packages use
> them as well as KDE. Pretty basic thing.
>
>  It's a case of having space on the servers IIRC.
>>
>> Also some require too many options to be set at build time (probably
>> the problem with qt). I know it's the reason why OO.o is not packaged
>> - too many languages&  other options.
>>
>>
>
> I am not sure how Debian packages handle this. They seem to support all the
> same options and are always in binaries.
>

I think it would be nice if at least one binary package was available with
the most "typical" dependencies. For example, I am not a native English
speaker, but I would not mind using the English version OO if I could
download it as a binary package... Just my $0.02...


> Yuri
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "
> freebsd-questions-unsubscr...@freebsd.org"
>
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: FreeBSD-similar build-from-source Linux?

2010-11-10 Thread Pierre-Luc Drouin
I am interested to use CUDA as well for a scientific environment. What about
CUDA 64bit on FreeBSD? Is it excluded completely because of the lack of
support for Linux 64bit emulation?

Thanks!

2010/11/10 "C. Bergström" 

> App Deb wrote:
>
>> 2010/11/10 O. Hartmann :
>>
>>
>>> Hello out there,
>>>
>>> well, my question may sound heretic, but since we use mostly Linux based
>>> systems in our scientific environment and FreeBSD seems to lack in severe
>>> support in GPGPU/CUDA capable graphics boards I need to setup a kind of
>>> Linux facility to ensure having the software and tools I need for my
>>> work.
>>> I'm looking for a Linux distribution that is similar handled like
>>> FreeBSD,
>>> where I'm able to rebuild the whole system from sources, not even the the
>>> Linux kernel, also the GNU tools and the packages. Maybe there are some
>>> people out here having already taken this step.
>>> Any suggestion is appreciated,
>>>
>>>
>>
>> The NVIDIA FreeBSD driver provides the cuda libraries for linux
>> compatibilty.
>>
>> So 32-bit Linux Cuda applications should work on FreeBSD.
>>
>>
> Have you tested this first hand?
>
> Is there 32bit Fermi?  (Sorry, but I don't think the HPC world can really
> live off 32bit applications)
>
> There's 2 types of code in a "cuda application" there's host code produced
> by the native compiler (gcc/intel/pathscale.. etc) and the device code..
> produced by nvidia's toolchain..  I would make a pretty nice bet that the
> nvidia userland toolchain will not compile code on freebsd right now..  (not
> be negative here, but I'm intimately familiar with it..)  Worse case you'd
> be copying code built on linux over and also the runtime libs..  (not to
> mention debugger, profiler. etc)
>
> Anyway.. as mentioned before we'll have a native working solution before
> the years end and anyone interested to help alpha/beta test is welcome to
> contact me offlist..
>
> ./C
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "
> freebsd-questions-unsubscr...@freebsd.org"
>
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: zoneedit.com

2011-01-13 Thread Pierre-Luc Drouin
The legacy platform seems to still work for me: http://legacy.zoneedit.com
I had sent some money though to have free service for my existing domains
forever.

On Thu, Jan 13, 2011 at 11:20 AM, Jack L. Stone wrote:

> I have used zoneedit.com's DNS zone service for about 9 years and it
> handles a number of static IPs for my companies.
>
> Now, suddenly they have created a "new platform" and migrating accounts
> from the legacy platform to the new. The legacy site doen't work anymore,
> just confirms account and redirects to the new site.
>
> Are there any members here using zoneedit.com and having trouble with
> their
> login? I cannot get my login to work and they won't solve the problem. They
> say they have reset my password but it doesn't work. The legacy web site
> says my account has been migrated, yet the login doesn't work. The legacy
> site responds to my normal email address used for the entire 9 years, but
> the new platform only responds with an error that the email doesn't exist.
>
> The service still works, but no access to manage my zones.
>
> (Yes, I copy/paste the login so no typos.)
>
> I've sent numerous request for help since Jan 12th but only get the robot
> response with the same information about responding in 24 hours -- but,
> they never respond.
>
> Now, here I sit without access to numerous domain zones I need to edit with
> any way to access them. This is hurting my biz.
>
> So, anyone with this issue out there or know of an alternative company to
> replace zoneedit?
>
> Thanks for any response (no robots pls -- heh, heh)
>
> (^_^)
> Happy trails,
> Jack L. Stone
>
> System Admin
> Sage-american
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "
> freebsd-questions-unsubscr...@freebsd.org"
>
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: wine questions

2011-01-27 Thread Pierre-Luc Drouin
"Linux emulation" on FreeBSD is not really emulation, in the sense that it
does not create virtual hardware. Some linux softwares run even faster on
FreeBSD than Linux... My worry would be more to make sure that USB
communication works through the "emulation" layers...

On Thu, Jan 27, 2011 at 2:08 PM, Jarrod Slick  wrote:

> On 1/27/11 11:48 AM, Fred wrote:
>
>> Hello,
>>
>> I need to buy an expensive logic device programmer that connects to a PC
>> through USB.  Unfortunately, the user software that make it go only runs on
>> Bill Gates' cancerous, virus-infested, scourge of the Earth excuse for an OS
>> which I do not use.  Is it likely to work ok using wine?  What type of
>> programs do not work well with wine?  There is a supported, commercial
>> version of wine that runs on Linux.  Would I be better off buying that and
>> running it on the FBSD Linux emulation?
>>
>> Best regards,
>> Fred
>>
>> ___
>> freebsd-questions@freebsd.org mailing list
>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>> To unsubscribe, send any mail to "
>> freebsd-questions-unsubscr...@freebsd.org"
>>
> Chaining emulators just sounds like a bad idea; I would guess that your
> risk of complications increases exponentially when doing this, and I would
> bet anything that your performance decreases exponentially as well.  Also, I
> doubt the company that sells the commercial version of wine would support
> their software when running on untested platforms (e.g., FBSD w/ Linux
> Emulation).  Further, that company probably has a list of supported software
> and won't vouch for their product's ability to run anything outside of that
> list.
>
> If you absolutely must run it under a *nix, I would go with Linux for this
> project.
>
> If you'd set dogma aside, though, you would probably see that Windows is
> your best bet for this project.  A close second (if you had all the time in
> the world) would be writing drivers yourself for your desired platform.
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "
> freebsd-questions-unsubscr...@freebsd.org"
>
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: [[FreeBSD-Announce] FreeBSD Foundation Announces New Project]

2011-02-16 Thread Pierre-Luc Drouin
On Wed, Feb 16, 2011 at 1:59 PM, Chip Camden wrote:

> - Forwarded message from Deb Goodkin  -
>
> > Date: Wed, 16 Feb 2011 10:35:23 -0700
> > From: Deb Goodkin 
> > To: freebsd-annou...@freebsd.org
> > Subject: [FreeBSD-Announce] FreeBSD Foundation Announces New Project
>
> > The FreeBSD Foundation is pleased to announce that Konstantin Belousov
> > has been awarded a grant to
> > implement support of GEM, KMS, and DRI for Intel Drivers. This project
> > is being co-sponsored by iXsystems.
>
> 
>
>
> W00t!  Konstantin, please let me know if I can be of any help.  I have
> 8-STABLE on an Intel i3 M 350 with integrated HD graphics that I'll gladly
> move to 9-CURRENT if I can help this effort in any way.
>
> Thanks to the Foundation for funding this!  Time to go contribute again.
>

Yes a big thumbs up for working on this issue!!

>
> --
> Sterling (Chip) Camden | sterl...@camdensoftware.com | 2048D/3A978E4F
> http://chipsquips.com  | http://camdensoftware.com   |
> http://chipstips.com
>
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


portsnap Generating a "Bad file descriptor" Error Message

2012-09-04 Thread Pierre-Luc Drouin
Hi,

so I have been having problems using portsnap lately. I always get a "Bad
file descriptor" message when trying using it on one of my i386 machine:

Looking up portsnap5.freebsd.org mirrors... none found.
Fetching snapshot tag from portsnap5.freebsd.org... done.
Fetching snapshot metadata... done.
Fetching snapshot generated at Mon Sep  3 20:04:44 EDT 2012:
86abb3c6f24b24e7fdadda42805f9ae38f487177dcb949  0% of   67 MB0  Bps
fetch:
http://portsnap5.freebsd.org/s/86abb3c6f24b24e7fdadda42805f9ae38f487177dcb9493f5e0cb4f792490b2f.tgz:
Bad file descriptor
fetch:
86abb3c6f24b24e7fdadda42805f9ae38f487177dcb9493f5e0cb4f792490b2f.tgz: Bad
file descriptor

I tried fsck -y the /var, /tmp and /usr partitions and everything seems
fine. What could the problem be?

Thanks!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: portsnap Generating a "Bad file descriptor" Error Message

2012-09-10 Thread Pierre-Luc Drouin
On Tue, Sep 4, 2012 at 10:14 AM, Pierre-Luc Drouin wrote:

> Hi,
>
> so I have been having problems using portsnap lately. I always get a "Bad
> file descriptor" message when trying using it on one of my i386 machine:
>
> Looking up portsnap5.freebsd.org mirrors... none found.
> Fetching snapshot tag from portsnap5.freebsd.org... done.
> Fetching snapshot metadata... done.
> Fetching snapshot generated at Mon Sep  3 20:04:44 EDT 2012:
> 86abb3c6f24b24e7fdadda42805f9ae38f487177dcb949  0% of   67 MB0  Bps
> fetch:
> http://portsnap5.freebsd.org/s/86abb3c6f24b24e7fdadda42805f9ae38f487177dcb9493f5e0cb4f792490b2f.tgz:
> Bad file descriptor
> fetch:
> 86abb3c6f24b24e7fdadda42805f9ae38f487177dcb9493f5e0cb4f792490b2f.tgz: Bad
> file descriptor
>
> I tried fsck -y the /var, /tmp and /usr partitions and everything seems
> fine. What could the problem be?
>
> Thanks!
>

Hi,

Anyone has an idea about what could be causing this problem?

Thank you!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


ftp2.ca.freebsd.org out of date?

2012-09-10 Thread Pierre-Luc Drouin
Hi,

it seems that the ftp2.ca.freebsd.org mirror has not been updating since
August 3rd. At least this is the case for the files in
ftp://ftp.freebsd.org/pub/FreeBSD/CTM/src-9
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: portsnap Generating a "Bad file descriptor" Error Message

2012-09-10 Thread Pierre-Luc Drouin
Hi,

Yes, files are written to the /var filesystem. I have tried fetching the
file manually and I have even tried to newfs the partition again and to
copy the files back. I also tried to delete the portsnap directory
completely. None of this fixed the error. Note that I access the web
through a proxy, but I tried untaring the file
86abb3c6f24b24e7fdadda42805f9ae38f487177dcb9493f5e0cb4f792490b2f.tgz<http://portsnap5.freebsd.org/s/86abb3c6f24b24e7fdadda42805f9ae38f487177dcb9493f5e0cb4f792490b2f.tgz>and
I did not get any error from tar, so I guess the file I got is not
corrupted.

On Mon, Sep 10, 2012 at 9:43 AM, Polytropon  wrote:

> On Mon, 10 Sep 2012 08:56:29 -0400, Pierre-Luc Drouin wrote:
> > On Tue, Sep 4, 2012 at 10:14 AM, Pierre-Luc Drouin  >wrote:
> >
> > > Hi,
> > >
> > > so I have been having problems using portsnap lately. I always get a
> "Bad
> > > file descriptor" message when trying using it on one of my i386
> machine:
> > >
> > > Looking up portsnap5.freebsd.org mirrors... none found.
> > > Fetching snapshot tag from portsnap5.freebsd.org... done.
> > > Fetching snapshot metadata... done.
> > > Fetching snapshot generated at Mon Sep  3 20:04:44 EDT 2012:
> > > 86abb3c6f24b24e7fdadda42805f9ae38f487177dcb949  0% of   67 MB0  Bps
> > > fetch:
> > >
> http://portsnap5.freebsd.org/s/86abb3c6f24b24e7fdadda42805f9ae38f487177dcb9493f5e0cb4f792490b2f.tgz
> :
> > > Bad file descriptor
> > > fetch:
> > > 86abb3c6f24b24e7fdadda42805f9ae38f487177dcb9493f5e0cb4f792490b2f.tgz:
> Bad
> > > file descriptor
> > >
> > > I tried fsck -y the /var, /tmp and /usr partitions and everything seems
> > > fine. What could the problem be?
> > >
> > > Thanks!
> > >
> >
> > Hi,
> >
> > Anyone has an idea about what could be causing this problem?
>
> I'm not familiar enough with portsnap (I use CVS) so I can just
> throw some guesses around:
>
> The message "Bad file descriptor" is issued by fetch and seems
> to be for _your_ side of the connection, and I assume it is
> regarding the place where the requested file will be fetched
> to. I don't exactly know _where_ that is. It could be in
> the ports tree or in a temporary location (from where the
> results are then written to /usr/ports). The manpage mentions
> a default workdir of /var/db/portsnap which is on the /var
> partition. You checked that, no errors.
>
> Just check what /var/db/portsnap contains. In worst case,
> remove portsnap/ and recreate that directory. I have no
> idea what it is supposed to contain, maybe make a copy of
> it. You could also try to manually create the file, e. g.
> by issuing
>
> # touch
> /var/db/portsnap/86abb3c6f24b24e7fdadda42805f9ae38f487177dcb9493f5e0cb4f792490b2f.tgz
>
> Look if the file is there. Use
>
> # stat
> /var/db/portsnap/86abb3c6f24b24e7fdadda42805f9ae38f487177dcb9493f5e0cb4f792490b2f.tgz
>
> to check if everything is okay.
>
> You could also try to manually fetch the file using fetch or
> maybe even wget, just to see if it can be downloaded and
> written properly, to a different location, e. g.
>
> # cd /tmp
> # fetch
> http://portsnap5.freebsd.org/s/86abb3c6f24b24e7fdadda42805f9ae38f487177dcb9493f5e0cb4f792490b2f.tgz
>
> or
>
> # cd /tmp
> # wget
> http://portsnap5.freebsd.org/s/86abb3c6f24b24e7fdadda42805f9ae38f487177dcb9493f5e0cb4f792490b2f.tgz
>
> That should be _no_ problem (with the correct file name of course).
>
> Again, "Bad file descriptor" is often seen in relation to file
> system trouble. I've seen that in the past myself.
>
>
>
>
> --
> Polytropon
> Magdeburg, Germany
> Happy FreeBSD user since 4.0
> Andra moi ennepe, Mousa, ...
>
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: zoneedit.com

2013-02-04 Thread Pierre-Luc Drouin
Hi,

I had a similar issue about my emails not getting forwarded by Zoneedit.
Now I am using the Google SMTP server to collect the emails for my domain.
Maybe I should also switch the DNS to another service. I need my router to
be able to update the DNS information for my dynamic IP address though...

On Mon, Feb 4, 2013 at 9:39 AM, Mike.  wrote:

>
> On 2/3/2013 at 3:04 PM Fbsd8 wrote:
> | [snip]
> |
> |After reviewing zoneedit new website looks like they are no longer
> free
> |and there now in the domain register business
>  =
>
>
> Zoneedit was purchased by Dotster a while ago (few months?  couple of
> years?)
>
> If you look at an legacy zoneedit page, you'll see at the bottom:
>   (http://legacy.zoneedit.com/contact.html)
>
> Zone Edit, LLC is a Dotster, Inc.-owned company.
>
> I have noticed zoneedit's quality of service declining since the
> purchase.  I switched to tunnelbroker.net's FreeDNS serivce and haven't
> looked back.
>
> The registration company I used, 000domains.com, was also purchased by
> Dotster, and I had to leave 000doamins.com due to customer service
> issues after the purchase.  I went to namecheap.com, and have been very
> satisfied.
>
> YMMV.
>
>
>
>
>
>
>
>
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "
> freebsd-questions-unsubscr...@freebsd.org"
>
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: zoneedit.com

2013-02-04 Thread Pierre-Luc Drouin
On Mon, Feb 4, 2013 at 10:07 AM, Jerry  wrote:

> On Mon, 4 Feb 2013 09:48:06 -0500
> Pierre-Luc Drouin articulated:
>
> > On Mon, Feb 4, 2013 at 9:39 AM, Mike.  wrote:
> >
> > >
> > > On 2/3/2013 at 3:04 PM Fbsd8 wrote:
> > > | [snip]
> > > |
> > > |After reviewing zoneedit new website looks like they are no longer
> > > free
> > > |and there now in the domain register business
> > >  =
> > >
> > >
> > > Zoneedit was purchased by Dotster a while ago (few months?  couple
> > > of years?)
> > >
> > > If you look at an legacy zoneedit page, you'll see at the bottom:
> > >   (http://legacy.zoneedit.com/contact.html)
> > >
> > > Zone Edit, LLC is a Dotster, Inc.-owned company.
> > >
> > > I have noticed zoneedit's quality of service declining since the
> > > purchase.  I switched to tunnelbroker.net's FreeDNS serivce and
> > > haven't looked back.
> > >
> > > The registration company I used, 000domains.com, was also purchased
> > > by Dotster, and I had to leave 000doamins.com due to customer
> > > service issues after the purchase.  I went to namecheap.com, and
> > > have been very satisfied.
>
> > I had a similar issue about my emails not getting forwarded by
> > Zoneedit. Now I am using the Google SMTP server to collect the emails
> > for my domain. Maybe I should also switch the DNS to another service.
> > I need my router to be able to update the DNS information for my
> > dynamic IP address though...
>
> "http://dyn.com/dns/"; can do that and "ddclient" needed to update the
> DNS is available in the ports system. I have set up several PC's with
> just this system and they work quite well.
>
> --
> Jerry ♔
>

Thanks, I will take a look. I got Zoneedit for free though..
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

How to create a FreeBSD 8.0 boot CD without boot.flp?

2010-02-10 Thread Pierre-Luc Drouin

Hi,

I would like to create a boot CD using FreeBSD 8.0 but I just noticed 
that there is no existing boot.flp file for 8.0. What is the alternative 
to get a boot image to create my CD image?


Thanks!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: How to create a FreeBSD 8.0 boot CD without boot.flp?

2010-02-10 Thread Pierre-Luc Drouin
Great Thanks! So when I create a boot CD using the boot image, are the 
kernel files contained in /boot/kernel read at all during boot?


Manolis Kiagias wrote:

On 10/02/2010 11:10 μ.μ., Pierre-Luc Drouin wrote:
  

Hi,

I would like to create a boot CD using FreeBSD 8.0 but I just noticed
that there is no existing boot.flp file for 8.0. What is the
alternative to get a boot image to create my CD image?

Thanks!



You just use the boot/cdboot file from the official CD/DVD, like this
(to write to a DVD)

growisofs -Z /dev/cd0 -speed 16 -J -R -no-emul-boot -b boot/cdboot
-iso-level 3 path-to-your-files

or use mkisofs with similar options to write an iso image, i.e.

mkisofs -J -R -no-emul-boot -b boot/cdboot -iso-level 3 -o
/path/to/your.iso path-to-your-files
  


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: How to create a FreeBSD 8.0 boot CD without boot.flp?

2010-02-10 Thread Pierre-Luc Drouin
I just realized that cdboot does not contain the kernel as boot.flp used 
to, so I guess /boot/kernel has to be there... So it does not seem to 
work with mkisofs. I did


mkisofs -J -R -no-emul-boot -b ./cdboot -iso-level 3 -V FreeBSD_Custom 
-o custom_FreeBSD_8_0_i386_cd.iso custom_FreeBSD_8_0_i386_cd


and it throws:
mkisofs: Uh oh, I cant find the boot image './cdboot'

I tried with the absolute path for cdboot and it does not help either. 
From the mkisofs man page it says that -no-emul-boot has to be added if 
the size of the image file is not 1200, 1440, or 2880 kB. I noticed that 
the cdboot file is only 1.2 kB, so I guess -no-emul-boot is required... 
Do you have an idea what could be wrong?


Thanks!

Pierre-Luc Drouin wrote:
Great Thanks! So when I create a boot CD using the boot image, are the 
kernel files contained in /boot/kernel read at all during boot?


Manolis Kiagias wrote:

On 10/02/2010 11:10 μ.μ., Pierre-Luc Drouin wrote:
 

Hi,

I would like to create a boot CD using FreeBSD 8.0 but I just noticed
that there is no existing boot.flp file for 8.0. What is the
alternative to get a boot image to create my CD image?

Thanks!



You just use the boot/cdboot file from the official CD/DVD, like this
(to write to a DVD)

growisofs -Z /dev/cd0 -speed 16 -J -R -no-emul-boot -b boot/cdboot
-iso-level 3 path-to-your-files

or use mkisofs with similar options to write an iso image, i.e.

mkisofs -J -R -no-emul-boot -b boot/cdboot -iso-level 3 -o
/path/to/your.iso path-to-your-files
  





___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: How to create a FreeBSD 8.0 boot CD without boot.flp?

2010-02-10 Thread Pierre-Luc Drouin
What I am trying to do is basically to install FreeBSD 8.0 on a CD. I 
followed these instructions to install FreeBSD on a USB stick:


http://typo.submonkey.net/articles/2006/04/13/installing-freebsd-on-usb-stick-episode-2

minus the fdisk/bsdlabel/newfs part . I just set up rc.conf to configure 
the ethernet interface with DHCP and load sshd


then I am now creating an iso image with the boot image. So at the root 
of the CD I will have the boot directory containing the kernel subdirectory.


I figured out about the boot image error from mkisofs. I had to copy 
cdboot into the actual boot directory for the image and the path 
specified by the -b option is relative to the root directory of the CD...


So should this work according to you?

Thanks!

Manolis Kiagias wrote:

On 10/02/2010 11:39 μ.μ., Pierre-Luc Drouin wrote:
  

Great Thanks! So when I create a boot CD using the boot image, are the
kernel files contained in /boot/kernel read at all during boot?




How exactly are you creating your image?
The basic directories in a FreeBSD install iso are 'boot' (containing
the kernel that will be used for the CD boot) and a directory with the
name of the release e.g. 7.2-RELEASE. If you wish to include packages
they should be in a 'packages' directory on the root of the CD. If live
functionality is required (FreeBSD livefs CD) there are more
directories, essentially resembling the structure of an installed base
system.
  


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: How to create a FreeBSD 8.0 boot CD without boot.flp?

2010-02-10 Thread Pierre-Luc Drouin

Manolis Kiagias wrote:

On 11/02/2010 12:08 π.μ., Pierre-Luc Drouin wrote:
  

What I am trying to do is basically to install FreeBSD 8.0 on a CD. I
followed these instructions to install FreeBSD on a USB stick:

http://typo.submonkey.net/articles/2006/04/13/installing-freebsd-on-usb-stick-episode-2


minus the fdisk/bsdlabel/newfs part . I just set up rc.conf to
configure the ethernet interface with DHCP and load sshd

then I am now creating an iso image with the boot image. So at the
root of the CD I will have the boot directory containing the kernel
subdirectory.

I figured out about the boot image error from mkisofs. I had to copy
cdboot into the actual boot directory for the image and the path
specified by the -b option is relative to the root directory of the CD...

So should this work according to you?

Thanks!




It is going to be an interesting experiment. The official install
CD/DVDs boot from boot/kernel on the CD but the root filesystem used is
actually in an mfs (memory disk). Also it executes sysinstall instead of
init at the end of the boot sequence. I suppose you can mount the root
filesystem from CD as read-only but you will have to handle things like
/var and /usr and you will probably need some writing capability. I am
sure this can be done in more than a few ways though I've never
researched this myself.
  
yes I did some checks and it seems that sysinstall is loaded via the 
mfsroot instruction in loader.conf that somehow loads /stand/boot_crunch 
in the mfsroot image. If I change the content of loader.conf I think it 
should behave like a regular installation (?). I have also written a 
special fstab:


# DeviceMountpoint  FStype  Options Dump
Pass#

/dev/iso9660/FreeBSD_Custom /   cd9660  ro,noatime  0   0
md  /etc_tmpmfs rw,-s4M,nosuid,noatime  
0   0

/etc_tmp/etcnullfs  rw  0   0
md  /tmpmfs rw,-s16M,nosuid,noatime 
0   0
md  /var/runmfs rw,-s4M,nosuid,noatime  
0   0
md  /var/logmfs rw,-s16M,nosuid,noatime 
0   0

/proc   /proc   procfs  rw,noauto   0   0
/tmp/var/tmpnullfs  rw  0   0

As you can see I do not have any hardcoded device name. I use the CD 
label, which is used by geom_label to create a device file in 
/dev/iso9660/. So in order to have geom_label loaded as early as 
possible I have added geom_label_load="YES" in loader.conf. I hope this 
will work...

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: How to create a FreeBSD 8.0 boot CD without boot.flp?

2010-02-10 Thread Pierre-Luc Drouin
So I just tested the CD and it works perfectly. It boots, automatically 
configure the interface and launches the SSH daemon. For me this is the 
perfect tool to perform remote installations/fixing of FreeBSD. I just 
send the compressed 100 MB ISO image to someone, have him to boot the 
machine using the CD and then I log on the machine with SSH and do 
whatever I want.


The only thing I had to do in addition to what I mentioned in my 
previous emails is to create a script in rc.d that runs just after root 
and that does the following:


mount /etc_tmp #Mount memory disk to /etc_tmp
cd /etc_tmp && tar -cp -C /etc -f - ./ | tar -xpf - #Copy content of 
/etc to /etc_tmp

mount /etc #nullfs mount /etc_tmp over /etc

Obviously I have also changed the root password and created a user that 
is a member of the wheel group.


Manolis Kiagias wrote:

On 11/02/2010 12:08 π.μ., Pierre-Luc Drouin wrote:
  

What I am trying to do is basically to install FreeBSD 8.0 on a CD. I
followed these instructions to install FreeBSD on a USB stick:

http://typo.submonkey.net/articles/2006/04/13/installing-freebsd-on-usb-stick-episode-2


minus the fdisk/bsdlabel/newfs part . I just set up rc.conf to
configure the ethernet interface with DHCP and load sshd

then I am now creating an iso image with the boot image. So at the
root of the CD I will have the boot directory containing the kernel
subdirectory.

I figured out about the boot image error from mkisofs. I had to copy
cdboot into the actual boot directory for the image and the path
specified by the -b option is relative to the root directory of the CD...

So should this work according to you?

Thanks!




It is going to be an interesting experiment. The official install
CD/DVDs boot from boot/kernel on the CD but the root filesystem used is
actually in an mfs (memory disk). Also it executes sysinstall instead of
init at the end of the boot sequence. I suppose you can mount the root
filesystem from CD as read-only but you will have to handle things like
/var and /usr and you will probably need some writing capability. I am
sure this can be done in more than a few ways though I've never
researched this myself.
  


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Memory disk "a la mfsroot"?

2010-02-11 Thread Pierre-Luc Drouin

Hi,

I would like to know if there is a mount command that allows to create a 
memory disk that can be initialized from a file. What I am looking for 
is something like mount_mfs -F, but that does not modify the actual 
file. I know what I could easily to this by copying the content of the 
file to the memory disk, but I am looking for a solution that can be 
configured via fstab.


Thanks!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Memory disk "a la mfsroot"?

2010-02-11 Thread Pierre-Luc Drouin

Matthew Seaman wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 11/02/2010 14:53, Pierre-Luc Drouin wrote:

  

I would like to know if there is a mount command that allows to create a
memory disk that can be initialized from a file. What I am looking for
is something like mount_mfs -F, but that does not modify the actual
file. I know what I could easily to this by copying the content of the
file to the memory disk, but I am looking for a solution that can be
configured via fstab.



Yes.  See mdconfig(8) -- there are examples in there of exactly what you
want to do.

Cheers,

Matthew

- -- 
Dr Matthew J Seaman MA, D.Phil.   7 Priory Courtyard

  Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
  Kent, CT11 9PW
-BEGIN PGP SIGNATURE-
Version: GnuPG/MacGPG2 v2.0.14 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkt0HlYACgkQ8Mjk52CukIyprwCfQj9DwqHtLoDx2ZWCrhglFDfH
dR4AoIEw3CyS2zPajdi4PLGC7aLHj5aI
=Xr7U
-END PGP SIGNATURE-
  
I might be missing something in the mdconfig man page, but in the 
examples I see they always allow modifications to the backing file. As I 
said I am looking for a solution where the backing file is only read, 
but I want to mount the memory disk in read-write mode. Also, I want 
only the modifications to be kept in the RAM, not the initial files.


Thanks!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Memory disk "a la mfsroot"?

2010-02-11 Thread Pierre-Luc Drouin

Matthew Seaman wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 11/02/2010 15:39, RW wrote:
  

On Thu, 11 Feb 2010 15:12:22 +
Matthew Seaman  wrote:



  

On 11/02/2010 14:53, Pierre-Luc Drouin wrote:

  

I would like to know if there is a mount command that allows to
create a memory disk that can be initialized from a file. What I am
looking for is something like mount_mfs -F, but that does not
modify the actual file. I know what I could easily to this by
copying the content of the file to the memory disk, but I am
looking for a solution that can be configured via fstab.


Yes.  See mdconfig(8) -- there are examples in there of exactly what
you want to do.
  

I don't think covers what he is asking for. I think you would need a
union filsystem that overlays a swap-backed filesystem on top of a
file-backed filesystem - if that's possible.



Actually, I was thinking more along the lines of mounting a .iso as a
cd9660 filesystem.  Which won't muck up the underlying .iso, but only
because it's read-only.  You could mount a FFS image read-only in
exactly the same way -- I think there's a 'last mounted on' field in the
backing file image that will be updated if the it is writable (even if
the fs itself is mounted ro) but that's not the right answer either.

Basically, you're going to have to mount and initialise as two separate
operations as far as I can see.
  
By this do you mean that I would need to copy the whole content of the 
read-only filesystem to the memory disk?


I looked at the man page for mount_unionfs and there is a big warning 
saying that it is a bad idea to use it, so I guess I will pass on this 
solution...


What I am trying to do basically is to mount a filesystem from a CD but 
I want to use a memory disk to allow write operations. I would basically 
want the filesystem to behave like a regular read-write filesystem, but 
not have to copy everything into a memory disk. What does "mfs_root" do 
exactly in the official FreeBSD boot CDs? Does it copy the content of 
mfsroot.gz into a memory disk? That filesystem is so small that I guess 
it can be copied without any problem...


Thanks!

Cheers,

Matthew

- -- 
Dr Matthew J Seaman MA, D.Phil.   7 Priory Courtyard

  Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
  Kent, CT11 9PW
-BEGIN PGP SIGNATURE-
Version: GnuPG/MacGPG2 v2.0.14 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkt0KDsACgkQ8Mjk52CukIxZaACcCIsHKNBckWDFzRWDJqEH/vVC
Pd4AnRp74n7+Jl+z28VwBEYqpfQmNVJ0
=lxug
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
  


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Memory disk "a la mfsroot"?

2010-02-11 Thread Pierre-Luc Drouin

Matthew Seaman wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 11/02/2010 17:10, Pierre-Luc Drouin wrote:
  

Actually, I was thinking more along the lines of mounting a .iso as a
cd9660 filesystem.  Which won't muck up the underlying .iso, but only
because it's read-only.  You could mount a FFS image read-only in
exactly the same way -- I think there's a 'last mounted on' field in the
backing file image that will be updated if the it is writable (even if
the fs itself is mounted ro) but that's not the right answer either.

Basically, you're going to have to mount and initialise as two separate
operations as far as I can see.
  
  

By this do you mean that I would need to copy the whole content of the
read-only filesystem to the memory disk?



Yes.

  

I looked at the man page for mount_unionfs and there is a big warning
saying that it is a bad idea to use it, so I guess I will pass on this
solution...



Ah -- that warning is probably a bit more alarming than it really
needs to be nowadays.  unionfs can be used pretty effectively for many
purposes.  Try it and see what happens is the best policy.

  

What I am trying to do basically is to mount a filesystem from a CD but
I want to use a memory disk to allow write operations. I would basically
want the filesystem to behave like a regular read-write filesystem, but
not have to copy everything into a memory disk. What does "mfs_root" do
exactly in the official FreeBSD boot CDs? Does it copy the content of
mfsroot.gz into a memory disk? That filesystem is so small that I guess
it can be copied without any problem...



mfs_root does exactly that: it creates a memory based filesystem and
then expands a tarball of the system into it.

One approach you might consider is mounting your CD image read-only as
per usual, but creating memory-based /tmp and /var partitions[*].  Most
of the usual root and /usr filesystems don't need to be read-write at
all. There are only a few special locations that do and those will need
special handling.  You will need to initialise your memory-backed /var
partiton by expanding a skeleton structure into it, but that's going to
be pretty small really. You will also need to make provision for editing
various files under /etc -- you might be able to create a /var/etc and
replace the real files in /etc with symlinks to copies in /var/etc.
Possibly.  Or you could just have /var/etc nullfs mounted on top of /etc.

I've read reports from people setting up such things -- a while back
now, but as far as I recall they were on the whole successful.

Cheers,

Matthew

[*] There are already scripts to do this sort of thing within the base
system, although primarily aimed at diskless systems.

- -- 
Dr Matthew J Seaman MA, D.Phil.   7 Priory Courtyard

  Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
  Kent, CT11 9PW
-BEGIN PGP SIGNATURE-
Version: GnuPG/MacGPG2 v2.0.14 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkt0WDQACgkQ8Mjk52CukIyWgwCeMHjE7VsdHx5HLGQw75SplJ9v
6zUAni7BZsLYsp2qGSFUUMmkjpVMYomt
=4SwV
-END PGP SIGNATURE-
  


Thanks,

so I think I will do the following:
1-Create a mfsroot.gz with empty /usr, /var, /boot/kernel and 
/boot/modules directories and have it mounted through loader.conf
2-Create a rc.d script that is called immediately after rc.d/conf and 
that does the following:
-Mount /usr using mdmfs and an independent backing file on the CD (so 
this way the whole content of /usr would not be loaded into RAM)

-Create a 500MB memory disk and mount it in /memdisk
-Create /memdisk/{var,tmp,root,home,usr}
-mount_nullfs /memdisk/var and /memdisk/tmp on /var and /tmp respectively
-copy the content of /root and /home (i.e. just a few config files) to 
their respective directories in /memdisk
-mount_nulls /memdisk/root and /memdisk/home on /root and /home 
respectively

-mount_unionfs /memdisk/usr over /usr
3-use populate_var="YES" in rc.conf to automatically populate the /var 
directory


So using this I would have a read-write file system without loading the 
whole content of /usr into RAM, I would minimize memory usage by 
regrouping all the writable directories into a single memory disk and I 
would also minimize the amount of data that is copied from the CD to the 
memory. Does it sound like a good plan?


I read something about a limit of 45MB for mfsroot.gz to prevent kernel 
crashing. Have you ever heard about this?


Thanks!

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


No sounds with OpenOffice 3.1.1_1 slide shows...

2010-02-20 Thread Pierre-Luc Drouin

Hi,

I have compiled OpenOffice 3.1.1_1 using the port on FreeBSD i386 
8.0-RELEASE, and there is no sound with slide shows. The sound works 
fine with vlc and with linux-f10-flashplugin-10.0r42 . What could be 
missing? I tested with another box running FreeBSD amd64 8.0-STABLE and 
I have the same problem...


Thanks!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


How to get the user time of another running process on FreeBSD?

2009-05-06 Thread Pierre-Luc Drouin

Hi,

I would like to know how I can get the user time of another running 
process on FreeBSD? Ideally I would like to find a solution that would 
work as well on other *nix systems. So far the solutions I have found 
are specific to a given OS (format of proc filesystem, 
lock_getcpuclockid)...


Thank you!
Pierre-Luc Drouin
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: GUI Suggested?

2010-09-24 Thread Pierre-Luc Drouin
I love Fluxbox too for its lightweightness and configurability. If you find
it too minimalistic, I think that XFCE can be a good compromise also since
it runs quite fast compared to KDE and Gnome while having most of their
functionalities. XFCE is also compatible with Compiz...

On Fri, Sep 24, 2010 at 12:39 PM, C. P. Ghost  wrote:

> On Thu, Sep 23, 2010 at 5:29 AM, Jorge Biquez 
> wrote:
> > I was wondering if you can tell suggest me based on yoru experience on
> what
> > path to follow? KDE? any other?
>
> Using fluxbox here for ages (used olvwm, ctwm, and fvwm[2] before. It's low
> overhead, very low cpu/disk/memory footprint, very fast and reasonabley
> easy
> to configure and customize.
>
> IMHO, KDE & Gnome are too heavyweight, but that's really a matter of taste
> (and adequate hardware).
>
> > Jorge Biquez
>
> Regards,
> -cpghost.
>
> --
> Cordula's Web. http://www.cordula.ws/
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "
> freebsd-questions-unsubscr...@freebsd.org"
>
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"