Re: Advice sought on Portmaster -Faf and deleted ports

2013-10-14 Thread Scott Ballantyne
 
  Hi,
 
  I'm following the recipe at the end of man portmaster for deleting and
  reinstalling all my ports, which I have done many times in the
  past. This time, I am getting errors on the portmaster -Faf step
  involving deleted ports, and I'm not sure how to deal with this
  easily.
 
 What errors, exactly?

Well, for example:

portmaster -Faf
it starts to fetch a bunch of files
it finds a port which has been deleted, such as
linux-base-fc4
and it says, linux-base-fc4 has been deleted.
terminating
terminating
terminating
etc.

 
  So, I am seeking expert advice here. Is there a way to automate this
  and keep myself out of trouble, or do I need to do a 'port-by-port'
  upgrade of each port?
 
 It should just work.  Have you converted to pkgng?
 

I dream of the day that the ports system will just work. I don't use
binary packages, are you saying that pkgng will deal with this issue
automatically?

Thanks,
Scott

 
___
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: Advice sought on Portmaster -Faf and deleted ports

2013-10-14 Thread Scott Ballantyne

On Mon, 14 oct 2013, Warren Block wbl...@wonkity.com wrote:
 On Mon, 14 Oct 2013, Scott Ballantyne wrote:
 
 
  What errors, exactly?
 
  Well, for example:
 
  portmaster -Faf
  it starts to fetch a bunch of files
  it finds a port which has been deleted, such as
  linux-base-fc4
  and it says, linux-base-fc4 has been deleted.
  terminating
  terminating
  terminating
  etc.
 
 That's correct.  linux_base-fc4 is long gone (years), replaced by 
 linux_base-f10.  portmaster sees no way to upgrade that port, so 
 evidently it quits.

I understand why portmaster quits that port. It does seem like a bit
of over-kill to quit updating ALL ports because one is long
gone. Seems like it could do the others.

 If you have ports that far out of date, the upgrade process is going to 
 be long.  Ports where the system does not know the replacement will have 
 to be handled manually.

Actually, the last time I updated my ports was when I installed 9.0,
and I used the portmaster 'nuke all ports' method I was trying to
day. Since then, several dozen ports of been 'deleted' or 'renamed',
not just the linux_base-fc4. Seems in the case of ports which have
been renamed or replaced, this could in fact be simply automated in
most cases.

Best,
Scott
-- 
s...@ssr.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


Re: Advice sought on Portmaster -Faf and deleted ports

2013-10-14 Thread Scott Ballantyne

Adam Vande More wrote:
 
  It does seem like a bit
  of over-kill to quit updating ALL ports because one is long
  gone. Seems like it could do the others.
 
 
 So it should continue on and potentially build 1000's of ports with broken
 linking and dependencies?  Portupgrade will do this if you tell it.  Try it
 out and see what fun you can create.
 

Not a single program on my system depended on that program being
rebuilt. Portmaster should certainly refuse to rebuild anything that
did, of course.



___
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: Advice sought on Portmaster -Faf and deleted ports

2013-10-14 Thread Scott Ballantyne
On Mon 14 Oct 2013 Warren Block wrote:

 On Mon, 14 Oct 2013, Scott Ballantyne wrote:
 
 
  On Mon, 14 oct 2013, Warren Block wbl...@wonkity.com wrote:
  On Mon, 14 Oct 2013, Scott Ballantyne wrote:
 
 
  Actually, the last time I updated my ports was when I installed 9.0,
  and I used the portmaster 'nuke all ports' method I was trying to
  day. Since then, several dozen ports of been 'deleted' or 'renamed',
  not just the linux_base-fc4. Seems in the case of ports which have
  been renamed or replaced, this could in fact be simply automated in
  most cases.
 
 I think it does handle renamed ports.  Whether the ones it does not 
 handle are due to missing functionality or because they are difficult or 
 impossible to handle, don't know.

Such was not my experience, Warren. And actually, a google search
while I was trying to solve this turned up many reports of the same
problem over the past years. 

___
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


Advice sought on Portmaster -Faf and deleted ports

2013-10-13 Thread Scott Ballantyne
Hi,

I'm following the recipe at the end of man portmaster for deleting and
reinstalling all my ports, which I have done many times in the
past. This time, I am getting errors on the portmaster -Faf step
involving deleted ports, and I'm not sure how to deal with this
easily.  If the ports aren't in use, I have just deleted them, but for
other things, such as libgsf-1.14.21_1, which is required by a dozen
or more of my installed packages, it is not so easy.

So, I am seeking expert advice here. Is there a way to automate this
and keep myself out of trouble, or do I need to do a 'port-by-port'
upgrade of each port?

Thanks!
Scott
-- 
s...@ssr.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


Adding another mirror to existing ZFS-root mirror?

2013-07-15 Thread Scott Ballantyne
Hi,

I have the current situation:

sdb@gigawattmomma$ zpool status zroot

NAME   STATE READ WRITE CKSUM
zroot  ONLINE   0 0 0
  mirror-0 ONLINE   0 0 0
gpt/disk0  ONLINE   0 0 0
gpt/disk1  ONLINE   0 0 0


I boot directly from this.

This article from Oracle:

http://docs.oracle.com/cd/E19253-01/819-5461/gazgw/index.html 

implies I can add two more disks to the zroot pool with a 

zpool add zroot mirror disk2 disk3 to get

zroot
  mirror-0
gpt/disk0
gpt/disk1
  mirror-1
gpt/disk2
gpt/disk3

My questions:

1) Will booting still work? What do I need to do to make sure I can
still boot up the system?

Perhaps related:

2) How do I use gpart to prep these disks?

The current mirror has the usual three partitions (freebsd-boot,
freebsd-swap and freebsd-zfs), with boot code installed, obviously. Do
I need to do that with the second mirror, or can I just use the whole
thing for a freebsd-zfs filesystem?

Sorry this was a bit long. Thanks in advance for any help.

Best,
Scott
-- 
s...@ssr.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


ALT key problem with Virtual Box?

2013-06-29 Thread Scott Ballantyne
Hi,

I'm running Windows 7 under VirtualBox 4.2.6_OSE, and it seems the ALT
key doesn't work. I need to use Photoshop, and there are a few
operations that require a combination of holding down the ALT key and
using a left-mouse-button click.

I've googled and found reports on Linux from 2011 of this problem, but
none of the solutions I've tried have fixed the problem. I'm using
Gnome as my window manager, if that has any bearing on the issue.

Anybody here found a solution, or have an idea?

Thanks very much for any help.

Scott
-- 
s...@ssr.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


Re: ALT key problem with Virtual Box?

2013-06-29 Thread Scott Ballantyne

 On 29 Jun 2013 16:24:57 -, Scott Ballantyne wrote:
  Hi,
  
  I'm running Windows 7 under VirtualBox 4.2.6_OSE, and it seems the ALT
  key doesn't work. I need to use Photoshop, and there are a few
  operations that require a combination of holding down the ALT key and
  using a left-mouse-button click.
  
  I've googled and found reports on Linux from 2011 of this problem, but
  none of the solutions I've tried have fixed the problem. I'm using
  Gnome as my window manager, if that has any bearing on the issue.
 
 Maybe this is the reason. Several window managers are using
 Alt + left mouse key for a windowing operation (usually moving
 the window without requiring dragging it by the title bar).
 Check if you can unconfigure this setting in Gnome's window
 management preferences.


Thank you. I changed the setting to use the windows key instead of ALT
for window dragging, but sadly it didn't help my other difficulty.

Thanks so much, though!

Best,
Scott
___
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


NTFS 4 Terabyte drive problems on FreeBSD?

2013-02-12 Thread Scott Ballantyne
Hi,

I'm trying to mount a 4 TB drive (The Seagate Backup-Plus) on FreeBSD
9.0 Generic, using 

mount -t ntfs /dev/da0s1 /mnt

It fails with:

g_vfs_done() da1s1[READ(offset=0, length=1042)]error=22
mount_ntfs: /dev/da1s1 bad argument

However, I can mount a 2 TB ntfs drive with no problem, using the same
command, and the 4TB drive checks out fine in Windows. 

Does anyone know if this limitation exists, and if there is a
work-around? I only need READ access to this drive.

Thanks a lot!
Scott
-- 
s...@ssr.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


Exporting a ntfs-3g mounted drive over NFS?

2013-02-12 Thread Scott Ballantyne
Hello,

Thanks to Dan Nelson I was able to mount my 4 TB drive using
ntfs-3g. Now I need to export it over NFS, and it doesn't work.

I'm using a bootable ZFS system, if that makes any difference. I don't
see why it should.

Basically, I can export a directory as long as a ntfs-3g filesystem is
not moutned on it. And this is also true for the kernel ntfs
system. The second a ntfs or ntfs-3g filesystem is mounted on it,
there are problems.

Here are more details:

