Re: Why does adding /usr/lib32 to LD_LIBRARY_PATH break 64-bit binaries?

2008-10-24 Thread Daniel O'Connor
On Friday 24 October 2008 23:20:59 Peter Jeremy wrote:
> >this will make system trying to bind 32-bit libs to 64-bit program. it
> >can't work
>
> rtld shouldn't attempt to bind 32-bit libs to 64-bit programs.

The same problem happens with the Linux run time linker - it merrily tries to 
link FreeBSD libraries to Linux binaries with predictable results..

One trick I use for that is to put a symlink in /compat/linux in the place the 
problematic FreeBSD library is..

That said it would be really nice if it ignored incompatible libraries :)

-- 
Daniel O'Connor software and network engineer
for Genesis Software - http://www.gsoft.com.au
"The nice thing about standards is that there
are so many of them to choose from."
  -- Andrew Tanenbaum
GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C


signature.asc
Description: This is a digitally signed message part.


Re: Why does adding /usr/lib32 to LD_LIBRARY_PATH break 64-bit ?binaries?

2008-10-27 Thread Daniel O'Connor
On Tuesday 28 October 2008 01:31:16 M. Warner Losh wrote:
> In message: <[EMAIL PROTECTED]>
>
> Oliver Fromme <[EMAIL PROTECTED]> writes:
> : Daniel O'Connor wrote:
> :  > On Friday 24 October 2008 23:20:59 Peter Jeremy wrote:
> :  > > > this will make system trying to bind 32-bit libs to 64-bit
> :  > > > program. it can't work
> :  > >
> :  > > rtld shouldn't attempt to bind 32-bit libs to 64-bit programs.
> :  >
> :  > The same problem happens with the Linux run time linker - it merrily
> :  > tries to link FreeBSD libraries to Linux binaries with predictable
> :  > results..
> :
> : You *can* link Linux libraries with FreeBSD binaries (and
> : vice versa), if the library does not perform any syscalls,
> : e.g. it is a pure computation library or similar.
> :
> :  > That said it would be really nice if it ignored incompatible libraries
> :  > :)
> :
> : No.  Please don't put such pseudo-cleverness into rtld.
> : It wouldn't be an improvement, in fact it might break some
> : working configurations.
>
> Yes.  I have a bunch of printer drivers that I've used that link in
> linux shared libraries...  They are in ports...

Good point..
The problem is really the Linux linker - it will find a FreeBSD library and 
try and use it ahead of a Linux one later in the search path - this prevents 
stuff working :)

I have this exact problem with libfontconfig and Xilinx ISE.

Perhaps instead of ignore, use last.. But then it doesn't really matter for 
the FreeBSD linker - I imagine I would have to convince Linux folks it's a 
good idea.

-- 
Daniel O'Connor software and network engineer
for Genesis Software - http://www.gsoft.com.au
"The nice thing about standards is that there
are so many of them to choose from."
  -- Andrew Tanenbaum
GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C


signature.asc
Description: This is a digitally signed message part.


Re: LDAP server gone -> impossible to login locally!

2009-09-22 Thread Daniel O'Connor
On Tue, 22 Sep 2009, O. Hartmann wrote:
> I run into trouble with FreeBSD and LDAP on a regular basis!
>
> Sometimes it is necessary to log in onto a bunch of servers with no
> LDAP service responding, due to service, crash, eletrically
> disconnetion, whatever. The problem is: I can't.
> Using all prerequisits from ports (pam_ldap/nss_ldap/ldap as most
> recent) my /etc/nsswitch.conf looks like this as it has been the most
> reasonable (and only working!) solution for the past 2 years:
>
> passwd: ldap [unavail=continue notfound=continue] files
> [success=return notfound=return]

I just have
passwd: cache files ldap
group: cache files ldap

and I can login as root locally without any delay.

That said my LDAP server is on the same machine so perhaps it fails 
faster. I am using "uri ldapi://%2fvar%2frun%2fopenldap%2fldapi/" to 
connect to.

-- 
Daniel O'Connor software and network engineer
for Genesis Software - http://www.gsoft.com.au
"The nice thing about standards is that there
are so many of them to choose from."
  -- Andrew Tanenbaum
GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C


signature.asc
Description: This is a digitally signed message part.


Re: LDAP server gone -> impossible to login locally!

2009-09-22 Thread Daniel O'Connor
On Wed, 23 Sep 2009, Erik Norgaard wrote:
> This sounds like the correct solution, AFAIK it's the same concept as
> for NIS, first check local files, then ldap. You don't want your root
> credentials possibly be leaked accross the network. On the other hand
> you don't want or need user accounts in the local files.
>
> Default first check local files which is fast, then fall back on ldap
> if the user is not found.

Actually I wrote them the wrong way, how odd!
I actually have..
group: cache ldap files
passwd: cache ldap files

I think that if it fails ldap, it does so very quickly - it certainly 
did this morning when I rebooted uncleanly.

I believe I did try it as "cache files ldap" but I had some issues, I 
can't recall what they were though. I had quite a bit of difficulty 
getting it to work acceptably so when it did I left it alone :)

On a related note, why is slapd so damn fragile? It's a righteous pain 
in the bum the way you have to run db_recover-X.Y /var/db/openldap-data 
if slapd fails to start.

It wouldn't be so bad if it logged anything, but even with full logging 
it gives a very cryptic message and if you have logging disabled (which 
is recommended for performance!) it won't say _anything_.

-- 
Daniel O'Connor software and network engineer
for Genesis Software - http://www.gsoft.com.au
"The nice thing about standards is that there
are so many of them to choose from."
  -- Andrew Tanenbaum
GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C


signature.asc
Description: This is a digitally signed message part.


Re: LDAP server gone -> impossible to login locally!

2009-09-22 Thread Daniel O'Connor
On Wed, 23 Sep 2009, Tim Judd wrote:
> > On a related note, why is slapd so damn fragile? It's a righteous
> > pain in the bum the way you have to run db_recover-X.Y
> > /var/db/openldap-data if slapd fails to start.
>
> I run OpenLDAP on a few boxes.  I don't recall the power failures or
> rude shutdowns to ever give me problems...  Course, I don't have
> anything hi-traffic, so I would definately have time for softupdates
> to flush to disk before a crash is inevitable.

This isn't high traffic, it's basically read only.

> I've marked this thread, it's been useful already with the
> '[unavail=continue notfound=continue]' pieces after the ldap
> dictionary in nsswitch.conf

