pid 916 (tcsh): sigreturn set_fpcontext err 22

2013-05-09 Thread Dennis Glatting
I am seeing this error after a svn update (today) under 9.1 and under
CURRENT. Unfortunately I cannot login (even from the console) to scarf
off dmesg.boot but I found the path to correcting the problem is to boot
the old kernel.

Specifically, with the failed kernel I can boot to single user mode
without a problem but after the system goes multi-user all my commands
core dump with the subject error. In single user mode I simply restore
the old kernel (i.e., mv kernel.old) and all is well.

The following is the dmesg.boot from the failed kernel when booting to
single user mode.

Any clue?





root@rotfl:~ # cat dmesg.boot 
Copyright (c) 1992-2013 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 10.0-CURRENT #0 r250401: Wed May  8 22:21:12 PDT 2013
root@rotfl:/usr/obj/disk-1/src/sys/GENERIC amd64
FreeBSD clang version 3.3 (trunk 178860) 20130405
WARNING: WITNESS option enabled, expect reduced performance.
CPU: AMD Opteron(TM) Processor 6272  (2100.04-MHz
K8-class CPU)
  Origin = AuthenticAMD  Id = 0x600f12  Family = 0x15  Model = 0x1
Stepping = 2

Features=0x178bfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2,HTT

Features2=0x1e98220bSSE3,PCLMULQDQ,MON,SSSE3,CX16,SSE4.1,SSE4.2,POPCNT,AESNI,XSAVE,OSXSAVE,AVX
  AMD Features=0x2e500800SYSCALL,NX,MMX+,FFXSR,Page1GB,RDTSCP,LM
  AMD
Features2=0x1c9bfffLAHF,CMP,SVM,ExtAPIC,CR8,ABM,SSE4A,MAS,Prefetch,OSVW,IBS,XOP,SKINIT,WDT,LWP,FMA4,NodeId,Topology,b23,b24
  TSC: P-state invariant, performance statistics
real memory  = 34359738368 (32768 MB)
avail memory = 31976153088 (30494 MB)
Event timer LAPIC quality 400
ACPI APIC Table: 052412 APIC0723
FreeBSD/SMP: Multiprocessor System Detected: 16 CPUs
FreeBSD/SMP: 1 package(s) x 16 core(s)
 cpu0 (BSP): APIC ID: 32
 cpu1 (AP): APIC ID: 33
 cpu2 (AP): APIC ID: 34
 cpu3 (AP): APIC ID: 35
 cpu4 (AP): APIC ID: 36
 cpu5 (AP): APIC ID: 37
 cpu6 (AP): APIC ID: 38
 cpu7 (AP): APIC ID: 39
 cpu8 (AP): APIC ID: 40
 cpu9 (AP): APIC ID: 41
 cpu10 (AP): APIC ID: 42
 cpu11 (AP): APIC ID: 43
 cpu12 (AP): APIC ID: 44
 cpu13 (AP): APIC ID: 45
 cpu14 (AP): APIC ID: 46
 cpu15 (AP): APIC ID: 47