create a directory: /var/video, set globally readable and searchable
permissions.

I create a simple entry in /etc/exports:

/var/VIDEO

I copy some files in there and HUP mountd. 
I check to see that I can access the files on the clients. No
problem.

I go back, delete the files (just to be safe), and then I  mount the
ntfs-3g drive on /var/VIDEO with 

ntfs-3g -o ro /dev/da0s1 /var/VIDEO

I check to see that I can see the ntfs filesystem in /var/VIDEO with
ls (I can), and all the permissions are ok (every file is rwxrwxrwx). 

Then I HUP mountd. Mountd now tells me that my formerly good line in
exports is bad. I can't access the files on the clients.

I umount /var/VIDEO. I HUP mountd. All is well once again, on the
server and the clients, except I can't access the files on the ntfs
drive which I need to do.

Anyone have any ideas what is going on here, and even better, how I
might get it to work?

Thanks!
Scott
-- 
s...@ssr.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


Re: Exporting a ntfs-3g mounted drive over NFS?

2013-02-12 Thread Scott Ballantyne
I wrote:

 Hello,
 
 Thanks to Dan Nelson I was able to mount my 4 TB drive using
 ntfs-3g. Now I need to export it over NFS, and it doesn't work.
 
 I'm using a bootable ZFS system, if that makes any difference. I don't
 see why it should.
 
 Basically, I can export a directory as long as a ntfs-3g filesystem is
 not moutned on it. And this is also true for the kernel ntfs
 system. The second a ntfs or ntfs-3g filesystem is mounted on it,
 there are problems.
 
 Here are more details:
 
 create a directory: /var/video, set globally readable and searchable
 permissions.
 
 I create a simple entry in /etc/exports:
 
 /var/VIDEO
 
 I copy some files in there and HUP mountd. 
 I check to see that I can access the files on the clients. No
 problem.
 
 I go back, delete the files (just to be safe), and then I  mount the
 ntfs-3g drive on /var/VIDEO with 
 
 ntfs-3g -o ro /dev/da0s1 /var/VIDEO
 
 I check to see that I can see the ntfs filesystem in /var/VIDEO with
 ls (I can), and all the permissions are ok (every file is rwxrwxrwx). 
 
 Then I HUP mountd. Mountd now tells me that my formerly good line in
 exports is bad. I can't access the files on the clients.
 
 I umount /var/VIDEO. I HUP mountd. All is well once again, on the
 server and the clients, except I can't access the files on the ntfs
 drive which I need to do.
 
 Anyone have any ideas what is going on here, and even better, how I
 might get it to work?
 
 Thanks!
 Scott
 -- 
 s...@ssr.com
 
 

To add another detail, I have discovered that while I can't export the
files over NFS, I can use SAMBA, which helps me somewhat. I still need
NFS, and generally would prefer it for performance reasons, so if
anyone has any hints, please do let me know.

Best,
Scott
-- 
s...@ssr.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


Replacing mirrored swap

2012-09-20 Thread Scott Ballantyne
Hi,

I'm using a ZFS mirror, and had a disc fail. I had a spare unused disc
in the case, and just switched over to that, after partitioning it
with gpart. ZFS is great, just have to say that.

But I'm not sure about the correct way to bring the new swap partition
online. Do I use gmirror label, as I did when I created it? Or gmirror
insert?  Or something else. I'm using the round-robin balancing
algorithm, if that matters.

Thanks in advance for your help.
Scott
-- 
s...@ssr.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


Anyone used a Dazzle DVC100 with Freebsd?

2012-09-11 Thread Scott Ballantyne
Hi,

If anyone has used a Dazzle DVC100 with Freebsd, or knows how to
capture video with this on Freebsd, I'd appreciate some advice.  

Thanks!
Scott
-- 
s...@ssr.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


Re: FreeBSD9 - I can't get my mouse to work

2012-06-05 Thread Scott Ballantyne
 Walter Hurry walterhu...@gmail.com writes:

 
 Firstly, sorry if this is a bit of a newbie question. I am quite new to 
 FreeBSD (though fairly experienced at Linux). Almost everything in FreeBSD 
 is fine, except that no matter what I try I cannot get the (USB) mouse to 
 work.
 
 I have scoured the handbook, and Googled, but to no avail.
 
 This is 9.0-RELEASE on amd64 - fully updated.
 
 I don't need the mouse in consoles, but I do want it in X.
 

The clue here is 'fully updated'. The latest hald has a bug that keeps
the mouse from working. If you look in your X.org.0.log you may find
a section which says that /dev/ums, configured by hal, is busy, and
unloads the mouse. If you don't find that, then ignore the rest of
this email :)

There are various solutions to this, one is to disable the auto
configure, and add the configuration for both keyboard and mouse to
the .conf file.  Another is to restart dbus and hald. You can switch
to a console window from X and run this command:

/usr/local/etc/rc.d/dbus restart  /usr/local/etc/rc.d/hald restart

If that fixes it, then you can automate it by putting something like
this in /usr/local/etc/rc.d , call it haldfixbug or something like
that:

--
#!/bin/sh
#
# PROVIDE: HALD_FIX_BUG
# REQUIRE: hald dbus
#

[ $1 = start ]  /usr/local/etc/rc.d/dbus restart  
/usr/local/etc/rc.d/hald restart  echo DBUS HALD BUG FIX ATTEMPTED
[ $1 = faststart ]  /usr/local/etc/rc.d/dbus restart  
/usr/local/etc/rc.d/hald restart  echo DBUS HALD BUG FIX ATTEMPTED
sleep 5
exit 0
-

This might not work if you use startx, but should be ok with xdm or
gdm. It works for me, maybe not for you.

Best,
Scott
-- 
s...@ssr.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


Building youtube-dl from Ports causes trouble?

2012-06-04 Thread Scott Ballantyne
Good Morning everyone,

I updated my ports this morning, built youtube-dl, and after finding
some software wouldn't work, rebooted. Now X doesn't start, and when I
tried to start emacs, it seems that libpng, required by emacs, has
vanished.

So my current theory is that I should just rebuild all my ports? I'm
amazed that this could happen, truthfully.

Any suggestions, warnings, wrist slaps?

Running 9.0 GENERIC.

Thanks,
Scott
-- 
s...@ssr.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


Difficulties accessing optical drive from guest OS in VBox

2012-04-09 Thread Scott Ballantyne
Hi,

Not sure if this should be here orin freebsd-emulation, but thought it
worth a try:

Freebsd 9.0-RELEASE (GENERIC)
VBoxMange --version:  4.1.10_OSEr76795
Installed from Ports.
Window 7 as guest.


I can't access the host optical drive from the guest OS. I was able to
install it by dd'ing the install DVD to the harddrive, and VBox used
that beautifully.

It all works quite well, but whenever I try to use the actual optical
drive, I get a 'permissions error':

Unable to mount the CD/DVD Host Drive HL-DT-STDVDRAM GH24LS50 DVDRAM
GH24LS50 (cd0) on the machjine Windows_7_64bit. Would you like to
force mounting of this medium?

Could not mount the media/drive '/dev/cd0'

And the Details:

Interface: 
IConsole {1968b7d3-e3bf-4ceb-99e0-cb7c913317bb}
Callee: 
IMachine {5eaa9319-62fc-4b0a-843c-0cb1940f8a91}

Incidentally, inspite of the message, there is no force mount option
given, only 'cancel'  and  'force unmount'.

I've followed the handbook and Wiki for the DVD/CD access, I'm in the
operator group, atapicam is loaded, hald is enabled and running and
the permissions for cd0, xpt0 and pass0 are all 0660.

I've also tried adding CD0 in the graphical interface before I start
the VM. Bizarrely, this caused VBox to try to boot from the DVD (even
though that is unchecked in the boot options).

The only other thing I've tried is to disable the automounting of
media with Gnome, in case that was interfering. No luck.

So, anyone have any ideas?  They would be most appreciated.

Thanks for your time,
Scott
-- 
s...@ssr.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


Problems with openjdk6 in Freebsd 9.0.. solved

2012-04-06 Thread Scott Ballantyne
Another little problem in 9.0 is building openjdk6. Should anyone else
get this message while compiling:

Unable to load ZIP library: /usr/local/diablo-jrel.6.0/lib/amd64/libzip.so

or something similar, adding

libz.so.4 libz.so.5

to /etc/libmap.conf seems to solve it.

Have a nice day :)
Scott
-- 
s...@ssr.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


Gtk-Message: Failed to load module gnomesegvhandler after upgrade from 8.2 - 9.0

2012-04-05 Thread Scott Ballantyne
Hi,

I just upgraded from 8.2 - 9.0 using freebsd-update, my first time
for the binary upgrade.  Since the upgrade, I've been getting these
unable to load gnomesegvhandler messages from various software, such
as emacs. 

Any idea what I can do to fix his?

