Re: Unable to access CDROM device to play music
On Mon, 29 Nov 2010 20:01:02 -0500 Nikolai Wendorf nikol...@embarqmail.com articulated: All, I was getting exactly this same error following a fresh 8.1 load Sep 25 07:51:22 cyborg kernel: acd0: FAILURE - READ_BIG ILLEGAL REQUEST asc=0x64 ascq=0x00 Sep 25 07:51:22 cyborg kernel: (cd0:ata1:0:0:0): READ(10). CDB: 28 0 0 0 0 0 0 0 40 0 Sep 25 07:51:22 cyborg kernel: (cd0:ata1:0:0:0): CAM status: SCSI Status Error Sep 25 07:51:22 cyborg kernel: (cd0:ata1:0:0:0): SCSI status: Check Condition Sep 25 07:51:22 cyborg kernel: (cd0:ata1:0:0:0): SCSI sense: ILLEGAL REQUEST asc:64,0 (Illegal mode for this track) Sep 25 07:51:22 cyborg kernel: (cd0:ata1:0:0:0): cddone: got error 0x6 back the solution was explained in the gnome install FAQ - here is a clip - the devfs.conf changes fixed the problem. To figure out which CD/DVD drive you will be using, run the following command as root: # camcontrol devlist Your output will look similar to the following: QSI CDRW/DVD SBW-242 UD22 at scbus1 target 0 lun 0 (cd0,pass0) The devices in parentheses at the end are important. You must make sure the /dev entries for those devices are writable by the users that will be using brasero, totem, rhythmbox, or sound-juicer. In addition to those devices, /dev/xpt* must also be writable to your brasero, totem, rhythmbox, and sound-juicer users. The following /etc/devfs.conf configuration will achieve the desired results given the above devlist: permcd0 0666 permxpt00666 permpass0 0666 I made those modifications a long time ago without success. # camcontrol devlist PHILIPS DVD8801 GW02 at scbus1 target 0 lun 0 (pass0,cd0) Generic USB SD Reader 1.00 at scbus2 target 0 lun 0 (pass1,da0) Generic USB CF Reader 1.01 at scbus2 target 0 lun 1 (pass2,da1) Generic USB SM Reader 1.02 at scbus2 target 0 lun 2 (pass3,da2) Generic USB MS Reader 1.03 at scbus2 target 0 lun 3 (pass4,da3) # cat /etc/devfs.conf snippet permcd0 0666 permacd00666 permxpt00666 permpass0 0666 permpass1 0666 permpass2 0666 permpass3 0666 permpass4 0666 -- Carmel ✌ carmel...@hotmail.com Disclaimer: off-list followups get on-list replies or get ignored. Please do not ignore the Reply-To header. __ To err is human, but when the eraser wears out before the pencil, you're overdoing it a little. ___ 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: Unable to access CDROM device to play music
2010-11-30 11:24, Carmel skrev: On Mon, 29 Nov 2010 20:01:02 -0500 Nikolai Wendorfnikol...@embarqmail.com articulated: One can not play audio-cd on freebsd without root access. No matter what you put in devfs* Tried it since freebsd4* All, I was getting exactly this same error following a fresh 8.1 load Sep 25 07:51:22 cyborg kernel: acd0: FAILURE - READ_BIG ILLEGAL REQUEST asc=0x64 ascq=0x00 Sep 25 07:51:22 cyborg kernel: (cd0:ata1:0:0:0): READ(10). CDB: 28 0 0 0 0 0 0 0 40 0 Sep 25 07:51:22 cyborg kernel: (cd0:ata1:0:0:0): CAM status: SCSI Status Error Sep 25 07:51:22 cyborg kernel: (cd0:ata1:0:0:0): SCSI status: Check Condition Sep 25 07:51:22 cyborg kernel: (cd0:ata1:0:0:0): SCSI sense: ILLEGAL REQUEST asc:64,0 (Illegal mode for this track) Sep 25 07:51:22 cyborg kernel: (cd0:ata1:0:0:0): cddone: got error 0x6 back the solution was explained in the gnome install FAQ - here is a clip - the devfs.conf changes fixed the problem. To figure out which CD/DVD drive you will be using, run the following command as root: # camcontrol devlist Your output will look similar to the following: QSI CDRW/DVD SBW-242 UD22at scbus1 target 0 lun 0 (cd0,pass0) The devices in parentheses at the end are important. You must make sure the /dev entries for those devices are writable by the users that will be using brasero, totem, rhythmbox, or sound-juicer. In addition to those devices, /dev/xpt* must also be writable to your brasero, totem, rhythmbox, and sound-juicer users. The following /etc/devfs.conf configuration will achieve the desired results given the above devlist: permcd0 0666 permxpt00666 permpass0 0666 I made those modifications a long time ago without success. # camcontrol devlist PHILIPS DVD8801 GW02 at scbus1 target 0 lun 0 (pass0,cd0) Generic USB SD Reader 1.00at scbus2 target 0 lun 0 (pass1,da0) Generic USB CF Reader 1.01at scbus2 target 0 lun 1 (pass2,da1) Generic USB SM Reader 1.02at scbus2 target 0 lun 2 (pass3,da2) Generic USB MS Reader 1.03at scbus2 target 0 lun 3 (pass4,da3) # cat /etc/devfs.conf snippet permcd0 0666 permacd00666 permxpt00666 permpass0 0666 permpass1 0666 permpass2 0666 permpass3 0666 permpass4 0666 ___ 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: PHP Command Line
On Mon, 29 Nov 2010 23:01:28 -0800, David Allen wrote: DA I'm new to PHP, and I'm trying to make use of the interactive commandline, DA but I'm finding 'php -a' isn't working. More specifically, no 'php' DA prompt, no output, nada. If you need prompt, try to install realine extension from /usr/ports/lang/php52-extensions (if php52 is used). -- WBR, Anton Yuzhaninov ___ 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: Unable to access CDROM device to play music
On Tue, 30 Nov 2010 12:24:36 +0100, Bernt Hansson be...@bah.homeip.net wrote: One can not play audio-cd on freebsd without root access. No matter what you put in devfs* Tried it since freebsd4* Not fully true. Maybe the statement ist right along with the mentioning of on modern systems - where modern deserves an additional set of quotes. :-) I've been playing audio CDs regularly on FreeBSD 4 and 5, but I was lucky to have a sound card and a wired internal audio connector for my drive(s). The command % cdcontrol play 1 for example sets the CD drive to play state, and the audio signal was available at the front connector (often not present anymore on today's drives), as well as on the rear connector connected to the foot bone, the foot bone connected to the sound card, and the sound card connected to the amp system. :-) I'm sad, REALLY sad to see more and more simple things stopping working... Giving *others* write access (o+w) to sensitive system devices may not be a good idea in every setting. For the old fashioned solution, this was not needed: The user went to the operator ground, and g+w. Done. -- 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
subversion authentication via SASL2 using a OpenLDAP backend
Hello. I just try to authenticate users of our subversion repository via sasl2 against a running OpenLDAP backend (all services running on FreeBSD 8.2-PRE/8.1 and 7.3). After setting up a config file /usr/local/etc/sasl2/svn.conf containing the following: pwcheck_method: auxprop auxprop_plugin: ldap ldapdb_uri: ldap://ldap.host ldapdb_mech:PLAIN DIGEST-MD5 ANONYMOUS EXTERNAL CRAM-MD5 OTP #ldapdb_rc: /usr/local/etc/sasl2/ldaprc ldapdb_startls: yes log_level: 7 and a proper olcAuthzRegexp in the cn=config container of OpenLDAP like uid=([^,]*),cn=realm,cn=plain,cn=auth uid=$1,ou=users,dc=domain,dc=foo I never see any attempt of subversion connecting to the OpenLDAP server via sasl2. I can not even proff whether my setups in the LDAP are correct or not, since the subversion try of autheticate seems to run into nowhere. After several tries of importing something (I assume having set up properly svnserv.conf and authz in the subversion repos for this specific case) I receive this message on the console: svn: Authentication error from server: SASL(-13): user not found: no secret in database svn: Your commit message was left in a temporary file: Besides, I already installed the port /usr/ports/security/cyrus-sasl2-ldapdb but it does not help. Can anybody give a hint or tip? Thanks in advance, Oliver ___ 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: Stale NFS file handles on 8.x amd64
On 30 November 2010 01:48, Leon Meßner l.mess...@physik.tu-berlin.dewrote: Hi, On Mon, Nov 29, 2010 at 08:06:54PM -0500, Adam McDougall wrote: I've been running dovecot 1.1 on FreeBSD 7.x for a while with a bare minimum of NFS problems, but it got worse with 8.x. I have 2-4 servers (usually just 2) accessing mail on a Netapp over NFSv3 via imapd. delivery is via procmail which doesn't touch the dovecot metadata and webmail uses imapd. Client connections to imapd go to random servers and I don't yet have solid means to keep certain users on certain servers. I upgraded some of the servers to 8.x and dovecot 1.2 and ran into Stale NFS file handles causing index/uidlist corruption causing inboxes to appear as empty when they were not. In some situations their corrupt index had to be deleted manually. I first suspected dovecot 1.2 since it was upgraded at the same time but I downgraded to 1.1 and its doing the same thing. I don't really have a wealth of details to go on yet and I usually stay quiet until I do, and half the time it is difficult to reproduce myself so I've had to put it in production to get a feel for progress. This only happens a dozen or so times per weekday but I feel the need to start taking bigger steps. I'll probably do what Does it depend on the size of the message? I can to get IMAP back on a stable base (7.x?) and also try to debug 8.x on the remaining servers. A binary search is within possibility if I can reproduce the symptoms often enough even if I have to put a test server in production for a few hours. Any tips on where we could start looking, or alterations I could try making such as sysctls to return to older behavior? It might be worth there were some problems on nullfs mounted nfs shares (like in jails) and dovecot, as dovecot changed its location for temporary file creation to the user home. But IIRC the error message looked more like: http://www.mail-archive.com/dove...@dovecot.org/msg26856.html And are fixed in stable. Just a hint, Leon ___ 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 im seeing similar issues on a large mail platform with netapp and dovecot on freebsd 8.1 as well. The problems existed in 7.x as well though. Basically the NFS mount just locks up. I've not managed to pin point it yet but one thing im certain of its a client os issue rather than the filer. This is because only one node out fo the 16 will lock at any time on that particular nfs mount. Strangely as well if I remount the dead nfs share on say /mnt on the affected node, it works fine. I'm convinced its some kind of locking issue. I have dtrace (WITH_CTF=1) in the kernel, so will have a poke around with that and see if I can see anything interesting. Can anyone recommend anything here? ___ 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 MS Exchange play nice with the mailing lists?
I appologize as I know that this has to have been discussed before, but my Google-foo is failing me. I currently subscribe to a few FreeBSD mailing lists using my work e-mail account (handy for archiving important mailing list messages) which is hosted on MS Exchange (connecting with Outlook) and I'm under the impression that some settings can be configured on the Exchange server that will allow me to be able to post to the mailing lists from that account instead of this one. Currently all e-mail I send from my work account to the lists bounces back. I thought I had seen instructions for making Exchange play nice and send proper messages to the mailing list, but I am unable to find them now, if I ever did indeed see them, this is MS and quite possible it simply won't play nice. Outlook is also configured to do text only e-mail, so I think I can rule out it being an Outlook issue. I have no issues with the FreeRADIUS mailing list, but I'm assuming they're more lax in what type of mail can be submitted. If anyone can tell me what settings need changed on the Exchange server (or in Outlook if it is indeed an Outlook problem) please let me know. If it is impossible to get Exchange to play nice with the FreeBSD mailing lists, please also let me know so I can give up on trying to get it to work. Thank you, John McDonnell -- John D. McDonnell gorgar...@xsmail.com http://www.gorgarath.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 samba+winbind
Hi, Ivo! Just a wild guess - could it be the result of moving lockdir in Samba3.5 port from /var/db/samba34 back to /var/db/samba ? Can you check, that, by renaming appropriate directory? Regards, Timur. On Mon, Nov 22, 2010 at 10:15 PM, Ivo Karabojkov i...@kit-bg.com wrote: Perhaps I couldn't get any attention with my problem or I couldn't explain it in enough details. As you probably read, IDMapping works OK. It seems that my problem occurs in nsswitch. In my /etc/nsswitch.conf I have: group: files winbind #group_compat: nis hosts: files dns networks: files passwd: files winbind #passwd_compat: nis shells: files services: compat services_compat: nis protocols: files rpc: files wbinfo -u / -g / -i DOMAIN_user works OK. Name service switch works almost OK, since system utilities like id, pw /usershow/, chown, ls resolve domain usernames - IDMapped UIDs OK. But getent passwd and getent group return only local (system) users /groups. Any clue how to make this work too? Ivo Karabojkov wrote: Dear Sirs, I am having troubles with IDMapping users from Server 2003 AD to my FreeBSD 8.1 Samba 3.5. Well, most of Samba documentation should be considered outdated, I had total failure with RID backend for IDMap. The only working (so far) for me is the default: tdb. I have set nsswitch.conf, pam.d and so on correctly. And here is my problem: everything works almost fine, wbinfo shows my domain accounts, I am able to set these accounts and groups as owners of files. Commands like ls, chown, id show AD accounts correctly. pw, getent - show only local system accounts. I need Samba only for file sharing with ACLs, no PAM authentication or something more. So, technically, it works but since I can't see ALL accounts with getent I think something is wrong. IDMapped accounts are with uid and gid 1 I think I am missing something very small and simple, so I hope someone will help me! Thanks in advance, Ivo -- View this message in context: http://old.nabble.com/FreeBSD-samba%2Bwinbind-tp30252640p30282675.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: snmp cpu
In the last episode (Nov 30): Hi, reading this: http://old.nabble.com/Measuring-CPU-usage-via-SNMP-td23392403.html So fetching the matching ssCpuRaw* oids and totaling them up should always equal 100% cpu. but when I fetch cpurawidle it is about 100, system 25 totalling give me 125. What wrong I do? Hey! I recognize that post :) Note that ssCpuRawSystem is a synthetic value that net-snmp generates by adding ssCpuRawKernel and ssCpuRawInterrupt. If you are doing the totalling yourself, you should ignore it, or you'll be counting kernel time twice. In case anyone else reading is unclear: Totalling the raw values always gives 100% cpu, but the units aren't percent; they're ticks. You may get a different total on different machines, depending on Hz and the number of CPUs. If you want to graph the values as percentages, you'll need to record the previous values for each variable, then sum the differences to get the total number of ticks for your sampling period. Then divide each variable's difference by that total to get a percentage. Raw values on my machine using a ~ 5-second sampling period: User Nice IdleKernel Interrupt 14993233 67689938 1943767096 171721693 11277468 14993237 67690250 1943768892 17174 11277487 14993246 67690357 1943770991 171722649 11277495 Deltas: 4 312 179653119Total: 2662 9 107 20994258 Total: 2648 Percent: 0.2 11.7 67.519.9 0.7 0.3 4.0 79.316.0 0.3 -- 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: Can MS Exchange play nice with the mailing lists?
On Tue, 30 Nov 2010 11:24:30 -0500 John D McDonnell gorgar...@xsmail.com articulated: I currently subscribe to a few FreeBSD mailing lists using my work e-mail account (handy for archiving important mailing list messages) which is hosted on MS Exchange (connecting with Outlook) and I'm under the impression that some settings can be configured on the Exchange server that will allow me to be able to post to the mailing lists from that account instead of this one. Currently all e-mail I send from my work account to the lists bounces back. Please post the bounce message. -- Jerry ✌ freebsd.u...@seibercom.net 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: Can MS Exchange play nice with the mailing lists?
On Nov 30, 2010, at 8:24 AM, John D McDonnell wrote: [ ... ] Currently all e-mail I send from my work account to the lists bounces back. OK. You should either discuss the bounce message with postmaster@ your domain and/or postmas...@freebsd.org, or post it here Regards, -- -Chuck ___ 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
virtualbox-ose port broken?
As of this morning's portsnap (Tue Nov 30 10:35:59 PST 2010), virtualbox-ose no longer builds: # cd /usr/ports/emulators/virtualbox-ose make install clean 21 | tail -n 25 kBuild: Adjusting BCC Assembly PcBiosBin - /usr/ports/emulators/virtualbox-ose/work/VirtualBox-3.2.10_OSE/out/freebsd.amd64/release/obj/PcBiosBin/rombios0.s kBuild: Compiling VgaBiosBin - /usr/ports/emulators/virtualbox-ose/work/VirtualBox-3.2.10_OSE/out/freebsd.amd64/release/obj/VgaBiosBin/_vgabios_.c kBuild: Linking VgaDefBiosLogo kBuild: Compiling EfiThunkBin - /usr/ports/emulators/virtualbox-ose/work/VirtualBox-3.2.10_OSE/out/freebsd.amd64/release/obj/EfiThunkBin/EfiThunkBin.c kBuild: iasl DevicesR3 - /usr/ports/emulators/virtualbox-ose/work/VirtualBox-3.2.10_OSE/src/VBox/Devices/PC/vbox.dsl /usr/ports/emulators/virtualbox-ose/work/VirtualBox-3.2.10_OSE/src/VBox/Devices/PC/vbox.dsl 736: Name (_CID, smc-napa) Error4001 - String must be entirely alphanumeric ^ (smc-napa) ASL Input: /usr/ports/emulators/virtualbox-ose/work/VirtualBox-3.2.10_OSE/src/VBox/Devices/PC/vbox.dsl - 1305 lines, 46193 bytes, 288 keywords Compilation complete. 1 Errors, 0 Warnings, 0 Remarks, 404 Optimizations kmk[2]: *** [/usr/ports/emulators/virtualbox-ose/work/VirtualBox-3.2.10_OSE/out/freebsd.amd64/release/obj/DevicesR3/vboxaml.hex] Error 255 kmk[2]: *** Deleting file `/usr/ports/emulators/virtualbox-ose/work/VirtualBox-3.2.10_OSE/out/freebsd.amd64/release/obj/DevicesR3/vboxaml.hex' kmk[2]: *** Waiting for unfinished jobs kmk[2]: Leaving directory `/usr/ports/emulators/virtualbox-ose/work/VirtualBox-3.2.10_OSE' kmk[2]: Entering directory `/usr/ports/emulators/virtualbox-ose/work/VirtualBox-3.2.10_OSE' kmk[2]: *** Exiting with status 2 kmk[1]: *** [pass_libraries_this] Error 2 kmk[1]: Leaving directory `/usr/ports/emulators/virtualbox-ose/work/VirtualBox-3.2.10_OSE' kmk: *** [pass_libraries_order] Error 2 *** Error code 2 Stop in /usr/ports/emulators/virtualbox-ose. *** Error code 1 Stop in /usr/ports/emulators/virtualbox-ose. # uname -a FreeBSD libertas.local.camdensoftware.com 8.2-PRERELEASE FreeBSD 8.2-PRERELEASE #107: Mon Nov 29 11:31:29 PST 2010 sterl...@libertas.local.camdensoftware.com:/usr/obj/usr/src/sys/LIBERTAS amd64 All other ports are up to date. -- Sterling (Chip) Camden| sterl...@camdensoftware.com | 2048D/3A978E4F http://camdensoftware.com | http://chipstips.com| http://chipsquips.com pgptRfux7eYbx.pgp Description: PGP signature
Re: Can MS Exchange play nice with the mailing lists?
Sorry if this is a repost, had an error when sending the original e-mail and after waiting a bit, I haven't seen the message show up on Questions, so I'm guessing it didn't go through. In regards to contacting postmas...@pcam.org, that would be either me or my boss, neither of which is very knowledgeable of Exchange, though I somewhat know my way around sendmail. I pulled this from our e-mail archiver (the last test message I sent was in Oct, I mostly just read the lists): From: Microsoft Exchange microsoftexchange329e71ec88ae4615bbc36ab6ce411...@pcam.org To: John McDonnell mcdon...@pcam.org Date: Wed, 27 Oct 2010 11:54:21 -0400 Subject: Undeliverable: Testing... Thread-Topic: Testing... Thread-Index: Act0XPK0+2s6XIazSNy5B+gk+G1+lgBkkXt6 Message-ID: ad4cb5ac-5ee0-456d-ba74-dcc66ea52ac9 References: 5c15cc37d15e0540b4d554157ee33eb7012719135...@exchange.pcam.local In-Reply-To: 5c15cc37d15e0540b4d554157ee33eb7012719135...@exchange.pcam.local Accept-Language: en-US Content-Language: en-US X-MS-Exchange-Organization-AuthAs: Internal X-MS-Exchange-Organization-AuthMechanism: 05 X-MS-Exchange-Organization-AuthSource: exchange.pcam.local X-MS-Has-Attach: yes X-Auto-Response-Suppress: All X-MS-Exchange-Organization-SCL: -1 X-MS-TNEF-Correlator: x-ms-exchange-organization-originalsize: 5669 x-ms-exchange-organization-recipient-limit-verified: True x-ms-exchange-organization-dsn-version: 12 Content-Type: multipart/report; boundary=_000_ad4cb5ac5ee0456dba74dcc66ea52ac9_; report-type=delivery-status MIME-Version: 1.0 --_000_ad4cb5ac5ee0456dba74dcc66ea52ac9_ Content-Type: multipart/alternative; boundary=_002_ad4cb5ac5ee0456dba74dcc66ea52ac9_ --_002_ad4cb5ac5ee0456dba74dcc66ea52ac9_ Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Delivery has failed to these recipients or distribution lists: freebsd-t...@freebsd.orgmailto:freebsd-t...@freebsd.org Microsoft Exchange has been trying to deliver this message without success = and has stopped trying. Please try sending this message again, or provide t= he following diagnostic text to your system administrator. Sent by Microsoft Exchange Server 2007 Diagnostic information for administrators: Generating server: exchange.pcam.local freebsd-t...@freebsd.org #550 4.4.7 QUEUE.Expired; message expired ## Original message headers: Received: from exchange.pcam.local ([10.10.0.13]) by exchange.pcam.local ([10.10.0.13]) with mapi; Mon, 25 Oct 2010 11:54:47 -0400 From: John McDonnell mcdon...@pcam.org To: freebsd-t...@freebsd.org freebsd-t...@freebsd.org Date: Mon, 25 Oct 2010 11:54:46 -0400 Subject: Testing... Thread-Topic: Testing... Thread-Index: Act0XPK0+2s6XIazSNy5B+gk+G1+lg=3D=3D Message-ID: 5c15cc37d15e0540b4d554157ee33eb7012719135...@exchange.pcam.loc= al Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: text/plain; charset=3Dus-ascii Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 --_002_ad4cb5ac5ee0456dba74dcc66ea52ac9_ Content-Type: text/html; charset=us-ascii Content-Transfer-Encoding: quoted-printable html Head/headbody pbfont color=3D#66 size=3D3 face=3DArialDelivery has failed= to these recipients or distribution lists:/font/b/p font color=3D#00 size=3D2 face=3DTahomapa href=3Dmailto:fre= ebsd-t...@freebsd.orgfreebsd-t...@freebsd.org/abr Microsoft Exchange has been trying to deliver this message without success = and has stopped trying. Please try sending this message again, or provide t= he following diagnostic text to your system administrator./p /font HR/font color=3D#808080 size=3D1 face=3DArialSent by Microsoft Ex= change Server 2007/font brbrbrbrbrbr font color=3D#808080 size=3D2 face=3DTahomapbDiagnostic informa= tion for administrators:/b/p pGenerating server: exchange.pcam.local/p pfreebsd-t...@freebsd.orgbr #550 4.4.7 QUEUE.Expired; message expired ##/p pOriginal message headers:/p preReceived: from exchange.pcam.local ([10.10.0.13]) by exchange.pcam.loc= al ([10.10.0.13]) with mapi; Mon, 25 Oct 2010 11:54:47 -0400 From: John McDonnell lt;mcdon...@pcam.orggt; To: quot;freebsd-t...@freebsd.orgquot; lt;freebsd-t...@freebsd.orggt; Date: Mon, 25 Oct 2010 11:54:46 -0400 Subject: Testing... Thread-Topic: Testing... Thread-Index: Act0XPK0+2s6XIazSNy5B+gk+G1+lg=3D=3D Message-ID: lt;5c15cc37d15e0540b4d554157ee33eb7012719135...@exchange.pcam.= localgt; Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: text/plain; charset=3Dquot;us-asciiquot; Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 /pre /font /body /html= --_002_ad4cb5ac5ee0456dba74dcc66ea52ac9_-- --_000_ad4cb5ac5ee0456dba74dcc66ea52ac9_ Content-Type: message/delivery-status Reporting-MTA: dns; exchange.pcam.local Final-recipient: RFC822; freebsd-t...@freebsd.org Action: failed Status: 4.4.7
Re: Can MS Exchange play nice with the mailing lists?
On Nov 30, 2010, at 11:17 AM, John D McDonnell wrote: In regards to contacting postmas...@pcam.org, that would be either me or my boss, neither of which is very knowledgeable of Exchange, though I somewhat know my way around sendmail. There's no signs of an error message resulting from Exchange actually talking to a MX server for freebsd.org, just a queue timeout on your side. I'd guess that your Exchange server is broken somehow, perhaps from your ISP blocking port 25, but there isn't enough useful information for that to even be more than a guess. If you know sendmail, for testing purpose set that up and have Exchange relay external email via your copy of sendmail. At least that would provide some sort of useful logging or a DSN... Regards, -- -Chuck ___ 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: Can MS Exchange play nice with the mailing lists?
In response to John D McDonnell gorgar...@xsmail.com: Sorry if this is a repost, had an error when sending the original e-mail and after waiting a bit, I haven't seen the message show up on Questions, so I'm guessing it didn't go through. In regards to contacting postmas...@pcam.org, that would be either me or my boss, neither of which is very knowledgeable of Exchange, though I somewhat know my way around sendmail. I pulled this from our e-mail archiver (the last test message I sent was in Oct, I mostly just read the lists): That is some of the most useless diagnostics I've seen in a while -- kudos to Microsoft for continuing to be worthless. However, giving a (somewhat wild) guess, I would first see if Exchange is actually stupid enough to use exchange.pcam.local as its HELO name in the SMTP dialog. This is obviously not a valid DNS name and would trigger a lot of spam systems to reject the email (mine, in particular, would) From: Microsoft Exchange microsoftexchange329e71ec88ae4615bbc36ab6ce411...@pcam.org To: John McDonnell mcdon...@pcam.org Date: Wed, 27 Oct 2010 11:54:21 -0400 Subject: Undeliverable: Testing... Thread-Topic: Testing... Thread-Index: Act0XPK0+2s6XIazSNy5B+gk+G1+lgBkkXt6 Message-ID: ad4cb5ac-5ee0-456d-ba74-dcc66ea52ac9 References: 5c15cc37d15e0540b4d554157ee33eb7012719135...@exchange.pcam.local In-Reply-To: 5c15cc37d15e0540b4d554157ee33eb7012719135...@exchange.pcam.local Accept-Language: en-US Content-Language: en-US X-MS-Exchange-Organization-AuthAs: Internal X-MS-Exchange-Organization-AuthMechanism: 05 X-MS-Exchange-Organization-AuthSource: exchange.pcam.local X-MS-Has-Attach: yes X-Auto-Response-Suppress: All X-MS-Exchange-Organization-SCL: -1 X-MS-TNEF-Correlator: x-ms-exchange-organization-originalsize: 5669 x-ms-exchange-organization-recipient-limit-verified: True x-ms-exchange-organization-dsn-version: 12 Content-Type: multipart/report; boundary=_000_ad4cb5ac5ee0456dba74dcc66ea52ac9_; report-type=delivery-status MIME-Version: 1.0 --_000_ad4cb5ac5ee0456dba74dcc66ea52ac9_ Content-Type: multipart/alternative; boundary=_002_ad4cb5ac5ee0456dba74dcc66ea52ac9_ --_002_ad4cb5ac5ee0456dba74dcc66ea52ac9_ Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Delivery has failed to these recipients or distribution lists: freebsd-t...@freebsd.orgmailto:freebsd-t...@freebsd.org Microsoft Exchange has been trying to deliver this message without success = and has stopped trying. Please try sending this message again, or provide t= he following diagnostic text to your system administrator. Sent by Microsoft Exchange Server 2007 Diagnostic information for administrators: Generating server: exchange.pcam.local freebsd-t...@freebsd.org #550 4.4.7 QUEUE.Expired; message expired ## Original message headers: Received: from exchange.pcam.local ([10.10.0.13]) by exchange.pcam.local ([10.10.0.13]) with mapi; Mon, 25 Oct 2010 11:54:47 -0400 From: John McDonnell mcdon...@pcam.org To: freebsd-t...@freebsd.org freebsd-t...@freebsd.org Date: Mon, 25 Oct 2010 11:54:46 -0400 Subject: Testing... Thread-Topic: Testing... Thread-Index: Act0XPK0+2s6XIazSNy5B+gk+G1+lg=3D=3D Message-ID: 5c15cc37d15e0540b4d554157ee33eb7012719135...@exchange.pcam.loc= al Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: text/plain; charset=3Dus-ascii Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 --_002_ad4cb5ac5ee0456dba74dcc66ea52ac9_ Content-Type: text/html; charset=us-ascii Content-Transfer-Encoding: quoted-printable html Head/headbody pbfont color=3D#66 size=3D3 face=3DArialDelivery has failed= to these recipients or distribution lists:/font/b/p font color=3D#00 size=3D2 face=3DTahomapa href=3Dmailto:fre= ebsd-t...@freebsd.orgfreebsd-t...@freebsd.org/abr Microsoft Exchange has been trying to deliver this message without success = and has stopped trying. Please try sending this message again, or provide t= he following diagnostic text to your system administrator./p /font HR/font color=3D#808080 size=3D1 face=3DArialSent by Microsoft Ex= change Server 2007/font brbrbrbrbrbr font color=3D#808080 size=3D2 face=3DTahomapbDiagnostic informa= tion for administrators:/b/p pGenerating server: exchange.pcam.local/p pfreebsd-t...@freebsd.orgbr #550 4.4.7 QUEUE.Expired; message expired ##/p pOriginal message headers:/p preReceived: from exchange.pcam.local ([10.10.0.13]) by exchange.pcam.loc= al ([10.10.0.13]) with mapi; Mon, 25 Oct 2010 11:54:47 -0400 From: John McDonnell lt;mcdon...@pcam.orggt; To: quot;freebsd-t...@freebsd.orgquot; lt;freebsd-t...@freebsd.orggt; Date: Mon, 25 Oct 2010 11:54:46 -0400 Subject: Testing... Thread-Topic: Testing... Thread-Index: Act0XPK0+2s6XIazSNy5B+gk+G1+lg=3D=3D
Splitting hw raid mirror.
Hi, Im running FreeBSD 8.0-RELEASE (FreeBSD hostname 8.0-RELEASE FreeBSD 8.0-RELEASE #1: Tue Dec 1 16:10:08 CET 2009 pe...@hostname:/usr/obj/usr/src/sys/GENERIC amd64) and have a MTP-raidcard with a configured mirror. mpt0 Adapter: Board Name: SAS3041E Board Assembly: L3-01101-04F Chip Name: C1064E Chip Revision: UNUSED RAID Levels: RAID0, RAID1, RAID1E RAID0 Stripes: 64K RAID1E Stripes: 64K RAID0 Drives/Vol: 2-10 RAID1 Drives/Vol: 2 RAID1E Drives/Vol: 3-10 Now I want to split this mirror into standalone drives but I dont know if its possible. Since Im using zfs anyway it seems better to let zfs take care of the mirroring giving it the possibility to self heal and so on. and of course ease of administration. When consulting the manual i see this: clear Delete the entire configuration including all volumes and spares. All drives will become standalone drives. and delete volume Delete the volume volume. Member drives will become standalone drives. IF! what this does is just leave da0 as one of the disks and makes the other disk in the mirror available to the operating system as da1 then everything should be fine. But I cant take the risk if everything goes boom. :D Is there anyone that has any experience in this situation? ___ 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: Can MS Exchange play nice with the mailing lists?
On Tue, Nov 30, 2010 at 2:28 PM, Bill Moran wmo...@potentialtech.comwrote: In response to John D McDonnell gorgar...@xsmail.com: Sorry if this is a repost, had an error when sending the original e-mail and after waiting a bit, I haven't seen the message show up on Questions, so I'm guessing it didn't go through. In regards to contacting postmas...@pcam.org, that would be either me or my boss, neither of which is very knowledgeable of Exchange, though I somewhat know my way around sendmail. I pulled this from our e-mail archiver (the last test message I sent was in Oct, I mostly just read the lists): That is some of the most useless diagnostics I've seen in a while -- kudos to Microsoft for continuing to be worthless. However, giving a (somewhat wild) guess, I would first see if Exchange is actually stupid enough to use exchange.pcam.local as its HELO name in the SMTP dialog. This is obviously not a valid DNS name and would trigger a lot of spam systems to reject the email (mine, in particular, would) You can customize the out-going header. Try this: Send a message and check the queue viewer on exchange to check if the queue its getting some kind of error message. -- Still Going Strong!!! ___ 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: virtualbox-ose port broken?
On 30.11.2010 19:54, Chip Camden wrote: As of this morning's portsnap (Tue Nov 30 10:35:59 PST 2010), virtualbox-ose no longer builds: # cd /usr/ports/emulators/virtualbox-ose make install clean 21 | tail -n 25 kBuild: Adjusting BCC Assembly PcBiosBin - /usr/ports/emulators/virtualbox-ose/work/VirtualBox-3.2.10_OSE/out/freebsd.amd64/release/obj/PcBiosBin/rombios0.s kBuild: Compiling VgaBiosBin - /usr/ports/emulators/virtualbox-ose/work/VirtualBox-3.2.10_OSE/out/freebsd.amd64/release/obj/VgaBiosBin/_vgabios_.c kBuild: Linking VgaDefBiosLogo kBuild: Compiling EfiThunkBin - /usr/ports/emulators/virtualbox-ose/work/VirtualBox-3.2.10_OSE/out/freebsd.amd64/release/obj/EfiThunkBin/EfiThunkBin.c kBuild: iasl DevicesR3 - /usr/ports/emulators/virtualbox-ose/work/VirtualBox-3.2.10_OSE/src/VBox/Devices/PC/vbox.dsl /usr/ports/emulators/virtualbox-ose/work/VirtualBox-3.2.10_OSE/src/VBox/Devices/PC/vbox.dsl 736: Name (_CID, smc-napa) Error4001 - String must be entirely alphanumeric ^ (smc-napa) ASL Input: /usr/ports/emulators/virtualbox-ose/work/VirtualBox-3.2.10_OSE/src/VBox/Devices/PC/vbox.dsl - 1305 lines, 46193 bytes, 288 keywords Compilation complete. 1 Errors, 0 Warnings, 0 Remarks, 404 Optimizations kmk[2]: *** [/usr/ports/emulators/virtualbox-ose/work/VirtualBox-3.2.10_OSE/out/freebsd.amd64/release/obj/DevicesR3/vboxaml.hex] Error 255 kmk[2]: *** Deleting file `/usr/ports/emulators/virtualbox-ose/work/VirtualBox-3.2.10_OSE/out/freebsd.amd64/release/obj/DevicesR3/vboxaml.hex' kmk[2]: *** Waiting for unfinished jobs kmk[2]: Leaving directory `/usr/ports/emulators/virtualbox-ose/work/VirtualBox-3.2.10_OSE' kmk[2]: Entering directory `/usr/ports/emulators/virtualbox-ose/work/VirtualBox-3.2.10_OSE' kmk[2]: *** Exiting with status 2 kmk[1]: *** [pass_libraries_this] Error 2 kmk[1]: Leaving directory `/usr/ports/emulators/virtualbox-ose/work/VirtualBox-3.2.10_OSE' kmk: *** [pass_libraries_order] Error 2 *** Error code 2 Stop in /usr/ports/emulators/virtualbox-ose. *** Error code 1 Stop in /usr/ports/emulators/virtualbox-ose. Could you please try this patch: http://www.freebsd.org/cgi/query-pr.cgi?pr=152710 Beat ___ 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: virtualbox-ose port broken?
Quoth Beat Gaetzi on Tuesday, 30 November 2010: On 30.11.2010 19:54, Chip Camden wrote: As of this morning's portsnap (Tue Nov 30 10:35:59 PST 2010), virtualbox-ose no longer builds: # cd /usr/ports/emulators/virtualbox-ose make install clean 21 | tail -n 25 kBuild: Adjusting BCC Assembly PcBiosBin - /usr/ports/emulators/virtualbox-ose/work/VirtualBox-3.2.10_OSE/out/freebsd.amd64/release/obj/PcBiosBin/rombios0.s kBuild: Compiling VgaBiosBin - /usr/ports/emulators/virtualbox-ose/work/VirtualBox-3.2.10_OSE/out/freebsd.amd64/release/obj/VgaBiosBin/_vgabios_.c kBuild: Linking VgaDefBiosLogo kBuild: Compiling EfiThunkBin - /usr/ports/emulators/virtualbox-ose/work/VirtualBox-3.2.10_OSE/out/freebsd.amd64/release/obj/EfiThunkBin/EfiThunkBin.c kBuild: iasl DevicesR3 - /usr/ports/emulators/virtualbox-ose/work/VirtualBox-3.2.10_OSE/src/VBox/Devices/PC/vbox.dsl /usr/ports/emulators/virtualbox-ose/work/VirtualBox-3.2.10_OSE/src/VBox/Devices/PC/vbox.dsl 736: Name (_CID, smc-napa) Error4001 - String must be entirely alphanumeric ^ (smc-napa) ASL Input: /usr/ports/emulators/virtualbox-ose/work/VirtualBox-3.2.10_OSE/src/VBox/Devices/PC/vbox.dsl - 1305 lines, 46193 bytes, 288 keywords Compilation complete. 1 Errors, 0 Warnings, 0 Remarks, 404 Optimizations kmk[2]: *** [/usr/ports/emulators/virtualbox-ose/work/VirtualBox-3.2.10_OSE/out/freebsd.amd64/release/obj/DevicesR3/vboxaml.hex] Error 255 kmk[2]: *** Deleting file `/usr/ports/emulators/virtualbox-ose/work/VirtualBox-3.2.10_OSE/out/freebsd.amd64/release/obj/DevicesR3/vboxaml.hex' kmk[2]: *** Waiting for unfinished jobs kmk[2]: Leaving directory `/usr/ports/emulators/virtualbox-ose/work/VirtualBox-3.2.10_OSE' kmk[2]: Entering directory `/usr/ports/emulators/virtualbox-ose/work/VirtualBox-3.2.10_OSE' kmk[2]: *** Exiting with status 2 kmk[1]: *** [pass_libraries_this] Error 2 kmk[1]: Leaving directory `/usr/ports/emulators/virtualbox-ose/work/VirtualBox-3.2.10_OSE' kmk: *** [pass_libraries_order] Error 2 *** Error code 2 Stop in /usr/ports/emulators/virtualbox-ose. *** Error code 1 Stop in /usr/ports/emulators/virtualbox-ose. Could you please try this patch: http://www.freebsd.org/cgi/query-pr.cgi?pr=152710 Beat That works for me. Cheers! -- Sterling (Chip) Camden| sterl...@camdensoftware.com | 2048D/3A978E4F http://camdensoftware.com | http://chipstips.com| http://chipsquips.com pgpmhM6hJBaV2.pgp Description: PGP signature
pkg_add fail on FreeBSD V8.0
OK, another show stopper for me, but probably a simple fix for the wise on list. FreeBSD V8.0 that I'm slowley getting to know (and beginning to like!) FreeBSD FBSD.67MK181QZ 8.0-RELEASE FreeBSD 8.0-RELEASE #0: Wed Apr 14 22:55:09 BST 2010 r...@fbsd.67mk181qz:/usr/obj/usr/src/sys/PPSGENERIC i386 Looking to install the Hiawatha webserver, but got this when I tried... pkg_add -r hiawatha Error: Unable to get ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-8.0- release/Latest/hiawatha.tbz: File unavailable (e.g., file not found, no access) pkg_add: unable to fetch 'ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-8.0- release/Latest/hiawatha.tbz' by URL It worked ok on a V8.1 box I threw together for testing things during the works lunch hour. So, can I (and how) get this version to use I guess the 8.1 repository, or how do I cleanly update this to 8.1, though to maintain my needed PPS support I guess I'll need to recompile the kernel again? Is the change from V8.0 to V8.1 realy that a big step? Or compile Hiawatha from sources? (I *Will* need guidance and hand- holding to do that!) Advice please, before I mess things up. Regards. Dave B. ___ 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
8 partitions maximum
Hello, We all know that we can only have 8 ufs partitions in one freebsd slice. Since OpenBSD and NetBSD can support at most 32 partitions iirc. I wonder why FreeBSD still lacks more ufs partitions in one slice? Is there any plan to grow up max partitions or every work is dedicated to ZFS? Kind regards, ___ 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: pkg_add fail on FreeBSD V8.0
On Nov 30, 2010, at 12:39 PM, Dave wrote: Or compile Hiawatha from sources? (I *Will* need guidance and hand-holding to do that!) Well. Start with: cd /usr/ports/www/hiawatha make install Regards, -- -Chuck ___ 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: pkg_add fail on FreeBSD V8.0
On Tue, Nov 30, 2010 at 08:39:24PM -, Dave thus spake: OK, another show stopper for me, but probably a simple fix for the wise on list. FreeBSD V8.0 that I'm slowley getting to know (and beginning to like!) FreeBSD FBSD.67MK181QZ 8.0-RELEASE FreeBSD 8.0-RELEASE #0: Wed Apr 14 22:55:09 BST 2010 r...@fbsd.67mk181qz:/usr/obj/usr/src/sys/PPSGENERIC i386 Looking to install the Hiawatha webserver, but got this when I tried... pkg_add -r hiawatha Error: Unable to get ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-8.0- release/Latest/hiawatha.tbz: File unavailable (e.g., file not found, no access) pkg_add: unable to fetch 'ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-8.0- release/Latest/hiawatha.tbz' by URL It worked ok on a V8.1 box I threw together for testing things during the works lunch hour. So, can I (and how) get this version to use I guess the 8.1 repository, or how do I cleanly update this to 8.1, though to maintain my needed PPS support I guess I'll need to recompile the kernel again? Is the change from V8.0 to V8.1 realy that a big step? Or compile Hiawatha from sources? (I *Will* need guidance and hand- holding to do that!) Advice please, before I mess things up. Regards. Dave B. Are you using sudo by chance when installing? ___ 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 -- Jason Helfman System Administrator experts-exchange.com http://www.experts-exchange.com/M_4830110.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
Re: pkg_add fail on FreeBSD V8.0
On Tue, 30 Nov 2010 20:39:24 -, Dave d...@g8kbv.demon.co.uk wrote: So, can I (and how) get this version to use I guess the 8.1 repository, or how do I cleanly update this to 8.1, though to maintain my needed PPS support I guess I'll need to recompile the kernel again? Is the change from V8.0 to V8.1 realy that a big step? There is no such thing like a version-centered repository like on many Linusi. If you install a port via pkg_add -r, it will always be a current port. As time marches on, the ports tree on the servers changes. From time to time, packages are built from this ports tree using each port's default settings. Those binary packages are then installed via the pkg_add -r program. See man pkg_add, especially where PACKAGEROOT and PACKAGESITE are mentioned. You can, however, install precompiled binary packages for -RELEASE if you want. Instead of Latest/, a different subtree of packages will be addressed on the server. Or compile Hiawatha from sources? (I *Will* need guidance and hand- holding to do that!) No big deal. # cd /usr/ports/www/hiawatha/ # make install See man ports for details on how the ports system holds your hand when dealing with source. :-) You can also use a port management tool to do that. In my opinion, the most important one is portmaster. I've been using portinstall / portupgrade for many years now. It also allows you to select if you want to compile from source, e. g. # portinstall www/hiawatha/ or if you intendedly want to use a precompiled package if available, e. g. # portinstall -PP www/hiawatha/ See man portupgrade and man pkgdb for details. Allthough some consider it bad behaviour, you can mix using ports and packages. As long as you keep an eye on not duplicating stuff (pkgdb -aF helps here), it will work well. -- 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
Re: 8 partitions maximum
On Tue, 30 Nov 2010 21:45:03 +0100, David Demelier demelier.da...@gmail.com wrote: Since OpenBSD and NetBSD can support at most 32 partitions iirc. I thought the limit was 26, as the letters a to z... -- 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
Re: 8 partitions maximum
On 11/30/10, David Demelier demelier.da...@gmail.com wrote: Hello, We all know that we can only have 8 ufs partitions in one freebsd slice. Since OpenBSD and NetBSD can support at most 32 partitions iirc. I wonder why FreeBSD still lacks more ufs partitions in one slice? Actually FreeBSD supports more that 8 ufs partitions via gpart(8). ___ 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: 8 partitions maximum
Le Tue, 30 Nov 2010 21:45:03 +0100, David Demelier demelier.da...@gmail.com a écrit : Hello, Hello, We all know that we can only have 8 ufs partitions in one freebsd slice. Since OpenBSD and NetBSD can support at most 32 partitions iirc. I wonder why FreeBSD still lacks more ufs partitions in one slice? Is there any plan to grow up max partitions or every work is dedicated to ZFS? hmmm, isn't already done in 8.X ? from what's cooking for FreeBSD 8.0 http://ivoras.sharanet.org/freebsd/freebsd8.html « bsdlabel gets extended to 26 partitions Status: Committed to -CURRENT Will appear in 8.0: sure Author: Marcel Moolenaar Web: commit message bsdlabel is (finally!) extended to support more than 8 partitions. The new limit of 26 partitions comes from the number of lower-case letters. To make use of this change, GEOM_PART needs to be used instead of GEOM_BSD (this is default in 8.0 but will not work with older kernels). » Regards. ___ 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: 8 partitions maximum
2010/11/30 Patrick Lamaiziere patf...@davenulle.org: Le Tue, 30 Nov 2010 21:45:03 +0100, David Demelier demelier.da...@gmail.com a écrit : Hello, Hello, We all know that we can only have 8 ufs partitions in one freebsd slice. Since OpenBSD and NetBSD can support at most 32 partitions iirc. I wonder why FreeBSD still lacks more ufs partitions in one slice? Is there any plan to grow up max partitions or every work is dedicated to ZFS? hmmm, isn't already done in 8.X ? from what's cooking for FreeBSD 8.0 http://ivoras.sharanet.org/freebsd/freebsd8.html « bsdlabel gets extended to 26 partitions Status: Committed to -CURRENT Will appear in 8.0: sure Author: Marcel Moolenaar Web: commit message bsdlabel is (finally!) extended to support more than 8 partitions. The new limit of 26 partitions comes from the number of lower-case letters. To make use of this change, GEOM_PART needs to be used instead of GEOM_BSD (this is default in 8.0 but will not work with older kernels). » I don't have GEOM_PART in my kernel, but if you said it's default it should be pulled in. Regards. ___ 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 But why : # /dev/md2s1: 8 partitions: #size offsetfstype [fsize bsize bps/cpg] a: 10m 164.2BSD0 0 b: 10m *4.2BSD0 0 d: 10m *4.2BSD0 0 e: 10m *4.2BSD0 0 f: 10m *4.2BSD0 0 g: 10m *4.2BSD0 0 h: 10m *4.2BSD0 0 i: 10m *4.2BSD0 0 j: 10m *4.2BSD0 0 k: 10m *4.2BSD0 0 c: 20479730unused0 0 # raw part, don't edit line 11: partition name out of range a-h: i line 12: partition name out of range a-h: j line 13: partition name out of range a-h: k re-edit the label? [y]: I'm on 8.1-RELEASE. Cheers, -- Demelier David ___ 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: 8 partitions maximum
On 11/30/10, David DEMELIER demelier.da...@gmail.com wrote: 2010/11/30 Patrick Lamaiziere patf...@davenulle.org: Le Tue, 30 Nov 2010 21:45:03 +0100, David Demelier demelier.da...@gmail.com a ecrit : Hello, Hello, We all know that we can only have 8 ufs partitions in one freebsd slice. Since OpenBSD and NetBSD can support at most 32 partitions iirc. I wonder why FreeBSD still lacks more ufs partitions in one slice? Is there any plan to grow up max partitions or every work is dedicated to ZFS? hmmm, isn't already done in 8.X ? from what's cooking for FreeBSD 8.0 http://ivoras.sharanet.org/freebsd/freebsd8.html bsdlabel gets extended to 26 partitions Status: Committed to -CURRENT Will appear in 8.0: sure Author: Marcel Moolenaar Web: commit message bsdlabel is (finally!) extended to support more than 8 partitions. The new limit of 26 partitions comes from the number of lower-case letters. To make use of this change, GEOM_PART needs to be used instead of GEOM_BSD (this is default in 8.0 but will not work with older kernels). I don't have GEOM_PART in my kernel, but if you said it's default it should be pulled in. Regards. ___ 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 But why : # /dev/md2s1: 8 partitions: #size offsetfstype [fsize bsize bps/cpg] a: 10m 164.2BSD0 0 b: 10m *4.2BSD0 0 d: 10m *4.2BSD0 0 e: 10m *4.2BSD0 0 f: 10m *4.2BSD0 0 g: 10m *4.2BSD0 0 h: 10m *4.2BSD0 0 i: 10m *4.2BSD0 0 j: 10m *4.2BSD0 0 k: 10m *4.2BSD0 0 c: 20479730unused0 0 # raw part, don't edit line 11: partition name out of range a-h: i line 12: partition name out of range a-h: j line 13: partition name out of range a-h: k re-edit the label? [y]: I'm on 8.1-RELEASE. To make use of such feature you need to recreate table with gpart(8). bsdlabel is not going to work. ___ 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: 8 partitions maximum
2010/11/30 Paul B Mahol one...@gmail.com: On 11/30/10, David DEMELIER demelier.da...@gmail.com wrote: 2010/11/30 Patrick Lamaiziere patf...@davenulle.org: Le Tue, 30 Nov 2010 21:45:03 +0100, David Demelier demelier.da...@gmail.com a ecrit : Hello, Hello, We all know that we can only have 8 ufs partitions in one freebsd slice. Since OpenBSD and NetBSD can support at most 32 partitions iirc. I wonder why FreeBSD still lacks more ufs partitions in one slice? Is there any plan to grow up max partitions or every work is dedicated to ZFS? hmmm, isn't already done in 8.X ? from what's cooking for FreeBSD 8.0 http://ivoras.sharanet.org/freebsd/freebsd8.html bsdlabel gets extended to 26 partitions Status: Committed to -CURRENT Will appear in 8.0: sure Author: Marcel Moolenaar Web: commit message bsdlabel is (finally!) extended to support more than 8 partitions. The new limit of 26 partitions comes from the number of lower-case letters. To make use of this change, GEOM_PART needs to be used instead of GEOM_BSD (this is default in 8.0 but will not work with older kernels). I don't have GEOM_PART in my kernel, but if you said it's default it should be pulled in. Regards. ___ 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 But why : # /dev/md2s1: 8 partitions: # size offset fstype [fsize bsize bps/cpg] a: 10m 16 4.2BSD 0 0 b: 10m * 4.2BSD 0 0 d: 10m * 4.2BSD 0 0 e: 10m * 4.2BSD 0 0 f: 10m * 4.2BSD 0 0 g: 10m * 4.2BSD 0 0 h: 10m * 4.2BSD 0 0 i: 10m * 4.2BSD 0 0 j: 10m * 4.2BSD 0 0 k: 10m * 4.2BSD 0 0 c: 2047973 0 unused 0 0 # raw part, don't edit line 11: partition name out of range a-h: i line 12: partition name out of range a-h: j line 13: partition name out of range a-h: k re-edit the label? [y]: I'm on 8.1-RELEASE. To make use of such feature you need to recreate table with gpart(8). bsdlabel is not going to work. mark...@melon ~ $ sudo dd if=/dev/zero of=myfile.img bs=1m count=100 100+0 records in 100+0 records out 104857600 bytes transferred in 2.095537 secs (50038530 bytes/sec) mark...@melon ~ $ sudo mdconfig -a -f myfile.img -u 2 mark...@melon ~ $ sudo gpart create -s MBR md2 md2 created mark...@melon ~ $ sudo gpart show md2s1 gpart: No such geom: md2s1. mark...@melon ~ $ sudo gpart add -t freebsd md2 md2s1 added mark...@melon ~ $ sudo gpart add -t freebsd-ufs md2s1 gpart: No such geom: md2s1. mark...@melon ~ $ sudo gpart create -s BSD md2s1 md2s1 created mark...@melon ~ $ sudo gpart add -t freebsd-ufs -s 1m md2s1 md2s1a added mark...@melon ~ $ sudo gpart add -t freebsd-ufs -s 1m md2s1 md2s1b added mark...@melon ~ $ sudo gpart add -t freebsd-ufs -s 1m md2s1 md2s1d added mark...@melon ~ $ sudo gpart add -t freebsd-ufs -s 1m md2s1 md2s1e added mark...@melon ~ $ sudo gpart add -t freebsd-ufs -s 1m md2s1 md2s1f added mark...@melon ~ $ sudo gpart add -t freebsd-ufs -s 1m md2s1 md2s1g added mark...@melon ~ $ sudo gpart add -t freebsd-ufs -s 1m md2s1 md2s1h added mark...@melon ~ $ sudo gpart add -t freebsd-ufs -s 1m md2s1 gpart: index '9': No space left on device mark...@melon ~ $ sudo gpart add -t freebsd-ufs -s 1m md2s1 gpart: index '9': No space left on device Maybe I really need GEOM_PART? Or I'm doing something wrong. -- Demelier David ___ 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: 8 partitions maximum
On 11/30/10, David DEMELIER demelier.da...@gmail.com wrote: 2010/11/30 Paul B Mahol one...@gmail.com: On 11/30/10, David DEMELIER demelier.da...@gmail.com wrote: 2010/11/30 Patrick Lamaiziere patf...@davenulle.org: Le Tue, 30 Nov 2010 21:45:03 +0100, David Demelier demelier.da...@gmail.com a ecrit : Hello, Hello, We all know that we can only have 8 ufs partitions in one freebsd slice. Since OpenBSD and NetBSD can support at most 32 partitions iirc. I wonder why FreeBSD still lacks more ufs partitions in one slice? Is there any plan to grow up max partitions or every work is dedicated to ZFS? hmmm, isn't already done in 8.X ? from what's cooking for FreeBSD 8.0 http://ivoras.sharanet.org/freebsd/freebsd8.html bsdlabel gets extended to 26 partitions Status: Committed to -CURRENT Will appear in 8.0: sure Author: Marcel Moolenaar Web: commit message bsdlabel is (finally!) extended to support more than 8 partitions. The new limit of 26 partitions comes from the number of lower-case letters. To make use of this change, GEOM_PART needs to be used instead of GEOM_BSD (this is default in 8.0 but will not work with older kernels). I don't have GEOM_PART in my kernel, but if you said it's default it should be pulled in. Regards. ___ 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 But why : # /dev/md2s1: 8 partitions: #size offsetfstype [fsize bsize bps/cpg] a: 10m 164.2BSD0 0 b: 10m *4.2BSD0 0 d: 10m *4.2BSD0 0 e: 10m *4.2BSD0 0 f: 10m *4.2BSD0 0 g: 10m *4.2BSD0 0 h: 10m *4.2BSD0 0 i: 10m *4.2BSD0 0 j: 10m *4.2BSD0 0 k: 10m *4.2BSD0 0 c: 20479730unused0 0 # raw part, don't edit line 11: partition name out of range a-h: i line 12: partition name out of range a-h: j line 13: partition name out of range a-h: k re-edit the label? [y]: I'm on 8.1-RELEASE. To make use of such feature you need to recreate table with gpart(8). bsdlabel is not going to work. mark...@melon ~ $ sudo dd if=/dev/zero of=myfile.img bs=1m count=100 100+0 records in 100+0 records out 104857600 bytes transferred in 2.095537 secs (50038530 bytes/sec) mark...@melon ~ $ sudo mdconfig -a -f myfile.img -u 2 mark...@melon ~ $ sudo gpart create -s MBR md2 md2 created mark...@melon ~ $ sudo gpart show md2s1 gpart: No such geom: md2s1. mark...@melon ~ $ sudo gpart add -t freebsd md2 md2s1 added mark...@melon ~ $ sudo gpart add -t freebsd-ufs md2s1 gpart: No such geom: md2s1. mark...@melon ~ $ sudo gpart create -s BSD md2s1 gpart create -s BSD -n 26 md2s1 ___ 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: Stale NFS file handles on 8.x amd64
I set a wrong cc . Please look over to -stable. Sorry for that, Leon On Tue, Nov 30, 2010 at 03:10:18PM +, krad wrote: On 30 November 2010 01:48, Leon Meßner l.mess...@physik.tu-berlin.dewrote: Hi, On Mon, Nov 29, 2010 at 08:06:54PM -0500, Adam McDougall wrote: I've been running dovecot 1.1 on FreeBSD 7.x for a while with a bare minimum of NFS problems, but it got worse with 8.x. I have 2-4 servers (usually just 2) accessing mail on a Netapp over NFSv3 via imapd. delivery is via procmail which doesn't touch the dovecot metadata and webmail uses imapd. Client connections to imapd go to random servers and I don't yet have solid means to keep certain users on certain servers. I upgraded some of the servers to 8.x and dovecot 1.2 and ran into Stale NFS file handles causing index/uidlist corruption causing inboxes to appear as empty when they were not. In some situations their corrupt index had to be deleted manually. I first suspected dovecot 1.2 since it was upgraded at the same time but I downgraded to 1.1 and its doing the same thing. I don't really have a wealth of details to go on yet and I usually stay quiet until I do, and half the time it is difficult to reproduce myself so I've had to put it in production to get a feel for progress. This only happens a dozen or so times per weekday but I feel the need to start taking bigger steps. I'll probably do what Does it depend on the size of the message? I can to get IMAP back on a stable base (7.x?) and also try to debug 8.x on the remaining servers. A binary search is within possibility if I can reproduce the symptoms often enough even if I have to put a test server in production for a few hours. Any tips on where we could start looking, or alterations I could try making such as sysctls to return to older behavior? It might be worth there were some problems on nullfs mounted nfs shares (like in jails) and dovecot, as dovecot changed its location for temporary file creation to the user home. But IIRC the error message looked more like: http://www.mail-archive.com/dove...@dovecot.org/msg26856.html And are fixed in stable. Just a hint, Leon ___ 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 im seeing similar issues on a large mail platform with netapp and dovecot on freebsd 8.1 as well. The problems existed in 7.x as well though. Basically the NFS mount just locks up. I've not managed to pin point it yet but one thing im certain of its a client os issue rather than the filer. This is because only one node out fo the 16 will lock at any time on that particular nfs mount. Strangely as well if I remount the dead nfs share on say /mnt on the affected node, it works fine. I'm convinced its some kind of locking issue. I have dtrace (WITH_CTF=1) in the kernel, so will have a poke around with that and see if I can see anything interesting. Can anyone recommend anything here? ___ 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
OpenSSL Optimizations
I'm trying to determine what -- if any -- compiler optimizations are applied to crytpo libs/engines in FreeBSD, and the following output is not very helpful: $ uname -spr FreeBSD 8.1-RELEASE-p1 i386 $ openssl version -a OpenSSL 0.9.8n 24 Mar 2010 built on: date not available platform: FreeBSD-i386 options: bn(64,32) md2(int) rc4(idx,int) des(ptr,risc1,16,long) blowfish(idx) compiler: cc OPENSSLDIR: /etc/ssl Can someone clue me into what optimizations (if any) are applied? -- Cheers, Devin Teske - CONTACT INFORMATION - Business Solutions Consultant II FIS - fisglobal.com 510-735-5650 Mobile 510-621-2038 Office 510-621-2020 Office Fax 909-477-4578 Home/Fax devin.te...@fisglobal.com - LEGAL DISCLAIMER - This message contains confidential and proprietary information of the sender, and is intended only for the person(s) to whom it is addressed. Any use, distribution, copying or disclosure by any other person is strictly prohibited. If you have received this message in error, please notify the e-mail sender immediately, and delete the original message without making a copy. - FUN STUFF - -BEGIN GEEK CODE BLOCK- Version 3.1 GAT/CS d(+) s: a- C++() UB$ P++() L++() !E--- W++ N? o? K- w O M+ V- PS+ PE Y+ PGP- t(+) 5? X+(++) R++ tv(+) b+(++) DI+(++) D(+) G+++ e+ h r++ y+ --END GEEK CODE BLOCK-- http://www.geekcode.com/ - END TRANSMISSION - ___ 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: OpenSSL Optimizations
On Nov 30, 2010, at 3:19 PM, Devin Teske wrote: I'm trying to determine what -- if any -- compiler optimizations are applied to crytpo libs/engines in FreeBSD, and the following output is not very helpful: The default compiler flags are: cc -O2 -fno-strict-aliasing Regards, -- -Chuck ___ 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
gpt zfs booting - loader takes 25s
I've recently installed a ZFS-only system which is booting from GPT using a 'legacy' BIOS. Something I noticed straight away is that the loader takes a very long time: it pauses after enumerating the disks but before displaying information about the installed memory: BTX loader 1.0.0 BTX version is 1.02 Consoles: internal video/keyboard BIOS drive C: is disk0 BIOS drive D: is disk1 BIOS drive E: is disk2 BIOS drive F: is disk3 - pauses for 25 seconds, with the spinner occasionally moving BIOS 631kB/3666816kB available memory Is it normal for booting to take such a long time when booting from GPT? -- Bruce Cran ___ 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: gpt zfs booting - loader takes 25s
Bruce == Bruce Cran br...@cran.org.uk writes: Bruce Is it normal for booting to take such a long time when booting Bruce from GPT? Are you shutting down cleanly? I noticed my VPS takes a bit when I've done a hard reboot, but not when I let it go through all the nice sync, even though there aren't any console messages. I imagine something high-up in the kernel is asking the ZFS for the first block of a file, and only at that point does all the paperwork processing for consistency check come into play, so there are no messages, just a pause. -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 mer...@stonehenge.com URL:http://www.stonehenge.com/merlyn/ Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc. See http://methodsandmessages.posterous.com/ for Smalltalk discussion ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: gpt zfs booting - loader takes 25s
On Tue, 30 Nov 2010 17:08:03 -0800 mer...@stonehenge.com (Randal L. Schwartz) wrote: I imagine something high-up in the kernel is asking the ZFS for the first block of a file, and only at that point does all the paperwork processing for consistency check come into play, so there are no messages, just a pause. I'm doing a clean reboot, and I don't remember it taking this long when I had a ZFS-only system booting from a disk with an MBR scheme. -- Bruce Cran ___ 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: OpenSSL Optimizations
On Tue, 2010-11-30 at 16:00 -0800, Chuck Swiger wrote: On Nov 30, 2010, at 3:19 PM, Devin Teske wrote: I'm trying to determine what -- if any -- compiler optimizations are applied to crytpo libs/engines in FreeBSD, and the following output is not very helpful: The default compiler flags are: cc -O2 -fno-strict-aliasing That's not the type of optimizations I was referring to. Rather, I was referring to OpenSSL specific optimizations such as the *_ASM compile- time directives et cetera. When pitting the following (built from source via openssl.org): OpenSSL 0.9.8k 25 Mar 2009 built on: Tue Sep 1 07:48:40 PDT 2009 platform: BSD-x86-elf options: bn(64,32) md2(int) rc4(idx,int) des(ptr,risc1,16,long) idea(int) blowfish(idx) compiler: gcc -fPIC -DOPENSSL_PIC -DOPENSSL_THREADS -pthread -D_THREAD_SAFE -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -DL_ENDIAN -DTERMIOS -O3 -fomit-frame-pointer -Wall -DOPENSSL_BN_ASM_PART_WORDS -DSHA1_ASM -DMD5_ASM -DRMD160_ASM -DAES_ASM OPENSSLDIR: /etc/ssl against the default (provided by FreeBSD): OpenSSL 0.9.8k 25 Mar 2009 built on: date not available platform: FreeBSD-i386 options: bn(64,32) md2(int) rc4(idx,int) des(ptr,risc1,16,long) blowfish(idx) compiler: cc OPENSSLDIR: /etc/ssl The baseline FreeBSD version (which reports only cc) is _faster_ than the same exact version of OpenSSL taken from OpenSSL.org compiled with optimizations. I can't possibly believe that the FreeBSD baseline version is _not_ optimized given empirical testing. I also doubt that `-O2' and `-fno- strict-aliasing' are the only optimization flags used (and I can prove that this is not the case). I notice that crypto/openssl/crypto/cversion.c is simply: #ifdef CFLAGS static char buf[sizeof(CFLAGS)+11]; sprintf(buf,compiler: %s,CFLAGS); return(buf); #else return(compiler: information not available); #endif Which cversion.c expects to have CFLAGS defined by buildinf.h (which it includes at the top) ... Where buildinf.h as generated from the OpenSSL.org Configure/make process accurately sets CFLAGS to something meaningful, the FreeBSD make process doesn't. buildinf.h under FreeBSD is generated by secure/lib/libcrypto/Makefile.inc (included by secure/lib/libcrypto/Makefile): buildinf.h: ( echo #ifndef MK1MF_BUILD; \ echo /* auto-generated by crypto/Makefile.ssl for crypto/cversion.c */; \ echo #define CFLAGS \$(CC)\; \ echo #define PLATFORM \`uname -s`-`uname -m`\; \ echo #define DATE \`LC_ALL=C date`\; \ echo #endif ) ${.TARGET} As shown above, the output of `openssl version -a' will always simply show whatever $(CC) expands to (which on all binary releases that I could find simply reports cc). Shouldn't the Makefile.inc set the CFLAGS CPP-Macro to $(CC) $(CFLAGS) in buildinf.h rather than to $(CC) ?? I see that in secure/lib/libcrypto/Makefile.inc that CFLAGS does contain the optimizers that we're looking for... -DSHA1_ASM -DBN_ASM ... ad nauseum... .if !defined(NOPERL) CFLAGS+= -DSHA1_ASM -DBN_ASM -DMD5_ASM -DRMD160_ASM .endif I'm seriously considering the following patch: --- Makefile.inc.orig Wed Aug 7 09:31:48 2002 +++ Makefile.incTue Nov 30 17:45:53 2010 @@ -39,7 +39,7 @@ CLEANDIRS+= openssl buildinf.h: ( echo #ifndef MK1MF_BUILD; \ echo /* auto-generated by crypto/Makefile.ssl for crypto/cversion.c */; \ - echo #define CFLAGS \$(CC)\; \ + echo #define CFLAGS \$(CC) $(CFLAGS)\; \ echo #define PLATFORM \`uname -s`-`uname -m`\; \ echo #define DATE \`LC_ALL=C date`\; \ echo #endif ) ${.TARGET} Although, there surely must be a reason as to why this hasn't been done in the past, No? -- Cheers, Devin Teske - CONTACT INFORMATION - Business Solutions Consultant II FIS - fisglobal.com 510-735-5650 Mobile 510-621-2038 Office 510-621-2020 Office Fax 909-477-4578 Home/Fax devin.te...@fisglobal.com - LEGAL DISCLAIMER - This message contains confidential and proprietary information of the sender, and is intended only for the person(s) to whom it is addressed. Any use, distribution, copying or disclosure by any other person is strictly prohibited. If you have received this message in error, please notify the e-mail sender immediately, and delete the original message without making a copy. - FUN STUFF - -BEGIN GEEK CODE BLOCK- Version 3.1 GAT/CS d(+) s: a- C++() UB$ P++() L++() !E--- W++ N? o? K- w O M+ V- PS+ PE Y+ PGP- t(+) 5? X+(++) R++ tv(+) b+(++) DI+(++) D(+) G+++ e+ h r++ y+ --END GEEK CODE BLOCK-- http://www.geekcode.com/ - END TRANSMISSION - ___ 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
8.1-RELEASE hangs on reboot
Hello, my 8.1-R system has just started hanging on reboot. Specifically after I svn up'd my source and updated from 8.1-R-p1 to -p2. Some kind of hang occurs on every reboot attempt. Usually it hangs at the Rebooting... message, but sometimes the thing just locks up before it even syncs disks. shutdown -p now seems to shutdown the system successfully each time. So I booted into single-user mode, executed reboot and during the Syncing disks I pressed Ctrl-Alt-Escape to break into the debugger. There I single-stepped with the s command until the thing simply stopped doing anything. (Even if I pressed NumLock, the LED on the keyboard wouldn't turn off.) The screen content at the moment of hang is (dutifully typed over as the thing is dead and I don't have a serial cable): [thread pid 12 tid 100017 ] Stopped at sckbdevent+0x5f: call _mtx_unlock_flags db [thread pid 12 tid 100017 ] Stopped at _mtx_unlock_flags: pushq %rbp db [thread pid 12 tid 100017 ] Stopped at _mtx_unlock_flags+0x1: movq %rsp,%rbp db [thread pid 12 tid 100017 ] Stopped at _mtx_unloock_flags+0x4: subq $0x20,%rsp db [thread pid 12 tid 100017 ] Stopped at _mtx_unlock_flags+0x8: movq %rbx,(%rsp) db [thread pid 12 tid 100017 ] Stopped at _mtx_unlock_flags+0xc: movq %r12,0x8(%rsp) db [thread pid 12 pid 100017 ] Stopped at _mtx_unlock_flags+0x11: movq %rdi,%rbx db [thread pid 12 pid 100017 ] Stopped at _mtx_unlock_flags+0x14: movq %r13,0x10(%rsp) db E Including that E at the end. As I said, it's 8.1-RELEASE-p2; it's on AMD64. I'm using custom kernel which only differs from GENERIC by addition of the debugging options: options INVARIANTS options INVARIANT_SUPPORT options WITNESS options DEBUG_LOCKS options DEBUG_VFS_LOCKS options DIAGNOSTIC I tried rebooting with ACPI disabled, but the thing paniced on boot with panic: Duplicate free of item 0xff00025e from zone 0xff00bfdcc2a0(1024) cpuid = 0 KDB: enter: panic [thread pid 0 tid 10 ] Stopped at kdb_enter+0x3d: movq $0, 0x6b2d20(%rip) db bt Tracing pid 0 tid 10 td 0x80c63fc0 kdb_enter() at kdb_enter+0x3d panic() at panic+0x17b uma_dbg_free() at uma_dbg_free+0x171 uma_zfree_arg() at uma_zfree_arg+0x68 free() at free+0xcd device_set_driver() at device_set_driver+0x7c device_attach() at device_attach+0x19b bus_generic_attach() at bus_generic_attach+0x1a pci_attach() at pci_attach+0xf1 device_attach() at device_attach+0x69 bus_generic_attach() at bus_generic_attach+0x1a legacy_pcib_attach() at legacy_pcib_attach+0x70 device_attach() at device_attach+0x69 bus_generic_attach() at bus_generic_attach+0x1a legacy_attach() at legacy_attach+0x19 device_attach() at device_attach+0x69 bus_generic_attach() at bus_generic_attach+0x1a nexus_attach() at nexus_attach+0x68 device_attach() at device_attach+0x69 bus_generic_new_pass() at bus_generic_new_pass+0xd6 bus_set_pass() at bus_set_pass+0x7a configure() at configure+0xa mi_startup() at mi_startup+0x59 btext() at btext+0x2c db reboot That panic is 100% repeatable -- every time I try booting with ACPI disabled, I get exactly the same panic. So -- what can I do about it? I'll gladly provide more information of course. Ondra ___ 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
GPT/ZFS/USB mountroot prompt
I followed a gpt/zfs on USB stick guide for putting a base 8.1-RELEASE amd64 onto a 4GB sandisk USB memory stick. All went fairly well and the system will boot but fails to mount the root file system and dumps me a the mountroot prompt. Entering zfs:zrootusb at the prompt works and the system finishes booting. In /boot/loader.conf I've got: zfs_load=YES vfs.root.mountfrom=zfs:zrootusb zrootusb mountpoint is set to legacy and /etc/fstab exists but is empty, per the guide. Any ideas? Thanks, Carl ___ 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: GPT/ZFS/USB mountroot prompt
On Wed, Dec 1, 2010 at 12:07 AM, Carl Chave c...@chave.us wrote: I followed a gpt/zfs on USB stick guide for putting a base 8.1-RELEASE amd64 onto a 4GB sandisk USB memory stick. All went fairly well and the system will boot but fails to mount the root file system and dumps me a the mountroot prompt. Entering zfs:zrootusb at the prompt works and the system finishes booting. In /boot/loader.conf I've got: zfs_load=YES vfs.root.mountfrom=zfs:zrootusb zrootusb mountpoint is set to legacy and /etc/fstab exists but is empty, per the guide. Any ideas? Thanks, Carl adding kern.cam.boot_delay=1 to /boot/loader.conf seems to have fixed it. ___ 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: 8 partitions maximum
2010/11/30 Paul B Mahol one...@gmail.com: On 11/30/10, David DEMELIER demelier.da...@gmail.com wrote: 2010/11/30 Paul B Mahol one...@gmail.com: On 11/30/10, David DEMELIER demelier.da...@gmail.com wrote: 2010/11/30 Patrick Lamaiziere patf...@davenulle.org: Le Tue, 30 Nov 2010 21:45:03 +0100, David Demelier demelier.da...@gmail.com a ecrit : Hello, Hello, We all know that we can only have 8 ufs partitions in one freebsd slice. Since OpenBSD and NetBSD can support at most 32 partitions iirc. I wonder why FreeBSD still lacks more ufs partitions in one slice? Is there any plan to grow up max partitions or every work is dedicated to ZFS? hmmm, isn't already done in 8.X ? from what's cooking for FreeBSD 8.0 http://ivoras.sharanet.org/freebsd/freebsd8.html bsdlabel gets extended to 26 partitions Status: Committed to -CURRENT Will appear in 8.0: sure Author: Marcel Moolenaar Web: commit message bsdlabel is (finally!) extended to support more than 8 partitions. The new limit of 26 partitions comes from the number of lower-case letters. To make use of this change, GEOM_PART needs to be used instead of GEOM_BSD (this is default in 8.0 but will not work with older kernels). I don't have GEOM_PART in my kernel, but if you said it's default it should be pulled in. Regards. ___ 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 But why : # /dev/md2s1: 8 partitions: # size offset fstype [fsize bsize bps/cpg] a: 10m 16 4.2BSD 0 0 b: 10m * 4.2BSD 0 0 d: 10m * 4.2BSD 0 0 e: 10m * 4.2BSD 0 0 f: 10m * 4.2BSD 0 0 g: 10m * 4.2BSD 0 0 h: 10m * 4.2BSD 0 0 i: 10m * 4.2BSD 0 0 j: 10m * 4.2BSD 0 0 k: 10m * 4.2BSD 0 0 c: 2047973 0 unused 0 0 # raw part, don't edit line 11: partition name out of range a-h: i line 12: partition name out of range a-h: j line 13: partition name out of range a-h: k re-edit the label? [y]: I'm on 8.1-RELEASE. To make use of such feature you need to recreate table with gpart(8). bsdlabel is not going to work. mark...@melon ~ $ sudo dd if=/dev/zero of=myfile.img bs=1m count=100 100+0 records in 100+0 records out 104857600 bytes transferred in 2.095537 secs (50038530 bytes/sec) mark...@melon ~ $ sudo mdconfig -a -f myfile.img -u 2 mark...@melon ~ $ sudo gpart create -s MBR md2 md2 created mark...@melon ~ $ sudo gpart show md2s1 gpart: No such geom: md2s1. mark...@melon ~ $ sudo gpart add -t freebsd md2 md2s1 added mark...@melon ~ $ sudo gpart add -t freebsd-ufs md2s1 gpart: No such geom: md2s1. mark...@melon ~ $ sudo gpart create -s BSD md2s1 gpart create -s BSD -n 26 md2s1 Thank you, I didn't see this little part of gpart(8). -- Demelier David ___ 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: CURRENT: Issue with ZFS and 2TB WD HDD (WDC WD20EURS-63Z9B1 80.00A80)
On 29.11.2010 11:52, O. Hartmann wrote: Exporting both volumes in FreeBSD 8 works. But importing them in FreeBSD 9.0-CURRENT/amd64 as with the most recent make world of today fails on the 2TB HDD (ZFS pool/volume BACKUP00). Issuing zpool import BACKUP00 results in cannot import 'BACKUP': no such pool available and on console I receive message It seems strange, why the pool name in error message is 'BACKUP' but not 'BACKUP00'? Surprisingly, the GPT partition of the pool BACKUP00 isn't shown in FreeBSD 9, while I see ada3p1 in FreeBSD 8.2. gpart show ada3 lists this: =34 3907029101 ada3 GPT (1.8T) 344062- free - (2.0M) 4096 3907025039 1 freebsd-zfs (1.8T) Do you have something related to GPT in log files? Can you show full output of `gpart show` from FreeBSD-8 and FreeBSD-9? -- WBR, Andrey V. Elsukov signature.asc Description: OpenPGP digital signature
Re: 8 partitions maximum
On 30/11/2010 23:29, Paul B Mahol wrote: On 11/30/10, David DEMELIERdemelier.da...@gmail.com wrote: 2010/11/30 Paul B Maholone...@gmail.com: On 11/30/10, David DEMELIERdemelier.da...@gmail.com wrote: 2010/11/30 Patrick Lamaizierepatf...@davenulle.org: Le Tue, 30 Nov 2010 21:45:03 +0100, David Demelierdemelier.da...@gmail.com a ecrit : Hello, Hello, We all know that we can only have 8 ufs partitions in one freebsd slice. Since OpenBSD and NetBSD can support at most 32 partitions iirc. I wonder why FreeBSD still lacks more ufs partitions in one slice? Is there any plan to grow up max partitions or every work is dedicated to ZFS? hmmm, isn't already done in 8.X ? from what's cooking for FreeBSD 8.0 http://ivoras.sharanet.org/freebsd/freebsd8.html bsdlabel gets extended to 26 partitions Status: Committed to -CURRENT Will appear in 8.0: sure Author: Marcel Moolenaar Web: commit message bsdlabel is (finally!) extended to support more than 8 partitions. The new limit of 26 partitions comes from the number of lower-case letters. To make use of this change, GEOM_PART needs to be used instead of GEOM_BSD (this is default in 8.0 but will not work with older kernels). I don't have GEOM_PART in my kernel, but if you said it's default it should be pulled in. Regards. ___ 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 But why : # /dev/md2s1: 8 partitions: #size offsetfstype [fsize bsize bps/cpg] a: 10m 164.2BSD0 0 b: 10m *4.2BSD0 0 d: 10m *4.2BSD0 0 e: 10m *4.2BSD0 0 f: 10m *4.2BSD0 0 g: 10m *4.2BSD0 0 h: 10m *4.2BSD0 0 i: 10m *4.2BSD0 0 j: 10m *4.2BSD0 0 k: 10m *4.2BSD0 0 c: 20479730unused0 0 # raw part, don't edit line 11: partition name out of range a-h: i line 12: partition name out of range a-h: j line 13: partition name out of range a-h: k re-edit the label? [y]: I'm on 8.1-RELEASE. To make use of such feature you need to recreate table with gpart(8). bsdlabel is not going to work. mark...@melon ~ $ sudo dd if=/dev/zero of=myfile.img bs=1m count=100 100+0 records in 100+0 records out 104857600 bytes transferred in 2.095537 secs (50038530 bytes/sec) mark...@melon ~ $ sudo mdconfig -a -f myfile.img -u 2 mark...@melon ~ $ sudo gpart create -s MBR md2 md2 created mark...@melon ~ $ sudo gpart show md2s1 gpart: No such geom: md2s1. mark...@melon ~ $ sudo gpart add -t freebsd md2 md2s1 added mark...@melon ~ $ sudo gpart add -t freebsd-ufs md2s1 gpart: No such geom: md2s1. mark...@melon ~ $ sudo gpart create -s BSD md2s1 gpart create -s BSD -n 26 md2s1 mark...@melon ~ $ sudo gpart create -s BSD -n 26 md0s1 gpart: entries '26': Invalid argument mark...@melon ~ $ sudo gpart create -s BSD -n 8 md0s1 md0s1 created ___ 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