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  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"


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:
> 
> >>
> >> 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
> 
> > 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"


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"


Re: find ports that aren't required anymore

2013-08-31 Thread Dale Scott
Cool, thanks Mark. Guess that's also a reason to learn new pkg tools. 
.

On 2013-08-31, at 1:41 PM, Mark Felder  wrote:

> 
> 
> On Sat, Aug 31, 2013, at 14:19, Dale Scott wrote:
>> I was using the postfix port, but decided to replace it with ssmtp to
>> reduce
>> ports in use and simplify system updating (deleting postfix with
>> pkg_delete). Is it possible that deleting postfix will leave ports
>> installed
>> that aren't required anymore? Will pkg_delete also delete any
>> dependencies
>> no longer required? If I could have ports still installed that aren't
>> required anymore? How can I find them now? Portmaster?
> 
> If you're using the old pkg format you'll want to use something like
> pkg_cutleaves which is in ports.
> 
> If you're using the new pkg format you can simply run "pkg autoremove".
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


find ports that aren't required anymore

2013-08-31 Thread Dale Scott
I was using the postfix port, but decided to replace it with ssmtp to reduce
ports in use and simplify system updating (deleting postfix with
pkg_delete). Is it possible that deleting postfix will leave ports installed
that aren't required anymore? Will pkg_delete also delete any dependencies
no longer required? If I could have ports still installed that aren't
required anymore? How can I find them now? Portmaster?

All the information I could find related to finding dependencies for a port,
not for finding installed ports that don't have parent dependencies. Is it
possible to invoke "pkg_info -R" on all ports and filter the output?

TIA,
Dale


___
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"


Re: ALT key problem with Virtual Box?

2013-06-29 Thread Scott Ballantyne

> On 29 Jun 2013 16:24:57 -0000, 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"


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: 3 TB disk troubles

2013-02-14 Thread Scott Bennett
 On Thu, 14 Feb 2013 13:21:38 +0100 Joar Jegleim 
wrote:

>I could be completely off mark here, but does that external drive have
>eSata too ?

 No, it only has Firewire 400 and USB 2.0 sockets.

