Re: ttys file question
But I can not connect to my server with this configuration. But if I change ttyu6 to cuau6, everything works fine! I don't understand the difference, would you please explain the reason for me? In short the tty devices are for outgoing connections, the cua devices are for incoming connections. For more detail see sio(4), after all the detail about multi-port serial cards and their master ports comes a couple of paragraphs describing the devices associated with each serial port in detail. -- Steve O'Hara-Smith st...@sohara.org Thanks. Another question is how can I change the default values of e.g. databits, stopbits and ... for the device? I can set the speed in /etc/ttys. ___ freebsd-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: ttys file question
On Sun, 8 Sep 2013 23:13:37 -0700 (PDT) Jack Mc Lauren jack.mclau...@yahoo.com wrote: Thanks. Another question is how can I change the default values of e.g. databits, stopbits and ... for the device? I can set the speed in /etc/ttys. Look at the man pages for sio and stty - all the details are there. -- Steve O'Hara-Smith | Directable Mirror Arrays C:WIN | A better way to focus the sun The computer obeys and wins.|licences available see You lose and Bill collects. |http://www.sohara.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: Proper way to share ZFS via NFS
always the zfs commands for zfs filesystems, otherwise why else would they be there? Do it manually and you could get conflicts later down the line On 6 September 2013 19:43, aurfalien aurfal...@gmail.com wrote: Hi, Wondering whats the correct way to share ZFS, /etc/exports or via zfs commands which alter /etc/zfs/exports? I see a lot of both on line. Thanks in advance, - aurf ___ freebsd-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
When statically linked Abort trap: 6 (core dumped)
Hi all This is FreeBSD 9.1 on i386. My program works well without any issue when all libraries are dynamically linked. But when some libraries are statically link and run it develops: Abort trap: 6 (core dumped) How I compile and link: cc myprog.c -Wall -O \ -L. -ls1 -ls2 \ -lz -lm -lmd -lpthread \ -o myprog libs1.a and libs2.a are static libs. Any idea why? Many thanks in advance. Regards Unga ___ freebsd-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 Snapshots Not able to be accessed under .zfs/snapshot/name
On 08/16/2013 8:49 am, dweimer wrote: On 08/15/2013 10:00 am, dweimer wrote: On 08/14/2013 9:43 pm, Shane Ambler wrote: On 14/08/2013 22:57, dweimer wrote: I have a few systems running on ZFS with a backup script that creates snapshots, then backs up the .zfs/snapshot/name directory to make sure open files are not missed. This has been working great but all of the sudden one of my systems has stopped working. It takes the snapshots fine, zfs list -t spnapshot shows the snapshots, but if you do an ls command, on the .zfs/snapshot/ directory it returns not a directory. part of the zfs list output: NAMEUSED AVAIL REFER MOUNTPOINT zroot 4.48G 29.7G31K none zroot/ROOT 2.92G 29.7G31K none zroot/ROOT/91p5-20130812 2.92G 29.7G 2.92G legacy zroot/home 144K 29.7G 122K /home part of the zfs list -t snapshot output: NAMEUSED AVAIL REFER MOUNTPOINT zroot/ROOT/91p5-20130812@91p5-20130812--bsnap 340K - 2.92G - zroot/home@home--bsnap 22K - 122K - ls /.zfs/snapshot/91p5-20130812--bsnap/ Does work at the right now, since the last reboot, but wasn't always working, this is my boot environment. if I do ls /home/.zfs/snapshot/, result is: ls: /home/.zfs/snapshot/: Not a directory if I do ls /home/.zfs, result is: ls: snapshot: Bad file descriptor shares I have tried zpool scrub zroot, no errors were found, if I reboot the system I can get one good backup, then I start having problems. Anyone else ever ran into this, any suggestions as to a fix? System is running FreeBSD 9.1-RELEASE-p5 #1 r253764: Mon Jul 29 15:07:35 CDT 2013, zpool is running version 28, zfs is running version 5 I can say I've had this problem. Not certain what fixed it. I do remember I decided to stop snapshoting if I couldn't access them and deleted existing snapshots. I later restarted the machine before I went back for another look and they were working. So my guess is a restart without existing snapshots may be the key. Now if only we could find out what started the issue so we can stop it happening again. I had actually rebooted it last night, prior to seeing this message, I do know it didn't have any snapshots this time. As I am booting from ZFS using boot environments I may have had an older boot environment still on the system the last time it was rebooted. Backups ran great last night after the reboot, and I was able to kick off my pre-backup job and access all the snapshots today. Hopefully it doesn't come back, but if it does I will see if I can find anything else wrong. FYI, It didn't shutdown cleanly, so if this helps anyone find the issue, this is from my system logs: Aug 14 22:08:04 cblproxy1 kernel: Aug 14 22:08:04 cblproxy1 kernel: Fatal trap 12: page fault while in kernel mode Aug 14 22:08:04 cblproxy1 kernel: cpuid = 0; apic id = 00 Aug 14 22:08:04 cblproxy1 kernel: fault virtual address = 0xa8 Aug 14 22:08:04 cblproxy1 kernel: fault code= supervisor write data, page not present Aug 14 22:08:04 cblproxy1 kernel: instruction pointer = 0x20:0x808b0562 Aug 14 22:08:04 cblproxy1 kernel: stack pointer = 0x28:0xff80002238f0 Aug 14 22:08:04 cblproxy1 kernel: frame pointer = 0x28:0xff8000223910 Aug 14 22:08:04 cblproxy1 kernel: code segment = base 0x0, limit 0xf, type 0x1b Aug 14 22:08:04 cblproxy1 kernel: = DPL 0, pres 1, long 1, def32 0, gran 1 Aug 14 22:08:04 cblproxy1 kernel: processor eflags = interrupt enabled, resume, IOPL = 0 Aug 14 22:08:04 cblproxy1 kernel: current process = 1 (init) Aug 14 22:08:04 cblproxy1 kernel: trap number = 12 Aug 14 22:08:04 cblproxy1 kernel: panic: page fault Aug 14 22:08:04 cblproxy1 kernel: cpuid = 0 Aug 14 22:08:04 cblproxy1 kernel: KDB: stack backtrace: Aug 14 22:08:04 cblproxy1 kernel: #0 0x808ddaf0 at kdb_backtrace+0x60 Aug 14 22:08:04 cblproxy1 kernel: #1 0x808a951d at panic+0x1fd Aug 14 22:08:04 cblproxy1 kernel: #2 0x80b81578 at trap_fatal+0x388 Aug 14 22:08:04 cblproxy1 kernel: #3 0x80b81836 at trap_pfault+0x2a6 Aug 14 22:08:04 cblproxy1 kernel: #4 0x80b80ea1 at trap+0x2a1 Aug 14 22:08:04 cblproxy1 kernel: #5 0x80b6c7b3 at calltrap+0x8 Aug 14 22:08:04 cblproxy1 kernel: #6 0x815276da at zfsctl_umount_snapshots+0x8a Aug 14 22:08:04 cblproxy1 kernel: #7 0x81536766 at zfs_umount+0x76 Aug 14 22:08:04 cblproxy1 kernel: #8 0x809340bc at dounmount+0x3cc Aug 14 22:08:04 cblproxy1 kernel: #9 0x8093c101 at vfs_unmountall+0x71 Aug 14 22:08:04 cblproxy1 kernel: #10 0x808a8eae at kern_reboot+0x4ee Aug 14 22:08:04 cblproxy1 kernel: #11 0x808a89c0 at kern_reboot+0 Aug 14 22:08:04 cblproxy1 kernel: #12 0x80b81dab at amd64_syscall+0x29b Aug 14 22:08:04 cblproxy1 kernel: #13
Re: Proper way to share ZFS via NFS
On Fri, 6 Sep 2013 11:43:03 -0700 aurfalien aurfal...@gmail.com wrote: Hi, Wondering whats the correct way to share ZFS, /etc/exports or via zfs commands which alter /etc/zfs/exports? As far as I can see both work just fine. The first has the benefit that it puts your ZFS exports in the standard place for exports and won't need fiddling with if you decide that you want to move one of them to some other filesystem. The second has the benefit that it integrates better with the ZFS tools. The one thing you don't want to do is put the same export in both. -- Steve O'Hara-Smith st...@sohara.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: When statically linked Abort trap: 6 (core dumped)
On 09/09/13 13:21, Unga wrote: This is FreeBSD 9.1 on i386. My program works well without any issue when all libraries are dynamically linked. But when some libraries are statically link and run it develops: Abort trap: 6 (core dumped) How I compile and link: cc myprog.c -Wall -O \ -L. -ls1 -ls2 \ -lz -lm -lmd -lpthread \ -o myprog libs1.a and libs2.a are static libs. Any idea why? Not the foggiest, and we aren't going to be able to tell you anything sensible without a lot more detailed debugging information. I mean, between us we know a lot, but we are by no means omniscient. How about getting a back trace from the core file your program has produced? Cheers, Matthew ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Luis Pereira shared an Animoto video with you!
Trouble viewing this email? View in a browser https://email.animoto.com/pub/sf/FormLink?_ri_=X0Gzc2X%3DWQpglLjHJlYQGhJNjXEKEASSc3q9jvBK4o3ffC2laRCVXMtX%3DWQpglLjHJlYQGjLJm6MhC02SFrsIiY5l2YAMelipMzc3_ei_=EtmRArNO2XWwP3EOZcn0NKHm5LLvUNtUt6fsENvNaijugVDpwEM0wm3j6g.Jg%3D%3D “Committed To Achieving Excellence...” Luis Pereira shared a video with you! How 'Ordinary' People Can Break Free Of The Work-Money Link, Create Leverage, And Own REAL Security - Even If You Have No 'Talent' Or A Genius IQ! http://bigideamastermind.com/bimstorm?id=cervantes Watch your video! https://email.animoto.com/pub/cc?_ri_=X0Gzc2X%3DWQpglLjHJlYQGhJNjXEKEASSc3q9jvBK4o3ffC2laRCVXtpKX%3DWBBBW_ei_=EseyZ-Mtn2U6u_BfWAsNwzI-ZYBCD1BLpnlu0inkvnxxN6VHnTng-TmReBKrgK1dizjCMNEBjeErpw7MInaGCyF4qvTKAgwQsDKVwrBL_qKDXmYeQnTOGScH4VZ46YbTOw5SIth-Z2EgWsiptgUjFr5jjXBY4OHO3vj7IJ21pBaJ70bukwjSfZ3HJDri_lrldcaRyDAb-rjSKAUPcltZC9Vz7ctx0YK6Fu1b-grADKlfpD235D3kN7rjsXeQdZ0UfK7ikWzoHF2rhQfPIFFB9HlP.Jg%3D%3D Watch your video! http://animoto.com:80/t/7tQtE01oNTTJYBlC7Sdw6Q?utm_source=shareutm_content=main_linkutm_medium=email You are receiving this message because you were shared a video created using Animoto. Privacy Policy https://email.animoto.com/pub/cc?_ri_=X0Gzc2X%3DWQpglLjHJlYQGhJNjXEKEASSc3q9jvBK4o3ffC2laRCVXtpKX%3DWBBCS_ei_=EtmRArNO2XWwP3EOZcn0NKG7RfwqUv9-mTIXqWJSmNqgX22QWmEr4s87-esLhO8rUqHW0v9Sdv8iJLFZ9u0Old2j9z3mksvVy5ti1K6C7HwT33Ex24_OZw.Jg%3D%3D Animoto Productions, 440 Lafayette Street, 2nd Floor, New York, NY, 10003. ___ freebsd-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: When statically linked Abort trap: 6 (core dumped)
- Original Message - From: Matthew Seaman matt...@freebsd.org To: freebsd-questions@freebsd.org Cc: Sent: Monday, September 9, 2013 2:23 PM Subject: Re: When statically linked Abort trap: 6 (core dumped) On 09/09/13 13:21, Unga wrote: This is FreeBSD 9.1 on i386. My program works well without any issue when all libraries are dynamically linked. But when some libraries are statically link and run it develops: Abort trap: 6 (core dumped) How I compile and link: cc myprog.c -Wall -O \ -L. -ls1 -ls2 \ -lz -lm -lmd -lpthread \ -o myprog libs1.a and libs2.a are static libs. Any idea why? Not the foggiest, and we aren't going to be able to tell you anything sensible without a lot more detailed debugging information. I mean, between us we know a lot, but we are by no means omniscient. How about getting a back trace from the core file your program has produced? Cheers, Matthew Hi Matthew Sorry being not informative enough. 1. gdb ./myprog myprog.core Program terminated with signal 6, Aborted. : Loaded symbols for /libexec/ld-elf.so.1 #0 0x292e6297 in kill () from /lib/libc.so.7 2. truss ./myprog : getpid() = 0 (0x0) _umtx_op(0x2a4044ac,0x15,0x1,0x0,0x0,0x2a4520d0) = 0 (0x0) _umtx_op(0x281b7158,0xf,0x0,0x0,0x0,0x2a407f00) = 0 (0x0) SIGNAL 6 (SIGABRT) kill(4506,SIGABRT) = 0 (0x0) process exit, rval = 0 3. I'm trying to statically link relevant portions from following two libs for my app: /usr/local/lib/libssl.a /usr/local/lib/libcrypto.a Same error (Abort trap: 6) develops even if I use: /usr/lib/libssl.a /usr/lib/libcrypto.a 4. openssl-1.0.1_8 is installed here. 5. Please note, when the libssl.so (either one) dynamically linked no issue. 6. Does it mean libssl.a and libcrypto.a in FreeBSD 9.1 broken or I don't link it right? Please let me know what other info you need. Unga ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
vBSDcon 2013 Registrations Open
With approximately six (6) weeks until the event, Registrations for vBSDcon 2013 remain open until October 23rd, 2013. Register now for this BSD conference scheduled to take place at the Dulles Hyatt in Herndon, VA from October 25 – 27, 2013. Users and developers from across the BSD communities are encouraged to attend the event intended bring together members of the BSD community for a series of roundtable discussions, educational sessions, best practice conversations, and exclusive networking opportunities. Those interested in such an opportunity to learn, experience, and meet others involved in the BSD communities should plan to attend vBSDcon 2013. vBSDcon is proud to bring such prolific speakers such as: * David Chisnall, a member of FreeBSD's Core Team, speaking on the migration from GCC to LLVM/CLANG within the FreeBSD project. * Luigi Rizzo, FreeBSD source committer and project developer for netmap, speaking on the Evolution of the Netmaps Framework * Baptiste Daroussin, FreeBSD source committer and project developer for PkgNG, speaking on the topic of PkgNG * Henning Brauer Reyk Floeter, OpenBSD developers, speaking on deep packet inspection with OpenBSD and PF * Scott Long, FreeBSD source committer, speaking on Disspelling the Stigma of the Dot-oh Release * Devin Teske, FreeBSD source committer, with A Comprehensive Look at bsdconfig * Kris Moore, PC-BSD Director of Development, speaking on automating deployment of FreeBSD and PC-BSD systems * John Hixson, of iXsystems, speaking on the topic of FreeNAS plugins vBSDcon is being hosted at the Dulles Hyatt in Herndon, VA making it extremely convenient for attendees who book their room at the venue. The venue is also just minutes from Dulles International Airport with regular shuttles to/from the hotel and airport terminal during the day. Breakfast, lunch, and snacks will be provided on-site by the hotel's on premise restaurant. The schedule includes a reception dinner at the Dulles Hyatt on the evening of October 25th provided by Verisign and a mid-conference social the following evening celebrating 20 years of FreeBSD. Space for off hours hacker lounges and doc sprints will be available in the conference facilities with complimentary wireless internet access. The BSD Certification Group will also be hosting a BSDA certification exam on Saturday evening following the completion of conference activities for the day. All are invited to take part in this event and are encouraged to register at the vBSDcon web site at http://www.vbsdcon.com/. Simply click the Register now button to begin your registration! We look forward to meeting you all there! -- Vincent (Rick) Miller Systems Engineer vmil...@verisign.com t: 703.948.4395 m: 703.581.3068 12061 Bluemont Way, Reston, VA 20190 http://www.vbsdcon.com/ http://www.verisigninc.com/ “This message (including any attachments) is intended only for the use of the individual or entity to which it is addressed, and may contain information that is non-public, proprietary, privileged, confidential and exempt from disclosure under applicable law or may be constituted as attorney work product. If you are not the intended recipient, you are hereby notified that any use, dissemination, distribution, or copying of this communication is strictly prohibited. If you have received this message in error, notify sender immediately and delete this message immediately.” ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
RC3 on iMac works
Hi! Today I installed FreeBSD 9.2 RC3 (amd64) on iMac: Model Name:iMac Model Identifier: iMac11,1 Processor Name: Intel Core i7 Processor Speed: 2.8 GHz Number of Processors: 1 Total Number of Cores:4 L2 Cache (per Core): 256 KB L3 Cache: 8 MB Memory: 8 GB ATI Radeon HD 4850: Chipset Model:ATI Radeon HD 4850 Type: GPU Bus: PCIe PCIe Lane Width: x16 VRAM (Total): 512 MB Vendor: ATI (0x1002) Device ID:0x944a Revision ID: 0x ROM Revision: 113-B9110C-425 EFI Driver Version: 01.00.383 Displays: iMac: Display Type: LCD Resolution: 2560 x 1440 Pixel Depth: 32-Bit Color (ARGB) Main Display: Yes Mirror: Off Online: Yes Built-In: Yes Connection Type: DisplayPort I didn't installed yet Xorg and I don't know how will be with radeon drivers. I want to install KDE4. Installation was so smooth. I had rEFIt installed and on the end of FreeBSD installation I modified default MBR scheme to GPT partition scheme and it works :). Mitja http://www.redbubble.com/people/lumiwa ___ freebsd-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 Snapshots Not able to be accessed under .zfs/snapshot/name
On 09/09/2013 22:38, dweimer wrote: A quick update on this, in case anyone else runs into it, I did finally try on the 2nd of this month to delete my UFS volume, and create a new ZFS volume to replace it. I recreated the Squid cache directories and let squid start over building up cache. So far their hasn't been a noticeable impact on performance with the switch over, and the snapshot problem has not reoccurred since making the change. Its only a week into running this way but the problem before started within 36-48 hours. From what you mentioned earlier you appear to use dates in your snapshot names. So kern/161968 - shouldn't affect you. For others using zfs volumes - check kern/161968 : [zfs] [hang] renaming snapshot with -r including a zvol snapshot causes total ZFS freeze/lockup ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
lpd(8) sending email to the wrong address
Hi, My printing system is archaic, based on lpr(8), but it works fine for centralizing printing from Windows (with Samba), Mac and Linux clients. Plus it includes a printing quota system, so I am reluctant to change. When a print job is failing, lpr will try to send a warning email to user@client but that e,ail address does not exist; is there a way to send email at user@default.domain instead? Best regards, Olivier ___ freebsd-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: lpd(8) sending email to the wrong address
On Tue, 10 Sep 2013 11:44:09 +0700, Olivier Nicole wrote: When a print job is failing, lpr will try to send a warning email to user@client but that e,ail address does not exist; is there a way to send email at user@default.domain instead? Depending on your sendmail setup, you could probably use an alias for those specific cases (via /var/mail/aliases). Because sendmail and lpr should match archaic-wise... :-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org