ioapic0 Version 2.1 irqs 0-23 on motherboard
kbd1 at kbdmux0
acpi0: SMCI  on motherboard
acpi0: Power Button (fixed)
acpi0: reservation of fec0, 1403f00 (3) failed
cpu0: ACPI CPU on acpi0
cpu1: ACPI CPU on acpi0
cpu2: ACPI CPU on acpi0
cpu3: ACPI CPU on acpi0
cpu4: ACPI CPU on acpi0
cpu5: ACPI CPU on acpi0
cpu6: ACPI CPU on acpi0
cpu7: ACPI CPU on acpi0
cpu8: ACPI CPU on acpi0
cpu9: ACPI CPU on acpi0
cpu10: ACPI CPU on acpi0
cpu11: ACPI CPU on acpi0
cpu12: ACPI CPU on acpi0
cpu13: ACPI CPU on acpi0
cpu14: ACPI CPU on acpi0
cpu15: ACPI CPU on acpi0
attimer0: AT timer port 0x40-0x43 irq 0 on acpi0
Timecounter i8254 frequency 1193182 Hz quality 0
Event timer i8254 frequency 1193182 Hz quality 100
atrtc0: AT realtime clock port 0x70-0x71 irq 8 on acpi0
Event timer RTC frequency 32768 Hz quality 0
hpet0: High Precision Event Timer iomem 0xfed0-0xfed003ff on acpi0
Timecounter HPET frequency 14318180 Hz quality 950
Timecounter ACPI-safe frequency 3579545 Hz quality 850
acpi_timer0: 24-bit timer at 3.579545MHz port 0x808-0x80b on acpi0
pcib0: ACPI Host-PCI bridge port 0xcf8-0xcff iomem
0xfed4-0xfed44fff on acpi0
pci0: ACPI PCI bus on pcib0
pcib1: ACPI PCI-PCI bridge irq 18 at device 2.0 on pci0
pci5: ACPI PCI bus on pcib1
mps0: LSI SAS2008 port 0xe000-0xe0ff mem
0xdff3c000-0xdff3,0xdff4-0xdff7 irq 18 at device 0.0 on pci5
mps0: Firmware: 14.00.00.00, Driver: 14.00.00.02-fbsd
mps0: IOCCapabilities:
1285cScsiTaskFull,DiagTrace,SnapBuf,EEDP,TransRetry,EventReplay,HostDisc
pcib2: ACPI PCI-PCI bridge irq 16 at device 4.0 on pci0
pci4: ACPI PCI bus on pcib2
mps1: LSI SAS2008 port 0xd000-0xd0ff mem
0xdfe3c000-0xdfe3,0xdfe4-0xdfe7 irq 16 at device 0.0 on pci4
mps1: Firmware: 14.00.00.00, Driver: 14.00.00.02-fbsd
mps1: IOCCapabilities:
185cScsiTaskFull,DiagTrace,SnapBuf,EEDP,TransRetry,IR
pcib3: ACPI PCI-PCI bridge irq 16 at device 12.0 on pci0
pci3: ACPI PCI bus on pcib3
mps2: LSI SAS2008 port 0xc000-0xc0ff mem
0xdfd3c000-0xdfd3,0xdfd4-0xdfd7 irq 16 at device 0.0 on pci3
mps2: Firmware: 14.00.00.00, Driver: 14.00.00.02-fbsd
mps2: IOCCapabilities:
1285cScsiTaskFull,DiagTrace,SnapBuf,EEDP,TransRetry,EventReplay,HostDisc
pcib4: ACPI PCI-PCI bridge irq 17 at device 13.0 on pci0
pci2: ACPI PCI bus on pcib4
igb0: Intel(R) PRO/1000 Network Connection version - 2.3.10 port
0xb800-0xb81f mem
0xdfce-0xdfcf,0xdfcc-0xdfcd,0xdfc9c000-0xdfc9 irq 17
at device 0.0 on pci2
igb0: Using MSIX interrupts with 9 vectors
igb0: Ethernet address: 00:25:90:78:8b:7e
igb0: Bound queue 0 to cpu 0
igb0: Bound queue 1 to cpu 1
igb0: Bound queue 2 to cpu 2
igb0: Bound queue 3 

Re: Fresh installation 9.1

2013-05-09 Thread hrkesh sahu
 HI All,

I have a FreeBSD 9.1 Release installed with TWO NIC cards. I was trying to
make this FreeBSD machine as a router .
This is my rc.conf

ifconfig_rl0 = inet 192.168.100.101 netmask 255.255.255.0
ifconfig_re0=inet 192.168.200.101 netmask 255.255.255.0

gateway_enable = YES
ifconfig_rl0 = DHCP
ifconfig_re0 = DHCP

defaultrouter = 192.168.100.1
ipv6_activate_all_interfaces = YES
sshd_enable = YES
synchronous_dhclient=YES

Please help me to establish a IPv4 router.
Both the interfaces are connected to to different laptops with a static IP
address.

Laptop 1 = 192.168.100.102  ( connected to interface rl0) gateway  -
192.168.100.1

Laptop 2 = 192.168.200.102 ( connected to interface re0)
ping from Laptop1 - rl0 is successful
but ping from Laptop1 - re0 is not successful.



After this I want to know also How to make this as IPv6 router?

Regards
Hrisikesh

 Regards
 Hrisikesh

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


Are the procedure with portmaster exactly the same when one is using pkgng

2013-05-09 Thread Leslie Jensen


I'm specifically thinking of the directories that has to be emptied or 
deleted.


Thanks

/Leslie



Using portmaster to do a complete reinstallation of all your ports:
   1. portmaster --list-origins  ~/installed-port-list
   2. Update your ports tree
   3. portmaster -ty --clean-distfiles
   4. portmaster --check-port-dbdir
   5. portmaster -Faf
   6. pkg_delete -a
   7. rm -rf /usr/local/lib/compat/pkg
   8. Back up any files in /usr/local you wish to save,
  such as configuration files in /usr/local/etc
   9. Manually check /usr/local and /var/db/pkg
  to make sure that they are really empty
   10. Re-install portmaster
   11. portmaster `cat ~/installed-port-list`

-
___
freebsd-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: xorg-server-1.7.7_6,1 crashes (from ports head)