>Your problem resembles a lot something I struggled with a while ago.
>I'd bought an external hd case + a 3TB drive for my girlfriend , the
>external hd case supported eSATA and usb .
>
>I had a lot of problems when connecting that 3TB drive to my laptop
>via usb (I didn't have eSATA), the drive showed up as only 2TB .
>It turned out that the external drive case required to be connected
>via eSATA for +2TB drives, the manual said so, I had only forgotten
>about that .

 Unfortunately, mine did not come with a manual. :-(  I suppose
I could try it on a USB 2.0 port to see if that makes any difference.
>
>Via eSATA the drive was recognized as 3TB, I think the 'problem' was
>OS agnostic, since the same happened on my girlfriends mac.
>
 The confusing thing is that the kernel says it's a 3 TB device,
but the utility programs say otherwise.
 Thanks for your reply, though.  I may have to take the device back
to the store I bought it and ask them to demonstrate to me that it
actually works for them as a 3 TB drive.  Sigh.


  Scott Bennett, Comm. ASMELG, CFIAG
**
* Internet:   bennett at mp.cs.niu.edu   *
**
* "A well regulated and disciplined militia, is at all times a good  *
* objection to the introduction of that bane of all free governments *
* -- a standing army."   *
*-- Gov. John Hancock, New York Journal, 28 January 1790 *
**
___
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"


3 TB disk troubles

2013-02-14 Thread Scott Bennett
 I recently bought a 3 TB external hard drive.  I attached it to the
Firewire (400) bus and waited for my 8.2-STABLE i386 system to recognize it.
After a small flurry of Firewire protocol messages, the kernel eventually
said,

Feb 12 23:35:42 hellas kernel: da2 at sbp0 bus 0 scbus0 target 1 lun 0
Feb 12 23:35:42 hellas kernel: da2:  Fixed Direct 
Access SCSI-0 device
Feb 12 23:35:42 hellas kernel: da2: 50.000MB/s transfers
Feb 12 23:35:42 hellas kernel: da2: 2861588MB (5860533167 512 byte sectors: 255H
 63S/T 364801C)

So far, so good, I thought.
 Next I tried to use gpart(8) to set up a partition table.  However,
gpart, gpte (from sysutils/gpte), diskinfo(8), et al. only see the device
as a 2 TB drive.

hellas# diskinfo -v /dev/da2
/dev/da2
512 # sectorsize
2199023253504   # mediasize in bytes (2T)
4294967292  # mediasize in sectors
0   # stripesize
0   # stripeoffset
267349  # Cylinders according to firmware.
255 # Heads according to firmware.
63  # Sectors according to firmware.
# Disk ident.

hellas# 

 I have searched the archives of this list and several others, but
haven't found anything helpful.  This disk is *not* intended as a boot
disk, just data storage.  Is there any hope of using its full capacity?
Or have I effectively bought an overpriced 2 TB drive?
 Please Cc: me directly in any replies because I am subscribed to
the digest form of this list and would like to see responses without
having to wait up to 24 hours. :-)  Thanks in advance for any help!


  Scott Bennett, Comm. ASMELG, CFIAG
**
* Internet:   bennett at mp.cs.niu.edu   *
**
* "A well regulated and disciplined militia, is at all times a good  *
* objection to the introduction of that bane of all free governments *
* -- a standing army."   *
*-- Gov. John Hancock, New York Journal, 28 January 1790 *
**
___
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"


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"


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"


9.0 vs 9.1

2013-01-10 Thread Scott Eberl
OK can someone please explain this to me in detail? I've been reading all
the release notes I can find and I'm not understanding why after upgrading
to 9.1 I have to compile from source to install stuff now. It takes forever
and asks me questions I have no idea what the answer is to. Early today I
installed irssi which I had to do with make clean install because just
doing pkg_add -r irssi complains about not being able to find the url of it.

Should I just reinstall 9.0 and not upgrade, will ports work correctly then?
___
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"


Reading the handbook from console

2013-01-10 Thread Scott Eberl
I went ahead and installed the FreeBSD handbook onto my system and I was
able to find it on disk per the motd notes but I'm wondering if there is a
preferred method for reading these since they are in html format. I tried
w3m and lynx and it looks like they are both not installed. Is there
something i'm missing for reading these or do I just need to install a cli
browser?
___
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"


Unable to install xorg using pkg_add

2013-01-10 Thread Scott Eberl
Hello, I just installed FreeBSD last night using the bootonly image for
9.0-RELEASE. I then updated to 9.1-RELEASE using freebsd-update. Everything
seems to have gone smoothly but now I'm getting the below error when trying
to isntall xorg.

Error: Unable to get
ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-9.1-release/Latest/xorg.tbz:
File unavailable (e.g., file not found, no access)
pkg_add: unable to fetch '
ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-9.1-release/Latest/xorg.tbz'
by URL






output of uname -a
FreeBSD freebsd 9.1-RELEASE FreeBSD 9.1-RELEASE #0 r243825: Tue Dec  4
09:23:10 UTC 2012 r...@farrell.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC
 amd64
___
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"


Resizing HAST volumes

2012-12-06 Thread Scott Hilleard
Hi,

I was looking at setting up a HAST volume that gets exported by iSCSI.
the HAST volume was going to sit on top of a ZFS managed zpool. I know
that using ZFS I can grow the size of a volume by adding more vdevs and
then any ZFS or UFS filesystem on top of that can expanded to
accommodate the extra available space (for example using "growfs" for
ufs filesystems). However as I plan to have a HAST volume on top of the
zvolume, then I would need to expand the size of that to make use of the
extra volume capacity. Is there any way to non-destructively resize a
HAST volume once the underlying storage has been expanded?

Scott

-- 
Scott Hilleard  sc...@netsight.co.uk
Netsight Internet Solutions, Ltd.Business Vision on the Internet
http://www.netsight.co.uk +44 (0)117 9090901
Web Design | Zope/Plone Development & Consulting | Co-location | Hosting 

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


RE: how to correct portsnap corruption - SOLVED

2012-11-27 Thread Dale Scott
>'rm -fr /var/db/portsnap/*' 
>and then 'portsnap fetch && portsnap extract'

Thanks everyone!


Dale 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"


how to correct portsnap corruption

2012-11-26 Thread Dale Scott
Hi, I was running "portsnap fetch" on a remote terminal when my connection
failed. After connecting running portsnap again, it appeared to complete
correctly. However, when I run "portsnap extract" I get the following error:

 

casper# portsnap extract

/usr/ports/.cvsignore

/usr/ports/CHANGES

/usr/ports/COPYRIGHT

/usr/ports/GIDs

/usr/ports/KNOBS

/usr/ports/LASTCOMMIT.txt

files/bfd9e7e5d0fff1e0c601614c35085494c8de06eb100b2fe025a6c9a226ec0e09.gz
not found -- snapshot corrupt.

casper#

 

How can I recover from this without losing any app configs I have in the
ports tree? (i.e. make config)

 

Thanks,
Dale

 

___
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: OT: problems with gpl-licensed software

2012-11-14 Thread Dale Scott
> Thinking about extending or dual-licensing a gpl-licensed software ?
> https://lkml.org/lkml/2012/11/7/338

Interesting thread, but if you are implying that dual-licensing GPL software is 
in general dangerous, then I would respectfully disagree. The real issue in the 
linked thread seems to be over whether or not the authors of the file system 
code have total copyright ownership of their code.

IANAL, but my understanding from researching the GPL is that if a piece of 
software functions as an integrated part of some other software that is 
licensed under the GPL, then the software in question *can* be considered to be 
a derived work of the other software - and under the terms of the GPL must also 
be licensed by the GPL (even if the author has copyright ownership and 
distributes their software separately, which are the most common reasons I've 
seen given for why the GPL should not apply).

However, regardless of whether or not the software "must" be licensed by the 
GPL, the copyright holder holder has the right to provide the software under 
whatever license they want, which could be in addition to the GPL. If the 
purpose of dual-licensing is to allow the creation of a proprietary product 
that the GPL does not extend to, then copyright ownership should be sufficient. 
The typical difficulty an open source project has is demonstrating copyright 
ownership over every line of their code - which typically requires a CAA 
(Copyright Assignment Agreement) executed individually with each contributor 
unless the code is a work for hire (i.e. is entirely developed by a company's 
employees).

Other reading that may be interesting:

http://www.softwarefreedom.org/resources/2008/foss-primer.pdf
http://www.gnu.org/licenses/gpl-faq.html#GPLAndPlugins


- Original Message -
From: "jb" 
To: freebsd-questions@freebsd.org
Sent: Wednesday, November 14, 2012 5:24:26 AM
Subject: OT: problems with gpl-licensed software

Thinking about extending or dual-licensing a gpl-licensed software ?
https://lkml.org/lkml/2012/11/7/338

jb


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


Re: Famp Server

2012-10-30 Thread Dale Scott
- Original Message -
> From: "Polytropon" 
> 
> On Tue, 30 Oct 2012 06:26:19 -0700 (PDT), Hamisi Jabe wrote:
> > Thanks for your quick reply, but would you please give me the right
> > command
> > pkg_add -r apache22
> > pkg_add -r mysql55-server
> > pkg_add -r php5
> > 
> > i installed these packages one by one but to no success please
> > help,
> 
> Can you provide the error message of "no success"?
> 
> > and also when i install them should i go to the port directory or i
> > can execute the command anywhere
> 
> From anywhere.
> 

You must be root though (just in case you were trying to install with
a normal user account)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


RE: FreeBSD 9x - PHP and MySQL

2012-10-20 Thread Dale Scott
There's no reason not to just use the latest in the ports tree, which as of
now is:

php5-5.4.7
mysql-server-5.5.28

I use phpmyadmin, which usually results in updating php5 every new release
(which is why I'm on php5-5.4.7), although I'm still on mysql-server-5.5.16.


-Original Message-
From: owner-freebsd-questi...@freebsd.org
[mailto:owner-freebsd-questi...@freebsd.org] On Behalf Of Vladislav Prodan
Sent: Saturday, October 20, 2012 12:16 PM
To: freebsd-questions@FreeBSD.org
Subject: Re: FreeBSD 9x - PHP and MySQL


MySQL 5.5
php 5.4.x

> FreeBSD 9.1-PRERELEASE
> Can you tell me what might be the best MySQL version to be used and 
> which PHP version should I use to that?
> Running 64-bit.
> 
> thanks,
> Jos Chrispijn
> ___
> 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" 

-- 
Vladislav V. Prodan
System & Network Administrator 
http://support.od.ua   
+380 67 4584408, +380 99 4060508
VVP88-RIPE

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

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


Re: clang options question

2012-10-17 Thread Scott Bennett
 On Wed, 17 Oct 2012 04:25:14 +1100 andrew clarke 
wrote:
>On Tue 2012-10-16 10:52:36 UTC-0500, Scott Bennett (benn...@cs.niu.edu) wrote:
>
>> From looking at the clang(1) man page, it is not clear to me what the
>> difference is between the -arch option and the -march= option.  Would
>> someone please summarize the difference(s) for me?  Thanks much!
>
>>From the users POV, clang is supposed to be a drop-in replacement for
>gcc, where -arch is also an option. Looking online though, it would
>appear it's an Apple Darwin (OS X) only feature of gcc for generating
>universal binaries.

 Oh.  Okay.  Thanks for the Darwin info, too.  I hadn't known that
OS X had carried on NEXTSTEP's support for fat binaries.
>
>The question is a bit academic as it doesn't actually do anything in
>FreeBSD, at least not for me:
>
>$ clang -o hello -arch x86_64 hello.c
>clang: warning: argument unused during compilation: '-arch x86_64'
>
>$ clang -v
>clang version 3.1 (branches/release_31)
>Target: amd64-portbld-freebsd8.3
>Thread model: posix
>
>Nor in Linux (an old version, admittedly):
>
>$ clang -o hello -arch i386 hello.c
>clang: warning: argument unused during compilation: '-arch i386'
>
>$ clang -v
>clang version 1.1 (branches/release_27)
>Target: x86_64-pc-linux-gnu
>Thread model: posix
>
 I see.  So it's just decoration for compatibility with gcc and
something to worry about.  Thanks very much for the response.


  Scott Bennett, Comm. ASMELG, CFIAG
**
* Internet:   bennett at cs.niu.edu  *
**
* "A well regulated and disciplined militia, is at all times a good  *
* objection to the introduction of that bane of all free governments *
* -- a standing army."   *
*-- Gov. John Hancock, New York Journal, 28 January 1790 *
**
___
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"


clang options question

2012-10-16 Thread Scott Bennett
 From looking at the clang(1) man page, it is not clear to me what the
difference is between the -arch option and the -march= option.  Would
someone please summarize the difference(s) for me?  Thanks much!


  Scott Bennett, Comm. ASMELG, CFIAG
**
* Internet:   bennett at cs.niu.edu  *
**
* "A well regulated and disciplined militia, is at all times a good  *
* objection to the introduction of that bane of all free governments *
* -- a standing army."   *
*-- Gov. John Hancock, New York Journal, 28 January 1790 *
**
___
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: FreeBSD Install Problem

2012-09-07 Thread Dale Scott
Check the SATA drive mode in the BIOS. It may need to be set to
"Compatibility" (or vice versa).

-Original Message-
From: owner-freebsd-questi...@freebsd.org
[mailto:owner-freebsd-questi...@freebsd.org] On Behalf Of dte...@freebsd.org
Sent: Friday, September 07, 2012 6:20 PM
To: 'Chris Neudorf'; questi...@freebsd.org
Subject: RE: FreeBSD Install Problem



> -Original Message-
> From: owner-freebsd-questi...@freebsd.org [mailto:owner-freebsd- 
> questi...@freebsd.org] On Behalf Of Chris Neudorf
> Sent: Friday, September 07, 2012 2:10 PM
> To: questi...@freebsd.org
> Subject: FreeBSD Install Problem
> 
> Hello,
> 
> I have a problem installing FreeBSD 9.0 Releaseon my Lenovo Thinkpad 
> R61i laptop (4GB RAM, 160GB HDD, 32-bit). It doesn't matter if I tried 
> installing
it from
> the CD or the DVD, I still have the same problem. I even tried 
> re-downloading
and
> re-burning a new CD or DVD, and I'm still unable to install. I even 
> have
problems
> going through the "sysinstall" route.
> 

Can you try the following?

http://sourceforge.net/projects/druidbsd/files/FreeBSD-9.0_Druid-1.0b57.iso/
down
load

NOTE: New version posted just a couple days ago (but not announced yet;
in-progress).
--
Devin


> 
> In the installation process, I'm able to go far to the partitioning area
in
where the
> problem occurs. I click for "Guided" partitioning and then I receive this
"Abort"
> message:
> 
> Abort
> --
> 
> An installation step has been aborted. Would you like to restart the
installation or
> exit the installer?
> 
>


---
> [ Restart ]     [ Exit ]
> 
> -
> 
> When I click restart I end up with the same result, and I end up in a
neverending
> cycle of unable to install.
> 
> 
> (I even have a the same problem installing from GhostBSD.)
> 
> 
> 
> Is there any remedies to this problem?
> 
> 
> Thank you so much,
> 
> --Christopher
> ___
> 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"

_
The information contained in this message is proprietary and/or
confidential. If you are not the intended recipient, please: (i) delete the
message and all copies; (ii) do not disclose, distribute or use the message
in any manner; and (iii) notify the sender immediately. In addition, please
be aware that any message addressed to our domain is subject to archiving
and review by persons other than the intended recipient. Thank you.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

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


RE: freebsd-update install question

2012-06-14 Thread Dale Scott
> Should I install the libc souces?

I had this error when upgrading 8.x (8.1 to 8.2?), and solved it by creating
the directory only (actual sources not required). I recall someone had
posted this solution to the list at the time.

Regards,
Dale



___
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  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"


Article Inquiry

2012-05-15 Thread Lauren Scott
Hello,

I was wondering if you would be able to help me locate a copy of the below
article:

"General Commands Manual for RDIST"
June 3, 1993
FreeBSD

I appreciate any help you are able to provide.

Best regards,
-- 
Lauren Scott
*Research Analyst*
___
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: recommendation(s) for new computer

2012-04-20 Thread Dale Scott
As do Intel (video) drivers

- Original Message -
From: "Mark Felder" 
To: freebsd-questions@FreeBSD.org
Sent: Friday, April 20, 2012 1:49:13 PM
Subject: Re: recommendation(s) for new computer

nvidia drivers just work. That's what matters.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


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"


Re: FreeBSD 9.0 Snapshots

2012-03-23 Thread Dale Scott
See PR http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/161674 ("This bug was 
fixed in head in -r230249", by mckusick Feb 7).

To see the fix in your system now, I think you could update your system from 
the CURRENT branch (but as I said, you'll need to understand release 
engineering better than I). For me, I'm following RELEASE and I'm just going to 
wait until it appears.

Dale


- Original Message -
From: "timp" 
To: freebsd-questions@freebsd.org
Sent: Friday, March 23, 2012 6:03:37 AM
Subject: Re: FreeBSD 9.0 Snapshots

> Has been fixed, but you need to understand release engineering better than
me if you want the fix now. 
Fixed? What did you mean? SUJ and snapshots still doesn't work together.

--
View this message in context: 
http://freebsd.1045724.n5.nabble.com/FreeBSD-9-0-Snapshots-tp5585872p5589250.html
Sent from the freebsd-questions mailing list archive at Nabble.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"
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: FreeBSD 9.0 Snapshots

2012-03-22 Thread Dale Scott
Has been fixed, but you need to understand release engineering better than me 
if you want the fix now.

--
There are no passengers on spaceship earth. We are all crew.

- Original Message -
From: "Volodymyr Kostyrko" 
To: dwei...@dweimer.net
Cc: freebsd-questions@freebsd.org
Sent: Thursday, March 22, 2012 9:28:25 AM
Subject: Re: FreeBSD 9.0 Snapshots

Dean E. Weimer wrote:
> Has anyone been using Snapshots on UFS with journaled soft-updates enabled?
>
> I have a couple of new systems built after 9.0 came out, my backup
> scripts take snapshots, and then mount them to backup the files, the
> couple older servers that I upgraded from 8.2 to 9.0 from source are not
> having any problems, a quick check shows their file systems aren't
> running the new journaled Soft-Updates options. The new systems which
> are, frequently hang up and become unresponsive when taking the snapshots.

Known issue, don't use SUJ with snapshots on 9.0 for now.

-- 
Sphinx of black quartz judge my vow.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


NFS Share with whitespace in its name

2012-01-30 Thread Scott Sanders
In the Linux NFS server it's permissible to share a directory with
whitespace in the directory name by wrapping the first field in the exports
list with double-quotes. This does not seem to be true with the FreeBSD NFS
server. Is there a way to share a directory with spaces in the name?

Thanks in advance,

-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"


non-responsive FreeBSD-9.0 after dump command

2012-01-18 Thread Dale Scott
I'm getting a non-responsive system after issuing dump on a relatively fresh 
install of FreeBSD-9.0-RELEASE. The system is a VirtualBox 4.1.2 vm, with a 
20GB GPT system drive and a 20GB MBR backup drive. Since it was created, the 
ports tree has been updated and apache22, mysql55-server and python/django 
installed (and a number of minor utilities). Everything seems to work ok, 
except for dump:

# mount
/dev/ada0p2 on / (ufs, local, journaled soft-updates)
devfs on /dev (devfs, local, multilabel)
/dev/ad1as1d on /backup (ufs, local, soft-updates)
#
# cd /backup
# dump -0aLf 20120118.dump /

There is no output after hitting , and afterwards the system is 
generally unresponsive. A command (e.g., whoami) typed into the VirtualBox 
server console and an ssh terminal is echo'd, but that's all. I had started 
"top" in a seperate ssh terminal before issuing the dump command, and it shows 
mksnap_ffs running with 98%-100% WCPU for about 55 minutes, at which point 
"top" stops updating. I gave up after 70 minutes and yanked the virtual power 
cord.

I then created a new FBSD-9.0 VM (system install from dvd only, and also 
create/fdisk/label/mount a new virtual backup drive). On this vm, dump works as 
expected! I moved the virtual backup drive from new to old, and also 
re-partitioned/re-labled the backup drive on the problem system, but no effect. 
FWIW, fdisk reports that on both system disks (non-working and working), the 
chunks do not start on track boundaries (I used "auto" installing the systems).

Does any of this make any sense to anyone? Any ideas on how to correct the 
situation? I don't mind re-configure the new vm like the old, but not knowing 
what went wrong concerns me (and if it's just going to happen again). My basic 
intent is to get version 2 of a live server working first as a vm, then restore 
a dump onto real hardware.

Thanks in advance for any and all assistance,
Dale

- 
Transparency with Trust 
http://www.dalescott.net 
___
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: Using Gnome ...

2012-01-17 Thread Dale Scott
If you're doing a new install and you're primarily after a desktop
experience, go with PC-BSD 9.0 (http://www.pcbsd.org). All the basics are
looked after for you, including graphics config, auto-mounting USB drives,
wireless ... It has a graphical package installer for PC-BSD "PBI" packages,
but it's standard FreeBSD-9.0 and ports under the hood. Perfect on a desktop
(could still use some polish for laptop suspend/resume).

Dale


> -Original Message-
> From: owner-freebsd-questi...@freebsd.org [mailto:owner-freebsd-
> questi...@freebsd.org] On Behalf Of David Walker
> Sent: Tuesday, January 17, 2012 8:17 AM
> To: freebsd-questions@freebsd.org
> Subject: Using Gnome ...
> 
> A colleague and I were talking about operating systems and I said, hey
lets
> install FreeBSD and see what Gnome looks like.
> I did an install at work but ran out of time so I brought another machine
> home but I'm having trouble.
> 
> I burnt an ISO of 9.0 and installed it.
> 
> I did a pkg_add ...
> # pkg_add -r gnome2
> http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/x11-
> wm.html
> http://www.freebsd.org/gnome/docs/faq2.html#q1
> 
> I tried to enable Gnome by editing /etc/rc.conf ...
> gdm_enable="YES"
> gnome_enable="YES"
> http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/x11-
> wm.html
> http://www.freebsd.org/gnome/docs/faq2.html#full-gnome
> Note the difference there.
> 
> If I reboot I get a message to the console that gdm is starting but it
goes to a
> console login.
> 
> Is there anything else I need to do?
> 
> Best wishes.
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-
> unsubscr...@freebsd.org"

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


Re: help accessing mdbtools man pages in /usr/local/share/man - SOLVED

2012-01-16 Thread Dale Scott
- Original Message -
From: Yuri Pankov 
Date: Monday, January 16, 2012 13:49

> Just use `man /full/path/to/the/manpage`. Also check man(1) and
> man.conf(5) on how to specify additional MANPATHs.

Thanks Yuri! As per man.conf(5), I created /usr/local/etc/rc.d/mdbtools.conf to 
add /usr/local/share/man to the manpath (perhaps it could be named more 
correctly "linux.conf", but for now the only manpages there are from mdbtools).

___
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"


help accessing mdbtools man pages in /usr/local/share/man

2012-01-16 Thread Dale Scott
I installed mdbtools from source on github and it put its man pages in 
"/usr/local/share/man/man1", where the default man command doesn't find them 
(although "man -M /usr/local/share/man mdb-export" works).

>From "man hier", it looks like the man pages should have been put into 
>"/usr/local/man". Is that correct? Also, the pages aren't in gz format (just 
>"mdb-export.1"). Is there a typical workaround? (I expect this is not uncommon 
>for an app coming from the Linux world?).

Thanks in advance,
Dale

P.S. mdbtools works well for accessing data in a MS Jet/Access MDB file. 
There's an old version in the ports tree, but no maintainer (perhaps one day I 
may have learned enough to update the port myself, but alas not yet).

-
Transparency with Trust
http://www.dalescott.net



___
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"


portaudit report against web app since updated (by web app itself)

2012-01-05 Thread Dale Scott
I originally installed WordPress as a port because it was convenient to way to 
make sure I had all the PHP dependencies. However, I've since updated WordPress 
internally a number of times, and am now getting portaudit advisories against 
the original port that was installed.

I'd prefer not to get portaudit advisories in this situation. Any 
recommendations?

Thanks,
Dale

-
Transparency with Trust
http://www.dalescott.net



___
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 --list-origins" question

2011-12-30 Thread Scott Bennett
 On Thu, 29 Dec 2011 11:44:57 +0100 Christer Solskogen
 wrote:
>On Thu, Dec 29, 2011 at 5:58 AM, Scott Bennett  wrote:
>
>> =C2=A0 =C2=A0 Did I misunderstand something about the --list-origins opti=
>on? =C2=A0Or have
>> I run into a bug? =C2=A0Any suggestions of how to proceed would be welcom=
>e.
>
>No, not a bug.
>portmaster --list-origins | wc -l
>58
>pkg_info | wc -l
> 207
>
>list-origins only lists packages that does not have any dependencies.
>
 Ah, yes.  I now see that I missed the part of the man page that says,
"list directories from /usr/ports for root and leaf ports".  Sigh.  Thanks
much for your direct reply, which I did see when it arrived, but was too
tired at that point to reply to.
 At this point, the process has to be put on hold for the weekend, but
I hope to proceed Monday night.  Thanks again for your response!
 Also, I replied to Victor Sudakov  directly, but
neglected to Cc: this list, for which I apologize to anyone concerned.


  Scott Bennett, Comm. ASMELG, CFIAG
**
* Internet:   bennett at cs.niu.edu  *
**
* "A well regulated and disciplined militia, is at all times a good  *
* objection to the introduction of that bane of all free governments *
* -- a standing army."   *
*-- Gov. John Hancock, New York Journal, 28 January 1790 *
**
___
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 --list-origins" question

2011-12-28 Thread Scott Bennett
 [N.B.  Please reply directly or Cc: me in any replies.  I read -questions
in the digest form, so there can be a delay of a day or more before I see
replies posted only to the list.  Thanks.]
 I was in the process of preparing to upgrade from 7.4 to 8.2 (at last!),
when I encountered a possible problem.  Following the portmaster man page's
suggestion to use portmaster's --list-origins option to produce a list of
installed ports in the form "category-dir/port-name-dir", I got a list that
was much shorter than expected.  I use windowmaker as a window manager and
have quite a few windowmaker-related ports installed.  Only one of those
related ports appeared in the portmaster output, and windowmaker itself was
absent, so I looked at the numbers next.

Script started on Wed Dec 28 22:39:21 2011

[hellas] 101 % nice +20 portmaster --list-origins > /tmp/ports.list
[hellas] 102 % wc -l /tmp/ports.list
 782 /tmp/ports.list
[hellas] 103 % ls /var/db/pkg|wc -l
2035
[hellas] 104 % exit
exit

Script done on Wed Dec 28 22:41:27 2011

As you can see above, 1253 ports, or ~62% of those installed, are missing
from the portmaster output, whereas I had expected that *all* installed
ports would be listed.
 Did I misunderstand something about the --list-origins option?  Or have
I run into a bug?  Any suggestions of how to proceed would be welcome.
 Thanks!


      Scott Bennett, Comm. ASMELG, CFIAG
**
* Internet:   bennett at cs.niu.edu  *
**
* "A well regulated and disciplined militia, is at all times a good  *
* objection to the introduction of that bane of all free governments *
* -- a standing army."   *
*-- Gov. John Hancock, New York Journal, 28 January 1790 *
**
___
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: Revision control advice

2011-12-22 Thread Dale Scott
Absolutely go distributed vcs over centralized. Keeping code always under 
version control, even when local in your sandbox, is extremely powerful. And 
since a distributed vcs can be used as a centralized vcs, there's really no 
technical reason to use a centralized vcs.

- Original Message -
From: William Brown william.e.br...@adelaide.edu.au

> I would advise staying away from mercurial (aka hg). It has a 
> lot of issues with corruption of repositories. Git does the same 
> and is a lot more mature and stable. 

Do you have any references re Mercurial repo corruption?

I originally started using Mercurial a couple years ago because NetBeans had 
built-in support, but the command set is consistent and uniform, Bryan 
O'Sullivan's Definitive Guide is excellent, and TortoiseHg/HgWorkbench work 
flawlessly on Windows (I use the command line or the Natilus plugin when not on 
Windows). No argument that git has the mindshare, although arguably due more to 
github than git itself. Googling will show there are major projects using 
Mercurial as well.

Dale

- 
Transparency with Trust 
http://www.dalescott.net 
___
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: Webmail for local system mail

2011-11-19 Thread Dale Scott
> sysutils/webmin will work without much configuration.  Some of the other
> more traditional one like squirrelmail will work as well, but some extra
config
> may be required.

Webmin++ (and just plain handy for a whole lot more!)

Dale


___
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: Groupware like OX for FreeBSD?

2011-10-22 Thread Dale Scott
> I'd like to know whether the "power to serve" OS FreeBSD is also capable
of
> hosting a groupware like OX. I want to build a grupware server and found
OX
> really nice. Our lab's administration is using OX.

Googling "open-xchange freebsd" turns up a few circa-2005 tutorials and
quite a bit of discussion. 

Dale

---
Transparency with Trust
http://www.dalescott.net



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


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: 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"


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"


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 "%s&s&&" -pl 
"&-l%s&s&&" -pL "&-L%s&s&&" -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"


new to os

2011-08-18 Thread scott mcclellan
I'm looking to try something different with my machine (or maybe I'm going 
through a midlife crisis).
 
Currently run Wimdows (point and click), and would like to gravitate back to 
DOS (this is a thing of the ancient past for me 30 years - on a TRS-80). I know 
remember extremely little of OS vernacular.
 
Am I biting off more than I can chew, or is there a OS commands for dummies out 
there, or does FreeBSD have such a critter that one can go through.
 
I'll pour through the FAQ and got hrough the online manuals for now. But it all 
seems greek. Can someone point me in a diresction to degreek this stuff for me.
 
Thanks,
 
Scott McClellan
___
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: Usb printers take the same port deterministically?

2011-06-04 Thread Scott Gasch
Thanks, Warren.  Works great, mostly :)

I actually need the "unlpt*" device because of publishing the raw printers.
 Hooking the attach/detach of those device names directly did not work.
 Adding an action to the "ulpt" device does work... but I then ran into the
problem of pulling the number out of the $device variable to figure out what
port just attached.  After some messing around (I tried to match the device
and serial variables) I gave up and just made two entries per printer: one
for ulpt0 and one for ulpt1 (see below).

Just because I'm a pain, how does this work if you have two printers from
the same vendor?  Epson's product code 0x0009, for example, means "high
speed usb 2.0 printer".  So I'm guessing, really, that any epson printer
would match?

Thx,
Scott


Here's the final working version for the archives:

attach 20 {
device-name "ulpt0";
match "vendor" "0x04f9"; # Brother
match "product" "0x0033"; # HL-2140
action "ln -s /dev/$device-name /dev/ulpt-brother";
action "ln -s /dev/unlpt0 /dev/unlpt-brother";
};

attach 20 {
device-name "ulpt1";
match "vendor" "0x04f9"; # Brother
match "product" "0x0033"; # HL-2140
action "ln -s /dev/$device-name /dev/ulpt-brother";
action "ln -s /dev/unlpt1 /dev/unlpt-brother";
};

detach 20 {
device-name "ulpt[0-9]";
match "vendor" "0x04f9"; # Brother
match "product" "0x0033"; # HL-2140
action "rm -f /dev/ulpt-brother";
action "rm -f /dev/unlpt-brother";
};

# ---

attach 20 {
device-name "ulpt0";
match "vendor" "0x04b8"; # Epson
match "product" "0x0007"; # Photostylus R800
action "ln -s /dev/$device-name /dev/ulpt-epson";
action "ln -s /dev/unlpt0 /dev/unlpt-epson";
};

attach 20 {
device-name "ulpt1";
match "vendor" "0x04b8"; # Epson
match "product" "0x0007"; # Photostylus R800
action "ln -s /dev/$device-name /dev/ulpt-epson";
action "ln -s /dev/unlpt1 /dev/unlpt-epson";
};

detach 20 {
   device-name "ulpt[0-9]";
   match "vendor" "0x04b8"; # Epson
   match "product" "0x0007"; # Photostylus R800
   action "rm -f /dev/ulpt-epson";
   action "rm -f /dev/unlpt-epson";
};







On Sat, Jun 4, 2011 at 3:19 PM, Warren Block  wrote:

> On Sat, 4 Jun 2011, Scott Gasch wrote:
>
>  Hi,
>>
>> I have two usb printers on my freebsd machine and I'm using cups.  One of
>> the things I've done is publish a raw (no driver) printer for each of them
>> and use that to share them with other machines in the house that have
>> drivers.
>>
>> My problem is that every once in a while, when I boot up, the order of the
>> printers on the usb ports seems to change.  For example, right now I've
>> got:
>>
>> Jun  4 11:24:34 foo kernel: ulpt0: > 2.00/1.00, addr 2> on uhub1
>> Jun  4 11:24:34 foo kernel: ulpt0: using bi-directional mode
>> Jun  4 11:28:13 foo kernel: ulpt1: > 0/0, rev 2.00/1.00, addr 2> on uhub7
>>
>>
>> But when I lost power the other night the machine came up with them
>> reversed
>> -- the brother on ulpt1 and the epson on ulpt0.
>>
>> As far as I can tell, cups printers.conf ties to a particular port.  So,
>> you
>> can probably see where this is going... when they bind in the wrong order
>> and someone prints I get a ton of crap printed out and waste a ton of
>> paper.
>> How can I make it so that a particular printer binds to a particular usb
>> port deterministically?
>>
>
> devd.conf.  But I don't think there's any control over ulpt.  Instead,
> maybe create links so /dev/ulpt-hl2140 and /dev/ulpt-epson12 are linked to
> the right devices, and use those where static devices are needed.
> Untested...
>
> attach 20 {
>device-name "ulpt[0-9]";
>match "vendor" "0x1234"; # Brother
>match "product" "0x4321"; # HL-2140
>action "ln -s /dev/$device-name /dev/ulpt-hl2140";
> };
>
> detach 20 {
>device-name "ulpt[0-9]";
>match "vendor" "0x1234"; # Brother
>match "product" "0x4321"; # HL-2140
>action "rm /dev/ulpt-hl2140";
> };
>
___
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"


Usb printers take the same port deterministically?

2011-06-04 Thread Scott Gasch
Hi,

I have two usb printers on my freebsd machine and I'm using cups.  One of
the things I've done is publish a raw (no driver) printer for each of them
and use that to share them with other machines in the house that have
drivers.

My problem is that every once in a while, when I boot up, the order of the
printers on the usb ports seems to change.  For example, right now I've got:

Jun  4 11:24:34 foo kernel: ulpt0:  on uhub1
Jun  4 11:24:34 foo kernel: ulpt0: using bi-directional mode
Jun  4 11:28:13 foo kernel: ulpt1:  on uhub7


But when I lost power the other night the machine came up with them reversed
-- the brother on ulpt1 and the epson on ulpt0.

As far as I can tell, cups printers.conf ties to a particular port.  So, you
can probably see where this is going... when they bind in the wrong order
and someone prints I get a ton of crap printed out and waste a ton of paper.
 How can I make it so that a particular printer binds to a particular usb
port deterministically?

Thx,
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: Established method to enable suid scripts?

2011-05-19 Thread Scott Bennett
 On Wed, 11 May 2011 11:59:48 +0200 Jonathan McKeown 
wrote:
>On Wednesday 11 May 2011 04:19:29 Devin Teske wrote:
>>
>> The reason that the suid bit doesn't work on scripts (shell, perl, or
>> otherwise) is because these are essentially text files that are interpreted
>> by their associated interpreter. It is the interpreter itself that must be
>> suid.
>
>I'm pretty sure that's not the case, although I'm open to correction.
>
>The reason the system ignores the suid bit on a script is because of what 
>would happen when it's executed:
>
>1) the script is read from a file called  and the system notices 
>that it needs to be interpreted by another program.
>
>2) that program is launched and told to re-open the file named  and 
>execute its contents with suid privilege.
>
>The problem is a race condition: there's no guarantee that the filename opened 
>by the interpreter in step 2 is the same file the user executed in step 1.

 Yes, that is basically what happened.  It was demonstrated under 4.3BSD
