Re: E-Mail scaling question
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 21/12/2010 19:39, Mark Moellering wrote: > Hello All, > My company needs a [new] e-mail solution for a product rollout. Rather than > have a few e-mail domains with lots of addresses, the solution we need is for > a very few (mostly one, very rarely more than 3) accounts on upwards of tens > of thousands of domains. > > I can't find any info on scaling sendmail or postfix to this many domains. > If > anyone has any info, knowledge, horror stories, etc. It would be greatly > appreciated > > Also, I am assuming that to play nice, we need a dedicated IP per domain, so > I > may have to survive setting that up before I even get to the e-mail. If > anyone knows of a legitimate way to set up an e-mail domain on a shared IP > and > not have half of the e-mail servers assume we are spammers, let me know. > > Thanks in advance > > Mark Moellering > classcreator.com > Any (or almost any) MTA you pick is able to handle 100's of domains with few addresses on them. Once you start running AV/Antispam and work our expected volume you may start thinking about performance issues... Question is what are you actually trying to achieve? Objectives? what is your business problem? Start from there and work your way out. There are plenty of companies offering hosted mail solution which may turn way cheaper then doing it yourself and so on. - -- bEsT rEgArDs| "Confidence is what you have before you tomasz dereszynski | understand the problem." -- Woody Allen | Spes confisa Deo| "In theory, theory and practice are much numquam confusa recedit | the same. In practice they are very | different." -- Albert Einstein -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQEcBAEBAgAGBQJNETXsAAoJEF8D4Gbs1j4hS4QIALlbqNOI3mjFJ54qsltHJ+za uuwEpUBro6anypYew+pdom2RXoSkNI0lsEnL9Yp73fa7Bgj/MWfjvqsBOCJn1oVS 4fovXamsS+2Xu/msOEE09krSMW5bKOLm5PUxcpLdBLDauZgPx4YmEaqGcgKhH884 YUtKtT2suJvCitvPW8pnfc3jUYAmvs+GFjMVcDDXVmumQxDmk3DRFpqZGtbdzE9d m47JWxxnmZAyAalZ87Bn8Dnc3BTzsdEQGF4gfyQ+3ai2e037a0/35Bc92Z6gZXFP FqWMa/b8Z/UV33+U+7jhJ9cQBssBT/jKF/OXlfkar0A4e9+VW7ruBbQow2yqOPY= =54/i -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: HP XW6400 install failure
Quoting Per olof Ljungmark : Hi, The machine restarts during DVD/Memstick boot, possibly when is trying to identify the HD. If I take out the LSI 3041E SAS controller and replace it with another SCSI controller or the motherboard SATA all is fine, installing other OS's with the 3041 is also fine. Tried various FBSD incarnmations from CD's lying around but none worked. Tried several machines as well, got four of them so this should exclude hw failure. Anyone with similar experiences? The controller uses the mpt driver. I'm right now burning a 9-current DVD to see what it says... Answering myself here, I guess this controller is not supported with mpe(4), I just thought it was... if someone thinks otherwise just let me know! ___ 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: A jail with a dash in its name
On Tue, Dec 21, 2010 at 9:26 PM, Matthew Seaman wrote: > Of course, there's no problem with using the form 'forest-friend' on the > RHS of any assignments, so long as it's properly quoted, of course. > Thanks for all your help! I chose to remove all hyphens instead. -- chs ___ 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: Install problem with 8.0 Release
On 12/21/2010 5:24 AM, Graeme Dargie wrote: > Hi list, > > > > I am trying to help a friend who is overseas install FreeBSD 8.0 i386. > Left to his own devices the install failed, so I ran through it with him > last night, all is fine till it gets to the root password screen where > the install just hangs. He is not very techy, all I could glean was the > system has an sis chipset and it previously ran windows 7 with no > problems, I am hoping to get a more detailed spec of the machine, but I > thought might make an initial enquiry to the list to see if anyone has > come across this behaviour before, or are there any obvious possible > causes ? Hard to say without more details as to why its hanging, but I would not bother with 8.0 as its quite old. Instead, try ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/ISO-IMAGES/8.2/FreeBSD-8.2-BETA1-i386-disc1.iso There is wider hardware support and many, many bug fixes. ---Mike ___ 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: Install problem with 8.0 Release
On Tue, Dec 21, 2010 at 4:24 AM, Graeme Dargie wrote: > I am trying to help a friend who is overseas install FreeBSD 8.0 i386. > Left to his own devices the install failed, so I ran through it with him > last night, all is fine till it gets to the root password screen where > the install just hangs. He is not very techy, all I could glean was the > system has an sis chipset and it previously ran windows 7 with no > problems, I am hoping to get a more detailed spec of the machine, but I > thought might make an initial enquiry to the list to see if anyone has > come across this behaviour before, or are there any obvious possible > causes ? > I'm not aware of anything that would cause those specific symptoms, but FreeBSD 8.0 is no longer supported. You should be using 8.1 and 8.2 is coming soon. Another possibility would be to use the PCBSD installer to install either PCBSD or a plain FreeBSD install. The newer PCBSD installer supports installing either version. -- Adam Vande More ___ 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"
Install problem with 8.0 Release
Hi list, I am trying to help a friend who is overseas install FreeBSD 8.0 i386. Left to his own devices the install failed, so I ran through it with him last night, all is fine till it gets to the root password screen where the install just hangs. He is not very techy, all I could glean was the system has an sis chipset and it previously ran windows 7 with no problems, I am hoping to get a more detailed spec of the machine, but I thought might make an initial enquiry to the list to see if anyone has come across this behaviour before, or are there any obvious possible causes ? Regards Graeme ___ 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: A jail with a dash in its name
On 21/12/2010 12:11, Robert Bonomi wrote: >> I want to create a jail called forest-friend. And having a dash in the >> > name seems to create problems for me. >> > >> > /etc/rc.conf: jail_forest-friend_rootdir=/usr/jails/forest-friend: not >> > found >> > >> > how do I escape that? You don't. rc.conf uses bourne shell syntax. The entries are all variable initializations. "jail_forest-friend_rootdir" is illegal as a variable name -- you can't have a '-' character in there. I suggest you /call/ your jail forest_friend and use that form in everything that appears on the LHS of an assignment in rc.conf. Of course, there's no problem with using the form 'forest-friend' on the RHS of any assignments, so long as it's properly quoted, of course. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate JID: matt...@infracaninophile.co.uk Kent, CT11 9PW signature.asc Description: OpenPGP digital signature
Re: E-Mail scaling question
On Dec 21, 2010, at 11:39 AM, Mark Moellering wrote: > My company needs a [new] e-mail solution for a product rollout. Rather than > have a few e-mail domains with lots of addresses, the solution we need is for > a very few (mostly one, very rarely more than 3) accounts on upwards of tens > of thousands of domains. I don't see much value in setting up tens of thousands of what sound like vanity domains, but you'll need postmaster@ working at each of these domains to be even minimally compliant with RFC-822/2822/etc, and most people expect abuse@ to work also. > I can't find any info on scaling sendmail or postfix to this many domains. > If > anyone has any info, knowledge, horror stories, etc. It would be greatly > appreciated You'll want to use hash table map type for sendmail's virtusertable or Postfix's virtual table-- see /usr/share/sendmail/cf/README or /usr/local/share/doc/postfix/VIRTUAL_README. > Also, I am assuming that to play nice, we need a dedicated IP per domain, so > I > may have to survive setting that up before I even get to the e-mail. If > anyone knows of a legitimate way to set up an e-mail domain on a shared IP > and > not have half of the e-mail servers assume we are spammers, let me know. There's nothing unusual about having one IP serve as the MX for many domains. After all, many hosting companies provided a shared email solution. What matters most to spam checking is the mail contents, whether forward and reverse DNS match, whether postmaster@ and abuse@ works, and whether bounces, address verification, etc are handled properly. 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: E-Mail scaling question
On Tue, Dec 21, 2010 at 2:39 PM, Mark Moellering wrote: > Hello All, > My company needs a [new] e-mail solution for a product rollout. Rather > than > have a few e-mail domains with lots of addresses, the solution we need is > for > a very few (mostly one, very rarely more than 3) accounts on upwards of > tens > of thousands of domains. > > I can't find any info on scaling sendmail or postfix to this many domains. > If > anyone has any info, knowledge, horror stories, etc. It would be greatly > appreciated > > Also, I am assuming that to play nice, we need a dedicated IP per domain, > so I > may have to survive setting that up before I even get to the e-mail. If > anyone knows of a legitimate way to set up an e-mail domain on a shared IP > and > not have half of the e-mail servers assume we are spammers, let me know. > > Thanks in advance > > Mark Moellering > classcreator.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" > You can set an IP only for mail for all the domains and point the MX Records to it. The PTR record just point it to the server real name and thats it. -- 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"
E-Mail scaling question
Hello All, My company needs a [new] e-mail solution for a product rollout. Rather than have a few e-mail domains with lots of addresses, the solution we need is for a very few (mostly one, very rarely more than 3) accounts on upwards of tens of thousands of domains. I can't find any info on scaling sendmail or postfix to this many domains. If anyone has any info, knowledge, horror stories, etc. It would be greatly appreciated Also, I am assuming that to play nice, we need a dedicated IP per domain, so I may have to survive setting that up before I even get to the e-mail. If anyone knows of a legitimate way to set up an e-mail domain on a shared IP and not have half of the e-mail servers assume we are spammers, let me know. Thanks in advance Mark Moellering classcreator.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: LG Vortex (VS660)
On Tue, Dec 21, 2010 at 7:43 AM, Da Rock < freebsd-questi...@herveybayaustralia.com.au> wrote: > Well thats new :) > > I've been playing with a HTC Android, disk access is fine, but trying to > get the tethering working. > > Whats usbconfig say? And is it every time you plug in, or does it come good > second or third (+) time round? > > usbconfig says ugen1.3: at usbus1, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON It's pretty consistent as far as the number of tries. I'm not worried about tethering so much as being able to plug it in to my laptop when I travel to add/remove data from the memory card (fbsd doesn't particularly like my internal card reader). ___ 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: use of menus crashes Firefox?
On Mon, Dec 20, 2010 at 7:51 PM, RW wrote: > On Mon, 20 Dec 2010 17:26:43 -0700 > Keith Seyffarth wrote: > > > > > > gdbm the core.dump and see if that helps (you may need to enable > > > symbols in > > > > Thanks for the information, but I'm not sure what you mean by "gdbm > > the core.dump." GDBM appears to be a database management tool of some > > sort, but the man page does not make it at all clear how one could or > > would gdbm a file. > > Probably should have been gdb. > Yes, should have been gdb, fat fingers tend to stumble when you type fast :D ___ 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: A jail with a dash in its name
On 21/12/2010 12:23, Christer Solskogen wrote: On Tue, Dec 21, 2010 at 12:06 PM, krad wrote: i'd stay away from characters like that. It should be ok in theory to use but in my experience it is more likely to cause problems in the future There's no problem of having a dash in a hostname, so why should it be in a jailname? Well, the immediate reason here is this: http://www.gnu.org/software/bash/manual/bashref.html#Definitions """ name A word consisting solely of letters, numbers, and underscores, and beginning with a letter or underscore. Names are used as shell variable and function names. Also referred to as an identifier. """ (ignoring that /bin/sh is not bash but the syntax is the same for this purpose). /etc/rc.conf is basically a shell script containing only variable assignments. I think you actually *could* have jails with arbitrary names (including international / utf-8 if you're not worried about formatting much) but only if you are going to manage them manually, not with /etc/rc.conf. ___ 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: Realtime
On Tue, Dec 21, 2010 at 7:21 AM, Da Rock wrote: > On 12/19/10 23:57, RW wrote: >> >> On Sun, 19 Dec 2010 14:32:42 +1000 >> Da Rock wrote: [...] > > Bugger! I was hoping there was more to it than that... I've read that > already. > Yeah I was left with the same feeling after tagging your thread for follow-up. The man says that it derives from the HP-UX model so maybe there are some references to that, and we shoudl start there. I would like to know what the exact differences are with nice. I was expecting to find for example, the rtprio value to be in actual time units, question: is there a correlation to the number and a concrete RT value say cpu cycles or so? Is there a way to calculate the the minimum expected timeslice or the maximum time to re-schedule. For example, in PLC design you usually have to guarantee that you will evaluate a certain number of ladder instruction in a maximum amount of time, say 1000 ladder instructions in a worst case of 100ms. So the question is if this is rt scheduling then there must be a correlation with rt units. I don't have much time but I will try to research this soon > Thanks > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org" > ___ 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"
18 Hidden Rules of Trade Shows
CLICK BELOW to read this message in your browser: http://tracking.skyline.com/t/14754328/688441831/54268308/0/?b44ed14b=OTk3ODgzNTM3NTBmNmE0NWFjNmFjYzM3NTVmMjQxOWQ%3d&x=0462185f If clicking doesn't work, copy the line above and paste it into your browser window. To remove your name from this list, send a blank email to leave-14754328-688441831.6bbae92de321221368883c607ff24...@nf114.n-email.net or click the link below http://tracking.skyline.com/t/14754328/688441831/50172148/0/?3e076d18=ZnJlZWJzZC1xdWVzdGlvbnNAZnJlZWJzZC5vcmc%3d&c73c8e04=c2t5bGluZQ%3d%3d&x=7b5cfd71 This email was sent to: freebsd-questions@freebsd.org This email was sent by: Skyline Exhibits 3355 Discovery Road, Eagan, MN 55121 ___ 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: A jail with a dash in its name
On 21 December 2010 13:21, Christer Solskogen wrote: > On Tue, Dec 21, 2010 at 1:54 PM, Da Rock > wrote: > > > However, whether or not a hyphen is allowed in the jail name is another > > matter. Yes a hyphen is allowed in a hostname, but in the rc.conf the > > hostname is set in a string (as mentioned before). Also, the jail name > and > > hostname don't need to be the same thing. > > Hence my email :-) > > This is how my rc.conf looks now: > #jail configuration for forest-friend > jail_forest-friend_rootdir="/usr/jails/forest-friend" > jail_forest-friend_hostname="forest-friend" > jail_forest-friend_ip="192.168.0.15" > > But still: > [r...@cheer /usr/local/share/jailcfg/templates/default/etc]# > /etc/rc.d/jail > /etc/rc.conf: jail_forest-friend_rootdir=/usr/jails/forest-friend: not > found > jail_forest-friend_hostname=forest-friend: not found > jail_forest-friend_ip=192.168.0.15: not found > Usage: /etc/rc.d/jail [fast|force|one](start|stop|restart|rcvar) > > -- > chs, > ___ > 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" > Its a shell limitation, neither bash or sh allow '-' as a valid character in a variable name $ sh $ test-car="test" test-car=test: not found $ test\car="test" testcar=test: not found $ test\\-car="test" test\-car=test: not found ___ 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: A jail with a dash in its name
On Tue, Dec 21, 2010 at 1:54 PM, Da Rock wrote: > However, whether or not a hyphen is allowed in the jail name is another > matter. Yes a hyphen is allowed in a hostname, but in the rc.conf the > hostname is set in a string (as mentioned before). Also, the jail name and > hostname don't need to be the same thing. Hence my email :-) This is how my rc.conf looks now: #jail configuration for forest-friend jail_forest-friend_rootdir="/usr/jails/forest-friend" jail_forest-friend_hostname="forest-friend" jail_forest-friend_ip="192.168.0.15" But still: [r...@cheer /usr/local/share/jailcfg/templates/default/etc]# /etc/rc.d/jail /etc/rc.conf: jail_forest-friend_rootdir=/usr/jails/forest-friend: not found jail_forest-friend_hostname=forest-friend: not found jail_forest-friend_ip=192.168.0.15: not found Usage: /etc/rc.d/jail [fast|force|one](start|stop|restart|rcvar) -- chs, ___ 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: A jail with a dash in its name
On 12/21/10 22:48, Christer Solskogen wrote: On Tue, Dec 21, 2010 at 1:11 PM, Robert Bonomi wrote: That statement appears to be a shell variable assignment, yet the error message indicates that the system is trying to find an executable by the name of the entire expression. You need to show us the actual line in /etc/rc.conf _and_ the surrounding context. part of rc.conf: jail_forest-friend_rootdir=/usr/jails/forest-friend jail_forest-friend_hostname=forest-friend jail_forest-friend_ip=192.168.0.15 cheer# /etc/rc.d/jail /etc/rc.conf: jail_forest-friend_rootdir=/usr/jails/forest-friend: not found jail_forest-friend_hostname=forest-friend: not found jail_forest-friend_ip=192.168.0.15: not found Usage: /etc/rc.d/jail [fast|force|one](start|stop|restart|rcvar) I believe what was referred to earlier was the lack of quotes- as in "". The rc variables in the conf are strings, so your rc.conf should have this: jail_forest-friend_rootdir="/usr/jails/forest-friend" jail_forest-friend_ip="192.168.0.15" However, whether or not a hyphen is allowed in the jail name is another matter. Yes a hyphen is allowed in a hostname, but in the rc.conf the hostname is set in a string (as mentioned before). Also, the jail name and hostname don't need to be the same thing. ___ 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: A jail with a dash in its name
On Tue, Dec 21, 2010 at 1:11 PM, Robert Bonomi wrote: > That statement appears to be a shell variable assignment, yet the > error message indicates that the system is trying to find an executable > by the name of the entire expression. > > You need to show us the actual line in /etc/rc.conf _and_ the surrounding > context. > part of rc.conf: jail_forest-friend_rootdir=/usr/jails/forest-friend jail_forest-friend_hostname=forest-friend jail_forest-friend_ip=192.168.0.15 cheer# /etc/rc.d/jail /etc/rc.conf: jail_forest-friend_rootdir=/usr/jails/forest-friend: not found jail_forest-friend_hostname=forest-friend: not found jail_forest-friend_ip=192.168.0.15: not found Usage: /etc/rc.d/jail [fast|force|one](start|stop|restart|rcvar) -- chs, ___ 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: LG Vortex (VS660)
On 12/21/10 16:27, Chris Brennan wrote: I have an LG Vortex (android2.2) phone, I'm pretty sure it's a VS660 and when I plug it into my fbsd8.1 laptop I get this Dec 20 19:31:36 blackdragon kernel: ugen1.3: at usbus1 Dec 20 19:31:36 blackdragon kernel: umass0: on usbus1 Dec 20 19:31:36 blackdragon kernel: umass0: SCSI over Bulk-Only; quirks = 0x Dec 20 19:31:37 blackdragon kernel: umass0:2:0:-1: Attached to scbus2 Dec 20 19:31:37 blackdragon kernel: cd1 at umass-sim0 bus 0 scbus2 target 0 lun 0 Dec 20 19:31:37 blackdragon kernel: cd1: Removable CD-ROM SCSI-2 device Dec 20 19:31:37 blackdragon kernel: cd1: 40.000MB/s transfers Dec 20 19:31:37 blackdragon kernel: cd1: cd present [10360 x 512 byte records] Dec 20 19:31:37 blackdragon kernel: (cd1:umass-sim0:0:0:0): READ TOC/PMA/ATIP. CDB: 43 2 0 0 0 0 aa 0 c 0 Dec 20 19:31:37 blackdragon kernel: (cd1:umass-sim0:0:0:0): CAM status: SCSI Status Error Dec 20 19:31:37 blackdragon kernel: (cd1:umass-sim0:0:0:0): SCSI status: Check Condition Dec 20 19:31:37 blackdragon kernel: (cd1:umass-sim0:0:0:0): SCSI sense: ILLEGAL REQUEST asc:24,0 (Invalid field in CDB) Dec 20 19:32:11 blackdragon kernel: ugen1.3: at usbus1 (disconnected) Dec 20 19:32:11 blackdragon kernel: umass0: at uhub1, port 5, addr 3 (disconnected) Dec 20 19:32:11 blackdragon kernel: (cd1:umass-sim0:0:0:0): lost device Dec 20 19:32:11 blackdragon kernel: (cd1:umass-sim0:0:0:0): removing device entry Dec 20 19:32:13 blackdragon root: Unknown USB device: vendor 0x1004 product 0x61c6 bus uhub1 Dec 20 19:32:13 blackdragon kernel: ugen1.3: at usbus1 Dec 20 19:32:13 blackdragon kernel: umass0: on usbus1 Dec 20 19:32:13 blackdragon kernel: umass0: SCSI over Bulk-Only; quirks = 0x Dec 20 19:32:14 blackdragon kernel: umass0:2:0:-1: Attached to scbus2 Dec 20 19:32:15 blackdragon kernel: (probe0:umass-sim0:0:0:0): TEST UNIT READY. CDB: 0 0 0 0 0 0 Dec 20 19:32:15 blackdragon kernel: (probe0:umass-sim0:0:0:0): CAM status: SCSI Status Error Dec 20 19:32:15 blackdragon kernel: (probe0:umass-sim0:0:0:0): SCSI status: Check Condition Dec 20 19:32:15 blackdragon kernel: (probe0:umass-sim0:0:0:0): SCSI sense: ILLEGAL REQUEST asc:24,0 (Invalid field in CDB) Dec 20 19:32:15 blackdragon kernel: (da0:umass-sim0:0:0:0): unsupportable block size 0 Dec 20 19:32:15 blackdragon kernel: (da0:umass-sim0:0:0:0): lost device Dec 20 19:32:15 blackdragon kernel: (da0:umass-sim0:0:0:0): unsupportable block size 134217728 Dec 20 19:32:15 blackdragon kernel: (da0:umass-sim0:0:0:0): removing device entry 'uname -a' is FreeBSD blackdragon.xaerolimit.net 8.1-RELEASE-p1 FreeBSD 8.1-RELEASE-p1 #2: Sat Oct 30 02:55:00 EDT 2010 r...@blackdragon.xaerolimit.net:/usr/obj/usr/src/sys/BlackDragon amd64 as can be seen in the except from /var/log/messages, as soon as the kernel tries to assign it a device node it freaks out and removes the node. I didn't unplug it and replug it, it tried to assign it a device node twice and gave up. It charges just fine, I just can't access the memory card in the phone to copy some pictures around. ___ Well thats new :) I've been playing with a HTC Android, disk access is fine, but trying to get the tethering working. Whats usbconfig say? And is it every time you plug in, or does it come good second or third (+) time round? ___ 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: FBSD Realtime
On 12/21/10 14:39, Ian Smith wrote: In freebsd-questions Digest, Vol 342, Issue 1, Message: 14 On Sun, 19 Dec 2010 19:49:08 -0600 Brandon Gooch wrote: > On Sun, Dec 19, 2010 at 6:49 AM, Da Rock >wrote: > >> I can't seem to get my head on straight with the realtime scheduling in > >> FBSD despite all my googling. Can someone give me a pointer to the latest > >> info? As far as I can tell FBSD has it, but only root(?) can use it? > >> > >> I'm interested in who can use it, and how to allow a user to obtain the > >> realtime access. > > There's an ongoing discussion/debate between two very knowledgeable > and talented developers (plus a supporting cast) regarding the > real-time support in FreeBSD; it's happening on freebsd-arch@: > > http://lists.freebsd.org/pipermail/freebsd-arch/2010-December/010835.html > > I suggest giving it a read if you are planning on deploying some > real-time process (or are interested in reading about FreeBSD > internals from some very knowledgeable people). Brandon, thanks for the pointer; I love it when those guys talk dirty :) Rock, I think that thread well explains why only root may assign rtprio. It's encouraging seeing rtprio get some oil; realt...@freebsd.org has been all but dead for years, its latest message scheduling euthanasia: http://lists.freebsd.org/pipermail/freebsd-realtime/2010-November/35.html cheers, Ian Yeah I know, its why I asked here first. I'm hunting in the archives, but given its so sparse and so far mostly past history I wanted to see if there was any newer info/docs/lists where I could gain some understanding of it. Thanks guys ___ 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: FBSD Realtime
On 12/20/10 11:49, Brandon Gooch wrote: On Sun, Dec 19, 2010 at 6:49 AM, Da Rock wrote: In light of the significant spam of late, it occurs to me that my former subject line may have been a little sparse... :) On 12/19/10 14:32, Da Rock wrote: I can't seem to get my head on straight with the realtime scheduling in FBSD despite all my googling. Can someone give me a pointer to the latest info? As far as I can tell FBSD has it, but only root(?) can use it? I'm interested in who can use it, and how to allow a user to obtain the realtime access. There's an ongoing discussion/debate between two very knowledgeable and talented developers (plus a supporting cast) regarding the real-time support in FreeBSD; it's happening on freebsd-arch@: http://lists.freebsd.org/pipermail/freebsd-arch/2010-December/010835.html I suggest giving it a read if you are planning on deploying some real-time process (or are interested in reading about FreeBSD internals from some very knowledgeable people). Good show! I'll check that out. I'm actually the latter... :) ___ 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: Realtime
On 12/19/10 23:57, RW wrote: On Sun, 19 Dec 2010 14:32:42 +1000 Da Rock wrote: I can't seem to get my head on straight with the realtime scheduling in FBSD despite all my googling. Can someone give me a pointer to the latest info? As far as I can tell FBSD has it, but only root(?) can use it? I'm interested in who can use it, and how to allow a user to obtain the realtime access. see rtprio(1). It has to be run as root so you would probably want use sudo. ___ 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" Bugger! I was hoping there was more to it than that... I've read that already. Thanks ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: A jail with a dash in its name
> From owner-freebsd-questi...@freebsd.org Tue Dec 21 04:58:59 2010 > Date: Tue, 21 Dec 2010 11:58:38 +0100 > From: Christer Solskogen > To: FreeBSD Mailing List > Subject: A jail with a dash in its name > > I want to create a jail called forest-friend. And having a dash in the > name seems to create problems for me. > > /etc/rc.conf: jail_forest-friend_rootdir=/usr/jails/forest-friend: not found > > how do I escape that? It looks to me like yo're chasing the wrong problem. That statement appears to be a shell variable assignment, yet the error message indicates that the system is trying to find an executable by the name of the entire expression. You need to show us the actual line in /etc/rc.conf _and_ the surrounding context. ___ 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: A jail with a dash in its name
On Tue, Dec 21, 2010 at 12:28 PM, Chris Rees wrote: > You tried single quotes? > How? Where? :-) jail_'forest-friend'_rootdir=/usr/jails/forest-friend also gives "/etc/rc.conf: jail_forest-friend_rootdir=/usr/jails/forest-friend: not found" -- chs, ___ 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: A jail with a dash in its name
On 21 December 2010 11:23, Christer Solskogen wrote: > On Tue, Dec 21, 2010 at 12:06 PM, krad wrote: >> i'd stay away from characters like that. It should be ok in theory to use >> but in my experience it is more likely to cause problems in the future >> > > There's no problem of having a dash in a hostname, so why should it be > in a jailname? > You tried single quotes? Chris ___ 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: A jail with a dash in its name
On Tue, Dec 21, 2010 at 12:06 PM, krad wrote: > i'd stay away from characters like that. It should be ok in theory to use > but in my experience it is more likely to cause problems in the future > There's no problem of having a dash in a hostname, so why should it be in a jailname? -- chs, ___ 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: A jail with a dash in its name
On 21 December 2010 10:58, Christer Solskogen wrote: > I want to create a jail called forest-friend. And having a dash in the > name seems to create problems for me. > > /etc/rc.conf: jail_forest-friend_rootdir=/usr/jails/forest-friend: not > found > > how do I escape that? > > -- > chs, > ___ > 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" > i'd stay away from characters like that. It should be ok in theory to use but in my experience it is more likely to cause problems in the future ___ 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"
A jail with a dash in its name
I want to create a jail called forest-friend. And having a dash in the name seems to create problems for me. /etc/rc.conf: jail_forest-friend_rootdir=/usr/jails/forest-friend: not found how do I escape that? -- chs, ___ 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"
soaccept
I'm about to use a char device for a kind of distributed processing, so I've coded the open function as follows. The problem is that soaccept returns 0 without populating the raddr. I've checked netstat, everything seems to be fine, the socket is created, bound and the state is LISTENING. Even the remote is connection is ESTABLISHED. But, it cannot receive anything. int open(struct cdev *dev, int flag, int otyp, struct thread *td) { uprintf("in open...\n"); int error = -1; socktd = td; error = socreate(AF_INET, &sock, SOCK_STREAM, IPPROTO_TCP, td->td_proc->p_ucred, socktd); if(error != 0) return error; sockaddr.sin_len = sizeof(struct sockaddr_in); sockaddr.sin_family = AF_INET; sockaddr.sin_port = htons(1234); sockaddr.sin_addr.s_addr = INADDR_ANY; error = sobind(sock, (struct sockaddr *)&sockaddr, socktd); uprintf("sobind error = %d\n", error); error = solisten(sock, 5, socktd); uprintf("solisten error = %d\n", error); error = soaccept(sock, (struct sockaddr **)&raddr); uprintf("soaccept error = %d, ip=%s\n", error, inet_ntoa(raddr->sin_addr)); uprintf("out open...\n"); return(error); } int read(struct cdev *dev, struct uio *uio, int ioflag) { int error = 0; error = soreceive(sock, (struct sockaddr **)&raddr, uio, NULL, NULL, NULL); return(error); } ___ 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"