man nsswitch.conf :)

> Now I have another command, db_recover

You can benefit from my torn out hair from when I went looking for it :)

> > disabled (which is recommended for performance!) it won't say
> > _anything_.
>
> To have OpenLDAP logging, you have to insert local4.* statements in
> syslog.conf, touch the given file, and restart syslog.  Any logging
> that OpenLDAP would need to send, is then recorded in syslog.
>
> Why they picked 4, of 1 through 7, I'm not sure.

Thanks, I've enabled it, normally I just fish through all.log :)

-- 
Daniel O'Connor software and network engineer
for Genesis Software - http://www.gsoft.com.au
"The nice thing about standards is that there
are so many of them to choose from."
  -- Andrew Tanenbaum
GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C


signature.asc
Description: This is a digitally signed message part.


Re: LDAP server gone -> impossible to login locally!

2009-09-23 Thread Daniel O'Connor
On Wed, 23 Sep 2009, O. Hartmann wrote:
> Daniel O'Connor wrote:
> > On Wed, 23 Sep 2009, Erik Norgaard wrote:
> >> This sounds like the correct solution, AFAIK it's the same concept
> >> as for NIS, first check local files, then ldap. You don't want
> >> your root credentials possibly be leaked accross the network. On
> >> the other hand you don't want or need user accounts in the local
> >> files.
> >>
> >> Default first check local files which is fast, then fall back on
> >> ldap if the user is not found.
> >
> > Actually I wrote them the wrong way, how odd!
> > I actually have..
> > group: cache ldap files
> > passwd: cache ldap files
>
> I had issues with the order
>
> 'files ldap'
>
> too, that's why I choosed 'ldap files'.

Can you remember any details why? I can't :)

> > On a related note, why is slapd so damn fragile? It's a righteous
> > pain in the bum the way you have to run db_recover-X.Y
> > /var/db/openldap-data if slapd fails to start.
>
> Yes, this is a lot of pain. I have had issues the same way and never
> figured out what the reason was. /var/ is very often corrupted after
> a crash, power failure or unclean reboot. Maybe not slpad is that
> fragile, but db47 is.

Yes, although openldap's handling of a bad DB is quite poor IMO.. That 
said I haven't had the nerve to look at the code.

I had a quick look to see if there was a more robust looking backend but 
nothing jumped out at me.

-- 
Daniel O'Connor software and network engineer
for Genesis Software - http://www.gsoft.com.au
"The nice thing about standards is that there
are so many of them to choose from."
  -- Andrew Tanenbaum
GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C


signature.asc
Description: This is a digitally signed message part.


Re: Installer: missing GEOM/gpart capabilities slicing disk?

2009-11-09 Thread Daniel O'Connor
[ -current CC dropped ]
On Mon, 9 Nov 2009, O. Hartmann wrote:
> I try to install a fresh new FreeBSD 8.0-RC2 (from snapshot-DVD) on a
> barndnew harddrive. As far as I recall partitioning a disk is now
> done via gpart and the limitation of having only 8 (-2) partitions
> from a through h except b and c is now obsoleted. When dropping into
> the installation process, I realised that the 8 partition boundary is
> still present.
> Is there a howto (I searched the wiki and lists without success)? I
> read a lot about how to install FreeBSD on op of a complete ZFS
> infrastructure, but key issue seems to be a hands-on partitioning of
> the target haddrive via the fixit procedure.

sysinstall does not [yet] do GPT partitions, I believe someone is 
working on patches but I have no idea what state they are in.

Also, I didn't think that bsdlabel was limited to 8 partitions, however 
I'm not certain.

BTW gpart does many partition types not just MBR and GPT.

-- 
Daniel O'Connor software and network engineer
for Genesis Software - http://www.gsoft.com.au
"The nice thing about standards is that there
are so many of them to choose from."
  -- Andrew Tanenbaum
GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C


signature.asc
Description: This is a digitally signed message part.


Re: 9.0 bsdinstall usage

2011-09-22 Thread Daniel O'Connor

On 23/09/2011, at 11:39, Fbsd8 wrote:
> I have installed 9.0 bata2 from cd and the net. In both cases after the 
> completion of the install and rebooting, the bsdinstall scripts still remain 
> on the new installed system. If I interpret the code logic correctly, 
> bsdinstall can ONLY be used for an original install. It's not intended by 
> design to be used any other time, unlike sysinstall. I think the "auto" 
> script should have code added to remove all traces of the bsdinstall 
> environment at the conclusion of the install. This way bsdinstall fulfills 
> the original design goals and guarantees no one can exec it by accident and 
> kill there running system.


The binary is installed by default, but there it isn't run at startup.

If it is being run then I would expect you are booting off your install media 
again by accident.

--
Daniel O'Connor software and network engineer
for Genesis Software - http://www.gsoft.com.au
"The nice thing about standards is that there
are so many of them to choose from."
  -- Andrew Tanenbaum
GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C






___
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 bsdinstall usage

2011-09-23 Thread Daniel O'Connor

On 23/09/2011, at 23:03, Fbsd8 wrote:
>> The binary is installed by default, but there it isn't run at startup.
>> If it is being run then I would expect you are booting off your install 
>> media again by accident.
>> --
>> Daniel O'Connor 
> 
> You did not read my post correctly. I dont say bsdinstall is run every time I 
> boot. I said "the bsdinstall scripts still remain on the new installed 
> system."  The point I was making is it should not remain.

I think that is pretty debatable, you could certainly use them to install onto 
a new disk - say you had a machine you couldn't boot the install media off so 
you put the disk in your PC.

Also, it should be very difficult to destroy your installed setup while you're 
actually booted into it because GEOM will prevent partition changes to mounted 
disks.

--
Daniel O'Connor software and network engineer
for Genesis Software - http://www.gsoft.com.au
"The nice thing about standards is that there
are so many of them to choose from."
  -- Andrew Tanenbaum
GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C






___
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: libjpeg

2006-01-05 Thread Daniel O'Connor
[redirected to freebsd-questions, a more appropriate place]

On Fri, 6 Jan 2006 12:24, Beech Rintoul wrote:
> I'm trying to compile a program from source that needs libjpeg6b. I have
> searched and can't find it . I have jpeg6b installed. Can someone point me
> to the correct path?

Assuming you installed libjeg from ports (which you really really should have) 
it will be in /usr/local. So you need to add -I/usr/local/include to CFLAGS 
and -L/usr/local/lib to LDFLAGS in a Makefile.