that a small program needed to do very little to gain privileges when run by
a user who had execute access to a suid shell script.  The first time the
kernel looked at it, the kernel also noted the permissions, including the suid
bit.  A small program 1) forks a child that loops, creating a symlink to the
suid script, removing the symlink, creating a new symlink of the same name but
pointing to /bin/sh, removing the symlink again, and repeating, while 2) the
parent loops, trying to run the script via the symlink.  If the attempt
returns, then that means the script actually got run (no security violation).
If the attempt instead returns a prompt,

#

then it means that after the kernel first looked at the file and got the
permission bits, the link was changed to point to /bin/sh, which then got
run with the suid root permission.  (This actually worked for scripts owned
by any uid, so the prompt could be $ with the privileges of whatever non-root
uid owned the script.)  Most people who reported results of trying this at
that time said they had a root shell in less than a second, even on slow
(for that era) machines. 8-<
 This problem was publicly announced but not fixed in 4.3BSD.  The
recommended workaround, instead, was not to have any suid scripts.  I do
not know when the change was made in the kernel to block suid permission
elevation on executable non-binaries (i.e., scripts).


  Scott Bennett, Comm. ASMELG, CFIAG
**
* Internet:   bennett at cs.niu.edu  *
**
* "A well regulated and disciplined militia, is at all times a good  *
* objection to the introduction of that bane of all free governments *
* -- a standing army."   *
*-- Gov. John Hancock, New York Journal, 28 January 1790 *
**
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