The upgrade went fairly smoothly, although freebsd-update deleted more
stuff than it should. I had to nuke my ports tree, and install
compat8x and all the ports from scratch.  I doubt this had anything to
do with my problem, just mentioning for the sake of completeness.

Thanks for any help,
Scott
-- 
s...@ssr.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


Java6 problem

2011-09-15 Thread Scott Ballantyne
Hi,

After upgrading to Java6, I am having a problem when I launch the Java
application that my bank/broker uses. It halts with Start: applet not
initialized.  Unfortunately, FreeBSD is not a 'supported platform'
for my bank/broker, and they won't provide any support. 

It does work on Windows platforms, but I would prefer to use it on FreeBSD.

Any suggestions?

Thanks very much,
Scott
-- 
s...@ssr.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


Re: Java6 problem

2011-09-15 Thread Scott Ballantyne
 [1:text/plain Hide]
 On Thu, Sep 15, 2011 at 09:06:44PM -, Scott Ballantyne wrote:
 
  Hi,
  
  After upgrading to Java6, I am having a problem when I launch the Java
  application that my bank/broker uses. It halts with Start: applet not
  initialized.  Unfortunately, FreeBSD is not a 'supported platform'
  for my bank/broker, and they won't provide any support. 
  
  It does work on Windows platforms, but I would prefer to use it on FreeBSD.
  
  Any suggestions?
  
 
 Did you register your new Java VM? See: javavm(1) and the manpages
 referenced in the See also: section of that manpage.
 

Hi Frank,

Thank you. That was apparently already taken care of by the
installation:

registervm: warning: JavaVM /usr/local/diablo-jdk1.6.0/bin/java is already 
registered

Thanks again,
Scott
-- 
s...@ssr.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


Re: Java6 problem

2011-09-15 Thread Scott Ballantyne
 On Fri, Sep 16, 2011 at 7:06 AM, Scott Ballantyne s...@ssr.com wrote:
 
  Hi,
 
  After upgrading to Java6, I am having a problem when I launch the Java
  application that my bank/broker uses. It halts with Start: applet not
  initialized.  Unfortunately, FreeBSD is not a 'supported platform'
  for my bank/broker, and they won't provide any support.
 
  It does work on Windows platforms, but I would prefer to use it on FreeBSD.
 
  Any suggestions?
 
 
 
 Can you provide any console output ?

Hi Ashley,

There is only one on the 'messages' console:

www.webschwab.com : server does not support RFC 5746, see CVE-2009-3555

It worked with earlier versions, however.

Thanks for any assistance you can provide.

Scott
-- 
s...@ssr.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


Re: portmaster -r libnotify-0 problems

2011-09-10 Thread Scott Ballantyne
Hi Mathew,

 On 09/09/2011 15:13, Scott Ballantyne wrote:
  I've been trying to update libnotify and libproxy following the
  instructions in UPDATING, which is to do
  
  portmaster -r libnotify-0
  
  This trys to install ghostscript9, and fails. Apparently ghostscript9
  conflicts with ghostscript8-8.71_6, which presumably is the reason for
  the failure.
  
  Could someone help me resolve this? The obvious solution of pkg_delete
  ghostscript8-8.71_6 doesn't work, because too many installed ports
  depend on ghostscript8-8.71_6.
 
 There are two approaches you might take here.  Either
 
* replace ghostscript8 with ghostscript9
 
 or
 
* work out why libnotify triggers a dependency on ghostscript9
  and try and make it use ghostscript8 (or nothing) instead.
 
 The first is a relatively mechanical process, which should work fine
 from the point of view of doing all the port wrangling, but might result
 in further ghostscript8 vs ghostscript9 problems down the line.
 Just run:
 
 # portmaster -o print/ghostscript9 ghostscript8-
 
 That will change the dependency settings in your /var/db/pkg directory,
 which may or may not be appropriate for all ghostscript dependent ports,
 and indeed some may not work at all.  (Although I rather doubt the
 simply not-working thing: functionality between those versions hasn't
 changed much at all.)
 
 The second is a more satisfying fix.  Lets see... Try defining
 
WITH_GHOSTSCRIPT_VER=8
 
 in /etc/make.conf  (the default is 9 nowadays) -- then try reinstalling
 libnotify according to the instructions in UPDATING.
 
 Read /usr/ports/Mk/bsd.port.mk for the details -- search for GHOSTSCRIPT
 to find the relevant bits.
 

Thanks so much, I am in your debt. However, I also feel that I am in
maze of twisty little passages, all different.  The next step here is
to portmaster -r libproxy-0, where I get:

---
=== Currently installed version: libproxy-0.4.6
=== Port directory: /usr/ports/net/libproxy

=== Gathering distinfo list for installed ports

=== Launching 'make checksum' for net/libproxy in background
=== Gathering dependency list for net/libproxy from ports
=== Initial dependency check complete for net/libproxy

=== Checking ports that depend on libproxy-0.4.6

=== Launching child to reinstall alacarte-0.13.2_1
libproxy-0.4.6  alacarte-0.13.2_1

=== Port directory: /usr/ports/deskutils/alacarte


=== No DISTINFO_FILE in /usr/ports/x11-themes/gnome-art
=== Aborting update

Terminated
Terminated

=== Update for alacarte-0.13.2_1 failed
=== Aborting update
--

gnome-art is peculiar. There is nothing in that directory but the work
directory, no makefile or anything. And nothing I can find in UPDATE
about alacarte or gnome-art.

Any further thoughts, if you have time?

Thanks again,
Scott
___
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: portmaster -r libnotify-0 problems

2011-09-10 Thread Scott Ballantyne
 
 On 10/09/2011 16:12, Scott Ballantyne wrote:
  gnome-art is peculiar. There is nothing in that directory but the work
  directory, no makefile or anything. And nothing I can find in UPDATE
  about alacarte or gnome-art.
 =20
  Any further thoughts, if you have time?
 
 That is an ex-port.
 
 lucid-nonsense:/usr/ports:# grep gnome-art MOVED
 x11-themes/gnome-art||2011-08-02|Has expired: Upcoming ruby-gnome
 removes dependencies
 
 Kicked the bucket, shuffled off this mortal coil, run down the curtain
 and joined the bleeding choir invisible.
 
 Suggest you update your ports tree using csup(1) or portsnap(1) -- if
 necessary by blowing away what you already have under /usr/ports and
 starting from scratch.  Seems that your current tree is in an
 inconsistent state.
 

Thanks again, Mathew. I csuped already, but will nuke the ports and
start again. 

Thanks again so much for your generous help.

Scott
-- 
s...@ssr.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


portmaster -r libnotify-0 problems

2011-09-09 Thread Scott Ballantyne
Hi,

I've been trying to update libnotify and libproxy following the
instructions in UPDATING, which is to do

portmaster -r libnotify-0

This trys to install ghostscript9, and fails. Apparently ghostscript9
conflicts with ghostscript8-8.71_6, which presumably is the reason for
the failure.

Could someone help me resolve this? The obvious solution of pkg_delete
ghostscript8-8.71_6 doesn't work, because too many installed ports
depend on ghostscript8-8.71_6.

Thanks in advance,
Scott
-- 
s...@ssr.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


Can someone help me with Ghostscript9?

2011-09-06 Thread Scott Ballantyne
Hello,

Trying to build ghostscript9 it fails because it is unable to make

./obj/../soobj/ld.tr.

I've looked in UPDATING and also googled, with no luck. I've appended
the output from make at the end.

Thanks in advance
Scott