-- 
Daniel O'Connor software and network engineer
for Genesis Software - http://www.gsoft.com.au
"The nice thing about standards is that there
are so many of them to choose from."
  -- Andrew Tanenbaum
GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C


pgpOuZMA5CRLW.pgp
Description: PGP signature


Re: AMD64 vs i386 for FreeBSD

2004-06-26 Thread Daniel O'Connor
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Sun, 27 Jun 2004 08:30, David O'Brien wrote:
> > I have a choice between AMD64 3200+ and a P4 2.8GHz with HT. Which one
> > would you guys recommend to run FreeBSD. Obviously the i386 would be
> > easier to run, so I guess my question is what is the state of the AMD64
> > FreeBSD version?
>
> You do know you can run FreeBSD/i386 on the Athlon64 3200+ laptop,
> right? :-)  A 3200+ running 32-bit FreeBSD will out-perform the  P4
> 2.8GHz running the same OS.

A Pentium-M 1.7Ghz will outperform a 2.8Ghz P4 too ;)

If battery life is important to you I'd suggest not getting an AMD64.

For raw performance it's "pretty nice" though :)

- -- 
Daniel O'Connor software and network engineer
for Genesis Software - http://www.gsoft.com.au
"The nice thing about standards is that there
are so many of them to choose from."
  -- Andrew Tanenbaum
GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (FreeBSD)

iD8DBQFA3j2V5ZPcIHs/zowRAoZpAKCnZMb/Kxk9wElcBhktj9NPDPsPggCgh6b2
iasKpu5F998wHLaC5flWA+E=
=QBEE
-END PGP SIGNATURE-
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: can not make ltmdm ports

2004-06-26 Thread Daniel O'Connor
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Sat, 26 Jun 2004 11:05, pirat wrote:
> my laptop is dell inspiron 1100 with Conexant D480 MDC modem controller.
> i tried to compile ltmdm from ports but strange enough, it failed.  i spent
> about 2 months in looking or searching from internet if there were
> any one else can use that modem in that machin with freebsd.

That modem isn't supported by the ltmdm port (and never will be)

> finally, i have to come back to my box and decide to make from ports.
> as mentioned above,  make failed.  can any one please helps me or explains
> me why do make failed ?

Recent changes to the kernel broke it, I have a patch, but as I said above it 
won't help you anyway.

PS if you'd asked me (as the port maintainer) directly I could have answered 
it faster.

- -- 
Daniel O'Connor software and network engineer
for Genesis Software - http://www.gsoft.com.au
"The nice thing about standards is that there
are so many of them to choose from."
  -- Andrew Tanenbaum
GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (FreeBSD)

iD8DBQFA3k8u5ZPcIHs/zowRAt0oAJ93vhTj91IGFeFeouKVcDv56JL1WQCeJRWN
GuNMhQNspGiSMpw3/ScRJBk=
=AuJh
-END PGP SIGNATURE-
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: AMD64 vs i386 for FreeBSD

2004-06-29 Thread Daniel O'Connor
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Tue, 29 Jun 2004 16:58, Remi wrote:
> toward the 1.7GHz Centrino, but I hear a lot of problems with FreeBSD
> working right with Centrino, is this correct? What are the issues?

Works fine here (Dell Inspiron 8600).
- - Modem doesn't work (no suprise)
- - Suspend doesn't go below S1

- -- 
Daniel O'Connor software and network engineer
for Genesis Software - http://www.gsoft.com.au
"The nice thing about standards is that there
are so many of them to choose from."
  -- Andrew Tanenbaum
GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (FreeBSD)

iD8DBQFA4R9o5ZPcIHs/zowRAgigAKCa+6ZaUYw/X1sE0RxI6vmjNYyXzACdERi6
9MhT60mgl+UoJwqWejJNX+E=
=mV0/
-END PGP SIGNATURE-
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: copying from DVD drive causes crash: vm_fault: pager read error, pid 13421 (cp) on FreeBSD 5.3-STABLE

2005-01-06 Thread Daniel O'Connor
On Thu, 6 Jan 2005 23:16, O. Hartmann wrote:
> Doing dd from the DVD drive (NEC ND 3500AG/2.18) fails in a corrupt
> image afterwards, copying with 'cp' from a inserted CD triggers the
> shown error and box dies immediately:
>
>
> Jan  6 12:17:20 edda kernel: cd9660: RockRidge Extension
> Jan  6 12:17:50 edda kernel: acd0: FAILURE - READ_BIG ILLEGAL REQUEST
> asc=0x64 ascq=0x00 error=4
> Jan  6 12:18:07 edda last message repeated 3 times
> Jan  6 12:29:44 edda kernel: cd9660: RockRidge Extension
> Jan  6 12:30:54 edda kernel: acd0: FAILURE - READ_BIG MEDIUM ERROR
> asc=0x11 ascq=0x00 error=4
> Jan  6 12:30:54 edda kernel: vm_fault: pager read error, pid 13421 (cp)
> Jan  6 12:30:58 edda kernel: acd0: FAILURE - READ_BIG MEDIUM ERROR
> asc=0x11 ascq=0x00 error=4
> Jan  6 12:30:58 edda kernel: vm_fault: pager read error, pid 13421 (cp)
> Jan  6 12:31:01 edda kernel: acd0: FAILURE - READ_BIG MEDIUM ERROR
> asc=0x11 ascq=0x00 error=4
> Jan  6 12:31:01 edda kernel: vm_fault: pager read error, pid 13421 (cp)
> Jan  6 12:31:08 edda kernel: acd0: FAILURE - READ_BIG MEDIUM ERROR
> asc=0x11 ascq=0x00 error=4
> Jan  6 12:31:08 edda kernel: vm_fault: pager read error, pid 13421 (cp)
> Jan  6 12:31:19 edda kernel: acd0: FAILURE - READ_BIG MEDIUM ERROR
> asc=0x11 ascq=0x00 error=4
> Same happens when trying to to a 'tar ztf file.foo' (tar archive located
> on DVD) -> FreeBSD dies and freezes immediately.

Does it panic or hang?

The DVD has errors on it which is why you can't read it.. Obviously the OS 
crashing when presented with bad media is not a good thing :)

-- 
Daniel O'Connor software and network engineer
for Genesis Software - http://www.gsoft.com.au
"The nice thing about standards is that there
are so many of them to choose from."
  -- Andrew Tanenbaum
GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C


pgpzrfmq7GHO6.pgp
Description: PGP signature