How do you "install" utility built using gnu toolchain?

2011-05-12 Thread Dale Scott
It's pretty general question, but is it typically standard procedure for a 
utility building using the GNU tool chain to be able to install itself into 
/usr/local/bin? E.g. "# gmake install" ?? Is there anything a newb can check 
for without having to fully understand the complete build procedure (and not 
destroy my system in the process)?

The mdbtools port is based on the last official release of the project - v0.5 
in 2003. I've compiled the current head of the project from github in a 
personal directory and tests have passed (I'm using a php app with mdb-export 
to copy data from a Jet4 database to MySQL). Now I'd like to put the 
executables in /usr/local/bin for shared access (in place of the utilities 
installed by the mdbtools-0.5 port). The project builds using the GNU tool 
chain without any customizations (using config and gmake). I'd prefer to do 
this properly with a port, but until the project has had an official release 
and I've learned how to create a port, are there any shortcuts? I naively tried 
copying what I thought were the executables, and then discovered they were 
shell scripts that only ran from the build directory. Huh?
 
Could it be as simple as "# gmake install" (and that not be a horribly stupid 
thing to try)?
 
Thanks,
Dale
___
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  wrote:
>>On 8 April 2011 15:22, Scott Ballantyne  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
wrote:

> > "Adam" == Adam Vande More  writes:
>
> Adam> On Sun, Mar 13, 2011 at 11:57 AM, Randal L. Schwartz
> Adam> wrote:
>
> >> http://forums.freebsd.org/showpost.php?p=94557&postcount=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
>  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"


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 wrote:

> 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"


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: 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 wrote:

> On Sun, Feb 27, 2011 at 2:36 PM, Scott Ballantyne wrote:
>
>>
>> ===>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"


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"


[SOLVED] REPOST: Re: help requested in fixing disk label mistake

2011-01-28 Thread Scott Bennett
 I wrote:
> A few days ago, I posted here regarding damage resulting from a typing
>error and, a few minutes later, posted a followup to correct an error in my
>description of the problem.  Thus far I've gotten no responses.  In case the
>lack of response is simply due to the message having gotten lost in the flow,
>I'm reposting it below.  I hope that someone who is more familiar with the
>details of bsdlabels and glabels can help me understand how to correct the
>problem because I'm loath at this point to embark upon an ill-informed trial-
>and-error experimentation program to recover label and file system(s).
>
>   Scott
> repost follows.
> I just wrote:
>> A couple of days ago, I reorganized the internal hard drive of my machine
>>to reclaim space that used to be occupied by another operating system for use
>>with my now exclusively FreeBSD system.  I used a stand-alone partition 
>>manager
>>to edit the slices down to just two slices.  I then attempted to bsdlabel the
>>first slice, but made a bit of a slip.  When I should have typed
>>
>>  bsdlabel -w ad0s1
>>
>>I actually typed
>>
>>  bsdlabel -w da0s1
>>
>>Oops.
>> I went ahead with the work on the internal drive (ad0), and the system
>>is up and running fine.  Now I'd like to try to fix the damage done to the
>>external drive that I relabeled by mistake.  That drive's layout before the
>>damage was done was a single slice, divided into two partitions (da0s1 and
>  ^
>>da0s2), each of which was then glabel'ed.  The moment I rewrote the bsdlabel
> ^
> Yet another pair of mistakes on my part.  Those should have said da0s1d
>and da0s1e.  Sorry for any confusion.
> 
>>for the first slice by mistake, the two partitions' entries in /dev/label
>>vanished, of course.  I checked and discovered that the only external drive
>>for which I had not kept backup copies of the bsdlabel information was that
>>drive. :-(  Fortunately, the full backups of the file systems that I needed
>>to reload onto the internal drive were in the first partition of the external
>>drive in question (used to be s1d, now s1a for the time being), so by mounting
>>/dev/da0s1a I still had full access to the file system containing the backups.
>> My hypothesis is if I can somehow rewrite a correct bsdlabel for the
>>affected slice, that the system will then recognize the glabel metadata for
>>the two partitions immediately, and the /dev/label entries will appear right
>>away like magic.  Unfortunately, without a backup file of the bsdlabel
>>information, I'm unsure how to accomplish that.  Is there some way that I can
>>discover the exact size in sectors of the first partition, so that I could
>>edit the bsdlabel information and redefine it as two partitions of the correct
>>sizes and offsets?  Is there some field in dumpfs(8) output that would give me
>>what I need (allowing, of course, for the fact that the first partition
>>is actually one sector longer than anything dumpfs(8) would know about due to
>>the glabel metadata in the final sector of the partition)?  Or is my 
>>hypothesis
>>stated above actually incorrect, and if so, why/how?
>> PLEASE send any replies to ME DIRECTLY (or at least Cc: me directly)
>>because I receive this list in digest form and am at least a week and a half
>>behind on my reading. :-}  Thanks much in advance for any helpful ideas.

 Well, I didn't get any responses, so I ended up testing what I had
surmised.  First, I edited the bsdlabel for the s1 slice to replace the s1a
partition with s1d and s1e partitions.  I used "dumpfs -m" to see the sector
count that had been used by newfs(8) in creating the file system in the s1d
partition and used that value as the size of the s1d partition and that value
plus the offset of the s1d partition as the offset of the s1e partition.  I
took the size of the s1c partition (i.e., the whole slice) minus the offset
of the s1e partition as the size of the s1e partition.  I rewrote the label
and then checked /dev/label for the missing entries.  No dice.  So I added
1 sector to the size of s1d and the offset of s1e and subtracted 1 sector from
the size of s1e, rewrote the label, and checked again.  Still nothing.
 Guessing that there might well have been some leftover sectors in s1d
when newfs(8) had created the file system there, I began repeating the process
just described.  Eventually, on the fifteenth or sixteenth iteration, voila!
The missing devi

REPOST: Re: help requested in fixing disk label mistake

2011-01-25 Thread Scott Bennett
 A few days ago, I posted here regarding damage resulting from a typing
error and, a few minutes later, posted a followup to correct an error in my
description of the problem.  Thus far I've gotten no responses.  In case the
lack of response is simply due to the message having gotten lost in the flow,
I'm reposting it below.  I hope that someone who is more familiar with the
details of bsdlabels and glabels can help me understand how to correct the
problem because I'm loath at this point to embark upon an ill-informed trial-
and-error experimentation program to recover label and file system(s).

    Scott
 repost follows.
 I just wrote:
> A couple of days ago, I reorganized the internal hard drive of my machine
>to reclaim space that used to be occupied by another operating system for use
>with my now exclusively FreeBSD system.  I used a stand-alone partition manager
>to edit the slices down to just two slices.  I then attempted to bsdlabel the
>first slice, but made a bit of a slip.  When I should have typed
>
>   bsdlabel -w ad0s1
>
>I actually typed
>
>   bsdlabel -w da0s1
>
>Oops.
> I went ahead with the work on the internal drive (ad0), and the system
>is up and running fine.  Now I'd like to try to fix the damage done to the
>external drive that I relabeled by mistake.  That drive's layout before the
>damage was done was a single slice, divided into two partitions (da0s1 and
  ^
>da0s2), each of which was then glabel'ed.  The moment I rewrote the bsdlabel
 ^
 Yet another pair of mistakes on my part.  Those should have said da0s1d
and da0s1e.  Sorry for any confusion.
 
>for the first slice by mistake, the two partitions' entries in /dev/label
>vanished, of course.  I checked and discovered that the only external drive
>for which I had not kept backup copies of the bsdlabel information was that
>drive. :-(  Fortunately, the full backups of the file systems that I needed
>to reload onto the internal drive were in the first partition of the external
>drive in question (used to be s1d, now s1a for the time being), so by mounting
>/dev/da0s1a I still had full access to the file system containing the backups.
> My hypothesis is if I can somehow rewrite a correct bsdlabel for the
>affected slice, that the system will then recognize the glabel metadata for
>the two partitions immediately, and the /dev/label entries will appear right
>away like magic.  Unfortunately, without a backup file of the bsdlabel
>information, I'm unsure how to accomplish that.  Is there some way that I can
>discover the exact size in sectors of the first partition, so that I could
>edit the bsdlabel information and redefine it as two partitions of the correct
>sizes and offsets?  Is there some field in dumpfs(8) output that would give me
>what I need (allowing, of course, for the fact that the first partition
>is actually one sector longer than anything dumpfs(8) would know about due to
>the glabel metadata in the final sector of the partition)?  Or is my hypothesis
>stated above actually incorrect, and if so, why/how?
> PLEASE send any replies to ME DIRECTLY (or at least Cc: me directly)
>because I receive this list in digest form and am at least a week and a half
>behind on my reading. :-}  Thanks much in advance for any helpful ideas.


  Scott Bennett, Comm. ASMELG, CFIAG
**
* Internet:   bennett at cs.niu.edu  *
**
* "A well regulated and disciplined militia, is at all times a good  *
* objection to the introduction of that bane of all free governments *
* -- a standing army."   *
*-- Gov. John Hancock, New York Journal, 28 January 1790 *
**
___
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: help requested in fixing disk label mistake

2011-01-22 Thread Scott Bennett
 I just wrote:
> A couple of days ago, I reorganized the internal hard drive of my machine
>to reclaim space that used to be occupied by another operating system for use
>with my now exclusively FreeBSD system.  I used a stand-alone partition manager
>to edit the slices down to just two slices.  I then attempted to bsdlabel the
>first slice, but made a bit of a slip.  When I should have typed
>
>   bsdlabel -w ad0s1
>
>I actually typed
>
>   bsdlabel -w da0s1
>
>Oops.
> I went ahead with the work on the internal drive (ad0), and the system
>is up and running fine.  Now I'd like to try to fix the damage done to the
>external drive that I relabeled by mistake.  That drive's layout before the
>damage was done was a single slice, divided into two partitions (da0s1 and
  ^
>da0s2), each of which was then glabel'ed.  The moment I rewrote the bsdlabel
 ^
 Yet another pair of mistakes on my part.  Those should have said da0s1d
and da0s1e.  Sorry for any confusion.
 
>for the first slice by mistake, the two partitions' entries in /dev/label
>vanished, of course.  I checked and discovered that the only external drive
>for which I had not kept backup copies of the bsdlabel information was that
>drive. :-(  Fortunately, the full backups of the file systems that I needed
>to reload onto the internal drive were in the first partition of the external
>drive in question (used to be s1d, now s1a for the time being), so by mounting
>/dev/da0s1a I still had full access to the file system containing the backups.
> My hypothesis is if I can somehow rewrite a correct bsdlabel for the
>affected slice, that the system will then recognize the glabel metadata for
>the two partitions immediately, and the /dev/label entries will appear right
>away like magic.  Unfortunately, without a backup file of the bsdlabel
>information, I'm unsure how to accomplish that.  Is there some way that I can
>discover the exact size in sectors of the first partition, so that I could
>edit the bsdlabel information and redefine it as two partitions of the correct
>sizes and offsets?  Is there some field in dumpfs(8) output that would give me
>what I need (allowing, of course, for the fact that the first partition
>is actually one sector longer than anything dumpfs(8) would know about due to
>the glabel metadata in the final sector of the partition)?  Or is my hypothesis
>stated above actually incorrect, and if so, why/how?
> PLEASE send any replies to ME DIRECTLY (or at least Cc: me directly)
>because I receive this list in digest form and am at least a week and a half
>behind on my reading. :-}  Thanks much in advance for any helpful ideas.


  Scott Bennett, Comm. ASMELG, CFIAG
**
* Internet:   bennett at cs.niu.edu  *
**
* "A well regulated and disciplined militia, is at all times a good  *
* objection to the introduction of that bane of all free governments *
* -- a standing army."   *
*-- Gov. John Hancock, New York Journal, 28 January 1790 *
**
___
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"


help requested in fixing disk label mistake

2011-01-22 Thread Scott Bennett
 A couple of days ago, I reorganized the internal hard drive of my machine