gmake[1]: Entering directory 
`/usr/ports/print/ghostscript9/work/ghostscript-9.02'
./obj/../soobj/genconf ./obj/../soobj/devs.tr -h /dev/stdout -p %ss -pl 
-l%ss -pL -L%ss -ol ./obj/../soobj/ld.tr | awk 'BEGIN{j=0; p=1;} 
/jpeg_device/ {if(j++  0) p=0;} // {if(p==1) { print; } else { p=1 } }'  
./obj/../soobj/gconfxx.h
Can't open /dev/stdout for output.
./obj/../soobj/echogs -a ./obj/../soobj/gconfxx.h 
rm -f ./obj/../soobj/gconfig.c
rm -f ./obj/../soobj/gconfig.h
cp ./obj/../soobj/gconfxx.h ./obj/../soobj/gconfig.h
cp ./base/gconf.c ./obj/../soobj/gconfig.c
cc  -DHAVE_MKSTEMP -DHAVE_HYPOT   -DHAVE_FONTCONFIG -DHAVE_LIBIDN 
-DHAVE_SETLOCALE -DHAVE_SSE2 -DHAVE_DBUS -O2 -fno-strict-aliasing -pipe -g 
-fPIC -DUPD_SIGNAL=0 -I.  
-I/usr/ports/print/ghostscript9/work/ghostscript-9.02/lcms/include  
-I/usr/ports/print/ghostscript9/work/ghostscript-9.02/jasper/src/libjasper/include
  -I/usr/local/include/libpng  -I/usr/local/include 
-I/usr/local/include/freetype2  -Wall -Wstrict-prototypes -Wundef 
-Wmissing-declarations -Wmissing-prototypes -Wwrite-strings 
-Wno-strict-aliasing -Wdeclaration-after-statement -fno-builtin -fno-common 
-DHAVE_STDINT_H -DGX_COLOR_INDEX_TYPE=unsigned long int -O2 
-fno-strict-aliasing -pipe -DUSE_LIBICONV_GNU -DGS_DEVS_SHARED 
-DGS_DEVS_SHARED_DIR=\/usr/local/lib/ghostscript/9.02\ -fPIC -I./obj/../soobj 
-I./base  -o ./obj/../soobj/gconfig.o -c ./obj/../soobj/gconfig.c
./obj/../soobj/gconfig.c:189: warning: no previous prototype for 
'gs_lib_register_device'
rm -f ./obj/../soobj/iconfig.c
cp ./obj/../soobj/gconfxx.h ./obj/../soobj/gconfig.h
cp ./psi/iconf.c ./obj/../soobj/iconfig.c
cc  -DHAVE_MKSTEMP -DHAVE_HYPOT   -DHAVE_FONTCONFIG -DHAVE_LIBIDN 
-DHAVE_SETLOCALE -DHAVE_SSE2 -DHAVE_DBUS -O2 -fno-strict-aliasing -pipe -g 
-fPIC -DUPD_SIGNAL=0 -I.  
-I/usr/ports/print/ghostscript9/work/ghostscript-9.02/lcms/include  
-I/usr/ports/print/ghostscript9/work/ghostscript-9.02/jasper/src/libjasper/include
  -I/usr/local/include/libpng  -I/usr/local/include 
-I/usr/local/include/freetype2  -Wall -Wstrict-prototypes -Wundef 
-Wmissing-declarations -Wmissing-prototypes -Wwrite-strings 
-Wno-strict-aliasing -Wdeclaration-after-statement -fno-builtin -fno-common 
-DHAVE_STDINT_H -DGX_COLOR_INDEX_TYPE=unsigned long int -O2 
-fno-strict-aliasing -pipe -DUSE_LIBICONV_GNU -DGS_DEVS_SHARED 
-DGS_DEVS_SHARED_DIR=\/usr/local/lib/ghostscript/9.02\ -I./psi 
-I./obj/../soobj -I./obj/../soobj -I./base  -o ./obj/../soobj/iconfig.o -c 
./obj/../soobj/iconfig.c
./obj/../soobj/echogs -w ./obj/../soobj/ldt.tr -n - cc -L/usr/local/lib 
-L/usr/local/lib -shared -Wl,-soname=libgs.so.9 -o ./bin/../sobin/libgs.so.9.02
./obj/../soobj/echogs -a ./obj/../soobj/ldt.tr -n -s ./obj/../soobj/gsromfs0.o 
./obj/../soobj/gs.o -s
cat ./obj/../soobj/ld.tr ./obj/../soobj/ldt.tr
cat: ./obj/../soobj/ld.tr: No such file or directory
gmake[1]: *** [bin/../sobin/libgs.so.9.02] Error 1
gmake[1]: Leaving directory 
`/usr/ports/print/ghostscript9/work/ghostscript-9.02'
gmake: *** [so] Error 2
*** Error code 1

Stop in /usr/ports/print/ghostscript9.
*** Error code 1

Stop in /usr/ports/print/ghostscript9.

___
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


Evolution problems...

2011-09-05 Thread Scott Ballantyne
Hope someone can help...

I finally upgraded firefox, and in the course of this, libnotify.so.1
seems to have been deleted, which is required by evolution.

So I tried deinstalling evolution, and then reinstalling:

---
===   Generating temporary packing list
===  Checking if graphics/gtk-update-icon-cache already installed
===   gtk-update-icon-cache-2.24.6 is already installed
  You may wish to ``make deinstall'' and install this port again
  by ``make reinstall'' to upgrade it properly.
  If you really wish to overwrite the old port of 
graphics/gtk-update-icon-cache
  without deleting it first, set the variable FORCE_PKG_REGISTER
  in your environment or the make install command line.
*** Error code 1

Stop in /usr/ports/graphics/gtk-update-icon-cache.
*** Error code 1

Stop in /usr/ports/graphics/gtk-update-icon-cache.
*** Error code 1

Stop in /usr/ports/mail/evolution.
*** Error code 1

Stop in /usr/ports/mail/evolution.
*** Error code 1

Stop in /usr/ports/mail/evolution.
-

make deinstall:
===  Deinstalling for mail/evolution
===   evolution not installed, skipping

---

portmaster is not helpful. Any clues would be most welcome.

Thanks so much.
Scott

-- 
s...@ssr.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


EXABYTE 8200 on FreeBSD 5.3

2011-07-08 Thread Scott Ballantyne
I know this is ancient technology, but we have a pile of exabyte tapes
made on an 8200 and would like to recover some of the data on them.

We have an old 5.3 machine which has an adaptec 2120S, and the Exabyte
is connected to that. The kernel identifies the Exabyte on boot, but
it's all downhill after that.

The driver sometimes spits out a pile of errors (I'll append a sample
at the end) and mt doesn't seem to do simple commands (like a retension).

I note that the MT page for 5.3 says that not all SCSI-1 devices are
supported. So before I invest more time in this, I am wondering if
anyone can tell if the support is there for this configuration?

If not, what (inexpensive) options do I have for possibly retrieving
this data?

Thanks a lot,
Scott
-- 
s...@ssr.com

An mt status causes the driver to report:

(sa0:aacp0:0:4:0): MODE SENSE(06). CDB: 1a 0 f 0 1c 0 
(sa0:aacp0:0:4:0): ILLEGAL REQUEST asc:0,0
(sa0:aacp0:0:4:0): No additional sense information
(sa0:aacp0:0:4:0): MODE SENSE(06). CDB: 1a 0 f 0 1c 0 
(sa0:aacp0:0:4:0): ILLEGAL REQUEST asc:0,0
(sa0:aacp0:0:4:0): No additional sense information
(sa0:aacp0:0:4:0): MODE SENSE(06). CDB: 1a 0 f 0 1c 0 
(sa0:aacp0:0:4:0): ILLEGAL REQUEST asc:0,0
(sa0:aacp0:0:4:0): No additional sense information
(sa0:aacp0:0:4:0): MODE SENSE(06). CDB: 1a 0 f 0 1c 0 
(sa0:aacp0:0:4:0): ILLEGAL REQUEST asc:0,0
(sa0:aacp0:0:4:0): No additional sense information
(sa0:aacp0:0:4:0): MODE SENSE(06). CDB: 1a 0 f 0 1c 0 
(sa0:aacp0:0:4:0): ILLEGAL REQUEST asc:0,0
(sa0:aacp0:0:4:0): No additional sense information
(sa0:aacp0:0:4:0): MODE SENSE(06). CDB: 1a 0 f 0 1c 0 
(sa0:aacp0:0:4:0): ILLEGAL REQUEST asc:0,0
(sa0:aacp0:0:4:0): No additional sense information


While mt reports:

Mode  Density  Blocksize  bpi  Compression
Current:  default  variable   0unsupported
-available modes-
0:default  variable   0unsupported
1:default  variable   0unsupported
2:default  variable   0unsupported
3:default  variable   0unsupported
-
Current Driver State: at rest.
-
File Number: 0  Record Number: 0Residual Count 0



___
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: SSHD Strangeness

2011-04-09 Thread Scott Ballantyne

On Fri, Apr 8, 2011 at 5:15 PM, ill...@gmail.com ill...@gmail.com wrote:
On 8 April 2011 15:22, Scott Ballantyne s...@ssr.com wrote:
 I've never seen this before, but when ssh'ing to my server today, I
 got:

 ssh_exchange_identification: Connection closed
Was this multiple log-in failures receiving the same
error message?

 is this log-in happening across the internet or is
this on your local network?

Not sure what you mean by 'multiple log-in failures'. I tried many
times, each with the same result, if that's what you are asking.

It was happening across the internet and also locally. When I logged
into the server with my vendors KVM tool, I tried ssh'ing to from the
server to the server, and got the same message.

I thought there might have been a break-in, but who and 'w' didn't
show anyone logged in that shouldn't have been there. I killed all the
sshd processes and restarted it, that didn't help.

ps -auxww did show a few, not many, sshd's in various states of
connectedness. I'm wondering if this is some kind of denial-of-service
attack opportunity. That's the only thing I can think of at the moment.

I'm not using the host allow/deny stuff, and unfortunately did not
think to use ssh -W.

Thanks!

Scott
-- 
s...@ssr.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


SSHD Strangeness

2011-04-08 Thread Scott Ballantyne
I've never seen this before, but when ssh'ing to my server today, I
got:

ssh_exchange_identification: Connection closed