Re: can't cd to /usr/obj/usr/src/sys/BIGD

2005-04-10 Thread Daniel O'Connor
I've redirected  this to freebsd-questions which is more relevant.

On Sat, 9 Apr 2005 17:01, Darrel wrote:
> make buildworld
> exit
> script /var/tmp/bk.out
> make buildkernel KERNCONF=BIGD
> exit

Did these succeed?
You didn't cd into /usr/src first so I don't see how they can have worked..

> - Rebooted to single user
> fsck -p

Why run fsck?

> mount -u /
> mount -a -t ufs

mount -a is fine here (unless you have NFS in fstab)

> swapon -a
> make installkernel KERNCONF=BIGD
>error code don't know how to make bsd.README

You aren't in /usr/src?

Did you read the handbook on this stuff?

-- 
Daniel O'Connor software and network engineer
for Genesis Software - http://www.gsoft.com.au
"The nice thing about standards is that there
are so many of them to choose from."
  -- Andrew Tanenbaum
GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C


pgpyVOXhzLNR4.pgp
Description: PGP signature


Re: Portupgrade in Xfree86 pkg failed

2005-06-24 Thread Daniel O'Connor
On Fri, 24 Jun 2005 20:35, Warren wrote:
> ln
> -s
> /usr/ports/graphics/xfree86-dri/work/xc/programs/Xserver/hw/xfree86/os-supp
>ort/linux/drm/xf86drmRandom.c xf86drmRandom.c
> rm -f xf86drmSL.c
> ln
> -s
> /usr/ports/graphics/xfree86-dri/work/xc/programs/Xserver/hw/xfree86/os-supp
>ort/linux/drm/xf86drmSL.c xf86drmSL.c
> make: don't know how to make /drm.h. Stop
> *** Error code 2
>
> Stop in /usr/ports/graphics/xfree86-dri/work/xc/lib/GL.
> *** Error code 1
>
> Stop in /usr/ports/graphics/xfree86-dri.

What commanad did you run?
What version of FreeBSD are you running?
When did you last cvsup your ports tree?
Did you read /usr/ports/UPDATING?

-- 
Daniel O'Connor software and network engineer
for Genesis Software - http://www.gsoft.com.au
"The nice thing about standards is that there
are so many of them to choose from."
  -- Andrew Tanenbaum
GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C


pgpTRuqBYM6re.pgp
Description: PGP signature


Re: Portupgrade in Xfree86 pkg failed

2005-06-24 Thread Daniel O'Connor
On Fri, 24 Jun 2005 20:47, Warren wrote:
> Just before doing PortUpgrade before sending the 1st email
>
> > Did you read /usr/ports/UPDATING?
>
> cant say as i did.

Well that was silly..
Not that I think there is a specific entry in this case but it is a good habit 
to get in to..

Do you have the kernel source installed? I think you may need that to build 
the xfree86-dri port (I don't know why it doesn't check)

-- 
Daniel O'Connor software and network engineer
for Genesis Software - http://www.gsoft.com.au
"The nice thing about standards is that there
are so many of them to choose from."
  -- Andrew Tanenbaum
GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C


pgptVDyvSfQQu.pgp
Description: PGP signature


Re: cpufreq and changing driver

2005-12-02 Thread Daniel O'Connor
On Fri, 2 Dec 2005 19:35, Marco Calviani wrote:
> > It's not present under powerd for the simple fact that to be efficient
> > in term of not being too intrusive (kernel to user data transfers, etc),
> > powerd can only provide a limited number of check per second (at this
> > time, 2 per second).  But the current algorithm present in powerd is
> > not well suited in that case.  You have to wait one demi-second
> > for the processor being put to full speed if the system was idle
> > before.
>
> Are there on the horizon any sort of plans to implement a newer and
> more efficient algorithm to increase the number of transition per
> second? Sorry but i've not understood why linux-cpufreqd is able to
> cope with those without being so intrusive.

I don't see why you can't run powerd more frequently, I do.. Unless your ACPI 
has a problem that means the transition is slow.

I can't imagine that doing 5 (or even 50) syscalls a second is a big CPU load 
unless there is a specific problem with sysctls or the cpufreq 
infrastructure.

I run powerd like this ->
/usr/sbin/powerd -i 90 -r 30 -a adaptive -b adaptive -n adaptive -p 200

-- 
Daniel O'Connor software and network engineer
for Genesis Software - http://www.gsoft.com.au
"The nice thing about standards is that there
are so many of them to choose from."
  -- Andrew Tanenbaum
GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C


pgpIsUmSjEcrk.pgp
Description: PGP signature


Re: make package-recursive

2004-08-22 Thread Daniel O'Connor
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Sun, 22 Aug 2004 13:27, User & wrote:
> sorry for asking, but i need to know to aviod unnecessary making
> packages that have been made during 'make package-recursive'

What unnecessary packages?
make package-recurse makes all the packages a given port is dependent on.

What should it do instead?

- -- 
Daniel O'Connor software and network engineer
for Genesis Software - http://www.gsoft.com.au
"The nice thing about standards is that there
are so many of them to choose from."
  -- Andrew Tanenbaum
GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (FreeBSD)

iD8DBQFBKT3p5ZPcIHs/zowRAvnGAJsFQ/PgNJ4BJlsxrEGWEMxigesAaQCdH9dt
B/LN33v7pghnFmSg2gNFeqc=
=VMM6
-END PGP SIGNATURE-
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: [BUGA] df(1) && vnconfig(8) hanging ....

2004-08-23 Thread Daniel O'Connor
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Tue, 24 Aug 2004 09:24, Wilkinson, Alex wrote:
> This morning I wanted to edit an ISO to instruct the kernel to redirect its
> output to serial.
>
> i.e
>
> # sudo vnconfig -v -c /dev/vn0 5.3-BETA1-i386-miniinst.iso
> # sudo mount -t cd9660 -o rw /dev/vn0 /mnt

You can't write to a ISO9660 image [with the freebsd driver]

The only way you're going to be able to edit it is to copy it somewhere and 
edit that (alternatively you could merge in a new boot.config file using 
mkisofs)

> # sudo tcsh
> # echo "/boot/loader -h" > boot.config
> boot.config: Read-only file system.
>
> Forget the afforementioned error.
>
> The problem that I have is now when I issue a df(1) my shell hangs:
>
> e.g.
>
> # df -h
> ^C^C^D
> ^C^C^D

Try ctrl-t

it gives you useful into about where things are bunged up.