to reclaim space that used to be occupied by another operating system for use
with my now exclusively FreeBSD system.  I used a stand-alone partition manager
to edit the slices down to just two slices.  I then attempted to bsdlabel the
first slice, but made a bit of a slip.  When I should have typed

bsdlabel -w ad0s1

I actually typed

bsdlabel -w da0s1

Oops.
 I went ahead with the work on the internal drive (ad0), and the system
is up and running fine.  Now I'd like to try to fix the damage done to the
external drive that I relabeled by mistake.  That drive's layout before the
damage was done was a single slice, divided into two partitions (da0s1 and
da0s2), each of which was then glabel'ed.  The moment I rewrote the bsdlabel
for the first slice by mistake, the two partitions' entries in /dev/label
vanished, of course.  I checked and discovered that the only external drive
for which I had not kept backup copies of the bsdlabel information was that
drive. :-(  Fortunately, the full backups of the file systems that I needed
to reload onto the internal drive were in the first partition of the external
drive in question (used to be s1d, now s1a for the time being), so by mounting
/dev/da0s1a I still had full access to the file system containing the backups.
 My hypothesis is if I can somehow rewrite a correct bsdlabel for the
affected slice, that the system will then recognize the glabel metadata for
the two partitions immediately, and the /dev/label entries will appear right
away like magic.  Unfortunately, without a backup file of the bsdlabel
information, I'm unsure how to accomplish that.  Is there some way that I can
discover the exact size in sectors of the first partition, so that I could
edit the bsdlabel information and redefine it as two partitions of the correct
sizes and offsets?  Is there some field in dumpfs(8) output that would give me
what I need (allowing, of course, for the fact that the first partition
is actually one sector longer than anything dumpfs(8) would know about due to
the glabel metadata in the final sector of the partition)?  Or is my hypothesis
stated above actually incorrect, and if so, why/how?
 PLEASE send any replies to ME DIRECTLY (or at least Cc: me directly)
because I receive this list in digest form and am at least a week and a half
behind on my reading. :-}  Thanks much in advance for any helpful ideas.


  Scott Bennett, Comm. ASMELG, CFIAG
**
* Internet:   bennett at cs.niu.edu  *
**
* "A well regulated and disciplined militia, is at all times a good  *
* objection to the introduction of that bane of all free governments *
* -- a standing army."   *
*-- Gov. John Hancock, New York Journal, 28 January 1790 *
**
___
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: Shopping cart other than OSCommerce?

2010-12-07 Thread Dale Scott
> As for PHP and security, well, when someone ends up getting married to
> three abusive drunks in a row, there is more going on with that then
random
> chance or even bad luck.

I'll interpret that as saying a large percentage of the PHP apps vying for
your attention are crap, but buyer beware. Just be careful, have a healthy
level of scepticism, and keep your eyes open. I'm amazed at the ease with
which a good looking web app can be created, and with complete and total
disregard for the most basic software development best practices. However,
that doesn't mean all apps are crap, just like there are still guys & gals
out there worth tying your life to.

In my experience (which is probably more than some, but certainly not much
compared to some others), MediaWiki, MantisBT, Moodle, and Drupal are
mature, reliable and generally secure PHP-based applications. They have good
documentation, active communities, and are honest and prompt with security
advisories (and also pretty prompt with security updates). I'm sure there
must be others (e.g., I don't know anything about Facebook other than it's
PHP-based, but I'm sure we'd hear about it being hacked on a regular basis
if it was).

Dale

___
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: LSI 9211 driver

2010-11-15 Thread Scott Long
A driver called "mps" exists in FreeBSD 9-CURRENT.  We're working to move it to 
FreeBSD 8 in time for the 8.2 release.

Scott

On Nov 15, 2010, at 10:03 AM, Gergely CZUCZY (by way of Gergely CZUCZY 
) wrote:

> Hello,
> 
> I'd like to ask when can we expect a driver for the LSI 9211 hardware?
> That is, the following device:
> non...@pci0:4:0:0:  class=0x010700 card=0x30501000 chip=0x00721000
> rev=0x02 hdr=0x00 vendor = 'LSI Logic (Was: Symbios Logic, NCR)'
>class  = mass storage
>subclass   = SAS
> 
> 
> I've tried to add the cardID to the mfi(4) and mpt(4) drivers, but the
> most I could get, is a failed initalization.
> 
> If any devs supposed to add properly the device to any of the drivers,
> I should be able to arrange access to this device for the time of the
> development.
> 
> Please be so kind to reply to any known developers of these drivers, if
> they might not read these mailing lists, in order to get a working
> driver for this card (been seen google hits on many missing the support
> for this driver).
> 
> Drivers for linux and solars are availabe on LSI.com, but not for fbsd.
> 
> Thank you very much in advance.
> 
> Best regards,
> Gergely
> 
> -- 
> Sincerely,
> Gergely CZUCZY
> Harmless Digital Bt
> 
> +36-30-9702963

___
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"


Server hardware

2010-10-29 Thread Scott Sipe
Hello,

I'm getting ready to buy a new server system (running FreeBSD of course) for
a small business. I have always before bought off-the-shelf parts and built
my own, but am thinking of getting a packaged system this time. I want
something fairly horsey. Xeon(s), 8-16gb ram, several terabytes storage,
etc. The system will run at least one VM (virtualbox) at all times, and I've
been thinking about using an SSD for the system drive and database storage,
and a RAID for the rest.

My question -- are any server vendors well recommended for FreeBSD? I've
looked at some seemingly decently priced Dells/HPs, but would appreciate any
advice. Seems there are at times some hardware issues with some Dell
controllers.

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: 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"


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"


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:  (play/rec) default
pcm1:  (play)
pcm2:  (play)
pcm3:  (play)
pcm4:  (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: Cache Memory in top command

2010-10-07 Thread Scott Bennett
 On Wed, 29 Sep 2010 12:42:30 +0100 Bruce Cran 
wrote:
>On Wed, 29 Sep 2010 08:57:09 +0200
>Bas Smeelen  wrote:
>
>>  *Cache:* number of clean pages caching data that are available for
>> immediate reallocation
>> http://www.freebsd.org/cgi/man.cgi?query=top&sektion=1
>> <http://www.freebsd.org/cgi/man.cgi?query=top&sektion=1>
>
>I believe the "Cache" value is almost totally unrelated to the
>amount of memory used for caching: FreeBSD has a unified buffer cache
>so any memory is available for use as cache. Unlike Linux, you can't
>look at the line in 'top' to see how much memory is being used for
>buffers and cache.
>
>You can find more information about the VM architecture at
>http://www.freebsd.org/doc/en/books/arch-handbook/vm.html .
>
 The top(1) man page is clearly in error, at least on FreeBSD systems.
The descriptions of the Active, Inact, Wired, Cache, Buf, and Free fields
are all wrong inasmuch as the word "pages" in each should instead be "bytes".
For example, top on my system at present shows:

Mem: 1099M Active, 401M Inact, 262M Wired, 88M Cache, 112M Buf, 143M Free

Consider the value given for "Wired" (i.e., page-fixed pages, which cannot
exceed the number of page frames on the machine, of course.) Now, either
"M" has some extraordinary definition, or it means "mega", though presumably
in the classical computing sense of the power of 2 that is closest to one
million.  My machine has 2 GB of RAM, so it is quite clearly an error to say
that there are 262 megapages (even assuming base pages (4 KB/page on i386
and amd64) and not superpages) on this machine.  Note that 262 megapages
would be 4096 bytes/page * 262 * 1024 * 1024 pages) or 1048 GB, which I
suspect is rather more than FreeBSD kernels currently support, especially
in i386, which is what my system is running.


  Scott Bennett, Comm. ASMELG, CFIAG
**
* Internet:   bennett at cs.niu.edu  *
**
* "A well regulated and disciplined militia, is at all times a good  *
* objection to the introduction of that bane of all free governments *
* -- a standing army."   *
*-- Gov. John Hancock, New York Journal, 28 January 1790 *
**
___
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: 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"


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)"
ModelName"W2253"
#   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"
Monitor"Monitor0"
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: RE: ZFS woes

2010-08-10 Thread Dale Scott
>> wiped out the firt mb; i used sysinstall to create a fbsd slice; wiped
>> it out again; booted knoppix to create an EFI / GPT; booted into
>> opensolaris and created a zpool (v14), but nothing, nothing 
>> did the trick.

I was doing a vanilla fbsd install recently using a couple re-claimed 250GB IDE 
drives. The install completed without errors, but after reboot GEOM complained 
bitterly about the secondary GPT table on the boot drive being corrupted or 
invalid, and unrecoverable corrupted or invalid GPT tables on the 2nd drive. By 
trying something like above, I was able to get the system drive to rebuild the 
secondary GPT table, but nothing worked on the second drive. Google told me a 
targeted approach was technically possible (by calculating exactly where a 
specific drive stores its GPT metadata and zeroing just that bit), but also 
that the broader solution of zeroing out the entire drive would be faster for 
me than figuring out the calculation (about 18 hrs to zero the entire drive, at 
least it was mostly while sleeping): "dd if=/dev/zero of=/dev/ad3 bs=64K" (no 
idea if the block size is optimal or even relevant).

Dale 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: looking for a buildable version of OpenOffice.org

2010-08-09 Thread Scott Bennett
 On Thu, 05 Aug 2010 12:25:58 +0100 Chris Whitehouse 
wrote:
>Scott Bennett wrote:
>>  On Wed, 04 Aug 2010 05:27:49 -0400 Michael Powell 
>> 
>> wrote:
>>> Scott Bennett wrote:
>>>
>>>>  I have tried all of the versions of OpenOffice.org that are currently
>>>> in the ports tree on a 7.3-STABLE system, and all of them fail to build to
>>>> completion.  Is there somewhere that I can find one that actually works?
>>>> Or at least some alternative package that will build and work on a FreeBSD
>>>> 7.3-STABLE system?  No packages appear to be available for these ports.
>>>> (Transcripts of the failed builds are available on request.)
>>>>  And what would be available if I were to upgrade my system to
>>>>  8.1-STABLE? Thanks in advance for any help!
>>>>
>>> Might try pre-built packages and see if they might work for you. No 
>> 
>>  As I noted previously, there do not appear to be any packages available
>> for 7.3, or at least portmaster doesn't find any.
>
>You could try asking here:
>http://freebsd-custom.wikidot.com/ or check the downloads-page
>
 Thanks much for that information.  I will do that.


  Scott Bennett, Comm. ASMELG, CFIAG