I was able to log in using my vendors KVM access, and didn't see
anything particularly odd. I hadn't changed anything. I restarted
sshd, but that didn't help.

The log files show hundreds of 'login failures' from the script
kiddies, but that is typical.

Trying again a couple of hours later, and I can ssh just fine. No
changes, nothing.

Has anyone seen this, or knows what is going on?

Thanks
Scott
-- 
s...@ssr.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


Dealing with deprecated ports.

2011-03-14 Thread Scott Ballantyne
I want to upgrade devel/icu. In updating tells me to use 

portmaster -r icu

This starts to rebuild gnome2-fifth-toe which wants to rebuild straw.

But straw is marked DEPRECATED and portmaster won't rebuild it. I
pkg_delete doesn't want to delete it because gnome2-fifth-toe depends
on it.

I never know what to do in these situations. Can anyone pass me a
clue?

Thanks,
Scott
-- 
s...@ssr.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


Re: Upgrading FreeBSd when using a zfs-only installation?

2011-03-13 Thread Scott Ballantyne
On Sun, Mar 13, 2011 at 1:37 PM, Randal L. Schwartz
mer...@stonehenge.comwrote:

  Adam == Adam Vande More amvandem...@gmail.com writes:

 Adam On Sun, Mar 13, 2011 at 11:57 AM, Randal L. Schwartz
 Adam mer...@stonehenge.comwrote:

  http://forums.freebsd.org/showpost.php?p=94557postcount=19

 Adam Well those are his modified upgrade instructions, they seem
 Adam relatively sound but the extra steps aren't required.  The gpart
 Adam stuff is to update the boot loader which is only necessary if you
 Adam upgrade the file system or pool eg zfs/zpool upgrade.  You should
 Adam probably run this just to prevent potential severe pain later.

 No, this was *absolutely* necessary for the 8.1 upgrade, because the
 binary-installed boot loader was still ZFS ignorant.

 I'm just asking if it's *still* necessary for 8.2.  Does the 8.2 boot
 loader now know about ZFS if I install it from freebsd-update?

 Keep in mind, I'm booting straight from ZFS.  There are no UFS
 partitions on my disk.

 --
 Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777
 0095
 mer...@stonehenge.com URL: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


You need the new bootloader if you upgrade the zpool and zfs filesystems.
You'll get a message to that effect if you do that.
___
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


ZFS snapshot of root filesystem?

2011-03-10 Thread Scott Ballantyne
Hi,

Having a ZFS filesystem on root, such that zfs list shows:

zroot  with a mountpoint of LEGACY
zroot/tmp with a mountpoint of /tmp
zroot/usr with a mountpoint of /usr

etc.

How do I create a snapshot of / ?

zfs snapshot zroot/usr@March_10_2011

works fine.. but that snapshots only /usr, not the upper level / right?

Thanks a lot.
Scott
___
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: ZFS snapshot of root filesystem?

2011-03-10 Thread Scott Ballantyne
Following up on my own question:

zfs snapshot zroot@MARCH_10_2011 is the way to go.

Sorry to trouble you.


On Thu, Mar 10, 2011 at 1:11 PM, Scott Ballantyne boyva...@gmail.comwrote:

 Hi,

 Having a ZFS filesystem on root, such that zfs list shows:

 zroot  with a mountpoint of LEGACY
 zroot/tmp with a mountpoint of /tmp
 zroot/usr with a mountpoint of /usr

 etc.

 How do I create a snapshot of / ?

 zfs snapshot zroot/usr@March_10_2011

 works fine.. but that snapshots only /usr, not the upper level / right?

 Thanks a lot.
 Scott



___
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


Problem upgrading from 8.1-8.2, ZFS as root filesystem

2011-02-27 Thread Scott Ballantyne
Hi,

Doing a source upgrade from 8.1-8.2, all went well up to the installworld
step:

Reboot into single user mode:

mount  -u ./

zfs mount -a

cd /usr/src

make installworld

It goes fine up to this point: (copying by hand)

===sys/boot/i386/zfsloader (install)

cp zfsloader.sym zfsloader.bin
cp:No such file or directory
*** Error code 1
Stop in /usr/src/sys/boot/i386/zfsloader
*** Error code 1

Stop in /usr/src/sys/boot/i386

Any suggestions would be *very* appreciated!

Thanks,
Scott
-- 
boyva...@gmail.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


Re: Problem upgrading from 8.1-8.2, ZFS as root filesystem

2011-02-27 Thread Scott Ballantyne
On Sun, Feb 27, 2011 at 4:04 PM, Adam Vande More amvandem...@gmail.comwrote:

 On Sun, Feb 27, 2011 at 2:36 PM, Scott Ballantyne boyva...@gmail.comwrote:


 ===sys/boot/i386/zfsloader (install)

 cp zfsloader.sym zfsloader.bin
 cp:No such file or directory
 *** Error code 1
 Stop in /usr/src/sys/boot/i386/zfsloader
 *** Error code 1

 Stop in /usr/src/sys/boot/i386

 Any suggestions would be *very* appreciated!

 Thanks,
 Scott


 You can follow the intructions for building the loader which I believe are
 in the wiki or set LOADER_ZFS_SUPPORT=YES in /etc/src.conf prior to upgrade.


Thanks Adam, but it still comes to a screaming stop with that set.
___
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 Sound FBSD 8.1

2010-10-09 Thread Scott Ballantyne
Hi,

Running FreeBSD 8.1-RELEASE (GENERIC) (amd64)
ASUS P6T6 MB

# kldload snd_driver
# cat /dev/sndstat

FreeBSD Audio Driver (newpcm: 64bit 2009061500/amd64)
Installed devices:
pcm0: HDA Analog Devices AD1989B PCM #0 Analog (play/rec) default
pcm1: HDA Analog Devices AD1989B PCM #1 Analog (play)
pcm2: HDA Analog Devices AD1989B PCM #2 Digital (play)
pcm3: HDA Analog Devices AD1989B PCM #3 Digital (play)
pcm4: HDA ATI R6xx HDMI PCM #0 HDMI (play)

Using Gnome desktop, trying to play various mp3 files and video files
results in the mp3 player, video player running, but not sound
produced on either the speaker outputs or headphone.

Here is mixer output:

Mixer vol  is currently set to  75:75
Mixer pcm  is currently set to  75:75
Mixer speaker  is currently set to  75:75
Mixer line is currently set to  75:75
Mixer mic  is currently set to   0:0
Mixer cd   is currently set to  75:75
Mixer mix  is currently set to   0:0
Mixer rec  is currently set to  75:75
Mixer igainis currently set to   0:0
Mixer monitor  is currently set to  75:75
Recording source: mic


I'm not new to Freebsd, but this is the first time I've tried to get
sound working on it. Any help would be very appreciated.

Thanks,
Scott
-- 
s...@ssr.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


Re: No Sound FBSD 8.1

2010-10-09 Thread Scott Ballantyne
Hi Frank,

You write:
 
 Just a guess, but does:
 
 # sysctl hw.snd.default_unit=1
 
 help?
 
 If so, you can set it permanently in /etc/sysctl.conf
 

Yes it does, and *thank* *you*. However, it only works with earphones,
not speakers. Any idea what I can do about that?

And... do you have the time to explain why the default pcm0 channel
*doesn't* work?

Thanks a million,
Scott
-- 
s...@ssr.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


Re: No Sound FBSD 8.1

2010-10-09 Thread Scott Ballantyne
Hi Tim,

You write:
 I finally kldload(ed) snd_* and went through the list of the loaded 
 modules until I eliminated useless loaded modules and found the one that 
 actually let the sound files play.  It was a pain in the butt, but it 
 worked.
 
 What does kldstat say for your .ko loaded sound files?
 

The problem was partly solved by Frank's suggestion to set the default
device to 1, although I don't know why. Now I get sound through the
earphones, but not the speakers.

kldstat gives a huge list:

101 0x812cd000 8c2  snd_driver.ko
111 0x812ce000 2242 snd_vibes.ko
12   34 0x812d1000 39590sound.ko
131 0x8130b000 18c6 snd_via82c686.ko
141 0x8130d000 3842 snd_via8233.ko
151 0x81311000 2342 snd_t4dwave.ko
163 0x81314000 b42  snd_spicds.ko
171 0x81315000 263e snd_solo.ko
184 0x81318000 1946 snd_sbc.ko
191 0x8131a000 17be snd_sb8.ko
201 0x8131c000 1cbe snd_sb16.ko
211 0x8131e000 e3c2 snd_neomagic.ko
222 0x8132d000 6d6c snd_mss.ko
231 0x81334000 6ec2 snd_maestro3.ko
241 0x8133b000 48ca snd_maestro.ko
251 0x8134 2d3e snd_ich.ko
261 0x81343000 141c6snd_hda.ko
271 0x81358000 1742 snd_fm801.ko
281 0x8135a000 21c6 snd_ess.ko
291 0x8135d000 4d42 snd_es137x.ko
301 0x81362000 43c2 snd_envy24ht.ko
311 0x81367000 48c2 snd_envy24.ko
321 0x8136c000 d39e snd_emu10kx.ko
331 0x8137a000 8bbe snd_ds1.ko
342 0x81383000 436c snd_csa.ko
351 0x81388000 22c2 snd_cs4281.ko
361 0x8138b000 203e snd_cmi.ko
371 0x8138e000 2dc2 snd_atiixp.ko
381 0x81391000 1ec2 snd_als4000.ko
391 0x81393000 1a42 snd_ad1816.ko