> # ps -aux | grep df
> username   0.0  0.0   212   96  p2  D+9:04AM   0:00.00 df -h
> username 3332  0.0  0.0   212   96  p1  D+9:04AM   0:00.00 df -h
>
> # kill -9  3332
>
> # ps -aux | grep df
> username   0.0  0.0   212   96  p2  D+9:04AM   0:00.00 df -h
> username 3332  0.0  0.0   212   96  p1  D+9:04AM   0:00.00 df -h
>
> No change.
>
> I'm not sure what has hung here, nor am I sure how to 'un-hang' my shell.
>
> Any thoughts anyone ?

Press ctrl-t or use the -l option to ps to find the wait channel (that will 
tell you where in the kernel it's blocked)

- -- 
Daniel O'Connor software and network engineer
for Genesis Software - http://www.gsoft.com.au
"The nice thing about standards is that there
are so many of them to choose from."
  -- Andrew Tanenbaum
GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (FreeBSD)

iD8DBQFBKomS5ZPcIHs/zowRAjziAJ93mT6IIyQVrw6eRV1ytPG9IDuvrACfTeSH
l8d5m82knRLXnbcsz9LoDsQ=
=ZyX3
-END PGP SIGNATURE-
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: [BUGA] df(1) && vnconfig(8) hanging ....

2004-08-23 Thread Daniel O'Connor
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Tue, 24 Aug 2004 09:40, Wilkinson, Alex wrote:
> To follow-up again, why doesn't this work ?
>
> # sudo umount -v -t nfs -f /cdrom/ports/distfiles

umount -f mountpoint

should be sufficient.

> Just hangs.
>
> Surely you can force an un-mount of an NFS filesystem ?

I think it depends how you mount it as to how long the kernel will wait before 
unmounting it.

- -- 
Daniel O'Connor software and network engineer
for Genesis Software - http://www.gsoft.com.au
"The nice thing about standards is that there
are so many of them to choose from."
  -- Andrew Tanenbaum
GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (FreeBSD)

iD8DBQFBKo7Q5ZPcIHs/zowRAmkAAKCKk/7ycWS2+sWc7tBYc4T03AbOLQCfaaxc
2sZ8/pYP2sumd8C+RONwdTs=
=P2r0
-END PGP SIGNATURE-
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Audio board [HELP]

2004-09-25 Thread Daniel O'Connor
On Tue, 7 Jan 2003 10:07, Stacey Roberts wrote:
> Err., have you tried adding device pcm to the kernel and recompiling?
> See the handbook
> (http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/sound-setup)
> for details on this procedure.

Or just do
kldload snd

Then try 
cat /dev/sndstat

-- 
Daniel O'Connor software and network engineer
for Genesis Software - http://www.gsoft.com.au
"The nice thing about standards is that there
are so many of them to choose from."
  -- Andrew Tanenbaum
GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C


pgpeBw1x0xAZz.pgp
Description: PGP signature


Re: PPP in -direct mode does not execute any chat scripts

2003-02-02 Thread Daniel O'Connor
On Mon, 2003-02-03 at 08:18, Maksim Yevmenkin wrote:
> So the questions is: would it be possible to enable PPP chat 
> in "direct" mode? Is there any reason to not allow this? It
> seems 'login' script would do just fine. Is there any other/
> better way to do this? One possible option right now is to
> execute /bin/chat from the launcher program before executing
> PPP, but i'd rather keep all chat scripts in PPP.

You'd need to add an option to do this - enabling it by default would
break a lot of stuff (eg I use ppp -direct for incoming PPP calls). If
-direct *by default* used chat then I would have to change my ppp.conf
and that would suck :)

Perhaps have 'enable usechatindirect' or some such..

(You might want to forward the email to the PPP maintainer BTW)

-- 
Daniel O'Connor software and network engineer
for Genesis Software - http://www.gsoft.com.au
"The nice thing about standards is that there
are so many of them to choose from."
  -- Andrew Tanenbaum
GPG Fingerprint - 9A8C 569F 685A D928 5140  AE4B 319B 41F4 5D17 FDD5


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: PPP in -direct mode does not execute any chat scripts

2003-02-02 Thread Daniel O'Connor
On Mon, 2003-02-03 at 13:48, M. Warner Losh wrote:
> Is there any reason that RFCOMM doesn't give full tty support, like
> the various USB modem drivers do?  That's likely the best way to deal
> with this.  Then ppp or whatever application you want will just work.

Maybe it is necessary/useful to 'steer' PPP from the RFCOMM end?

eg 'when you get a connection from this device connect via PPP on
stdin/stdout'

Still I guess you could just run 'ppp rfcomm' instead..

-- 
Daniel O'Connor software and network engineer
for Genesis Software - http://www.gsoft.com.au
"The nice thing about standards is that there
are so many of them to choose from."
  -- Andrew Tanenbaum
GPG Fingerprint - 9A8C 569F 685A D928 5140  AE4B 319B 41F4 5D17 FDD5


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



RE: PPP in -direct mode does not execute any chat scripts

2003-02-02 Thread Daniel O'Connor
On Mon, 2003-02-03 at 14:41, Maksim Yevmenkin wrote:
> yes. that is one example. but the real trouble with tty is the
> server application that wants to listen on wildcard address. for
> example Network Access point that listens on RFCOMM channel 1. no
> matter what client comes in the server will just accept connection
> on the socket, fork and run PPP in direct mode. 
> 
> also there are other things besides PPP that use RFCOMM. OBEX
> is another example, where clients will put/get objects from
> the server.

OK, it is a pity you can't define variables when invoking PPP I guess :)

> > Still I guess you could just run 'ppp rfcomm' instead..
> 
> it will only work for in RFCOMM client case. i do not know
> how to build server applications with tty interface (pty's
> do not count :)

Heh, I use birda for IRDA, it's strictly userland and uses pty's.. Works
really well :)

-- 
Daniel O'Connor software and network engineer
for Genesis Software - http://www.gsoft.com.au
"The nice thing about standards is that there
are so many of them to choose from."
  -- Andrew Tanenbaum
GPG Fingerprint - 9A8C 569F 685A D928 5140  AE4B 319B 41F4 5D17 FDD5


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message




Re: Radui card with FM tuner PV-BT878P +FM

2002-10-17 Thread Daniel O'Connor
On Thu, 2002-10-17 at 22:38, Mantas S. wrote:
>  I got %subj% but I cannot find support fot this on FreeBSD. Yes, Linux
> have this, but maybe anyone had such card or smth.