**
* Internet:   bennett at cs.niu.edu  *
**
* "A well regulated and disciplined militia, is at all times a good  *
* objection to the introduction of that bane of all free governments *
* -- a standing army."   *
*-- Gov. John Hancock, New York Journal, 28 January 1790 *
**
___
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: looking for a buildable version of OpenOffice.org

2010-08-09 Thread Scott Bennett
 On Thu, 05 Aug 2010 00:36:32 -0700 per...@pluto.rain.com wrote:
>Scott Bennett  wrote:
>
>> No packages appear to be available for these ports.
>
>As of a week or so ago, freebsd.org (and presumably at least some of
>the mirrors) had openoffice.org-2.4.3_2.tbz among the 8.1 packages.
>I didn't check any other releases.
>
 Thank you very much for your reply, and my apologies for the delayed
response here.  I was out of town for several days.
 If packages are available for 8.1, I may just have to get around to
doing the 7.3 to 8.1 upgrade a bit sooner than I had intended.


      Scott Bennett, Comm. ASMELG, CFIAG
**
* Internet:   bennett at cs.niu.edu  *
**
* "A well regulated and disciplined militia, is at all times a good  *
* objection to the introduction of that bane of all free governments *
* -- a standing army."   *
*-- Gov. John Hancock, New York Journal, 28 January 1790 *
**
___
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: looking for a buildable version of OpenOffice.org

2010-08-04 Thread Scott Bennett
 On Wed, 4 Aug 2010 09:59:52 -0400 Jerry McAllister 
wrote:
>On Wed, Aug 04, 2010 at 02:00:00AM -0500, Scott Bennett wrote:
>
>>  I have tried all of the versions of OpenOffice.org that are currently
>> in the ports tree on a 7.3-STABLE system, and all of them fail to build to
>> completion.  Is there somewhere that I can find one that actually works?
>> Or at least some alternative package that will build and work on a FreeBSD
>> 7.3-STABLE system?  No packages appear to be available for these ports.
>> (Transcripts of the failed builds are available on request.)
>>  And what would be available if I were to upgrade my system to 
>> 8.1-STABLE?
>>  Thanks in advance for any help!
>
>You didn't give any information on what the failures were.
>
 True enough.  That's because I wasn't really looking for help in fixing
the broken ports, but rather for an OOo port that is *not* broken.
 However, here are some abbreviated descriptions of the build failures in
case someone cares to pursue them or sees some obvious fix to apply.  Blank
lines have been deleted from the output excerpts below in order to shorten this
message.

editors/openoffice.org-2:

===>>> All dependencies are up to date
===>  Cleaning for openoffice.org-2.4.3_2
===>  openoffice.org-2.4.3_2 has known vulnerabilities:
=> openoffice.org -- multiple vulnerabilities.
   Reference: 
<http://portaudit.FreeBSD.org/c97d7a37-2233-11df-96dd-001b2134ef46.html>
=> Please update your ports tree and try again.
*** Error code 1
Stop in /usr/ports/editors/openoffice.org-2.
===>>> make failed for editors/openoffice.org-2
===>>> Aborting update

[N.B.  the ports tree was very much up to date at the time.  SB]


editors/openoffice.org-3-RC:

Entering 
/backups/w/misc/work/usr/ports/editors/openoffice.org-3-RC/work/OOO330_m1/drawinglayer/source/texture
Entering 
/backups/w/misc/work/usr/ports/editors/openoffice.org-3-RC/work/OOO330_m1/drawinglayer/source/primitive3d
Entering 
/backups/w/misc/work/usr/ports/editors/openoffice.org-3-RC/work/OOO330_m1/slideshow/util
slideshow deliver
Entering 
/backups/w/misc/work/usr/ports/editors/openoffice.org-3-RC/work/OOO330_m1/drawinglayer/util
drawinglayer deliver
1 module(s):
nss
need(s) to be rebuilt
Reason(s):
ERROR: error 65280 occurred while making 
/backups/w/misc/work/usr/ports/editors/openoffice.org-3-RC/work/OOO330_m1/nss
Attention: if you fix the errors in above module(s) you may prolongue your the 
build issuing command:
build --all:nss
*** Error code 1
Stop in /usr/ports/editors/openoffice.org-3-RC.
===>>> make failed for editors/openoffice.org-3-RC
===>>> Aborting update


editors/openoffice.org-3-devel:

Entering 
/backups/w/misc/work/usr/ports/editors/openoffice.org-3-devel/work/DEV300_m85/drawinglayer/source/texture
Entering 
/backups/w/misc/work/usr/ports/editors/openoffice.org-3-devel/work/DEV300_m85/drawinglayer/source/geometry
Entering 
/backups/w/misc/work/usr/ports/editors/openoffice.org-3-devel/work/DEV300_m85/slideshow/util
Entering 
/backups/w/misc/work/usr/ports/editors/openoffice.org-3-devel/work/DEV300_m85/drawinglayer/util
drawinglayer deliver
slideshow deliver
1 module(s):
nss
need(s) to be rebuilt
Reason(s):
ERROR: error 65280 occurred while making 
/backups/w/misc/work/usr/ports/editors/openoffice.org-3-devel/work/DEV300_m85/nss
Attention: if you fix the errors in above module(s) you may prolongue your the 
build issuing command:
build --all:nss
*** Error code 1
Stop in /usr/ports/editors/openoffice.org-3-devel.
===>>> make failed for editors/openoffice.org-3-devel
===>>> Aborting update


editors/openoffice.org-3:

Checking DLL ../unxfbsdi.pro/lib/check_slideshow.uno.so ...-rwxr-xr-x  1 root  
wheel  6559304 Jul 31 04:03 ../unxfbsdi.pro/lib/slideshow.uno.so
-
SHL2FILTERFILE not set!
-
dummy file to keep the dependencies for later use.
--
Making: ../unxfbsdi.pro/lib/libslideshowtestfi.so