Thanks so much.

Scott
-- 
s...@ssr.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


Widescreen Monitor and X Help please

2010-09-22 Thread Scott Ballantyne
Hello,

I'm upgrading from FreeBSD 5.3 to 8.1 --- much wonderful work has been
done clearly, I'm very impressed and hat's off to the developers.

Unfortunately I've hit a snag with X. I have an LG Flatron W2253, a
5750 graphics card and I have not been able to get them to work with X
at all.

Following the handbook's instructions:

Xorg -config xorg.conf.new 

with and without the -retro option just give me a black screen from
which there is no escape. I have to log into the machine from
somewhere else on the network to reboot it. Killing the Xorg process
doesn't help.

Following the instructions on widescreen monitors, I have extracted a
modeline from the log files: 

Section Monitor
#DisplaySize  490   320 # mm
Identifier   Monitor0
VendorName   LG (GSM)
ModelNameW2253
#   HorizSync30.0 - 83.0
#   VertRefresh  56.0 - 75.0
ModeLine 1920x1080 138.5 1920 1968 2000 2080 1080 1083 1088 
#   Option  DPMS
EndSection

And I have modified the screen as follows:

Section Screen
Identifier Screen0
Device Card0
MonitorMonitor0
DefaultDepth 24
SubSection Display
Viewport   0 0
Depth 24
Modes 1920x1080
EndSubSection
EndSection

None of this has helped. If anyone can assist me, I would be very
grateful.

Thanks a lot,
Scott
-- 
s...@ssr.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


Re: Widescreen Monitor and X Help please

2010-09-22 Thread Scott Ballantyne
Hello Brian,

 So if you return to the tty that you started X from (maybe by Alt-F1) and  
 hit Ctrl-C, that doesn't kill your X session? Reboot seems a bit drastic.

That's correct. It kills the X session, but the terminal remains dark,
and switches to 'lower power' mode. Using ctrl-alt-f1 or alt-f1
doesn't change the screen setting.

 I struggled with widescreen config for a while until I realized the Tao  
 solution was best - have you tried starting X without any  
 /etc/X11/xorg.conf at all?