2013-05-09 Thread Matthias Apitz
El día Wednesday, May 08, 2013 a las 02:58:18PM -0700, Waitman Gobble escribió:

  Please be kind and give me some hints about best options I have:
 
  - Do we have another Xserver in the ports to try?
  - Should I post a bug report in our Gnats?
  - Should I go to the lists.x.org?
  - Any options of the Xorg server to test or to get debug messages of the
crash?
  - Anything else?
 
  I have already ordered a new 2 GByte ddr2 RAM to change the memory, but
  as well it could be the video card or anthing else...
 

 
 What video driver are you using on that machine?

Hi,

The full Xorg.0.log was attached to the original posting in freebsd-x11,
see here for details:

http://lists.freebsd.org/pipermail/freebsd-x11/2013-May/013040.html

The video driver is:

(II) LoadModule: intel
(II) Loading /usr/local/lib/xorg/modules/drivers/intel_drv.so
(II) Module intel: vendor=X.Org Foundation
compiled for 1.7.7, module version = 2.7.1
Module class: X.Org Video Driver
ABI class: X.Org Video Driver, version 6.0
...
(II) intel: Driver for Intel Integrated Graphics Chipsets: i810,
i810-dc100, i810e, i815, i830M, 845G, 852GM/855GM, 865G, 915G,
E7221 (i915), 915GM, 945G, 945GM, 945GME, IGD_GM, IGD_G, 965G,
G35,
965Q, 946GZ, 965GM, 965GME/GLE, G33, Q35, Q33,
Mobile Intel? GM45 Express Chipset,
Intel Integrated Graphics Device, G45/G43, Q45/Q43, G41

Meanwhile I have changed the RAM in the netbook, it does not help
either;

Thanks

matthias
-- 
Matthias Apitz   |  /\ ASCII Ribbon Campaign: www.asciiribbon.org
E-mail: g...@unixarea.de |  \ / - No HTML/RTF in E-mail
WWW: http://www.unixarea.de/ |   X  - No proprietary attachments
phone: +49-170-4527211   |  / \ - Respect for open standards
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Typo in portmaster man page?

2013-05-09 Thread Leslie Jensen


When reading the portmaster man page I just came to wonder if this isn't 
a typo?



[--force-config|-G] [-aftv] -F
 fetch distfiles only



Shouldn't the -F be to the far left?

Thanks

/Leslie


___
freebsd-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: Fresh installation 9.1

2013-05-09 Thread Trond Endrestøl
On Thu, 9 May 2013 12:18+0530, hrkesh sahu wrote:

  HI All,
 
 I have a FreeBSD 9.1 Release installed with TWO NIC cards. I was trying to
 make this FreeBSD machine as a router .
 This is my rc.conf
 
 ifconfig_rl0 = inet 192.168.100.101 netmask 255.255.255.0
 ifconfig_re0=inet 192.168.200.101 netmask 255.255.255.0
 
 gateway_enable = YES
 ifconfig_rl0 = DHCP
 ifconfig_re0 = DHCP
 
 defaultrouter = 192.168.100.1
 ipv6_activate_all_interfaces = YES
 sshd_enable = YES
 synchronous_dhclient=YES
 
 Please help me to establish a IPv4 router.
 Both the interfaces are connected to to different laptops with a static IP
 address.

You should place a # in front of the two lines:

 ifconfig_rl0 = DHCP
 ifconfig_re0 = DHCP

Next, you probably shouldn't place spaces before and after the equal 
signs.

 Laptop 1 = 192.168.100.102  ( connected to interface rl0) gateway  -
 192.168.100.1
 
 Laptop 2 = 192.168.200.102 ( connected to interface re0)
 ping from Laptop1 - rl0 is successful
 but ping from Laptop1 - re0 is not successful.
 
 After this I want to know also How to make this as IPv6 router?

See 
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-ipv6.html.

You probably should create a ULA prefix or two, and assign these to 
your router interfaces. http://www.sixxs.net/tools/grh/ula/ might help 
you.

Something along these lines might help you achieve what you want:

ifconfig_rl0_ipv6=inet6 fd8f:d6d0:e6e7:100::1 prefixlen 64
ifconfig_re0_ipv6=inet6 fd44:13de:a366:200::1 prefixlen 64
ipv6_gateway_enable=YES

Finally you probably should configure and enable Router Advertisement 
and Host Auto Configuration as explained in section 32.11.6 of 
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-ipv6.html.