[A line link-editing something called
../unxfbsdi.pro/lib/libslideshowtestfi.so
was too long for vi here, so I've omitted it.  SB]

rm -f ../unxfbsdi.pro/lib/check_libslideshowtestfi.so
mv ../unxfbsdi.pro/lib/libslideshowtestfi.so 
../unxfbsdi.pro/lib/check_libslideshowtestfi.so
/backups/w/misc/work/usr/ports/editors/openoffice.org-3/work/OOO320_m19/solenv/bin/checkdll.sh
 -L../unxfbsdi.pro/lib 
-L/backups/w/misc/work/usr/ports/editors/openoffice.org-3/work/OOO320_m19/solver/320/unxfbsdi.pro/lib
  ../unxfbsdi.pro/lib/check_libslideshowtestfi.so
Checking DLL ../unxfbsdi.pro/lib/check_libslideshowtestfi.so ...-rwxr-xr-x  1 
root  wheel  6963499 Jul 31 04:03 ../unxfbsdi.pro/lib/libslideshowtestfi.so
-
Running processes: 0
Name "main::name" used only once: possible typo at 
/backups/w/mis

Re: looking for a buildable version of OpenOffice.org

2010-08-04 Thread Scott Bennett
 On Wed, 04 Aug 2010 05:27:49 -0400 Michael Powell 
wrote:
>Scott Bennett wrote:
>
>>  I have tried all of the versions of OpenOffice.org that are currently
>> in the ports tree on a 7.3-STABLE system, and all of them fail to build to
>> completion.  Is there somewhere that I can find one that actually works?
>> Or at least some alternative package that will build and work on a FreeBSD
>> 7.3-STABLE system?  No packages appear to be available for these ports.
>> (Transcripts of the failed builds are available on request.)
>>  And what would be available if I were to upgrade my system to
>>  8.1-STABLE? Thanks in advance for any help!
>> 
>
>Might try pre-built packages and see if they might work for you. No 

 As I noted previously, there do not appear to be any packages available
for 7.3, or at least portmaster doesn't find any.

>guarantee they will. Notice there are two directories at the bottom for 8, 
>so probably the rest are for 7.x. Haven't used these in a while so YMMV. 
>Might also be tricky picking out the right file(s) from the clutter. The 
>main app will be about ~147-150MB with a second language pack that is small.
>
>Don't know exactly how much the newer versions depend on Java. Used to be a 
>lot of the filters were java based and once upon a time some time back I 
>remember this being a source of some 'uh ohs'.
>
>ftp://ooopackages.good-day.net/pub/OpenOffice.org/FreeBSD/
>
 That is the site that appears in the Makefiles, but again, portmaster
with -P or -PP fails to find any packages for these ports for 7.3.  If you
know of some other site that does have OpenOffice.org packages available,
that would be wonderful.  I seem to recall dimly some discussion on FreeBSD
lists around the time of 7.3-RELEASE to the effect that there were no OOo
packages for that release, though I don't remember the reason(s) why no
packages had been produced.


  Scott Bennett, Comm. ASMELG, CFIAG
**
* Internet:   bennett at cs.niu.edu  *
**
* "A well regulated and disciplined militia, is at all times a good  *
* objection to the introduction of that bane of all free governments *
* -- a standing army."   *
*-- Gov. John Hancock, New York Journal, 28 January 1790 *
**
___
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"


looking for a buildable version of OpenOffice.org

2010-08-04 Thread Scott Bennett
 I have tried all of the versions of OpenOffice.org that are currently
in the ports tree on a 7.3-STABLE system, and all of them fail to build to
completion.  Is there somewhere that I can find one that actually works?
Or at least some alternative package that will build and work on a FreeBSD
7.3-STABLE system?  No packages appear to be available for these ports.
(Transcripts of the failed builds are available on request.)
 And what would be available if I were to upgrade my system to 8.1-STABLE?
 Thanks in advance for any help!


  Scott Bennett, Comm. ASMELG, CFIAG
**
* Internet:   bennett at cs.niu.edu  *
**
* "A well regulated and disciplined militia, is at all times a good  *
* objection to the introduction of that bane of all free governments *
* -- a standing army."   *
*-- Gov. John Hancock, New York Journal, 28 January 1790 *
**
___
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: BSD logo (a moderate opinion)

2010-07-28 Thread Dale Scott
Personally, I enjoy our mascot Beastie, as well as the Beastie-influenced 
official logo. I also smile when I see Casper, Wendy andHotStuff.
 However, I also accept there are individuals who understand these symbols 
differently than me, and that I may be alienating them to my 
detriment.  It seems consumer products need to be mindful of cultural 
differences, is FreeBSD different? A larger community and increased OS market 
share wouldn't be all that bad, would it?

I hope that those of you who believe in FreeBSD but with a personal conflict 
with the mascot or logo,
 band together and propose a complementary alternate symbol. I don't 
mean flooding the mail list (it's obvious we can do that on our own), 
I'm talking about difficult time-consuming organization, lobbying, and 
support gathering. For me, I hope Beastie endures forever - he our first and 
legacy mascot - but I also wouldn't object to one or two more officially 
sanctioned mascots and logos either. 

Dale Scott

- Original Message -
From: David Brodbeck 
Date: Wednesday, July 28, 2010 11:25
Subject: Re: BSD logo
To: freebsd-questions@freebsd.org

> On Tue, July 27, 2010 3:09 pm, Chip Camden wrote:
> > Quoth Paul Schmehl on Tuesday, 27 July 2010:
> >> --On Tuesday, July 27, 2010 15:49:47 -0500 Reid Linnemann
> >>  wrote:
> >>
> >> >On final analysis, I think the OP should abandon any desire for
> >> >FreeBSD in favor of this: http://pudge.net/jesux/
> >>
> >> Sheesh.  Now I really have seen everything.
> >
> > Not quite.  Someone needs to come out with an OS named 
> Atheix, and
> > another called Agnostix.  Then we'll be complete.
> 
> I tried Agnostix, but it's impossible to get support; every bug report
> gets closed with a status of "not enough information."
> 
> 
> ___
> 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"

==
Dale Scott, P.Eng.
e-mail: dalesc...@shaw.ca
http://dalescott.shawwebspace.ca


___
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: PDF storage software recommendations?

2010-06-17 Thread Dale Scott
> I'm certain that we have something in ports that will do this, but
> danged if I can find a good candidate.  While I'm sure I 
> could build a
> database/PHP app that would work, surely someone's already done this?
> Any recommendations?

I'm experimenting with OpenDocMan (PHP/MySQL, http://www.opendocman.com/) for 
storing ad hoc documents associated with part numbers in a WebERP system 
(http://www.weberp.org). system. OpenDocMan has been around for a while and 
didn't see a lot of activity after release, but seems to be pretty active 
again. We added a menu item in the WebERP ItemMaster page for a user to submit 
an associated document, which is just a link to the submit document page in 
OpenDocMan (also added a "Search for Associated Documents" menu item which is a 
link to a search in OpenDocMan for documents associated with that part number). 
If there are multiple documents associated with part number, the user would 
have to zip the documents and then check-in the zip archive. This concept can 
be applied to other documents, such as a received purchase order which is then 
associated with a new internal sales order and production order.

I'm also investigating using Mercurial and the Windows TortoiseHg client (or a 
simplfied custom "management-and-incoming-inspection-clerk" friendly client) to 
check-in an arbitrary directory structure. Users could create a local directory 
on their Windows box for mini-project work (e.g., datasheets for a 
commercial-off-the-shelf part, Word doc and graphics for a user manual, sales 
analysis spreadsheet and PowerPoint presentation, custom part drawings and work 
instruction, etc.), and when they're finished, "check-in" the directory. I 
think the folder check-in might be a simpler concept for casual users, but need 
to finish the strawman and get some critique.

Dale

==
Dale Scott, P.Eng.
e-mail: dalesc...@shaw.ca
http://dalescott.shawwebspace.ca


___
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: RESOLVED: Problem upgrading ports - libintl.so.8 not found

2010-06-16 Thread Scott Schappell
I found a more elegant way of doing this, thanks to google on my 7.3 system.  I 
added:

ldconfig_paths="/usr/lib/compat /usr/X11R6/lib /usr/local/lib 
/usr/local/lib/compat/pkg"

to rc.conf and rebooted (I couldn't shutdown to single user then exit as I 
don't have physical access at the moment).

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: SATA time outs

2010-06-15 Thread Casey Scott
 
> After a reread when it finally stuck that this started with an upgrade
> to 8, 
> I like Mathew's suggestion to use a 7.x LiveCD (and possibly a -Stable
> 
> snapshot as well) to see if it is a 7.x vs 8.x problem. Even so, there
> still 
> might be a possibility that firmware in the drive tickled something in
> 8.x 
> that it didn't hit under 7.x. 

Same issue occurs under 7.2. I guess I ran this hardware into the ground.
:-).  Thanks for the help everyone that replied. 


Casey
___
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 ports - libintl.so.8 not found

2010-06-15 Thread Scott Schappell

On Jun 15, 2010, at 3:43 PM, Eitan Adler wrote:

> 20100530:
>  AFFECTS: users of devel/gettext (i.e.: YOU)
>  AUTHOR: a...@freebsd.org

I did do the make clean, make deinstall and make instal clean and it was still 
throwing that error.   The only way I got the gnupg and ghostscript8-nox11 
ports to update was by copying the .8 libraries over from a backup. 
___
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"


RESOLVED: Problem upgrading ports - libintl.so.8 not found

2010-06-15 Thread Scott Schappell
On Jun 15, 2010, at 3:26 PM, Scott Schappell wrote:

> I'm trying to upgrade ports and they keep choking. In particular gpg is one 
> of them:
> 
> echo '#!/bin/sh' >./gpg_dearmor
> echo "../../g10/gpg2 --no-options --no-greeting \
> --no-secmem-warning --batch --dearmor" >>./gpg_dearmor
> chmod 755 ./gpg_dearmor
> ./gpg_dearmor > ./pubring.gpg < ./pubring.asc
> /libexec/ld-elf.so.1: Shared object "libintl.so.8" not found, required by 
> "libgcrypt.so.16"
> gmake[3]: *** [pubring.gpg] Error 1
> gmake[3]: Leaving directory 
> `/usr/ports/security/gnupg/work/gnupg-2.0.14/tests/openpgp'
> gmake[2]: *** [all-recursive] Error 1
> gmake[2]: Leaving directory 
> `/usr/ports/security/gnupg/work/gnupg-2.0.14/tests'
> gmake[1]: *** [all-recursive] Error 1
> gmake[1]: Leaving directory `/usr/ports/security/gnupg/work/gnupg-2.0.14'
> gmake: *** [all] Error 2
> *** Error code 1
> 
> Stop in /usr/ports/security/gnupg.
> *** Error code 1
> 
> Stop in /usr/ports/security/gnupg.
> 
> Another one this happened to was ghostscript8-nox11
> 
> What do I need to do to fix this problem?
> 
> Thanks!

After digging through /usr/ports/UPDATING, I copied all .so.8 and .so.16 
libraries to /usr/local/lib and /usr/local/lib/compat/pkg and those ports are 
now compiling. I'm assuming that's the approved solution until ports are 
updated?

My apologies for bugging the list, I missed that info the first time I read 
through UPDATING.

At least now this will be archived if someone else has the problem, I suppose.

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 ports - libintl.so.8 not found

2010-06-15 Thread Scott Schappell
I'm trying to upgrade ports and they keep choking. In particular gpg is one of 
them:

echo '#!/bin/sh' >./gpg_dearmor
echo "../../g10/gpg2 --no-options --no-greeting \
 --no-secmem-warning --batch --dearmor" >>./gpg_dearmor
chmod 755 ./gpg_dearmor
./gpg_dearmor > ./pubring.gpg < ./pubring.asc
/libexec/ld-elf.so.1: Shared object "libintl.so.8" not found, required by 
"libgcrypt.so.16"
gmake[3]: *** [pubring.gpg] Error 1
gmake[3]: Leaving directory 
`/usr/ports/security/gnupg/work/gnupg-2.0.14/tests/openpgp'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory `/usr/ports/security/gnupg/work/gnupg-2.0.14/tests'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/ports/security/gnupg/work/gnupg-2.0.14'
gmake: *** [all] Error 2
*** Error code 1

Stop in /usr/ports/security/gnupg.
*** Error code 1

Stop in /usr/ports/security/gnupg.

Another one this happened to was ghostscript8-nox11

What do I need to do to fix this problem?

Thanks!


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


Re: SATA time outs

2010-06-15 Thread Casey Scott
I did try different cables. Just failed to mention that. The LiveCD is 
a great suggestion. I'll try that this evening, and see how everything
 works. 

I considered the hardware being marginal, but was surprised when a 
brand new disk controller also failed. In any case, I'll try the LiveCD
and see what I've got to work with. 

Thanks,
Casey

- "Matthew Seaman"  wrote:

> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
> 
> On 15/06/2010 16:06:36, Casey Scott wrote:
> > I'd appreciate it if someone could lend some assistance with this
> > issue. The machine in question is pretty much unusable atm!
> 
> You've tried swapping out the drives and the disk controllers, but
> have
> you tried swapping out the SATA cables?  I say this, because I
> personally once spent about two weeks trying to debug a weird problem
> that turned out to be due to a broken conductor in some ethernet
> cable.
> Talk about egg-on-face.
> 
> When doing diagnosis by swapping out components, always start with
> the
> cheapest components and work up to the most expensive.
> 
> Now, component failure is certainly a possibility given that you say
> the
> kit is some years old.  That can be a side effect of upgrading to a
> new
> release -- if you're doing a lot of extra compiling and stuff the
> extra
> load can tip marginal hardware over the edge -- but it is a also
> possibility that there is some sort of introduced bug with the new
> system.
> 
> To confirm this, you'll need to boot back into an older version of
> the
> system and show that all your hardware comes back to life.  Rather
> than
> blowing away all your upgrading work, try using a livecd -- you can
> fsck
> and mount 8.0 UFS filesystems from a 7.x livecd no problem, but be
> careful with ZFS, as there may have been some on-disk format changes
> that aren't backwards compatible.  You might want to grab an 8-STABLE
> snapshot .iso as well: if that works, then you can be fairly certain
> the
> problem will be fixed in 8.1-RELEASE  (although there has definitely
> been a zpool version bump between 8.0-RELEASE and 8.1-RELEASE).
> 
>   Cheers,
> 
>   Matthew
> 
> - -- 
> Dr Matthew J Seaman MA, D.Phil.   7 Priory Courtyard
>   Flat 3
> PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
> JID: matt...@infracaninophile.co.uk   Kent, CT11 9PW
> -BEGIN PGP SIGNATURE-
> Version: GnuPG/MacGPG2 v2.0.14 (Darwin)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
> 
> iEYEARECAAYFAkwXn2IACgkQ8Mjk52CukIxYxQCgi693uu68KKuY1Hg8ScwkP8kV
> wsYAoIm9g14MHpsktg9cXIXzC5ZVANpg
> =hvho
> -END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


  1   2   3   4   5   6   7   8   9   10   >