Tao solution? I'm not sure what that is, but I have tried just typing
'startx' and also tried starting using xdm. Unfortunately everything
has the same result, which is a blank screen in power savermode :(

Thanks for your help.
Scott
 

___
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: Widescreen Monitor and X Help please

2010-09-22 Thread Scott Ballantyne
Hi Warren,

 Does the black screen show a mouse pointer?  No escape including 
 ctrl-alt-f1?

No mouse pointer, nothing. The X process will be shutdown with a
ctrl-c or ctrl-alt-delete, but the screen remains blank, in power
saver mode.

Nothing I do makes any difference on the monitor.

 
 Try running X without an xorg.conf.
 

I've done that, and it works just the same. I saw your other message
about HALD and read your interesting link, aei.html. I disabled the
HALD and DBUS, and rebooted, tried again, but with the same results.

Thanks so much,
Scott

___
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: QMail Help

2008-03-12 Thread Scott Ballantyne
 Paul A. Procacci wrote:
  Victor Farah wrote:
  Hello
  I'm running qmail and I created an smtproutes file, inside my 
  /var/qmail/control/ directory.  I then sent a killall -ALRM 
  qmail-send, but it doesn't seem like it uses that smtproutes file I 
  made.  I start qmail using supervise scripts.
 
  Hello,
 
  This isn't the right place to ask this question.  Irregardless of 
  that, since you are using supervise to manage the daemon, try the 
  following:
 
  svc -h /path/to/service/directory
 
  OR
 
  svc -a /path/to/service/directory
  ~Paul
 
 I Agree, this would be better posted to a qmail list, but anyway:
 
 I think -ALRM tells qmail to re-run the queue, what you need is to send 
 a HUP signal to the qmail-send, like pkill -HUP qmail-send, so it will 
 read the control files again.
 Have you read the Life With Qmail docs?

See qmail-control(5) and qmail-remote(8).

smtproutes is read by qmail-remote not qmail-send. qmail-remote
doesn't require a signal since a new instance is started for each
delivery. If smtproutes is not working, something else is wrong.

Check the syntax of the file (it is described in qmail-remote man
page). You may need to use wild cards to handle all instances for that
domain name. If that's all fine, then perhaps there's a problem on the
remote host.

sdb
-- 
[EMAIL PROTECTED]
Todays Poem:
((12 + 144 + 20 + (3 * 4^(1/2))) / 7) + (5 * 11) = 9^2 + 0

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


Belkin Wireless G notebook card

2006-07-09 Thread Scott Ballantyne
I am trying to get a Belkin Wireless G notebook card running on a Sony
VAIO laptop, FreeBSD 6.1.

I followed the advice in the handbook and copied the following files
from the Belkin CD to the if_ndis directory:

 rt61.inf and rt61.sys

and ran

ndiscvt -i rt61.inf -s rt61.sys -o ndis_driver_data.h

after make and make install  I did:

kldload ndis
kldload if_ndis

This gave an error if_ndis: file exists.

But kldstat showed the if_ndis driver loaded.

I also tried copying the RT619x.sys file to the if_ndis directory,
and doing

ndiscvt -i rt61.inf -s rt61.sys -o -f RT619.sys -o ndis_driver_data.h

make, make install.

None of these seem to enable the card. dmesg tells me:

cardbus0: Expecting link target, got 0x0
cardbus0: Resource not specified in CIS: id=10, size=8000
cardbus0: network at device 0.0 (no driver attached)
cardbus0: Expecting link target, got 0x0
cardbus0: Resource not specified in CIS: id=10, size=8000

This sounds like there is some sort of builtin database that needs to
be modified, but I can't seem to find anything in the handbook or
manual pages.

Any suggestions gratefully accepted.

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


AAC_COMPAT_LINUX?

2006-03-26 Thread Scott Ballantyne
It seems the AAC_COMPAT_LINUX kernel option that I needed to run
aaccli for an Adaptec RAID card (2120s) is no longer available in
5.3. Is there a replacement, or another way to run aaccli?

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


Re: AAC_COMPAT_LINUX?

2006-03-26 Thread Scott Ballantyne
Hi Tamouh,


Tamouh H. [EMAIL PROTECTED] writers:
 Once all done and you can see linux binaries, go to the Port:
 
 /usr/ports/sysutil/aaccli
 
  make install distclean
 


Thanks so much! I had been using the aaccli from the Adaptec CD, which
does need the AAC_COMPAT_LINUX option and wasn't aware of the port. It
works great.

Best,
sdb
-- 
[EMAIL PROTECTED]

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


Dump to DVD problem.

2006-03-25 Thread Scott Ballantyne
I am trying to use dump/restore to backup my filesystems to DVD.  I am
using a DVD+RW, format it with dvd+rw-format -force /dev/cd0, and then do:

dump -0 -b 32 -B 4590208 -f /dev/cd0 /

to backup the root filesystem. I do this after going to single user
mode.

It seems that dump is perhaps not properly closing the file? The DVD
drive light remains on, and I get errors from restore:

tape read error: Unknown error: 0

dvd+rw-mediainfo /dev/cd0 is more informative:

/dev/cd0: unable to open: Device busy

I *can* dump to a file on a filesystem, and use growisofs to write
this dump file to the DVD. No problems mounting and reading the
resulting dump file. Unfortunately, I do not have enough free disk
space to do this with my larger file systems.

This is with 5.3-RELEASE.

Thanks in advance for any suggestions.

sdb
-- 
[EMAIL PROTECTED]




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


System time suddenly changed after reboot.

2006-01-10 Thread Scott Ballantyne
Running 5.3-RELEASE.

After many years of using FreeBSD, and as many reboots or more, I had
occasion to reboot today, and a few hours later discovered to my
horror that the system time had suddenly been moved ahead to the year
2020!

I did the best I could with the resulting mess, but I am curious if
anyone else has seen this, or what would cause it.  This is the same
hardware I have been running for a couple of years now, and I haven't
changed anything in the bios or system.

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


Re: Adaptec AAC raid support

2005-03-19 Thread Scott Ballantyne
On Sat, 2005-03-19 at 19:01, Jason Crawford wrote:

 FreeBSD users.. also watch how Scott claims he is about freedom of
 choice, yet proceeded to lock you into only one option for a RAID
 card, which would seem to be anti-choice... and being pro-choice would
 have pushed for open docs a long time ago.

I am certainly not the only FreeBSD user who has reason to thank Scott
Long for the endless hours of unpaid work he has given to me personally.
He is certainly one of the most decent and competent individuals it has
been my good fortune to encounter. Leaving OpenBSD and moving to FreeBSD
was like a breath of fresh air. Not only because, finally, hardware I
had purchased that was listed in the the OpenBSD 'hardware compatibility
list' finally did work, but because the FreeBSD community was really is
a community and genuinely interested in helping out their user base.
Scott Long is particularly outstanding in this regard.

I remember the OpenBSD list and support very well, and didn't really
need this recent reminder.  Thanks for the memories and all that, but
why don't you guys go back where you belong?

Regards,
sdb
-- 
[EMAIL PROTECTED]



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


Maximum Swap Size

2004-06-06 Thread Scott Ballantyne
Hmmm... I didn't know there was a maximum swap size on FreeBSD 4.10 of
1677216 blocks... Is there an easy way to reduce this partition without
redoing the entire install?

sdb

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


Re: Top posting

2004-03-21 Thread Scott Ballantyne
Top posting is irritating. So is scrolling through 20Mb of unedited text
to get to a one line response, which is often Yes, I've seen this too.
Spelling flames are irritating too. And the most irritating of all is
reading messages on a mailing list which deal only with issues of
netiquette.

What ever happened to the very sound advice that used to be preached
that such messages should be sent privately, to the perpetrator of the
breach, rather than broadcast to the many readers of freebsd-questions
who are more interested in getting freebsd answers than a lesson in
netiquette?

sdb
-- 
[EMAIL PROTECTED]

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


Re: can't get the Linux aaccli to work under 4.8-RELEASE, 4.9-RC1, 5.1-RELEASE

2003-10-02 Thread Scott Ballantyne
 The aaccli from the CD complains about an incorrect ABI version of the
 libncurses.so.5 - it's wrong, the so.5 is really missing, this issue
 can be solved by exporting a LD_LIBRARY_PATH pointing to
 /cdrom/bootcd/usr/lib in the current shell, or by copying the library from
 the CD into /compat/linux/usr/lib.
 

This might indicate that your linux_base is not completely
installed. There seems to be a bug (at least, there is on my
computers), where /usr/ports/linux_base coredumps during the
install. I also found the package leaves the same core file, but
doesn't report an error. The only work around for this that I found is
to do the install from single user mode.

 
 CLI open aac0
 Command Error: The driver could not execute the requested IOCTL SENDFIB,
 22=invalid argument.
 linux: 'ioctl' fd=4, cmd=0x2008 (' ',8) not implemented
 
 The IOCTL code seems to match. Both the FreeBSD and the
 Linux aac driver source files define essentially the same codes:
 FSACTL_SENDFIB CTL_CODE == 0x0004 | (2050  2)
 == 0x0004 | (0x0802  2)
 == 0x00042008
 

This means you need to include options LINUX_COMPAT in your kernal
configuration file. (Thanks to Scott Long who helped me with this a
while back.)

sdb
-- 
[EMAIL PROTECTED]

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


xauth

2003-09-26 Thread Scott Ballantyne
How do you generate the hexkey for 'xauth add displ proto hexkey'
There doesn't seem to be a keygen program anymore...

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


Re: firewall

2003-09-14 Thread Scott Ballantyne
fbsd_user [EMAIL PROTECTED] writes:

 I know that the FBSD handbook gives the reader the impression that
 IPFW is the only firewall available to FBSD, but that is a false
 impression. FBSD has IPFILTER which is also a built in firewall.

PF is also in ports, which is interesting. That's appealing because it
provides an option to use tables rather than lists. I've heard good
thinks about IPF.

 like IPFW and the netbsd firewall IPF has been ported to FBSD so
 there other options. I have used both IPFW and IPFILTER, IPFW's keep
 state rules do not function correctly on a DSL or cable internet
 connection, it has just been upgraded in FBSD 5.2 with a lot fluff
 that does nothing but confuses the general user.
 

I'm interested to hear what the problem is with IPFW and keep-state,
they have been working fine here, as far as I can tell.

 I have never used IPFW with ppp, but it looks like the original
poster needs to provide a natd_interface, so that a divert rule gets
enabled. Note that all the addresses he uses on his lan were RFC1918
ones.

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


Re: linux_base

2003-09-08 Thread Scott Ballantyne
Lowell Gilbert [EMAIL PROTECTED] writes:
 
 Scott Ballantyne [EMAIL PROTECTED] writes:
 
  If I'm running multi-user (as toor), the build stops when installing
  glibc. In linux_base, there's actually a coredump, in linux_base-8, it
  just stops. This happens even running the GENERIC kernel (I had
  previously thought it was perhaps related to a custom kernel).
  
  However, if I drop to single user mode, and make install, it
  completes, although I get many of the following error messages
  intended for syslogd:
  
  linux: syscall mmap2 (obsolete or not implemented (pid = )
 
 What version of FreeBSD?  
 Do you have linux(8) running when you try the install?
 

Sorry, I should have included this: FreeBSD 4.8-p3. Linux.ko isn't
running. For various reasons, I needed to compile the kernel with it
included.

sdb
-- 
[EMAIL PROTECTED]


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


linux_base

2003-09-07 Thread Scott Ballantyne
I find I can't install linux_base or linux_base-8 without running as
single user. This is quite odd, since I haven't had this problem
previously. 

If I'm running multi-user (as toor), the build stops when installing
glibc. In linux_base, there's actually a coredump, in linux_base-8, it
just stops. This happens even running the GENERIC kernel (I had
previously thought it was perhaps related to a custom kernel).

However, if I drop to single user mode, and make install, it
completes, although I get many of the following error messages
intended for syslogd:

linux: syscall mmap2 (obsolete or not implemented (pid = )

(I couldn't figure out which process the pid was, sorry).

and the install script gives many of:

no user/group rpm - using root.

However, the linux binaries all seem to run fine, so alls well I
guess. Still, I am curious why this should be occuring.

Anyone know?

Thanks,
Scott
-- 
[EMAIL PROTECTED]

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


Re: Mozilla display issues, esp. with hover

2003-09-02 Thread Scott Ballantyne
Are you using gnome? I've noticed similar behavior. Mozilla will often
show the gnome foot print in black, and things are quite
unreadable. It depends on the site. I've also observed similar things
in other applications from time to time. I don't know if it's a bug in
gnome, X or the applications.

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


Re: Cron on qmail not sending me logs

2003-09-02 Thread Scott Ballantyne
On Tue, Sep 02, 2003 at 02:27:16PM -0400, Ralph Dratman wrote:

 Gary,
 
 Thank you for your reply. Your comments are informative but I still 
 don't know what to do!
 
 For some reason, I am not receiving mail sent from cron to root. 
 Therefore, I cannot see any of my (rather important) daily cron logs.
 
 I can send mail to root from anyplace else, either inside or outside 
 the box, and it arrives at the forwarded location ([EMAIL PROTECTED], 
 an external domain).
 
 Can you think what might be going wrong?

There could be many things, Ralph, but why guess when the answer is
probably sitting right on your machine in qmail's log file?

Another useful diagnostic would be to run /var/log/qmail-qread (you
have to be root). Something like

/var/log/qmail-qread | egrep -v done | less

would take out the successful deliveries and just show you the
problems. If you don't see mail from cron to root in the qread output,
then that could suggest that the mail is being successfully sent, but
is perhaps being filtered out by your remote site.

If you're not sure how to interpret the log files, then post the
relevant bits.

Good luck,

sdb
-- 
[EMAIL PROTECTED]



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


Re: Cron on qmail not sending me logs

2003-08-30 Thread Scott Ballantyne
Hi Ralph,
 
 When I manually send mail to root from either inside the box or from 
 elsewhere, it is properly received by [EMAIL PROTECTED] (an external domain).
 
 Any and all comments would be appreciated. Thank you in advance.
 

It sounds like you have it setup properly. It works fine for me here
but I don't use mailwrapper. I'd suggest that taking a look at qmails
logfile to see what is going on would probably give you a
hint. 

sdb
-- 
[EMAIL PROTECTED]



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


Re: Cron on qmail not sending me logs

2003-08-29 Thread Scott Ballantyne
Matthew Graybosch writes:
 
 On 20:49 Thu 28 Aug , Scott Ballantyne wrote:
 
  You can always set the NO_MAILWRAPPER=true and NO_SENDMAIL=true flags
  in /etc/make.conf.
 
 I thought you were supposed to also set sendmail_enable=NONE in
 /etc/rc.conf as well.
 

Well, that makes it a lot less noisy on boots.

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


Re: Cron on qmail not sending me logs

2003-08-28 Thread Scott Ballantyne
Jonathan Chen [EMAIL PROTECTED] writes:
 On Thu, Aug 28, 2003 at 10:12:55AM +0300, Adrian Pircalabu wrote:
  You're right, I'm right, it's a matter of taste, somehow.
 
 The mailer.conf method is preferred as it doesn't wipe itself out when
 you upgrade your system with buildworld/installworld.
 

You can always set the NO_MAILWRAPPER=true and NO_SENDMAIL=true flags
in /etc/make.conf.

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


Upgrade from 4.7 - 4.8 problem?

2003-08-11 Thread Scott Ballantyne
Hello,

I upgraded from 4.7 - 4.8 today, and sysinstall claimed that the
installation failed, saying it couldn't even install the bin
distribution set...

However, it boots with the 4.8 kernel, and all the modification times
I have checked in the system directories say Apr 3 of this year, the
same as the new kernel file...

I ran the install twice, and tried to watch the messages using ALT-F2,
but they scrolled by very quickly and I can't seem to find a log file
of the install anywhere.

So I'm really not sure what is going on. I'd like to know if there is
a way to tell if the system was completely upgraded. Alternatively,
I'd like to know how much trouble I am in :-)

Thanks,
Scott
-- 
[EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


SMP Supported Hardware Question

2003-08-08 Thread Scott Ballantyne
Hello All,

I am interested in playing with SMP and am curious if there is anyone
out there using the following combo with success:

Athlon AMSN2400Box

Gigabyte: GA-7DPXDW

I plan on using 4.8 for the moment.

Thanks in advance and please pardon the newbie nature of this
question.

Scott
-- 
[EMAIL PROTECTED]


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


inetd+portmap

2003-02-12 Thread Scott Ballantyne
inetd will wait for a very long time if there is no portmapper and you
try to start an RPC service (duh). While it's waiting, it won't
service any other requests, which will cause mysterious non-RPC
service failures, made more mysterious by them suddenly working a bit
after a reboot.

Perhaps it would be helpful to add inetd to the list of dependencies
for portmap in /etc/rc in a future release? Or perhaps not...

sdb
-- 
[EMAIL PROTECTED]





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



Re: A question asked many times-

2003-01-30 Thread Scott Ballantyne
Thaddeus J. Quintin [EMAIL PROTECTED] writes:
 Greetings-
 I've looked around in google and the FreeBSD archives and I've seen this
 question asked many times, but never found the answer.
 
 I would like to map my alt keys to be meta keys.  Is there any
 reason why I shouldn't do that?  Is there a better/different solution?
 Using ESC just doesn't cut it...
 

If you're using X, the method for doing this is described in the man
page for xmodmap. There is no problem with doing this, you can still
switch consoles if needed using alt-ctrl Fx. If you aren't using X,
use kdbcontrol, as described in another message.

sdb
-- 
[EMAIL PROTECTED]

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



Ports question: mozilla-vendor/jdk13

2002-12-31 Thread Scott Ballantyne
Last night I built the mozilla-vendor port and followed the
instructions for adding java by building jdk1.3.1. The build/install
completed with no errors, but when I run mozilla I am getting the
following error:

gLoadPlugin: failed to initialize shared library 
/usr/local/jdk1.3.1/jre/plugin/i386/ns600/libjavaplugin_oji.so 
[/usr/local/jdk1.3.1/jre/plugin/i386/ns600/libjavaplugin_oji.so: Undefined symbol 
gdk_input_add]

Where can I find this gdk_input_add ? 

sdb
-- 
[EMAIL PROTECTED]

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



Re: nfs performance

2002-12-30 Thread Scott Ballantyne
 recently I discovered problems with my FreeBSD nfs server.
 I mount my /home/user from my linux box via automounter/nfs from my server.
 They are connected with a switch on a 100baseTX Ethernet. Now, whenever
 I copy large files from a local driver to my home dir or do anything
 else that involves moving some bigger amounts of data to my home dir
 the nfs server times out and doesnt respond anymore.
 Any ideas, suggestions would be appreciated,

I could never get NFS to work reliably on Linux. The server here is
slow and needs to be upgraded to newer iron and runs OpenBSD, but
Linux is the only client OS that exhibited these problems. I observed
them always on writing to the server with large files, reads seemed to
work fine, no matter what the file size. I spent considerable time
fiddling with timeouts, cachesizes and so on, this was several months
ago, but I remember thinking this had something to do with the
attribute caching.

I was advised by a Linux guru friend of mine that the kernel NFS on
Linux had multiple problems, and he advised me to use the userland
NFS. I didn't follow this advice, choosing to try FreeBSD instead. So
far, it has worked with minimal problems. Once every couple of weeks,
I start getting NFS Server not responding messages, but switching to
TCP transport seems to have cured that, and provided better
performance as well.

I'm sure this isn't what you wanted to hear, but you might find it
helpful...

sdb
-- 
[EMAIL PROTECTED]




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



Re: Backspace key under gnometerminal

2002-12-26 Thread Scott Ballantyne
A couple of weeks ago I wrote:

 How does one get consistant behavior of the backspace key in emacs and
 gnometerm? I've fed xmodmap
 
 remove Lock = Caps_Lock
 remove Control = Control_L
 keysym Control_L = Caps_Lock
 keysym Caps_Lock = Control_L
 add Lock = Caps_Lock
 add Control = Control_L
 keysym BackSpace = Delete
 
 and then
 
 echo XTerm*ttyModes: erase  | xrdb -merge
 
 which has worked for me in other unices and is documented in the
 xmodmap man page for freebsd, but no joy. It doesn't work for xterm
 either :-(
 
 Running 4.7-RELEASE for i386.
 

I received several requests for answers, but no answer. However, the
following seems to work here: Set your xmodmap as shown above but
don't use gnometerm, use xterm (this also helps if you need utmp to be
munged) and incorporate this into your resources db:
XTerm*deleteIsDEL: true

sdb
-- 
[EMAIL PROTECTED]

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



Re: isnormal() ?

2002-12-25 Thread Scott Ballantyne
Cliff Sarginson [EMAIL PROTECTED] writes:
 To be fair, he did use the (appalling) word mathoid to imply that it

Appalling? heh heh.. No more spheroid, cuboid, either? Oh dear...

 Well you could write it yourself,,
 

Here 'tis. Seems to work well enough for the moment, although if
anyone notices a bug, boy, I'd sure appreciate hearing about it.

sdb
-- 
[EMAIL PROTECTED]



/* isnormal.c, return non-zero if arg not zero, infinte, subnormal or NaN
   FreeBSD 4.7 libm lacks this function
   Scott Ballantyne ([EMAIL PROTECTED])
   Use at your own risk.
*/
/* You will need the source to the libraries to compile this function */

#include /usr/src/lib/msun/src/math.h
#include /usr/src/lib/msun/src/math_private.h

int isnormal (double x)
{
  int32_t hx,lx;
  EXTRACT_WORDS(hx, lx, x);

  hx = 0x7fff;
  if (((hx | lx) == 0) /* x == 0.0 */
  || (hx = 0x7ff0) /* x infinite? */
  || ((hx | ((lx|-lx)  31))  0x7ff0) /* NaN? */
  || (hx  0x0010)) /* Subnormal? */
return 0;

  return 1;
}




  

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



isnormal() ?

2002-12-24 Thread Scott Ballantyne
Any mathoids have a way to implement isnormal() on FreeBSD, 4.7?

Thanks,
Scott
-- 
[EMAIL PROTECTED]


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



Re: isnormal() ?

2002-12-24 Thread Scott Ballantyne
Fernando Gleiser [EMAIL PROTECTED] writes
 On 24 Dec 2002, Scott Ballantyne wrote:
 
  Any mathoids have a way to implement isnormal() on FreeBSD, 4.7?
 
 it would help if you tell us what isnormal() is.
 

 
   Fer

It returns non-zero if its argument is normalized (i.e., not: zero,
denormalized, infinte, or NaN). It's usually a macro that calls
fpclass(), but I can't find fpclass either :-(

I was hoping for something more efficient than isnan(), isinf(), etc.

Thanks Fer,
Scott
-- 
[EMAIL PROTECTED]

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



Backspace key under gnometerminal

2002-12-17 Thread Scott Ballantyne
How does one get consistant behavior of the backspace key in emacs and
gnometerm? I've fed xmodmap

remove Lock = Caps_Lock
remove Control = Control_L
keysym Control_L = Caps_Lock
keysym Caps_Lock = Control_L
add Lock = Caps_Lock
add Control = Control_L
keysym BackSpace = Delete

and then

echo XTerm*ttyModes: erase  | xrdb -merge

which has worked for me in other unices and is documented in the
xmodmap man page for freebsd, but no joy. It doesn't work for xterm
either :-(

Running 4.7-RELEASE for i386.

Thanks in advance,
Scott
-- 
[EMAIL PROTECTED]

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