Re: pcre library linking issues
On Thu, 19 Apr 2012, Aleksandr Miroslav wrote: On Thu, Apr 19, 2012 at 11:28 AM, Lars Eighner wrote: Create a symbolic link in the library so libpcre.so.0 points to libpcre.so.1 Thank you, this worked. It's a temporary measure, so rebuild everything that wants the old library, then remove the link. ___ 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: mounting ext2fs
Warren Block wrote: > On Thu, 19 Apr 2012, Matthias Apitz wrote: > > the problem with (this) cardreader seems to be that the card must > > already inserted at boot time; a later switch to another card, for > > example from a card with 'msdosfs' to a card with 'ext2fs', gives the > > problem in my first mail; don't know if this is a bug or feature :-) > > Try forced retasting after loading a card. > >true > /dev/da0 and/or unplugging/replugging the reader, if it is hot-pluggable (e.g. USB). ___ 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: Changing psm (mouse) resolution?
On Thu, 19 Apr 2012 14:25:48 -0700, Ronald F. Guilmette wrote: > > > The man page for the psm driver says: > > ... The current resolution can be changed at runtime. > > Unfortunately, it fails to mention any sort of command line utility > that would provide this functionality. It's mentioned as SEE ALSO ioctl(2), syslog(3), atkbdc(4), mouse(4), mse(4), sysmouse(4), moused(8), syslogd(8) in the manpage, even though it doesn't explicitely state that "moused" is the binary to run. > Is there a command line utility that provides this functionality? Or do > I need to write one from scratch, using the ioctl calls that are documented > in the man page? See "man moused" for details, especially the -r option should be useful. You can combine it with -f for testing. According to the manpage, something like # moused -f -r 300 -a 2.0 -p /dev/psm0 -t ps/2 should be good for testing. To make the settings permanent, you can code them into /etc/rc.conf, using moused_enable="YES" moused_port= moused_type= moused_flags= with the required values. -- 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: /usr/local/java/jboss5 fails to build
Hi and thank You very much ;) I will try this process tomorrow at 9.0 amd64. Also, about the provided HOWTO ... > how to patch, i run "make install" in /usr/ports/java/jboss5 > when jboss-src is downloaded and extracted i interrupted the build This should be possible by typing *make extract* instead? ;p Regards, vermaden "Horst Leitenmueller" pisze: > hi vermaden, > > here is the howto and all needed changes... > > > installation is done on a 8.2-RELEASE-p6 FreeBSD amd64 with openjdk6 > > what is missing is a settings.xml which must be located in the home directory > of root, or the one who is installing ports > > /root/.m2/settings.xml > > file is attached in this file the depricated jboss dependencies are kept; > otherwise you will not be able to build > > second thing is i removed/changed things from the pom.xml file in the > portbuild/usr/ports/java/jboss5/work/jboss-5.1.0.GA-src/ > > there are changes for > > and > > > > the entries glassfish i have removed > http://maven.glassfish.org/content/groups/glassfish they just deliver not > working response > > how to patch, i run "make install" in /usr/ports/java/jboss5 > when jboss-src is downloaded and extracted i interrupted the build > > patched the pom.xml (problem was, i thougth install will work, but it was > running and downloading garbage from glassfish repo...) > rm -rf /root/.m2/repository/ helps also if some garbage is collected > > jboss-team has announced there will be a repo change already some time ago, > but i also did not recognize it :-) until it was turned off... > > for the portmaintainer ? how to handle the settings.xml ? the other things > can be patched… > > > and settings.xml > -- ... ___ 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: /usr/local/java/jboss5 fails to build
hi vermaden, here is the howto and all needed changes... installation is done on a 8.2-RELEASE-p6 FreeBSD amd64 with openjdk6 what is missing is a settings.xml which must be located in the home directory of root, or the one who is installing ports /root/.m2/settings.xml file is attached in this file the depricated jboss dependencies are kept; otherwise you will not be able to build second thing is i removed/changed things from the pom.xml file in the portbuild/usr/ports/java/jboss5/work/jboss-5.1.0.GA-src/ there are changes for and the entries glassfish i have removed http://maven.glassfish.org/content/groups/glassfish they just deliver not working response how to patch, i run "make install" in /usr/ports/java/jboss5 when jboss-src is downloaded and extracted i interrupted the build patched the pom.xml (problem was, i thougth install will work, but it was running and downloading garbage from glassfish repo...) rm -rf /root/.m2/repository/ helps also if some garbage is collected jboss-team has announced there will be a repo change already some time ago, but i also did not recognize it :-) until it was turned off... for the portmaintainer ? how to handle the settings.xml ? the other things can be patched… and settings.xml here the patch for pom file: patch < patch.pom in portbuild/usr/ports/java/jboss5/work/jboss-5.1.0.GA-src/ patch.pom Description: Binary data patch can be applied like described here http://www.freebsddiary.org/patch.php br horst PS: BUILD SUCCESSFUL Total time: 11 minutes 25 seconds To run the jboss server from startup, add jboss5_enable="YES" in your /etc/rc.conf. Extra options can be found in the startup script. ===> Registering installation for jboss-5.1.0.GA_1,1 ;-) good luck On 19.04.2012, at 07:22, vermaden wrote: > "Horst Leitenmueller" pisze: >> it is functional i'm using it >> >> but some changes must be done on the maven dependencies, here is a summary >> of the changes to get it build again >> >> problem is jboss has change to a new repository system and all old urls are >> changed...(nice work of jboss team ;-)) >> just a few things must be changed >> >> i will write tomorrow the summary, i hope somebody can fix it then >> >> br horst > > Thanks, I appreciate Your help, waiting for instructions then ... > > ... and for JBoss community to reply ;) > > Regards, > vermaden > >> On 18.04.2012, at 21:30, Jason Helfman wrote: >> >>> On Wed, Apr 18, 2012 at 07:42:55AM +, vermaden thus spake: hi, I do not pressure to use the Ports version I just need a working JBOSS5 on FreeBSD, I can download jboss-5.1.0.GA.zip from here http://sourceforge.net/projects/jboss/files/JBoss/JBoss-5.1.0.GA/ But will it be fully functional on FreeBSD? Regards, vermaden >>> >>> I can't answer if it will be functional or not on FreeBSD until it is >>> successfully installed, however it being in the portstree gives me some >>> indication that it did work at one time. This is a vendor issue though, and >>> I would urge you to contact them regarding their maven repository issue with >>> the error you are receiving. >>> >>> I would be happy to look into this further after they are able to diagnose >>> the issue. >>> >>> Thanks! >>> -jgh >>> >>> -- >>> Jason Helfman | FreeBSD Committer >>> j...@freebsd.org | http://people.freebsd.org/~jgh >>> ___ >>> freebsd-j...@freebsd.org mailing list >>> http://lists.freebsd.org/mailman/listinfo/freebsd-java >>> To unsubscribe, send any mail to "freebsd-java-unsubscr...@freebsd.org" >> >> >> >> -- >> DI Horst Leitenmueller >> >> email: horst.leitenmuel...@liwest.at >> -- > > > > > -- > > ___ > freebsd-j...@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-java > To unsubscribe, send any mail to "freebsd-java-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: Changing psm (mouse) resolution?
In the last episode (Apr 19), Ronald F. Guilmette said: > The man page for the psm driver says: > > ... The current resolution can be changed at runtime. > > Unfortunately, it fails to mention any sort of command line utility that > would provide this functionality. > > Is there a command line utility that provides this functionality? Or do I > need to write one from scratch, using the ioctl calls that are documented > in the man page? moused lets you set it: -r resolution Set the resolution of the device; in Dots Per Inch, or low, medium-low, medium-high or high. This option may not be supported by all the device. -- 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"
Changing psm (mouse) resolution?
The man page for the psm driver says: ... The current resolution can be changed at runtime. Unfortunately, it fails to mention any sort of command line utility that would provide this functionality. Is there a command line utility that provides this functionality? Or do I need to write one from scratch, using the ioctl calls that are documented in the man page? ___ 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: pcre library linking issues
On Thu, Apr 19, 2012 at 11:28 AM, Lars Eighner wrote: > Create a symbolic link in the library so libpcre.so.0 points to > libpcre.so.1 Thank you, this worked. Alex ___ 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: pcre library linking issues
On Thu, 19 Apr 2012 10:28:43 -0500 (CDT) Lars Eighner wrote: > The old library should have been moved to a compatibility library so > that things that still depended on it could find it. This did not > happen for some reason. Only portupgrade does that by default. It's an option on portmaster, and unsupported by portmanager. ___ 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: mounting ext2fs
On Thu, 19 Apr 2012, Matthias Apitz wrote: El día Thursday, April 19, 2012 a las 08:29:52AM -0600, Warren Block escribió: On Thu, 19 Apr 2012, Matthias Apitz wrote: the problem with (this) cardreader seems to be that the card must already inserted at boot time; a later switch to another card, for example from a card with 'msdosfs' to a card with 'ext2fs', gives the problem in my first mail; don't know if this is a bug or feature :-) Try forced retasting after loading a card. true > /dev/da0 What do you expect exactly from this command? The actual shell will open /dev/da0 for writing + truncating and will connect (dup) its fd 1 to it; then it will execute 'true', perhaps as buit-in; so what? It looks wrong, doesn't it? Devices are "retasted" when opened for write. It doesn't actually write anything to da0, it's just a trick to force a retaste and get GEOM to show changed media or devices.___ 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: mounting ext2fs
On Thu, Apr 19, 2012 at 1:59 PM, Matthias Apitz wrote: > What do you expect exactly from this command? The actual shell will open > /dev/da0 for writing + truncating and will connect (dup) its fd 1 to it; > then it will execute 'true', perhaps as buit-in; so what? > As he stated, it forces a GEOM retasting which is something necessary when dealing with removable media. However I don't think it will help in this case as the device is already seen. More likely the problem is the fs itself. I'm having trouble discerning the current problem you are trying to solve given the scattered nature of the thread, but in general trouble mounting ext2/3 fs results from one of 3 things. GEOM doesn't see the partion which is what the "true > /dev/da0" fixes The fs wasn't dismounted cleanly and needs to be fsck'd The fs was created in a manner incompatible with FreeBSD ext2/3 support. -- 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"
Re: mounting ext2fs
El día Thursday, April 19, 2012 a las 08:29:52AM -0600, Warren Block escribió: > On Thu, 19 Apr 2012, Matthias Apitz wrote: > > > the problem with (this) cardreader seems to be that the card must > > already inserted at boot time; a later switch to another card, for > > example from a card with 'msdosfs' to a card with 'ext2fs', gives the > > problem in my first mail; don't know if this is a bug or feature :-) > > Try forced retasting after loading a card. > >true > /dev/da0 What do you expect exactly from this command? The actual shell will open /dev/da0 for writing + truncating and will connect (dup) its fd 1 to it; then it will execute 'true', perhaps as buit-in; so what? thanks matthias -- Matthias Apitz e - w http://www.unixarea.de/ UNIX since V7 on PDP-11, UNIX on mainframe since ESER 1055 (IBM /370) UNIX on x86 since SVR4.2 UnixWare 2.1.2, FreeBSD since 2.2.5 ___ 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: pcre library linking issues
>libpcre.so.0 => not found (0x0) > >What can I do to fix this in the meantime? It should have saved the old one as /usr/local/lib/compat/pkg/libpcre.so.0. If it's there, try this so your programs can find it: # ldconfig -m /usr/local/lib/compat/pkg If it's not there, go get it from your distribution media. R's, John ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: System initialization
On 2012-04-18 19:23, Brett Glass wrote: And then, there's the question of how to restart daemons (but not the whole system!) when configurations are changed... when this is possible. Monit can be configured to do this, as a side effect of monitoring your daemons. It also likes to be in charge of starting the daemons, which might be enough to let you run your dynamic config generator. Daniel T. Staal --- This email copyright the author. Unless otherwise noted, you are expressly allowed to retransmit, quote, or otherwise use the contents for non-commercial purposes. This copyright will expire 5 years after the author's death, or in 30 years, whichever is longer, unless such a period is in excess of local copyright law. --- ___ 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: pcre library linking issues
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 4/19/12 11:28 AM, Lars Eighner wrote: > On Thu, 19 Apr 2012, Aleksandr Miroslav wrote: > >> I inadvertently updated my PCRE library and in the process broke >> a number of things that depended on the old library. >> > Not the right answer but works: > > Create a symbolic link in the library so libpcre.so.0 points to > libpcre.so.1 > > The old library should have been moved to a compatibility library > so that things that still depended on it could find it. This did > not happen for some reason. Fortunately, it appears that > libpcre.so.1 is (largely) backwards compatible, so much (all?) of > what depended on it will work if fooled by a symbolic link. Some > upgrades will wipe out the link so it may be necessary to recreate > it until things get straightened out. > Another option that works well is the /etc/libmap.conf file: http://www.freebsd.org/cgi/man.cgi?query=libmap.conf Hope that helps, Greg - -- Greg Larkin http://www.FreeBSD.org/ - The Power To Serve http://www.sourcehosting.net/ - Ready. Set. Code. http://twitter.com/cpucycle/ - Follow you, follow me -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.11 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk+QQ60ACgkQ0sRouByUApDj6QCgtKl1kymoGvmKgy/rE1TOCTxg glUAn0/nq+fmmluDLiM3meAjxdgUJsRZ =H3uc -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: blu ray recorders
On 19.04.2012 09:55, Shane Ambler wrote: On 16/04/2012 18:04, Wojciech Puchar wrote: today BD recordable disks have prices that make sense as well as recorders. but as i never had one i want to ask - how it is used under FreeBSD. Does growisofs work just like with DVD-R or other tools are needed? I have an LG BH12LS38 blu-ray burner in a machine I bought in december. Running 9.0-RELEASE I haven't burnt a BD-R yet but I have used k3b (which is just a gui front end to growisofs,mkisofs,cdrecord,cdrdao,etc) to burn plenty of single layer dvd's. From the info I can see that cdrecord and growisofs list blu-ray in features. The prefs show the drive info with BD-R BD-RE listed in write capabilities. Available space jumps in sizes up to 50GB and it asks you to insert a blu-ray medium if file sizes total over 8GB It looks to have all the support needed. As for authoring a blu-ray to play in your home theatre it could be another story - I haven't looked into that. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org" I am not sure about the ISO formatting needed for this, the blu-Ray specifications I believe call for the file system to be UDF version 2.5/2.6. I don't believe FreeBSD supports greater than UDF 1.5. I ran into this issue a while back after building an ISO image server to present an NFS volume to VMware ESX servers to allow O/S and Software installation media for mounting as guest Machines CDROMS. I also chose to write scripts and mount the ISO images as file systems to allow access to them via Samba when mounting the CD Wasn't necessary. A few software DVDs we had at the time used UDF 2.0, and I was unable to read them. This server was built on FreeBSD 7.2, but I haven't noticed anything in release notes since stating an update to the UDF version support. Of course that doesn't mean it hasn't been updated, and either not included, or I missed them. Just something that I think you should check into before getting to far into any project with Blu-Ray burning on FreeBSD. -- Thanks, Dean E. Weimer http://www.dweimer.net/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: pcre library linking issues
On Thu, 19 Apr 2012, Aleksandr Miroslav wrote: I inadvertently updated my PCRE library and in the process broke a number of things that depended on the old library. Not the right answer but works: Create a symbolic link in the library so libpcre.so.0 points to libpcre.so.1 The old library should have been moved to a compatibility library so that things that still depended on it could find it. This did not happen for some reason. Fortunately, it appears that libpcre.so.1 is (largely) backwards compatible, so much (all?) of what depended on it will work if fooled by a symbolic link. Some upgrades will wipe out the link so it may be necessary to recreate it until things get straightened out. -- Lars Eighner http://www.larseighner.com/index.html 8800 N IH35 APT 1191 AUSTIN TX 78753-5266 ___ 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"
pcre library linking issues
I inadvertently updated my PCRE library and in the process broke a number of things that depended on the old library. I now have a number of binaries that look like this: /usr/local/bin$ $ ldd gtester gtester: libglib-2.0.so.0 => /usr/local/lib/libglib-2.0.so.0 (0x2809) libintl.so.9 => /usr/local/lib/libintl.so.9 (0x28168000) libiconv.so.3 => /usr/local/lib/libiconv.so.3 (0x28171000) libpcre.so.0 => not found (0x0) libc.so.7 => /lib/libc.so.7 (0x28267000) libpcre.so.0 => not found (0x0) What can I do to fix this in the meantime? Alex ___ 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: blu ray recorders
On 16/04/2012 18:04, Wojciech Puchar wrote: today BD recordable disks have prices that make sense as well as recorders. but as i never had one i want to ask - how it is used under FreeBSD. Does growisofs work just like with DVD-R or other tools are needed? I have an LG BH12LS38 blu-ray burner in a machine I bought in december. Running 9.0-RELEASE I haven't burnt a BD-R yet but I have used k3b (which is just a gui front end to growisofs,mkisofs,cdrecord,cdrdao,etc) to burn plenty of single layer dvd's. From the info I can see that cdrecord and growisofs list blu-ray in features. The prefs show the drive info with BD-R BD-RE listed in write capabilities. Available space jumps in sizes up to 50GB and it asks you to insert a blu-ray medium if file sizes total over 8GB It looks to have all the support needed. As for authoring a blu-ray to play in your home theatre it could be another story - I haven't looked into that. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: how to add es_MX locale ?
Matt, Thanks for the help I was able to build the locale I needed with your instructions. I will be submitting it. Thanks again for your help. - Jose On Wed, Apr 18, 2012 at 5:09 PM, Matthew Seaman wrote: > On 18/04/2012 21:27, jbiskofski wrote: > > I dont see it in the response from "locale -a". How can I add this > locale? > > You'ld have to generate the appropriate locale data files for es_MX. > Look at the equivalents for es_ES in > /usr/share/locale/{es_ES.ISO8859-1,es_ES.ISO8859-15,es_ES.UTF-8} -- > although as ISO8859-15 is actually identical to ISO8859-1 apart from the > addition of the Euro (€) currency symbol you can probably skip that for > es_MX. > > These LC_* files have sources in the following sub-directories of > /usr/src/share: > > LC_CTYPEmklocale > LC_COLLATE colldef > LC_MESSAGES msgdef > LC_MONETARY monetdef > LC_NUMERIC numericdef > LC_TIME timedef > > If you look at the Makefiles in those directories you can see how the > different output files are generated. Note that where the source would > be the same for many locales, only one source file is used, and the > Makefile copies the result appropriately for other locales. > > For example, the LC_CTYPE files for languages written in the latin > alphabet are generated from generic sources in /usr/src/share/mklocale > -- so for the ISO8859-1 character set, the source code is in > /usr/src/share/mklocale/la_LN.ISO8859-1.src > > Once you've got the es_MX files sorted out, submit your changes as a > diff by using send-pr(1), and try and get a committer interested in > adding them to the tree. You probably won't need to write many es_MX > specific files -- it could be just monetdef/es_MX.UTF-8.src [*] to > specify the currency -- but you will need to add the right bits to the > Makefiles to get the other es_MX LC_* files properly generated. > >Cheers, > >Matthew > > [*] I believe UTF-8 is preferred nowadays, rather than ISO8859-1 or > ISO8859-15. > > -- > Dr Matthew J Seaman MA, D.Phil. > PGP: http://www.infracaninophile.co.uk/pgpkey > > > ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Re[4]: Problem with vlans on igb (was: fsck problem FreeBSD 8.3)
Well, you see me glad that this fixes your problems. You might want to see with Jack Vogel who maintains the Intel drivers, if you can track down the issue and perhaps even find a fix for it. Taking the liberty of CCing you Jack. 2012/4/18 Eugen Konkov : > Hi, Damien. > > With this configuration works without reboots > > ifconfig_igb0="-rxcsum -txcsum -lro -tso up" > ifconfig_igb1="-rxcsum -txcsum -lro -tso up" > ifconfig_igb2="-rxcsum -txcsum -lro -tso -vlanhwtag up" > ifconfig_igb3="-rxcsum -txcsum -lro -tso up" > > > igb0 has only one vlan > igb1 has two vlans > igb2 has 16 vlans > igb3 has 4 vlans > > > if igb2 has vlanhwtag enabled then server starts to reboot > > DF> Yes, I suggest you try with "-vlanhwtag" as well. > DF> If that stops your unwanted reboots, you may want to remove it and see > DF> if the situation changes. > > > DF> 2012/4/12 Коньков Евгений : >>> Now i350 is configured as: >>> >>> /etc/rc.conf >>> ## TCP/IP >>> ifconfig_igb0="-rxcsum -txcsum -lro -tso up" >>> ifconfig_igb1="-rxcsum -txcsum -lro -tso up" >>> ifconfig_igb2="-rxcsum -txcsum -lro -tso up" >>> ifconfig_igb3="-rxcsum -txcsum -lro -tso up" >>> >>> # ifconfig -m igb1 >>> igb1: flags=8843 metric 0 mtu 1500 >>> >>> options=400b8 >>> >>> capabilities=505bb >>> ether a0:36:9f:00:66:a5 >>> media: Ethernet autoselect (1000baseT ) >>> status: active >>> supported media: >>> media autoselect >>> media 1000baseT >>> media 1000baseT mediaopt full-duplex >>> media 100baseTX mediaopt full-duplex >>> media 100baseTX >>> media 10baseT/UTP mediaopt full-duplex >>> media 10baseT/UTP >>> >>> #pciconf -lv >>> igb0@pci0:1:0:0: class=0x02 card=0x00018086 chip=0x15218086 >>> rev=0x01 hdr=0x00 >>> vendor = 'Intel Corporation' >>> class = network >>> subclass = ethernet >>> >>> >>> >>> Do I need to disable VLAN_HWCSUM, VLAN_HWFILTER,VLAN_HWTSO also? >>> >>> PS. I will try to disable those after the holidays >>> >>> DF> Try disabling hardware VLAN tagging like so, I know we had problems a >>> DF> few years back with it. >>> >>> DF> in /etc/rc.conf : >>> DF> ifconfig_igb2=" -vlanhwtag -tso -lro up" >>> >>> >>> DF> 2012/4/11 KES : > > > Пересылаемое сообщение > 11.04.2012, 13:14, "KES" : > > 10.04.2012, 08:50, "Da Rock" > : > >> On 04/10/12 05:02, Коньков Евгений wrote: >>> Yes, I have tested. >>> and on this hardware on this OS it works from Fri Feb 24 17:07:48 >>> UTC 2012 >>> but last two days: >>> reboot ~ Mon Apr 9 19:50 >>> reboot ~ Mon Apr 9 18:30 >>> reboot ~ Sun Apr 8 20:55 >>> reboot ~ Sun Apr 8 20:00 >>> reboot ~ Sun Apr 8 19:49 >>> reboot ~ Sun Apr 8 17:43 >>> reboot ~ Sun Apr 8 10:58 >>> reboot ~ Sat Apr 7 21:13 >>> reboot ~ Sat Apr 7 16:37 >>> reboot ~ Sat Apr 7 16:07 >>> >>> I remembered. One thing changed. >>> I add vlans to igb2, but no traffic flow on that devices yet. >> Perhaps you should test removing the vlans and see if things improve? > > I have removed vlans, two day server works without reboots > >>> Before this I have use: igb0, igb1, igb3 >>> igb0@pci0:1:0:0: class=0x02 card=0x00018086 >>> chip=0x15218086 rev=0x01 hdr=0x00 >>> vendor = 'Intel Corporation' >>> class = network >>> subclass = ethernet >>> igb1@pci0:1:0:1: class=0x02 card=0x00018086 >>> chip=0x15218086 rev=0x01 hdr=0x00 >>> vendor = 'Intel Corporation' >>> class = network >>> subclass = ethernet >>> igb2@pci0:1:0:2: class=0x02 card=0x00018086 >>> chip=0x15218086 rev=0x01 hdr=0x00 >>> vendor = 'Intel Corporation' >>> class = network >>> subclass = ethernet >>> igb3@pci0:1:0:3: class=0x02 card=0x00018086 >>> chip=0x15218086 rev=0x01 hdr=0x00 >>> vendor = 'Intel Corporation' >>> class = network >>> subclass = ethernet >>> >>> ifconfig_vlan100="inet 192.168.0.1 netmask 255.255.255.0 vlan 100 >>> vlandev igb2" #nALL >>> ifconfig_vlan101="inet 192.168.1.1 netmask 255.255.255.0 vlan 101 >>> vlandev igb2" #n2 p24 >>> ifconfig_vlan102="inet 192.168.2.1 netmask 255.255.255.0 vlan 102 >>> vlandev igb2" #n1 p23 >>> ifconfig_vlan103="inet 192.168.3.1 netmask 255.2
Re: mounting ext2fs
On Thu, 19 Apr 2012, Matthias Apitz wrote: the problem with (this) cardreader seems to be that the card must already inserted at boot time; a later switch to another card, for example from a card with 'msdosfs' to a card with 'ext2fs', gives the problem in my first mail; don't know if this is a bug or feature :-) Try forced retasting after loading a card. true > /dev/da0 ___ 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: mounting ext2fs
El día Thursday, April 19, 2012 a las 09:42:22AM -0700, per...@pluto.rain.com escribió: > "Julian H. Stacey" wrote: > > > > what does lsvfs show ? > > > > Maybe try: dd if=/dev/da0s1 count=20 of=/tmp/t ; file /tmp/t > > (it show interesting stuff on my /xp anyway ). > > Easier: file -s /dev/da0s1 gives now: # file -s /dev/da0s1 /dev/da0s1: Linux rev 1.0 ext2 filesystem data (mounted or unclean) and /dev/da0s1 is mounted: # mount | fgrep /dev/da0s1 /dev/da0s1 on /mnt (ext2fs, local) the problem with (this) cardreader seems to be that the card must already inserted at boot time; a later switch to another card, for example from a card with 'msdosfs' to a card with 'ext2fs', gives the problem in my first mail; don't know if this is a bug or feature :-) ext2fs.ko is loaded automagically by mount(8); I do not load it at boot, but after the mount(8) it was loaded; matthias -- Matthias Apitz e - w http://www.unixarea.de/ UNIX since V7 on PDP-11, UNIX on mainframe since ESER 1055 (IBM /370) UNIX on x86 since SVR4.2 UnixWare 2.1.2, FreeBSD since 2.2.5 ___ 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 FreeBSD 9.0-RELEASE mount Ext3 file system ?
On Wed, Apr 18, 2012 at 02:12:41PM +0200, Julian H. Stacey wrote: Hi Julian, > Hi, > Reference: > > From:Xavier > > Date:Sat, 7 Apr 2012 22:25:28 +0200 > > Message-id: > > Xavier wrote: > > On Sat, Apr 07, 2012 at 04:15:41PM -0400, ill...@gmail.com wrote: > > > > Hi, > > > > > On 7 April 2012 13:53, Xavier wrote: > > > > Hi to all, > > > > > > > > I have: > > > > > > > > casa# disktype /dev/da1 > > > > > > > > --- /dev/da1 > > > > Character device, size 3.771 GiB (4048551936 bytes) > > > > FreeBSD boot loader (i386 boot2/BTX 1.02 at sector 2) > > > > BSD disklabel (at sector 1), 8 partitions > > > > Partition c: 2.145 GiB (2302711808 bytes, 4497484 sectors from 0) > > > > Type 0 (Unused) > > > > DOS/MBR partition map > > > > Partition 1: 3.547 GiB (3808272384 bytes, 7438032 sectors from 63) > > > > Type 0x83 (Linux) > > > > Ext3 file system > > > >UUID D1A7E6D6-3A34-4864-B6E8-C4DAA34AD776 (DCE, v4) > > > >Last mounted at "/" > > > >Volume size 3.547 GiB (3808272384 bytes, 929754 blocks of 4 KiB) > > > > Partition 2: 227.5 MiB (238533120 bytes, 465885 sectors from 7438095) > > > > Type 0x05 (Extended) > > > > Partition 5: 227.5 MiB (238500864 bytes, 465822 sectors from 7438095+63) > > > >Type 0x82 (Linux swap / Solaris) > > > >Linux swap, version 2, subversion 1, 4 KiB pages, little-endian > > > > Swap size 227.4 MiB (238489600 bytes, 58225 pages of 4 KiB) > > > > > > > > I'm running from FreeBSD 9.0-RELEASE > > > > > > > > I try: > > > > > > > > casa# mount -t ext2fs /dev/da1a /mnt/JetFlash\ Transcend\ 4GB\ 1100/ > > > > mount: /dev/da1a : Invalid argument > > > > > > > > How can I mount it ? > > > > > > mount -t ext2fs /dev/da1s1 /mnt/JetFlash\ Transcend\ 4GB\ 1100/ > > > perhaps? Note---^^ > > > > > > If that still doesn't work, try adding -r in there (as ext2fs might not > > > support r/w in your configuration). > > > > > > > casa# mount -t ext2fs /dev/da1s1 /mnt/JetFlash\ Transcend\ 4GB\ 1100/ > > mount: /dev/da1s1 : No such file or directory > > casa# > > casa# mount -r -t ext2fs /dev/da1s1 /mnt/JetFlash\ Transcend\ 4GB\ 1100/ > > mount: /dev/da1s1 : No such file or directory > > casa# > > > > You have more ideas ? > > With 9.0-RELEASE generic kernel: > man mount > ... > man 2 nmount > The type argument names the file system. The types of file > systems known to the system can be obtained with lsvfs(1). > lsvfs > FilesystemRefs Flags > - --- > devfs1 synthetic > msdosfs 0 > nfs 0 network > procfs 0 synthetic > cd9660 0 read-only > ufs 1 > cd /boot/kernel ; find . -name \*ext\* -print > kldload /boot/kernel/ext2fs.ko ; lsvfs > # Adds > ext2fs 0 > man ext2fs > To link into the kernel: > options EXT2FS > To load as a kernel loadable module: > kldload ext2fs > No mention of ext3 there, nor from find (above). > > .. so you May be out of luck .. > > Divide the problem. Reduce simulltaneous testing of backslash & ext3. > Delete all backslash junk during test. Try > su ; mkdir /mnt/test ; mount -r -t ext2fs /dev/da1a /mnt/test I try: casa# kldstat | grep ext 101 0xc93b9000 1ext2fs.ko casa% lsvfs | grep ext ext2fs 0 casa# disktype /dev/da0 --- /dev/da0 Character device, size 14.92 GiB (16025387008 bytes) DOS/MBR partition map Partition 1: 13.93 GiB (14961082368 bytes, 29220864 sectors from 2048, bootable) Type 0x83 (Linux) Ext3 file system UUID DF70360E-9DD3-436D-9627-A614FB0FD24E (DCE, v4) Last mounted at "/" Volume size 13.93 GiB (14961082368 bytes, 3652608 blocks of 4 KiB) Partition 2: 0.988 GiB (1061159936 bytes, 2072578 sectors from 29224958) Type 0x05 (Extended) Partition 5: 1012 MiB (1061158912 bytes, 2072576 sectors from 29224958+2) Type 0x82 (Linux swap / Solaris) casa% ls /dev/da0* /dev/da0/dev/da0s1 /dev/da0s2 /dev/da0s5 How can get the correct da0 node for your mount(8) command ? Thanks, see you. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: mounting ext2fs
"Julian H. Stacey" wrote: > > what does lsvfs show ? > > Maybe try: dd if=/dev/da0s1 count=20 of=/tmp/t ; file /tmp/t > (it show interesting stuff on my /xp anyway ). Easier: file -s /dev/da0s1 ___ 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: System initialization
Brett Glass wrote: > I have several nearly identical servers in my network, and would > like to control their configurations entirely from one file ... You might find sysutils/puppet useful. ___ 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"