It is probably supported by the bktr device driver.

You'll need a TV viewer app like fxtv too.
If you want radio then xmradio is OK.

-- 
Daniel O'Connor software and network engineer
for Genesis Software - http://www.gsoft.com.au
"The nice thing about standards is that there
are so many of them to choose from."
  -- Andrew Tanenbaum
GPG Fingerprint - 9A8C 569F 685A D928 5140  AE4B 319B 41F4 5D17 FDD5


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: Radui card with FM tuner PV-BT878P +FM

2002-10-18 Thread Daniel O'Connor
> The bktr supports the 848 family chipset as I recall. I have used the
> Xv  extensions made for the GATOS and KATOS projects. They are Linux
> projects,  but do some work on FreeBSD as well.
>
> Almost a year ago I had it working with an ATI Wonder which also has an
> BT878  chipset.

Yes..
I have a 878 based card and it works fine with bktr.

---
Daniel O'Connor software and network engineer
for Genesis Software - http://www.gsoft.com.au
"The nice thing about standards is that there
are so many of them to choose from."
  -- Andrew Tanenbaum




To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: swap file vs swap partition

2007-02-04 Thread Daniel O'Connor
On Monday 05 February 2007 08:58, Scott Long wrote:
> Processors and memory have vastly outpaced the speed of disks; any
> amount of swapping is going to be percieved as being very slow and
> something that should be avoided.  Since RAM is also very cheap now,
> most people just load enough RAM into their system to handle their load,
> and then configure enough swap to hold a crashdump of that RAM.  You
> always want swap so that you can handle unexpected spikes in load
> without crashing, but it's less of an integral piece of normal system
> operation these days.

Mini-dumps have made it a lot easier to get away with a small amount of swap.
That said it's not like disk is expensive either!

-- 
Daniel O'Connor software and network engineer
for Genesis Software - http://www.gsoft.com.au
"The nice thing about standards is that there
are so many of them to choose from."
  -- Andrew Tanenbaum
GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C


pgpzXapmx8DNB.pgp
Description: PGP signature


Re: Is rcorder working under /usr/local/etc/rc.d?