-- 
+---++
| Vennlig hilsen,   | Best regards,  |
| Trond Endrestøl,  | Trond Endrestøl,   |
| IT-ansvarlig, | System administrator,  |
| Fagskolen Innlandet,  | Gjøvik Technical College, Norway,  |
| tlf. mob.   952 62 567,   | Cellular...: +47 952 62 567,   |
| sentralbord 61 14 54 00.  | Switchboard: +47 61 14 54 00.  |
+---++___
freebsd-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: Typo in portmaster man page?

2013-05-09 Thread Bryan Drewery
On 5/9/2013 3:25 AM, Leslie Jensen wrote:
 
 When reading the portmaster man page I just came to wonder if this isn't
 a typo?
 
 
 [--force-config|-G] [-aftv] -F
  fetch distfiles only
 
 
 
 Shouldn't the -F be to the far left?
 
 Thanks
 
 /Leslie

It seems consistent with how the other feature modes are documented.

(I'm not the original author on portmaster). Personally the manpage
really confuses me. There's been bigger issues to tackle first though so
I have not touched the manpage much.

-- 
Regards,
Bryan Drewery



signature.asc
Description: OpenPGP digital signature


Re: ZFS on MBR does not boot at all

2013-05-09 Thread Giorgos Keramidas
On Sun, 05 May 2013 17:56:49 -0500, Joshua Isom jri...@gmail.com wrote:
 On 5/5/2013 3:20 PM, Giorgos Keramidas wrote:
 Hi David,

 Thanks for following up with what the real problem was.  I updated the
 Wiki to include this:

  Note that partition order is important. It seems that zfsboot
  requires the freebsd-zfs partition to be the first, so make sure you
  add if first, before your swap partition.

 Cheers,
 Giorgos

 What?  I've been using this set up for years.

 =   34  976773101  ada1  GPT  (465G)
  34128 1  freebsd-boot  (64k)
 1628388608 2  freebsd-swap  (4.0G)
 8388770  968384365 3  freebsd-zfs  (461G)

 =   34  976773101  ada2  GPT  (465G)
  34128 1  freebsd-boot  (64k)
 1628388608 2  freebsd-swap  (4.0G)
 8388770  968384365 3  freebsd-zfs  (461G)

That's ok for GPT partitions.  The original post was about an MBR
partition table.

Some modern laptops (mine is one) do not boot successfully from a disk
with a GPT partition scheme, unless the boot loader is EFI-capable
(which ours isn't).  So you have to use an MBR-style partition table.

In those cases the note is still useful to see.


___
freebsd-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: Typo in portmaster man page?

2013-05-09 Thread Jerry
On Thu, 09 May 2013 06:06:42 -0500
Bryan Drewery articulated:

 (I'm not the original author on portmaster). Personally the manpage
 really confuses me. There's been bigger issues to tackle first though
 so I have not touched the manpage much.

You do realize that the man in manpage is an acronym for, Much
About Nothing.

-- 
Jerry ♔

Disclaimer: off-list followups get on-list replies or get ignored.
Please do not ignore the Reply-To header.
__

___
freebsd-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 on MBR does not boot at all

2013-05-09 Thread uki
I had to set up ZFS on MBR lately.
Since I'm lazy I wrote a script for that.
Maybe it would suit your needs (it's very simple though).
https://bitbucket.org/ukaszg/freebsd-zfs-on-mbr-installer


2013/5/9 Giorgos Keramidas keram...@ceid.upatras.gr:
 On Sun, 05 May 2013 17:56:49 -0500, Joshua Isom jri...@gmail.com wrote:
 On 5/5/2013 3:20 PM, Giorgos Keramidas wrote:
 Hi David,

 Thanks for following up with what the real problem was.  I updated the
 Wiki to include this:

  Note that partition order is important. It seems that zfsboot
  requires the freebsd-zfs partition to be the first, so make sure you
  add if first, before your swap partition.

 Cheers,
 Giorgos

 What?  I've been using this set up for years.

 =   34  976773101  ada1  GPT  (465G)
  34128 1  freebsd-boot  (64k)
 1628388608 2  freebsd-swap  (4.0G)
 8388770  968384365 3  freebsd-zfs  (461G)

 =   34  976773101  ada2  GPT  (465G)
  34128 1  freebsd-boot  (64k)
 1628388608 2  freebsd-swap  (4.0G)
 8388770  968384365 3  freebsd-zfs  (461G)

 That's ok for GPT partitions.  The original post was about an MBR
 partition table.

 Some modern laptops (mine is one) do not boot successfully from a disk
 with a GPT partition scheme, unless the boot loader is EFI-capable
 (which ours isn't).  So you have to use an MBR-style partition table.

 In those cases the note is still useful to see.


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



-- 
Pozdrawiam,
Łukasz Gruner
___
freebsd-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: Login.conf Limits not Applying for Postfix

2013-05-09 Thread Eric S Pulley

 Hey list,

 I have a pretty low resource usage for users on my system, thus I have
 some low limits set in my /etc/login.conf. Particularly openfiles, which
 is set to 128 for the default class. However, I started getting errors
 from Postfix saying it has hit this limit:
 postfix/proxymap[97907]: warning: could allocate space for only 128 open
 files

 So I added a new class in my /etc/login.conf:

 postfix:\
 :openfiles=1024:\
 :tc=default:

 Yes, I did run `cap_mkdb /etc/login.conf` (multiple times, in fact). I
 stopped and restarted the postfix daemon. I've even rebooted the system
 entirely since then, to no avail (It sends half the mail at a time - but
 the error appears again once mail starts building up). Am I missing
 something? Do I need to set the postfix user into the postfix login class
 somehow?

Yes see http://www.freebsd.org/doc/en/books/handbook/users-modifying.html

 My full /etc/login.conf is here: http://pastebin.ca/2376936


___
freebsd-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: Typo in portmaster man page?

2013-05-09 Thread Masoom Shaikh




- Original Message -
 From: Jerry je...@seibercom.net
 To: FreeBSD freebsd-questions@freebsd.org
 Cc: 
 Sent: Thursday, 9 May 2013 5:15 PM
 Subject: Re: Typo in portmaster man page?
 
 On Thu, 09 May 2013 06:06:42 -0500
 Bryan Drewery articulated:
 
  (I'm not the original author on portmaster). Personally the manpage
  really confuses me. There's been bigger issues to tackle first though
  so I have not touched the manpage much.
 
 You do realize that the man in manpage is an acronym 
 for, Much
 About Nothing.

that interpretation of yours might be insulting to man page authors :(

 
 -- 
 Jerry ♔
 
 Disclaimer: off-list followups get on-list replies or get ignored.
 Please do not ignore the Reply-To header.
 __
 
 ___
 freebsd-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

Downgrading a port

2013-05-09 Thread b...@todoo.biz
Hello, 


I wanted to know if there is a way to simply downgrade a package I have 
installed with pkgng ? 

I know that there is portdowngrade, but I will have to reinstall all ports 
architecture to be able to install this. 



Sincerely yours. 

G.B. 


«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§

BSD - BSD - BSD - BSD - BSD - BSD - BSD - BSD -

«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§

PGP ID -- 0x1BA3C2FD

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


compatibility SCO

2013-05-09 Thread grillo
I need use Microsoft Cobol Compiler and runtime developed for 
Xenix/Unix system V SCO using NETBSD or FreeBSD, it is possible? have 
binary compatibility ? environment compatibility ?

thank you

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


Re: compatibility SCO

2013-05-09 Thread Dimitar Vassilev
2013/5/9 grillo gri...@goldnet.it

 I need use Microsoft Cobol Compiler and runtime developed for Xenix/Unix
 system V SCO using NETBSD or FreeBSD, it is possible? have binary
 compatibility ? environment compatibility ?
 thank you

 __**_
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/**mailman/listinfo/freebsd-**questionshttp://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-**
 unsubscr...@freebsd.org freebsd-questions-unsubscr...@freebsd.org

yes
http://www.manualpages.de/NetBSD/NetBSD-5.1/man8/compat_sco.8.html
http://forums.freebsd.org/archive/index.php/t-7604.html
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Cdorked.A

2013-05-09 Thread Per olof Ljungmark
Hi,

Is Apache on FreeBSD affected?

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


question on manpages/hier(7)

2013-05-09 Thread Paul Beard
Where should site-specific, ie local, man pages live?

For instance, I have: 

/usr/local/man/man1/php.1.gz
/usr/local/share/man/man1/php.1.gz

-rw-r--r--  1 root  wheel  3597 May  6 00:38 /usr/local/man/man1/php.1.gz
-rw-r--r--  1 root  wheel  3383 Dec 20 19:54 /usr/local/share/man/man1/php.1.gz

My understanding is that the older one is in the right place. The newer one is 
registered as belonging to php5.4-14 while the old one is orphaned. 

I learn from lsof that the file that is actually opened and displayed is this 
one:
/usr/local/man/cat1/php.1.gz

But that's in /usr/local/man, not /usr/local/share/man. So it's in /usr/local 
but why not in /usr/local/share? And it's orphaned. Should it be? 

I have just completed a several day cleanup of my local ports installation so 
I'm a little mystified at this. I also rebuilt my kernel and world so I should 
be up-to-date there too. 


--
Paul Beard

Are you trying to win an argument or solve a problem? 

___
freebsd-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: question on manpages/hier(7)

2013-05-09 Thread Dan Nelson
In the last episode (May 09), Paul Beard said:
 Where should site-specific, ie local, man pages live?
 
 For instance, I have: 
 
 /usr/local/man/man1/php.1.gz
 /usr/local/share/man/man1/php.1.gz
 
 -rw-r--r--  1 root  wheel  3597 May  6 00:38 /usr/local/man/man1/php.1.gz
 -rw-r--r--  1 root  wheel  3383 Dec 20 19:54 
 /usr/local/share/man/man1/php.1.gz
 
 My understanding is that the older one is in the right place. The newer
 one is registered as belonging to php5.4-14 while the old one is orphaned.

I don't have a /usr/local/share/man/ directory at all, and have 7300 files in
/usr/local/man/man?/ , so I'd say /usr/local/man/ is the correct location :)
 

-- 
Dan Nelson
dnel...@allantgroup.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: question on manpages/hier(7)

2013-05-09 Thread Paul Beard

On May 9, 2013, at 10:39 AM, Dan Nelson dnel...@allantgroup.com wrote:

 I don't have a /usr/local/share/man/ directory at all, and have 7300 files in
 /usr/local/man/man?/ , so I'd say /usr/local/man/ is the correct location :)

I wish it were that simple here. /etc/manpath.config is unmodified so I have no 
idea how this is getting all futzed up. 

I am finding files in /usr/local/share/man/man1 that were updated yesterday 
with others dating back to 2007. 


--
Paul Beard

Are you trying to win an argument or solve a problem? 

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


X11 screen grabber from cmd line

2013-05-09 Thread Matthias Apitz

Hello,

Do we have something in the ports which could do a screen shoot of $DISPLAY, but
from the cmd line of an alpha console, and save it as PNG or JPEG?
Thx

matthias
-- 
Sent from my FreeBSD netbook

Matthias Apitz   |  - No system with backdoors like Apple/Android
E-mail: g...@unixarea.de |  - Never being an iSlave
WWW: http://www.unixarea.de/ |  - No proprietary attachments, no HTML/RTF in 
E-mail
phone: +49-170-4527211   |  - Respect for open standards
___
freebsd-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: X11 screen grabber from cmd line

2013-05-09 Thread Antonio Olivares
ImageMagick port can do this using command import.

$ which import
/usr/local/bin/import
$ import --help
Version: ImageMagick 6.8.0-7 2013-03-06 Q16 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2012 ImageMagick Studio LLC
Features:

Usage: import [options ...] [ file ]

Image Settings:
  -adjoin  join images into a single multi-image file
  -border  include window border in the output image
  -channel typeapply option to select image channels
  -colorspace type alternate image colorspace
  -comment string  annotate image with comment
  -compress type   type of pixel compression when writing the image
  -define format:option
   define one or more image format options
  -density geometryhorizontal and vertical density of the image
  -depth value image depth
  -descend obtain image by descending window hierarchy
  -display server  X server to contact
  -dispose method  layer disposal method
  -dither method   apply error diffusion to image
  -delay value display the next image after pausing
  -encipher filename   convert plain pixels to cipher pixels
  -endian type endianness (MSB or LSB) of the image
  -encoding type   text encoding type
  -filter type use this filter when resizing an image
  -format string output formatted image characteristics
  -frame   include window manager frame
  -gravity direction   which direction to gravitate towards
  -identifyidentify the format and characteristics of the image
  -interlace type  None, Line, Plane, or Partition
  -interpolate method  pixel color interpolation method
  -label stringassign a label to an image
  -limit type valueArea, Disk, Map, or Memory resource limit
  -monitor monitor progress
  -page geometry   size and location of an image canvas
  -pause value seconds delay between snapshots
  -pointsize value font point size
  -quality value   JPEG/MIFF/PNG compression level
  -quiet   suppress all warning messages
  -regard-warnings pay attention to warning messages
  -respect-parentheses settings remain in effect until parenthesis boundary
  -sampling-factor geometry
   horizontal and vertical sampling factor
  -scene value image scene number
  -screen  select image from root window
  -seed value  seed a new sequence of pseudo-random numbers
  -set property value  set an image property
  -silent  operate silently, i.e. don't ring any bells
  -snaps value number of screen snapshots
  -synchronize synchronize image to storage device
  -taint   declare the image as modified
  -transparent-color color
   transparent color
  -treedepth value color tree depth
  -verbose print detailed information about the image
  -virtual-pixel method
   Constant, Edge, Mirror, or Tile
  -window id   select window with this id or name

Image Operators:
  -annotate geometry text
   annotate the image with text
  -colors valuepreferred number of colors in the image
  -crop geometry   preferred size and location of the cropped image
  -encipher filename   convert plain pixels to cipher pixels
  -geometry geometry   preferred size or location of the image
  -helpprint program options
  -monochrome  transform image to black and white
  -negate  replace every pixel with its complementary color
  -repage geometry size and location of an image canvas
  -quantize colorspace reduce colors in this colorspace
  -resize geometry resize the image
  -rotate degrees  apply Paeth rotation to the image
  -strip   strip image of all profiles and comments
  -thumbnail geometry  create a thumbnail of the image
  -transparent color   make this color transparent within the image
  -trimtrim image edges
  -type type   image type

Miscellaneous Options:
  -debug eventsdisplay copious debugging information
  -helpprint program options
  -list type   print a list of supported option arguments
  -log format  format of debugging information
  -version print version information

By default, 'file' is written in the MIFF image format.  To
specify a particular image format, precede the filename with an image
format name and a colon (i.e. ps:image) or specify the image type as
the filename suffix (i.e. image.ps).  Specify 'file' as '-' for
standard input or output.
$



Best Regards,


Antonio

On Thu, May 9, 2013 at 1:41 PM, Matthias Apitz g...@unixarea.de wrote:

 Hello,

 Do we have something in the ports which could do a screen shoot of $DISPLAY, 
 but
 from the cmd line of an alpha console, and save it as PNG or JPEG?
 Thx

 matthias
 --
 Sent from my 

Re: X11 screen grabber from cmd line

2013-05-09 Thread ill...@gmail.com
On 9 May 2013 17:33, ill...@gmail.com ill...@gmail.com wrote:


 On 9 May 2013 14:41, Matthias Apitz g...@unixarea.de wrote:


 Hello,

 Do we have something in the ports which could do a screen shoot of
 $DISPLAY, but
 from the cmd line of an alpha console, and save it as PNG or JPEG?
 Thx

 matthias


 I use a simple script:
  cat scripts/screenshot
 #!/bin/sh
 xwd -root | xwdtopnm | pnmtopng  screenshot_${1}.png

 which uses x11/xwd  graphics/netpbm

 --
 --


I just realised you might mean the text console, in which case
ignore that.  Look at the -p  -P options to vidcontrol(1).

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


VIMAGE in GENERIC kernel

2013-05-09 Thread b...@todoo.biz
Hi, 

I just wanted to know if there were any plans to have VIMAGE function / 
features included in GENERIC kernels sometimes soon ? 


Sincerely yours. 


«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§

BSD - BSD - BSD - BSD - BSD - BSD - BSD - BSD -

«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§

PGP ID -- 0x1BA3C2FD

___
freebsd-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: Cdorked.A

2013-05-09 Thread Joshua Isom

On 5/9/2013 12:19 PM, Per olof Ljungmark wrote:

Hi,

Is Apache on FreeBSD affected?

Thanks,


Technically, Apache isn't the problem.  The hole's in cPanel probably, 
not Apache.  The attackers replace Apache, probably patching the source 
code and replacing the host's with a trojaned copy.  If they're patching 
the source code, then yes, FreeBSD, Windows, OS X, Solaris, OpenBSD, et 
al are possibly infected.

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


WANTED: Tool to verify installed package/port consistancy

2013-05-09 Thread Ronald F. Guilmette

The subject line pretty much says it all.

As I explained here the other day, numerous of my installed ports
have semi-mysteriously had their corresponding +CONTENTS files
just disappear.  I do have a backup of my /var partition, from which
I could, in theory, fetch replacements for the specific +CONTENTS
files that went missing, but I know of no way to be able to check
those backed-up +CONTENTS files to make sure that they are at all
consistant with what I actually have installed in the way of ports/
packages on this system at the present time.

Looking at the +CONTENTS files that were not disappeared and that
are still present on the system in question, it is abundantly clear
that each of these contains two valuable things relative to the
installed package/port that it corresponds to, i.e.:

1)  A list of all of the installed files corresponding to the
specific port/package in question, and

 2) For each installed file that is part of the package/port in
question, an MD5 checksum value corresponding to that specific
installed file.

I searched within the /usr/ports/ports-mgmt directory, to see if there
might be any tools there that could be applied to a given +CONTENTS file
(or to all of them) to simply verify the presence and (MD5 checksum)
validity of each file of a given installed port/package, but the only
things whose pkg-descr files make them seem like they might be relevant
(i.e. pchecker  portlint) turn out to be tools meant for utterly
different purposes. :-(

Having found nothing useful, I stareted to write a small script of my own
to simply chcek that all files of an installed package/port exist, and that
they have the right MD5 checksums, but then I paused halfway through
when I realized that i am probably just re-inventing the wheel here.

It occurs to me that *something*, i.e. some tool(s) within the FreeBSD
panoply, *must* already be reading and/or otherwise making use of those
MD5 checksums within the +CONTENTS files.  Otherwise, why would they even
be there?  So my question really comes down to this: What pre-existing
software tools are available that can and do check the MD5 checksums, as
given the the +CONTENTS file(s), of various files associated with some
given installed port or package?

It is inconceivable to me that there no already existing tool within
FreeBSD that is already doing this exact job.


Regards,
rfg
___
freebsd-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: VIMAGE in GENERIC kernel

2013-05-09 Thread markham breitbach
   I was talking with BZ about this a few months ago, and it does not look
   terribly likely to happen any time soon, although I am still willing to
   pay good money for anyone willing and able to fix the problems with it.
   ---
   [1]Markham Breitbach
   Network Operations
   SSi   People, Ideas, Technology
   - - - - - - - - - - - - - - - - - - - - -
   +1 867 669 7500 work
   +1 867 669 7510 fax
   [2]markham_breitb...@ssimicro.com
   [3]www.ssimicro.com
   356B Old Airport Road
   Yellowknife , NT X1A 3T4
   Canada
   - - - - - - - - - - - - - - - - - - - - -
   Visit some of our other networks
   [4]www.qiniq.com  [5]www.airware.ca
   On 13-05-09 3:50 PM, [6]b...@todoo.biz wrote:

Hi,

I just wanted to know if there were any plans to have VIMAGE function / features
 included in GENERIC kernels sometimes soon ?


Sincerely yours.


�?���?���?���?���?���?���?���?���?���?���?���?��

BSD - BSD - BSD - BSD - BSD - BSD - BSD - BSD -

�?���?���?���?���?���?���?���?���?���?���?���?��

PGP ID -- 0x1BA3C2FD

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

References

   1. http://www.ssimicro.com/
   2. mailto:markham_breitb...@ssimicro.com
   3. http://www.ssimicro.com/
   4. http://www.qiniq.com/
   5. http://www.airware.ca/
   6. mailto:b...@todoo.biz
   7. mailto:freebsd-questions@freebsd.org
   8. http://lists.freebsd.org/mailman/listinfo/freebsd-questions
   9. mailto:freebsd-questions-unsubscr...@freebsd.org
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

Re: Cdorked.A

2013-05-09 Thread pete wright
On Thu, May 9, 2013 at 2:52 PM, Joshua Isom jri...@gmail.com wrote:
 On 5/9/2013 12:19 PM, Per olof Ljungmark wrote:

 Hi,

 Is Apache on FreeBSD affected?

 Thanks,


 Technically, Apache isn't the problem.  The hole's in cPanel probably, not
 Apache.  The attackers replace Apache, probably patching the source code and
 replacing the host's with a trojaned copy.  If they're patching the source
 code, then yes, FreeBSD, Windows, OS X, Solaris, OpenBSD, et al are possibly
 infected.


I am not sure that is the case from the research I have been doing on
this topic.  For example there are reports of it being detected on
lighttpd, nginx and systems that do not use cpanel:


http://www.welivesecurity.com/2013/05/07/linuxcdorked-malware-lighttpd-and-nginx-web-servers-also-affected/


If anyone has a better rundown of this it would be great if you could
point me in the right direction.  I am having problems finding a
proper examination/explanation of this backdoor.


cheers,
-pete


--
pete wright
www.nycbug.org
@nomadlogicLA
___
freebsd-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: WANTED: Tool to verify installed package/port consistancy

2013-05-09 Thread John Levine
I expect the reason you won't find a port verifier is that the usual
way to recover from a situation like yours is to reinstall them all:

# portupgrade --all --force

This might take longer than trying to verify them, but it has the
advantage of not needing a lot of attention (use -DBATCH to skip
config steps) and when you're done, the packages have all been updated
and fixed.

Doing a general port verifier is a pain because the scripts called from
make install can run arbitrary programs.

R's,
John

___
freebsd-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: X11 screen grabber from cmd line

2013-05-09 Thread Lena
 Do we have something in the ports which could do a screen shoot
 of $DISPLAY, but from the cmd line of an alpha console,
 and save it as PNG or JPEG?

#!/bin/sh
xwd -display :0 | xwdtopnm | ppmtojpeg -optimize  $1.jpg

~ # pkg_which xwd
xwd-1.0.5
~ # pkg_which xwdtopnm
netpbm-10.35.89
~ # pkg_which ppmtojpeg
netpbm-10.35.89

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