2005-10-15 Thread Daniel O'Connor
On Sun, 16 Oct 2005 04:42, Lefteris Tsintjelis wrote:
> I am getting all these "no provider" and rcorder doesn't seem to
> work properly under /usr/local/etc/rc.d. Services seem to start
> alphabetically and not in the right order specified. The keywords
> REQUIRE, PROVIDE, BEFORE and KEYWORD seem to be ignored. Services
> like SERVERS, NETWORKING, LOGIN, etc, are all provided within
> /etc/rc.d.
>
> rcorder /usr/local/etc/rc.d/*

I believe rcorder is not used to start stuff in /usr/local/etc/rc.d 
(unfortunately).

-- 
Daniel O'Connor software and network engineer
for Genesis Software - http://www.gsoft.com.au
"The nice thing about standards is that there
are so many of them to choose from."
  -- Andrew Tanenbaum
GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C


pgp3JmrmVUkfj.pgp
Description: PGP signature


Re: [BUGA] Installing FBSD 5.3 and 5.4

2004-12-06 Thread Daniel O'Connor
On Wed, 8 Dec 2004 02:36, Brian Astill wrote:
> I guess there is some small incompatibility between my system and FBSD.
> Whatever .. the effect was that as I kept CVSupdating from FBSD 4.7
> through 4.10 I gradually lost usability as first one program then
> another, failed.

How did they fail?
I would be pretty suprised if this happened to me :)

> Question 1.  Is this plan sensible and/or practical?
> Question 2. If the answer to (1.) is "No", what alternative would you
> suggest?

I wouldn't bother..
You should be able to source upgrade through the entire 5.x series after 5.3 
without _too_ much hassle.

-- 
Daniel O'Connor software and network engineer
for Genesis Software - http://www.gsoft.com.au
"The nice thing about standards is that there
are so many of them to choose from."
  -- Andrew Tanenbaum
GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C


pgpR32YvOOsot.pgp
Description: PGP signature


Re: finding and mounting a fat partition

2004-12-07 Thread Daniel O'Connor
[ moved to freebsd-questions ]

On Tue, 7 Dec 2004 17:35, Bagus wrote:
> When I built my box, I split the disk into two partitions, one 8 gig
> partition for freebsd and one 2 gig fat one in case I ever wanted to change
> my mind and install a different operating system on the box. Of course,
> I've never wanted to do that, but I would like to now use that 2 gigs of
> diskspace for stuff now if I could.
>
> I found this little bit of information:
> http://www.freebsdhowtos.com/61.html but when I run a df, I don't see it
> listed, so I don't know what the device is called.

What is the device that you installed on?
ad0?

-- 
Daniel O'Connor software and network engineer
for Genesis Software - http://www.gsoft.com.au
"The nice thing about standards is that there
are so many of them to choose from."
  -- Andrew Tanenbaum
GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C


pgpaIXLWNd44n.pgp
Description: PGP signature


Re: immense delayed write to file system (ZFS and UFS2), performance issues

2010-01-18 Thread Daniel O'Connor
On Tue, 19 Jan 2010, Morgan Wesström wrote:
> The disks involved don't happen to be Western Digital Green Power
> disks, do they? The Intelli-Park function in these disks are wrecking
> havoc with I/O in Linux-land at least, causing massive stalls and
> iowait through the roof during the 25-30 seconds it takes for the
> heads to unload after parking. I have two of these disks sitting on
> my desk now collecting dust...

There's this..
http://www.silentpcreview.com/Terabyte_Drive_Fix

and you can get the tool at..
http://home.arcor.de/ghostadmin/wdidle3_1_00.zip

I am planning to try this out tonight..

-- 
Daniel O'Connor software and network engineer
for Genesis Software - http://www.gsoft.com.au
"The nice thing about standards is that there
are so many of them to choose from."
  -- Andrew Tanenbaum
GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C


signature.asc
Description: This is a digitally signed message part.


Re: 8.0-RELEASE/amd64 - full ZFS install - low read and write disk performance

2010-01-25 Thread Daniel O'Connor
On Tue, 26 Jan 2010, Dan Naumov wrote:
> CPU-performance-wise, I am not really worried. The current system is
> an Atom 330 and even that is a bit overkill for what I do with it and
> from what I am seeing, the new Atom D510 used on those boards is a
> tiny bit faster. What I want and care about for this system are
> reliability, stability, low power use, quietness and fast disk
> read/write speeds. I've been hearing some praise of ICH9R and 6
> native SATA ports should be enough for my needs. AFAIK, the Intel
> 82574L network cards included on those are also very well supported?

You might want to consider an Athlon (maybe underclock it) - the AMD IXP 
700/800 south bridge seems to work well with FreeBSD (in my 
experience).

These boards (eg Gigabyte GA-MA785GM-US2H) have 6 SATA ports (one may be 
eSATA though) and PATA, they seem ideal really.. You can use PATA with 
CF to boot and connect 5 disks plus a DVD drive.

The CPU is not fanless however, but the other stuff is, on the plus side 
you won't have to worry about CPU power :)

Also, the onboard video works well with radeonhd and is quite fast.

One other downside is the onboard network isn't great (Realtek) but I 
put an em card in mine.

-- 
Daniel O'Connor software and network engineer
for Genesis Software - http://www.gsoft.com.au
"The nice thing about standards is that there
are so many of them to choose from."
  -- Andrew Tanenbaum
GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C


signature.asc
Description: This is a digitally signed message part.


Re: good morning to all

2009-06-18 Thread Daniel O'Connor
On Thu, 18 Jun 2009, malathi selvaraj wrote:
> how to  install samba in freebsd

Redirected to freebsd-questions@

You need to use the ports tree (check the handbook for how to 
install/update it)

Then do
cd /usr/ports/net/samba33
make install


-- 
Daniel O'Connor software and network engineer
for Genesis Software - http://www.gsoft.com.au
"The nice thing about standards is that there
are so many of them to choose from."
  -- Andrew Tanenbaum
GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C


signature.asc
Description: This is a digitally signed message part.


Re: freebsd-hackers Digest, Vol 325, Issue 4

2009-06-18 Thread Daniel O'Connor
On Thu, 18 Jun 2009, malathi selvaraj wrote:
> how to start local host is freeBSD,
> i install apache22 even after localhost is not working

1) Don't pick a random email and reply to it with a totally unrelated 
question

2) This question should have gone to freebsd-questions@ same as your 
other one.

3) You need to create a config file and enable it in /etc/rc.conf before 
it will start on boot.


-- 
Daniel O'Connor software and network engineer
for Genesis Software - http://www.gsoft.com.au
"The nice thing about standards is that there
are so many of them to choose from."
  -- Andrew Tanenbaum
GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C


signature.asc
Description: This is a digitally signed message part.


Re: Making bootable USB keys

2009-09-04 Thread Daniel O'Connor
WARNING: This e-mail has been altered by MIMEDefang.  Following this
paragraph are indications of the actual changes made.  For more
information about your site's MIMEDefang policy, contact
Postmaster .  For more information about MIMEDefang, 
see:

http://www.roaringpenguin.com/mimedefang/enduser.php3

An attachment named makeusb.sh was removed from this document as it
constituted a security hazard.  If you require this document, please contact
the sender and arrange an alternate means of receiving it.

On Fri, 4 Sep 2009, Samuel Martín Moro wrote:
> I'm having some troubles, trying to create bootable USB keys.
> I found (freebsd-hackers ML archives) a script, supposed to create
> the bootable image from my iso file.
> But, it still don't boot... (I may do it wrong)
>
> In details:
> -We distribute a FreeBSD (4.7, 5.4, 6.2 and 7.2) "custom" server.
> -We burn our install CD (and, in a few, our USB sticks) on a Ferdora
> 9 (sorry...)
> -USB sticks must contain a FAT32 partition (we'ld like to provide doc
> for windows users)
>
> Well, my english isn't so great... so I'll post my code (more
> understandable)

I use the attached script (on FreeBSD :) to prep a USB stick for 
booting.

I imagine you could munge it into your setup without too much trouble.

-- 
Daniel O'Connor software and network engineer
for Genesis Software - http://www.gsoft.com.au
"The nice thing about standards is that there
are so many of them to choose from."
  -- Andrew Tanenbaum
GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C


signature.asc
Description: This is a digitally signed message part.
___
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: Making bootable USB keys

2009-09-04 Thread Daniel O'Connor
On Fri, 4 Sep 2009, Daniel O'Connor wrote:
> WARNING: This e-mail has been altered by MIMEDefang.  Following this
> paragraph are indications of the actual changes made.  For more
> information about your site's MIMEDefang policy, contact
> Postmaster .  For more information about
> MIMEDefang, see:
>
> http://www.roaringpenguin.com/mimedefang/enduser.php3
>
> An attachment named makeusb.sh was removed from this document as it
> constituted a security hazard.  If you require this document, please
> contact the sender and arrange an alternate means of receiving it.

Oops try this http://www.gsoft.com.au/~doconnor/makeusb.sh

-- 
Daniel O'Connor software and network engineer
for Genesis Software - http://www.gsoft.com.au
"The nice thing about standards is that there
are so many of them to choose from."
  -- Andrew Tanenbaum
GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C


signature.asc
Description: This is a digitally signed message part.


Re: File system error

2004-04-02 Thread Daniel O'Connor
On Thu, 1 Apr 2004 09:15, water B wrote:
> I got a little problem with /usr partition
>
> # df -h
> FilesystemSize   Used  Avail Capacity  Mounted on
> /dev/da0s1a   288M72M   193M27%/
> /dev/da0s1f15G13G   535M96%/usr
> /dev/da0s1e   288M97M   168M37%/var
> procfs4.0K   4.0K 0B   100%/proc
> # du -h /usr
> ...
> 6.4G/usr
> I have deleted some files but it does not restore the used disk.
> Does anybody have an idea?

It can take a while (well <1 minute) to recover the used space on deletion.

Also another possibility is that a process has an open file descriptor on the 
data you deleted.

PS you spelt freebsd-questions@ wrong.

Also, I've dropped -stable as this is probably a -questions thing first and 
foremost.

-- 
Daniel O'Connor software and network engineer
for Genesis Software - http://www.gsoft.com.au
"The nice thing about standards is that there
are so many of them to choose from."
  -- Andrew Tanenbaum
GPG Fingerprint - 9A8C 569F 685A D928 5140  AE4B 319B 41F4 5D17 FDD5
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: howto sidestep sysinstall during installation

2009-05-10 Thread Daniel O'Connor
On Mon, 11 May 2009, Saifi Khan wrote:
> Is there a way to sidestep the sysinstall during the
> installation process, beyond selecting the 'location' ?
>
> i'm using FreeBSD 8.0 200905 i386 snapshot DVD and looking
> for an approach to drive the entire installation from the
> Fixit# command line console.
>
> i'm a experienced Gentoo Linux user.
>
> Any suggestions, pointers or observations ?

You won't be able to partition the disk from the command line because 
the install MFS doesn't have any of the requisite tools to do so.

You could do it from a livefs disk however.

As for observations.. I think you're wasting your time :)

-- 
Daniel O'Connor software and network engineer
for Genesis Software - http://www.gsoft.com.au
"The nice thing about standards is that there
are so many of them to choose from."
  -- Andrew Tanenbaum
GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C


signature.asc
Description: This is a digitally signed message part.


Re: howto sidestep sysinstall during installation

2009-05-11 Thread Daniel O'Connor
On Mon, 11 May 2009, Jerry McAllister wrote:
> On Mon, May 11, 2009 at 03:45:03PM +0930, Daniel O'Connor wrote:
> > On Mon, 11 May 2009, Saifi Khan wrote:
> > > Is there a way to sidestep the sysinstall during the
> > > installation process, beyond selecting the 'location' ?
> > >
> > > i'm using FreeBSD 8.0 200905 i386 snapshot DVD and looking
> > > for an approach to drive the entire installation from the
> > > Fixit# command line console.
> > >
> > > i'm a experienced Gentoo Linux user.
> > >
> > > Any suggestions, pointers or observations ?
> >
> > You won't be able to partition the disk from the command line
> > because the install MFS doesn't have any of the requisite tools to
> > do so.
>
> ???   I don't understand this comment.
> Recreating a disk - slice/parttion/newfs - is one of the main things
> to do under a fixit.   You should have fdisk, bsdlabel and newfs
> there as well as restore for sucking dumps back in.

Depends what sort of fixit you have.
A holographic shell won't have it, but the others will.

It's pretty easy to do a minimal install on your new disk and then go 
into the fixit shell, then you will have the full suite of tools 
(although if you're doing a full restore you should use the /rescue 
version or odd things will happen when you overwrite the binary you're 
using).

-- 
Daniel O'Connor software and network engineer
for Genesis Software - http://www.gsoft.com.au
"The nice thing about standards is that there
are so many of them to choose from."
  -- Andrew Tanenbaum
GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C


signature.asc
Description: This is a digitally signed message part.


Re: howto sidestep sysinstall during installation

2009-05-11 Thread Daniel O'Connor
On Tue, 12 May 2009, Saifi Khan wrote:
> "Unknown giant"
> i still wonder why a snapshot should have a dysfunctional installer ?
>
> stable slice and partition support is key to trying or helping
> or contributing towards testing/coding for an evolving "unknown
> giant". Oh well :)

I think you're missing the point of a -current snapshot.
It is _not_ designed for someone to come along and go "hey I'd like to 
get into developing FreeBSD, I'll install it".

It is there as a "system test" (ie make sure make release works) and to 
provide a handy ISO for gurus if they need to bootstrap something.

The fact the installer is broken should be reported as a bug though (ie 
send-pr).

> Check this out
> http://www.twincling.org/node/237
>
> If you scan this page for a minute, you will appreciate the
> overall flow of installation of Gentoo Linux. Even if you
> haven't tried the weekly Gentoo build, you may be encouraged to
> try this out !
>
> Putting out a monthly snapshot is nice and if the people are
> going to not find info about 'Fixit#' and commands in the
> legendary handbook, that is not very helpful.

FreeBSD doesn't work this way, you are trying to fit FreeBSD into your 
Gentoo way of thinking. Obviously this causes pain, please stop.

If you want to try FreeBSD, start with a release, if that works then you 
can update to HEAD and install that way.

-- 
Daniel O'Connor software and network engineer
for Genesis Software - http://www.gsoft.com.au
"The nice thing about standards is that there
are so many of them to choose from."
  -- Andrew Tanenbaum
GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C


signature.asc
Description: This is a digitally signed message part.


Re: howto sidestep sysinstall during installation

2009-05-11 Thread Daniel O'Connor
On Tue, 12 May 2009, Saifi Khan wrote:
> On Mon, 11 May 2009, Daniel O'Connor wrote:
> > > Putting out a monthly snapshot is nice and if the people are
> > > going to not find info about 'Fixit#' and commands in the
> > > legendary handbook, that is not very helpful.
> >
> > FreeBSD doesn't work this way, you are trying to fit FreeBSD into
> > your Gentoo way of thinking. Obviously this causes pain, please
> > stop.
>
> i'll be highly obliged, if you could share some nuggets of
> wisdom on 'the FreeBSD way' ! Please.

Like I said, install a release and upgrade that.

You could try finding a -current snap that does work, but it's probably 
going to be quicker to just get the latest 7 release, install and then 
cvsup/csup to HEAD then build & install.

-- 
Daniel O'Connor software and network engineer
for Genesis Software - http://www.gsoft.com.au
"The nice thing about standards is that there
are so many of them to choose from."
  -- Andrew Tanenbaum
GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C


signature.asc
Description: This is a digitally signed message part.


Re: [Samba] Samba and LDAP install on FreeBSD

2008-07-22 Thread Daniel O'Connor
On Tue, 22 Jul 2008, [EMAIL PROTECTED] wrote:
> Here is my problem.  I installed the OpenLdap 2.4.10 server and SASL
> client.  I then went to install the Samba 3.0.30 Port and it tells me
> that it needs to install OpenLDAP client 2.3.42, but the 2.4.10 is in
> the same place and I need to deinstall it.  I deinstall 2.4.10 and
> samba will install, but now openldap will not run because it has
> missing files.  I went to reinstall the 2.4.10 SASL client, but it
> tells me that the openldap 2.3.42 needs to be removed.
>
> If I go to remove the 2.3.42 openldap client, it tells me that samba
> 3.0.30 relies on it.  I am kind of stuck here.  Does samba 3.0.30 not
> work with openldap 2.4?  Do I have to have openldap 2.3?

Put this in /etc/make.conf
WANT_OPENLDAP_VER=24

It tells the ports tree that you want OpenLDAP 2.4 if a port doesn't 
specify a particular version.

-- 
Daniel O'Connor software and network engineer
for Genesis Software - http://www.gsoft.com.au
"The nice thing about standards is that there
are so many of them to choose from."
  -- Andrew Tanenbaum
GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C


signature.asc
Description: This is a digitally signed message part.