Re: Possibly OT: NFS vs SMB performance

2013-07-08 Thread Andrea Venturoli

On 07/07/13 00:52, Adam Vande More wrote:


http://lists.freebsd.org/pipermail/freebsd-current/2013-January/038903.html


Thanks Adam.

However: I'm using UFS, not ZFS, so the first part is not applicable.

I have an nfe card, not an em; so again, the second part does not apply.
The only tunable in that driver is hw.nfe.msi_disable and 
hw.nfe.msix_disable, which I never tried; I guess I could when I have 
physical access to the box, but again, they are enabled by default and I 
doubt I would get better performance by disabling MSI[-X].
In addition, I don't think I suffer from a NIC bottleneck, given the 
speed of NFS and a "find" shouldn't read the whole files, so shouldn't 
require a lot of bandwidth.


The third section is interesting: still no change, however.
This does not suprise me, since I had extensively tried these (and other 
settings from several Samba howtos) with different values in the past, 
the difference being always quite negligible.


The last thing I'm considering is slowness due to the LDAP backend. This 
is what I'm currently investigating.
All the literature on Samba seems to be quite Linux-centric; that's why 
I asked on the FreeBSD mailing list whether this could be normal.



 bye & Thanks
av.
___
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: SV: Re: Possibly OT: NFS vs SMB performance

2013-07-08 Thread Andrea Venturoli

On 07/06/13 19:51, Leslie Jensen wrote:

Smb is slow by design compared to nfs.


Sure.
As I said, I was expecting lower performance; not *this* lower, however.

 bye & Thanks
av.

___
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: Possibly OT: NFS vs SMB performance

2013-07-06 Thread Andrea Venturoli

On 07/05/13 20:42, Terje Elde wrote:

On 5. juli 2013, at 18:18, Andrea Venturoli  wrote:


Is this normal in your experience?


Did you do them in that order, or did you do the smb (slow) one first?

If the slow was first, I'm thinking caching on the server could be a major 
factor.


Yesterday I did four test:
_ SMB find resulting in over 10 minutes first time;
_ SMB find resulting in nearly 10 minutes second time;
_ NFS find resulting in a little over 1 minute first time;
_ NFS find resulting in a little less than 1 minute second time.


Today I tried again in reverse order:
_ NFS find took 3 minutes;
_ NFS find again took 21 seconds;
_ SMB find took over 9 minutes;
_ SMB find again took again over 9 minutes.

So, while caching plays a role, it just isn't it.
The server was possibly doing other things, so the above figures might 
not be that correct; however a difference in the magnitude order is just 
too big (and deterministic) to be considered random noise.


 bye & Thanks
av.
___
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"


Possibly OT: NFS vs SMB performance

2013-07-05 Thread Andrea Venturoli

Hello.

Sorry to ask here: maybe it's not the best place, but it might be a 
start (the client and server are both FreeBSD).


The server exports the same directory via NFS and via SMB.

I'd expect some performance penalty when using SMB, but:
"find /nfs_mounted_dir >/dev/null" takes more or less 1 minute;
"find /smb_mounted_dir >/dev/null" takes nearly 10 minutes.

Is this normal in your experience?

 bye & Thanks
av.
___
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"


Stop SMTP attack with pam_abl

2013-06-03 Thread Andrea Venturoli

Hello.

I have different sendmail based servers deployed and all of them are, 
more or less frequently, subject to dictionary attacks.

So I looked for some solution to stop them and stumbled upon pam_abl.

However it does not seem to do its job; in the logs I have:
> pam_abl[2398]: /usr/local/etc/pam_abl.conf: 
host_db=/var/db/pam_abl/hosts.db

> pam_abl[2398]: /usr/local/etc/pam_abl.conf: host_purge=4h
> pam_abl[2398]: /usr/local/etc/pam_abl.conf: host_rule=*:10/1h,30/1d
> pam_abl[2398]: PAM_RHOST is NULL
> pam_abl[2398]: In cleanup, err is 

That "PAM_RHOST is NULL" looks like the culprit to me...

I searched a lot for deeper documentation but came up empty.
Any hint?

 bye & Thanks
av.

P.S. I'm not sticking with pam_abl if a better solution exists...
___
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: openvpn and tap device

2013-05-29 Thread Andrea Venturoli

On 05/29/13 09:36, Arthur Chance wrote:


It's a while since I looked at OpenVPN, so this is from unreliable
memory, but IIRC it uses tap devices under Windows and tun devices under
Unix(ish) OSes.


It can use tun OR tap device on both Unix(ish) (and IIRC the same holds 
for Windows).






Do you see tun0 appear?


Yes (unless I use a tap based setup).



 bye
av.
___
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: USB host controllers on a server that does not use USB devices?

2013-03-20 Thread Andrea Venturoli

On 03/20/13 14:59, ill...@gmail.com wrote:


Probably not on a server, but there are some built-in
devices in some notebooks (webcam & bluetooth)
that are run through a usb bus.


It happened to me to see an internal USB tape drive, connected to an USB 
port on the motherboard.


 bye
av.

___
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 8.1 install on Intel Romley platform

2013-03-20 Thread Andrea Venturoli

On 03/20/13 12:44, belle_...@wiwynn.com wrote:


We are facing a problem to install FreeBSD8.1


8.1 is not supported anymore; I don't think you'll get much help.



> our Firewall application only work on FreeBSD 8.1 and 8.3.

8.3 is still supported, so I'd move on to that one.




SAS HDD could not be detected.

> While we tried FreeBSD 9.1, it has no problem.

So, how does 9.1 detect it?




However,  Is there any driver or kernel update that we can integrate

> to let FreeBSD 8.1 install successfully?

Perhaps you could post the dmesg at boot from 9.1.
This could give the list some useful info.


 bye
av.
___
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: Old releases support

2013-03-04 Thread Andrea Venturoli

On 03/02/13 19:32, Remko Lodder wrote:


I just removed 7.4/7-STABLE from the list and moved it to the 'unsupported'
section.

Thanks for mentioning this!


Thanks to you!

Although I'm fine (I know what I asked for :-), I'll point out another 
little thing: 7.4 is still listed as "legacy" in the home and here: 
http://www.freebsd.org/releases/.


I guess it should go away there too.

 bye
av.
___
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"


Old releases support

2013-03-02 Thread Andrea Venturoli

Hello.

Just a quick question on EOL dates.

According to http://www.freebsd.org/security/security.html#sup, 7.4R 
support should have ended two days ago. Did it?

Is Feb 28 2013 date confirmed?

Next, 9.0 should reach EOL at the end of this month.
Is this confirmed too?

 bye & Thanks
av.
___
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: Software raid VS hardware raid

2013-01-30 Thread Andrea Venturoli

On 01/28/13 21:43, Artem Kuchin wrote:


I am planning to use mirror configuration of two SATA 7200rpm 2TB disks.


I personally vote for gmirror in this case; I've used it a lot and found 
it very good wrt to both performance and robustness.


You can spend the extra money you spare on the controller buying good 
disks; as someone else pointed out don't get "desktop-class" ones, but 
"24x7" ones.


Just my 2c.

 bye
av.

___
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"


Kernel crash

2013-01-10 Thread Andrea Venturoli

Hello.

Anyone can make sense of this:


# kgdb kernel.debug /var/crash/vmcore.11
GNU gdb 6.1.1 [FreeBSD]
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "amd64-marcel-freebsd"...

Unread portion of the kernel message buffer:
panic: sbflush_internal: cc 4294965848 || mb 0 || mbcnt 0
cpuid = 0
KDB: stack backtrace:
#0 0x80474f6e at kdb_backtrace+0x5e
#1 0x80441487 at panic+0x187
#2 0x804a3574 at sbflush_internal+0x64
#3 0x804a35ee at sbflush+0x3e
#4 0x80591a6a at tcp_disconnect+0x4a
#5 0x805934ec at tcp_usr_disconnect+0x11c
#6 0x804a5649 at soclose+0x59
#7 0x80405873 at _fdrop+0x23
#8 0x804072c2 at closef+0x52
#9 0x80407af2 at kern_close+0x172
#10 0x80636c70 at amd64_syscall+0x4e0
#11 0x806223c7 at Xfast_syscall+0xf7
Uptime: 12d18h45m26s
Dumping 276 out of 1013 MB:..6%..12%..24%
<110>ipfw: 1000 Deny UDP 0.0.0.0:68 255.255.255.255:67 in via em0
..35%..41%..53%..64%..76%..82%..93%

Reading symbols from /boot/kernel/splash_bmp.ko...Reading symbols from 
/boot/kernel/splash_bmp.ko.symbols...done.
done.
Loaded symbols for /boot/kernel/splash_bmp.ko
Reading symbols from /boot/kernel/geom_mirror.ko...Reading symbols from 
/boot/kernel/geom_mirror.ko.symbols...done.
done.
Loaded symbols for /boot/kernel/geom_mirror.ko
Reading symbols from /boot/kernel/geom_stripe.ko...Reading symbols from 
/boot/kernel/geom_stripe.ko.symbols...done.
done.
Loaded symbols for /boot/kernel/geom_stripe.ko
Reading symbols from /boot/kernel/umass.ko...Reading symbols from 
/boot/kernel/umass.ko.symbols...done.
done.
Loaded symbols for /boot/kernel/umass.ko
#0  doadump (textdump=Variable "textdump" is not available.
) at pcpu.h:224
224 __asm("movq %%gs:0,%0" : "=r" (td));
(kgdb) bt
#0  doadump (textdump=Variable "textdump" is not available.
) at pcpu.h:224
#1  0x80440fc5 in kern_reboot (howto=260) at 
/usr/src/sys/kern/kern_shutdown.c:442
#2  0x80441471 in panic (fmt=Variable "fmt" is not available.
) at /usr/src/sys/kern/kern_shutdown.c:607
#3  0x804a3574 in sbflush_internal (sb=0xfe0015c53dd8) at 
/usr/src/sys/kern/uipc_sockbuf.c:821
#4  0x804a35ee in sbflush (sb=0xfe0015c53dd8) at 
/usr/src/sys/kern/uipc_sockbuf.c:838
#5  0x80591a6a in tcp_disconnect (tp=0xfe0001f987a0) at 
/usr/src/sys/netinet/tcp_usrreq.c:1590
#6  0x805934ec in tcp_usr_disconnect (so=Variable "so" is not available.
) at /usr/src/sys/netinet/tcp_usrreq.c:568
#7  0x804a5649 in soclose (so=0xfe0015c53d48) at 
/usr/src/sys/kern/uipc_socket.c:690
#8  0x80405873 in _fdrop (fp=0xfe001ea698c0, td=Variable "td" is 
not available.
) at file.h:301
#9  0x804072c2 in closef (fp=0xfe001ea698c0, td=0xfe0023d1b000) 
at /usr/src/sys/kern/kern_descrip.c:2246
#10 0x80407af2 in kern_close (td=0xfe0023d1b000, fd=Variable "fd" 
is not available.
) at /usr/src/sys/kern/kern_descrip.c:1232
#11 0x80636c70 in amd64_syscall (td=0xfe0023d1b000, traced=0) at 
subr_syscall.c:131
#12 0x806223c7 in Xfast_syscall () at 
/usr/src/sys/amd64/amd64/exception.S:387
#13 0x00080286c1dc in ?? ()
Previous frame inner to this frame (corrupt stack?)
(kgdb)


Box is a 9.0/amd64.
I can try and provide other info if required.

 bye & Thanks
av.
___
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: SMS application

2012-12-07 Thread Andrea Venturoli

On 12/07/12 09:08, Boris Samorodov wrote:


As for me I use comms/gammu as an sms-tool.


There's also smstools, which should be similar.

(Assuming SMS=Short Message Service and what the OP wants is simply 
send/receive).


 bye
av.

___
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: i386 vs amd64

2012-11-30 Thread Andrea Venturoli

On 11/30/12 15:40, Thomas Mueller wrote:

On Thu, Nov 29, 2012 at 2:57 PM, Bill Tillman  wrote:



i386 will not see anything above 4 GB




Actually you *can* give access to >4Gb RAM for your system: PAE allows you
to use 36 bits instead of 32 to address your memory (and supported till
Pentium Pro) but that is only for OS (32bit apps would see 4Gb only).



Anyway, I have not seen any troubles with 64bit installations.



Ilya.


How does the system know what is OS and what is 32-bit apps?


I think this question is badly written.

A kernel supporting PAE can see and use more than 4GB.
However, since apps runs unmodified, a single process cannot break that 
barrier.


So, if you are running a single program that requires that lot of 
memory, PAE is not an option and you will need amd64.


OTOH, if you run several programs which don't singularly require more 
than 3GB of RAM, PAE might be a viable alternative to reinstalling.





Where would GCC fit in this regard, or Clang for that matter?


I don't really know, but I don't think it could make any difference.



 bye
av.
___
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: i386 vs amd64

2012-11-28 Thread Andrea Venturoli

On 11/28/12 18:49, Warren Block wrote:

On Wed, 28 Nov 2012, mike miskulin wrote:


About to build a replacement system for an older i386 setup.   A few
years ago I had tried the amd64 port on it and found it was frustrating
as things that just worked on i386 did not on amd64. IIRC ports were
large annoyance too.

Now I have a new system with 8GB, etc,etc and wonder if I am best off to
stick with i386 and PAE or is the amd64 version finally on a par or
close enough that I would not likely have many issues like in the past?

Thanks for your thoughts/(recent) experiences.


Do you use emulators/wine?  If not, switch to amd64.  In fact, even if
you do, switch to amd64 to use that 8G of memory.  Building 32-bit Wine
on amd64 is a hassle, but packages are available and I think there is a
64-bit port on the way.


I heard valgrind is another... in case you are a developer.

 bye
av.

___
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"


[SOLVED] Re: Chesar

2012-10-25 Thread Andrea Venturoli

On 10/08/12 12:43, Andrea Venturoli wrote:

On 09/22/12 17:43, Andrea Venturoli wrote:


I'm using tomcat-6.0.35 and openjdk6-b24_4, if that helps.


I'll try openjdk either with tomcat6 or 7.


Hi Michale.
I finally got around trying openjdk, but that didn't work either.

I also tried within a jail (which I created from scratch), just to be
sure there was no conflict, but nothing changes.


Finally, I was able to run this using linux-sun-jdk.

Still, I'd like to get some insight on this, out of curiosity, if not 
anything else.


Is there some feature which is not supported with the native JDK?

 bye & Thanks
av.
___
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: Chesar

2012-10-08 Thread Andrea Venturoli

On 09/22/12 17:43, Andrea Venturoli wrote:


I'm using tomcat-6.0.35 and openjdk6-b24_4, if that helps.


I'll try openjdk either with tomcat6 or 7.


Hi Michale.
I finally got around trying openjdk, but that didn't work either.

I also tried within a jail (which I created from scratch), just to be 
sure there was no conflict, but nothing changes.


 bye & Thanks
av.

___
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: Chesar

2012-09-22 Thread Andrea Venturoli

On 09/22/12 17:04, Michael Sierchio wrote:

On Sat, Sep 22, 2012 at 4:39 AM, Andrea Venturoli  wrote:

Hello.
I'm trying to deploy this:
http://chesar.echa.europa.eu/

I'm using tomcat7 (but tried tomcat6) and JDK 1.6 (that's the only allowed
version).


It actually took some effort for me to get a working java/tomcat
framework.


I did this on other occasions; in fact I have at least other 3 Tomcat 
setups working.





Which version and architecture  of FreeBSD?


8.3/amd64.




I'm using tomcat-6.0.35 and openjdk6-b24_4, if that helps.


I'll try openjdk either with tomcat6 or 7.

Still I'd like to get some insight on the error I get and what could 
cause it.




 bye & Thanks
av.
___
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"


Chesar

2012-09-22 Thread Andrea Venturoli

Hello.
I'm trying to deploy this:
http://chesar.echa.europa.eu/

I'm using tomcat7 (but tried tomcat6) and JDK 1.6 (that's the only 
allowed version).


When I start Tomcat, I get:

Sep 22, 2012 11:36:05 AM org.apache.catalina.core.StandardContext listenerStart
SEVERE: Exception sending context initialized event to listener instance of 
class org.springframework.web.context.ContextLoaderListener
org.springframework.beans.factory.BeanCreationException: Error creating bean 
with name 
'org.springframework.security.config.http.UserDetailsServiceInjectionBeanPostProcessor#0':
 BeanPostProcessor before instantiation of bean failed; nested exception is 
org.springframework.beans.factory.BeanCreationException: Error creating bean 
with name 'org.springframework.transaction.config.internalTransactionAdvisor': 
Cannot resolve reference to bean 
'org.springframework.transaction.annotation.AnnotationTransactionAttributeSource#0'
 while setting bean property 'transactionAttributeSource'; nested exception is 
org.springframework.beans.factory.BeanCreationException: Error creating bean 
with name 
'org.springframework.transaction.annotation.AnnotationTransactionAttributeSource#0':
 Initialization of bean failed; nested exception is 
java.lang.IllegalArgumentException: warning no match for this type name: 
substance [Xlint:invalidAbsoluteTypeName]
at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:452)
at 
org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:291)
at 
org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
at 
org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:288)
at 
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
at 
org.springframework.context.support.AbstractApplicationContext.registerBeanPostProcessors(AbstractApplicationContext.java:722)
at 
org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:410)
at 
org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:276)
at 
org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:197)
at 
org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:47)
at 
org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4790)
at 
org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5284)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at 
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:899)
at 
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:875)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:618)
at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:963)
at 
org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1600)
at 
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at 
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
at java.lang.Thread.run(Thread.java:619)


Any hint on this?
Of course they support Red Hat Linux, not FreeBSD, but I though Java and 
Tomcat were Java and Tomcat...


Thanks in advance.

 bye
av.
___
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: sendmail + clamav + spamassasin config help

2012-08-14 Thread Andrea Venturoli

On 08/14/12 08:51, AN wrote:

FreeBSD mail.neu.net 9.1-PRERELEASE FreeBSD 9.1-PRERELEASE #2 r239243:
Mon Aug 13 19:20:19 EDT 2012
r...@mail.neu.net:/usr/obj/usr/src/sys/GENERIC  amd64

I am trying to configure sendmail + clamav + spamassasin.  The problem I
have is that neither clamav or spamassasin runs when I send or receive
email.  I would like the server to do the following:

1. check dns blacklists, which is working (see below)


Not really able to help you here...
However, you may consider MIMEDefang (which in turn will run all of the 
above). At least, that's how I do it.


HTH.

 bye
av.
___
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: portupgrade -- is there a way to only build and update ports that actually NEED it?

2012-06-25 Thread Andrea Venturoli

On 06/25/12 09:53, Dan Mahoney, System Admin wrote:

Hey there,

I'm presently in the process of trying to do a portupgrade from rt-3.8.8
to 3.8.13.  By all estimations, this is a minor bump.

Already, I've encountered several annoyances due to ABI changes, such as
the libtool2.4 fun.  With normal portupgrade, this forces you to go fix
the dependent port.

Finally, I just applied -r, which should update all dependent packages,
but it seems to upgrade them unconditionally.


"-r" will upgrade all dependent ports *if* a newer version is available.
"-rf" will upgrade all dependent ports unconditionally.






You would think there's an option to portupgrade that says "don't
upgrade every single package I've got, but if somewhere in the
dependency chain I need a newer version of a thing, then do it."


I'm not sure what you mean.
I guess you waned "portupgrade -R rt", which will upgrade all ports rt 
is depending on.






HTH.

 bye
av.
___
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: portupgrade -- is there a way to only build and update ports that actually NEED it?

2012-06-25 Thread Andrea Venturoli

On 06/25/12 10:40, Andrea Venturoli wrote:

On 06/25/12 09:53, Dan Mahoney, System Admin wrote:

Hey there,

I'm presently in the process of trying to do a portupgrade from rt-3.8.8
to 3.8.13.  By all estimations, this is a minor bump.

Already, I've encountered several annoyances due to ABI changes, such as
the libtool2.4 fun.  With normal portupgrade, this forces you to go fix
the dependent port.

Finally, I just applied -r, which should update all dependent packages,
but it seems to upgrade them unconditionally.


"-r" will upgrade all dependent ports *if* a newer version is available.
"-rf" will upgrade all dependent ports unconditionally.






You would think there's an option to portupgrade that says "don't
upgrade every single package I've got, but if somewhere in the
dependency chain I need a newer version of a thing, then do it."


I'm not sure what you mean.
I guess you waned "portupgrade -R rt", which will upgrade all ports rt

  ^
  wanted

is depending on.





HTH.

  bye
 av.



___
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"


[OT] Re: Omega Zip Drives on FreeBSD 8.*

2012-06-24 Thread Andrea Venturoli

On 06/25/12 04:58, Thomas Mueller wrote:


Zip 100 drive, and also SyQuest SyJet drive, got to where they would

> just eject the disk a few seconds after insertion.

I hope I'm remembering this correctly (this happened probably ten years 
ago or so): I had an internal Zip drive which showed this behaviour as 
soon as I mounted it, but it was very simple to fix.


My Zip drive had some sort of glue tape all around it at the front; this 
tape was bended and locked some very small lever which ejected the disk: 
unbending the tape was enough to get the drive working properly again.


 bye
av.
___
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: Omega Zip Drives on FreeBSD 8.*

2012-06-24 Thread Andrea Venturoli

On 06/25/12 02:58, Mike Jeays wrote:


I am amazed anyone still has a working Zip drive!


I have a SCSI one and I'm using it to backup some data (can't even 
remember how old that is, 10 years probably, but never had any glitches).


I also have a couple of customers still using two or three such drives 
(although they are probably fading them out).


 bye
av.
___
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: Best practices about Jails

2012-04-20 Thread Andrea Venturoli

On 04/04/12 16:06, Fbsd8 wrote:


This is overkill. I single ports tree on the host is fine. Matter of
fact I use packages for everything accept for php which I have to
compile in apache module. I even pre-install all of php's dependents as
packages before doing "make install" on the php port. As far as
portsclean goes its only for the paranoid.


Ok, I've gone this way.





If you dont have full ports tree in the jail then no need for portaudit
in the jail.


Portaudit doesn't check the port tree; it checks installed ports.





Best practices is not to create a jail environment by hand as documented
in the Freebsd handbook. The port utility qjail simplifies and automates
the process to the point where you dont even have to know about the jail
command. http://qjail.sourceforge.net/ use the port version for 8.x & 9.0


I've had a look at qjail; it seems very simliar to ezjails, which I used 
(I didn't do jails by hand).



 bye & Thanks
av.
___
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"


Fast question abount EDITOR

2012-04-05 Thread Andrea Venturoli

Hello.

This might be a stupid question... however...

%setenv EDITOR emacs -nw
setenv: Too many arguments.

%setenv  EDITOR "emacs -nw"
%crontab -e
crontab: emacs -nw: No such file or directory
crontab: "emacs -nw" exited with status 1


Is there a way I can easily achieve the above?
Do I really need a script which in turns call emacs -nw?

 bye & Thanks
av.
___
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"


Best practices about Jails

2012-04-04 Thread Andrea Venturoli

Hello.

Plase forgive the long post and the amount of questions, but I'm new to 
jails and I'd like to be sure of what I'm doing before deploying more 
than a test one.
Right now I need to run a commercial Java app, which, ideally, I would 
forbid to access files outside its directory.
This might be done by simple chrooting it, but I read a jail is a better 
solution, so I started with ezjails.


First of all, I'm wondering whether it would be possible/useful to use 
chroot even inside that jail. Any opinions?


Second question: from inside the jail I can access all services on 
localhost (eg. telnet localhost pop3, where a pop3 server is running on 
the host). Can this be avoided, e.g. with ipfw?
Ideally, since this jail will run only one deamon and it will be 
accessed through Apache mod_proxy from the host, I'll just need inbound 
access to its port and outbound access to smtp and web proxy on the host 
system. No direct access from/to other hosts.

Is this possible?

Next... ezjail's author suggests I have a copy of the port tree just for 
the jails and, furthermore, a repository for distfiles for every jail.
Since this would waste a lot of space, I already used a single distfile 
repository, but I'm also wondering whether it would be a bad idea to use 
the host's port tree. I know lot of people do this and, keeping it tidy 
with portsclean -CD, I wonder if it really would be a security risk in 
my case.


Finally (for now :): I usually install portaudit and receive every day a 
report about vulnerabilities in the host system's installed ports. What 
about jails? Should I install portaudit there too and let them flood me 
with reports? Is there a way to let the host's portaudit check jails too?


I'm sure I'll have other questions in some days...
Thanks in advance for now to anyone who will answer.

 bye
av.
___
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: ATA trouble again

2011-11-23 Thread Andrea Venturoli

On 11/16/11 13:13, Pegasus Mc Cleaft wrote:

or do you know if the drives are using 4096 bytes Per sector?


How do I find out without physical access to the box?


The only way to be sure is to look at the datasheet for the drive. If 
the drives are SMART capable, you can always load Smart Monitoring Tools 
(/usr/ports/sysutils/smartmontools) and have it report the make and model of 
the drive. Just be careful, the report from the SMART data will more than 
likely show the drive as 512 Logical and Physical access (Even if they are not)


So: the specs, smartctl and diskinfo all say sectors are 512 bytes.

I tried disabling AHCI in the BIOS and, for now, this seems to work better.
I'll keep you informed if troubles persist.

 bye & Thanks
av.
___
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: Monitor directory and execute script

2011-11-23 Thread Andrea Venturoli

On 11/07/11 16:29, Frank Brendel wrote:

||
I think sysutils/wait_on is what you are looking for.


Thanks, that's exactly it!

 bye
av.
___
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: ATA trouble again

2011-11-16 Thread Andrea Venturoli

On 11/16/11 12:23, Pegasus Mc Cleaft wrote:


Are you using ZFS?


No.
I'm using gstripe.




or do you know if the drives are using 4096 bytes
Per sector?


How do I find out without physical access to the box?



 bye & Thanks
av.
___
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"


ATA trouble again

2011-11-16 Thread Andrea Venturoli

Hello.

This is a follow-up of a previous thread, which can be found here:


http://lists.freebsd.org/pipermail/freebsd-questions/2011-July/232257.html




I finally have two working WD Green drives: they have run severel times 
for more than a few days continuosly and I've run their full diags a few 
times over a span of some weeks, so I think I can be sure of that.
Still I experience lot of troubles; however, trying different boxes, I 
found out that these depend heavily on the controller I use.




A) A-Bit KV7 (featuring a VIA KT600) on 7.3 and 8.2/i386
With only one disk, I get some NID_NOT_FOUND errors, but I could almost 
say they can be ignored.
With two disks, the NID_NOT_FOUND errors come frequently; rsync will 
work, but a "diff" will sooner or later fail.


I tried Linux on this box: it frequently complains about errors and 
resets the ATA channels; this possibly will result in performance 
penalties, but it seems to work.


Since then this box is dead, so I cannot do other tests.



B) BioStar A785G3 with 8.1/i386:

# pciconf -lv
atapci0@pci0:0:17:0:class=0x010601 card=0x43911002 chip=0x43911002 rev=0x00 
hdr=0x00
vendor = 'ATI Technologies Inc. / Advanced Micro Devices, Inc.'
device = 'SB700 SATA Controller [AHCI mode]'
class  = mass storage
subclass   = SATA


This works flawlessly.



C) Intel SC5400BRP with 7.3/i386:

atapci2@pci0:0:31:2:class=0x01018f card=0x34768086 chip=0x26808086 rev=0x09 
hdr=0x00
vendor = 'Intel Corporation'
device = '631xESB/632xESB/3100 Serial ATA Storage Controller'
class  = mass storage
subclass   = ATA


No way this will work: using two disk gives gobs of errors, until the 
whole box crashes.
With only one disk it appears to work for a while, but will eventually 
panic over a few day.

This same controller used to work with a single Hitachi drive.
With two Seagates drives, I get READ_DMA48/WRITE_DMA48 timeouts, the 
disks will hang for minutes, but then they will start again; this does 
not happen as soon as I start using them, but will happen every some 
minutes after a few hours of usage.




D) Intel SC5600BRP with 7.3/amd64:

atapci0@pci0:0:31:2:class=0x01018f card=0x34dc8086 chip=0x3a208086 rev=0x00 
hdr=0x00
vendor = 'Intel Corporation'
device = 'SATA2(4Port2) (ICH10 Family)'
class  = mass storage
subclass   = ATA
atapci1@pci0:0:31:5:class=0x010185 card=0x34dc8086 chip=0x3a268086 rev=0x00 
hdr=0x00
vendor = 'Intel Corporation'
device = 'SATA2(2Port2) (ICH10 Family)'
class  = mass storage
subclass   = ATA


This works flawlessly, with every HD I could try (one or two).



E) Promise PCI controller with 7.3/i386 and /amd64:

atapci0@pci0:7:2:0: class=0x018000 card=0x3d17105a chip=0x3d17105a rev=0x02 
hdr=0x00
vendor = 'Promise Technology Inc'
device = 'SATA 300 TX4 Controller (PDC40718-GP)'
class  = mass storage


This will give few errors if not none at all; however the box will 
sometimes reboot or just hang (phisical reset required).

This happens on two different box with both WD Green and Seagate drives.




So: altough a bit flaky, WD drives are not the main problem.
I'll still appreciate some help WRT the third box (Intel SC5400BRP with 
7.3/i386).
Different BIOS settings did not help with WD drives, but I still have to 
test them with Seagate's.
Possibly an OS upgrade would help? 8.x also has an AHCI driver that 7.3 
is missing.
I don't care that much for top of the chart performance, I just want 
this thing to work decently.



 bye & Thanks
av.
___
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"


How to persist tape configuration

2011-11-10 Thread Andrea Venturoli

Hello.

I need to set my tape with:
mt comp off.

After a reboot I need to do this again.

I could write a script and place it in /usr/local/etc/rc.d, but I'm just 
wondering if there's already something standard in /etc.


 bye & Thanks
av.
___
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: Monitor directory and execute script

2011-11-07 Thread Andrea Venturoli

On 11/07/11 15:26, Warren Block wrote:

On Mon, 7 Nov 2011, Andrea Venturoli wrote:


I need to check for new or updated files in a directory and execute a
script on them whenever that happens.
Before I launch on complicated scripting, is there some
utility/port/deamon that already does this?


There's devel/gamin.


Thanks for the answer.
AFAICT gamin is a library; from there I'd need to develop some daemon, 
provide rc scripts, etc...


My question was whether such a thing already exists.

 bye
av.
___
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"


Monitor directory and execute script

2011-11-07 Thread Andrea Venturoli

Hello.

I need to check for new or updated files in a directory and execute a 
script on them whenever that happens.
Before I launch on complicated scripting, is there some 
utility/port/deamon that already does this?


 bye & Thanks
av.
___
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: Thunderbird 6.0.2/7.0: Crashing when using with OpenLDAP backend

2011-09-29 Thread Andrea Venturoli

On 09/28/11 14:29, O. Hartmann wrote:

I run in a problem on FreeBSD 9.0-BETA3/10.0-CURRENT using OpenLDAP
(Cyrus SASL2 aktivated) and OpenLDAP backend (most recent client and
server). Thunderbird 6.0.2 and 7.0 coredumps with signal 11. I hadn't
any chance to check whether this also happens on 8.2-STABLE, but I'll
check this as soon as possible, since I run the same OpenLDAP backend
and configuration (also the Cyrus SASL2 libs, most recent from ports).

The boxes in question do have FreeBSD 9.0-BETA3/10.0-CUR compiled with
CLANG and Thunderbird is also compiled with CLANG.


Does anyone else experience these issues?


You mean this?

http://freebsd.1045724.n5.nabble.com/TB-5-0-crashing-with-nss-ldap-td4575944.html


 bye
av.
___
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: Help with crash dump

2011-09-09 Thread Andrea Venturoli

On 09/09/11 14:26, Bernt Hansson wrote:


You have run out of swapspace, based on these 2 lines

panic: ffs_write: dir write
current process = 0 (swapper)


Hmmm...
Cacti woldn't think so: the graph about swap space is plain flat (round 
0%, by the way); of course it could have risen so fast that it reached 
100% between two consecutive polls, but I doubt it.


Besides, why would the system crash for such a reason? I'd expect 
application failing, not the whole kernel. Am I wrong?





Or you have a hardware error.


SOB! I hope not. RAM is fine, HDs are SAS RAID with a good contoller 
which should have detected failures...

What else can I check?



> Does the "current process"

change between panics or is it always the same?


Right now I've only had this crash (and hope no other will follow). In 
the worst case, I'll take notice.





I'm in no sense a kernel debugger, but it's a hint.


I appreciate your interest anyway.



 bye & Thanks
av.
___
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"


Help with crash dump

2011-09-08 Thread Andrea Venturoli

Hello.

Anyone can give any hint on this?
I really have no clue.

 bye & Thanks
av.



# uname -a
FreeBSD x..it 7.3-RELEASE-p4 FreeBSD 7.3-RELEASE-p4 #1: Wed Dec 15 
11:53:13 CET 2010 r...@x..it:/usr/obj/usr/src/sys/x  i386
# kgdb kernel.debug /var/crash/vmcore.17
GNU gdb 6.1.1 [FreeBSD]
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-marcel-freebsd"...

Unread portion of the kernel message buffer:
panic: ffs_write: dir write
cpuid = 3
Uptime: 26d9h4m27s
Physical memory: 2033 MB
Dumping 300 MB: 285 269 253 237 221 205 189 173 157 141 125 109 93 77kernel 
trap 12 with interrupts disabled


Fatal trap 12: page fault while in kernel mode
cpuid = 3; apic id = 03
fault virtual address   = 0x14
fault code  = supervisor read, page not present
instruction pointer = 0x20:0xc059accb
stack pointer   = 0x28:0xc0c20ccc
frame pointer   = 0x28:0xc0c20cec
code segment= base 0x0, limit 0xf, type 0x1b
= DPL 0, pres 1, def32 1, gran 1
processor eflags= resume, IOPL = 0
current process = 0 (swapper)
trap number = 12
panic: page fault
cpuid = 3
 61 45 29 13

Reading symbols from /boot/kernel/splash_bmp.ko...Reading symbols from 
/boot/kernel/splash_bmp.ko.symbols...done.
done.
Loaded symbols for /boot/kernel/splash_bmp.ko
Reading symbols from /boot/kernel/geom_stripe.ko...Reading symbols from 
/boot/kernel/geom_stripe.ko.symbols...done.
done.
Loaded symbols for /boot/kernel/geom_stripe.ko
Reading symbols from /boot/kernel/acpi.ko...Reading symbols from 
/boot/kernel/acpi.ko.symbols...done.
done.
Loaded symbols for /boot/kernel/acpi.ko
#0  doadump () at pcpu.h:196
196 __asm __volatile("movl %%fs:0,%0" : "=r" (td));
(kgdb) bt
#0  doadump () at pcpu.h:196
#1  0xc0563d48 in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:418
#2  0xc0564025 in panic (fmt=Variable "fmt" is not available.
) at /usr/src/sys/kern/kern_shutdown.c:574
#3  0xc06cd16d in ffs_write (ap=0xe6912a44) at 
/usr/src/sys/ufs/ffs/ffs_vnops.c:667
#4  0xc0740640 in VOP_WRITE_APV (vop=0xc07ba4e0, a=0xe6912a44) at vnode_if.c:691
#5  0xc06fd8d6 in vnode_pager_generic_putpages (vp=0xc672f678, m=0xe6912bb0, 
bytecount=Variable "bytecount" is not available.
) at vnode_if.h:373
#6  0xc05d4a5f in vop_stdputpages (ap=0xe6912ad4) at 
/usr/src/sys/kern/vfs_default.c:540
#7  0xc073faf3 in VOP_PUTPAGES_APV (vop=0xc07ba4e0, a=0xe6912ad4) at 
vnode_if.c:2189
#8  0xc06fda5f in vnode_pager_putpages (object=0xcb14ac80, m=0xe6912bb0, 
count=1, sync=0, rtvals=0xe6912b20) at vnode_if.h:1164
#9  0xc06f730b in vm_pageout_flush (mc=0xe6912bb0, count=1, flags=0) at 
vm_pager.h:148
#10 0xc06f7661 in vm_pageout_clean (m=Variable "m" is not available.
) at /usr/src/sys/vm/vm_pageout.c:403
#11 0xc06f92a2 in vm_pageout () at /usr/src/sys/vm/vm_pageout.c:1017
#12 0xc053e9a1 in fork_exit (callout=0xc06f82d6 , arg=0x0, 
frame=0xe6912d38) at /usr/src/sys/kern/kern_fork.c:811
#13 0xc0718b30 in fork_trampoline () at /usr/src/sys/i386/i386/exception.s:271
(kgdb)


___
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: upgrade of portupgrade to 2.4.9,2

2011-08-23 Thread Andrea Venturoli

On 08/23/11 11:11, Stanislav Sedov wrote:


Are you sure you have the latest one (2.4.9.2_2,2).
If not, you can grab it from here: 
http://www.freebsd.org/cgi/cvsweb.cgi/ports/ports-mgmt/portupgrade/ (the page has a small 
"download as a tarball" link
at the bottom).


You are right: I had just "csupped", and saw a portupgrade update, but 
it was not _2. Probably it.cvsup.freebsd.org is a little behind :-)





Let me know if it works!


For pkgdb, so far, so fine.

I'm still getting "stack level too deep" (see other post), but this is 
not on all boxes and I'm investigating it.




Thanks a lot.

 bye
av.
___
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: upgrade of portupgrade to 2.4.9,2

2011-08-23 Thread Andrea Venturoli

On 08/23/11 09:58, Stanislav Sedov wrote:

On Sun, 21 Aug 2011 15:18:28 +0200
Andrea Venturoli  mentioned:


On 08/21/11 08:26, n dhert wrote:

I did a portupgrade on a freebsd 8.2-RELEASE
of the portupgrade program itself
portupgrade-2.4.8_1,2< needs updating (index has 2.4.9,2)
(that upgraded also ruby to 1.9:


I did the same on some boxes and I'm having a lot of troubles too...

# pkgdb -L
Look for lost dependencies:
undefined method `map' for #



Hi!

Can you, please, try the portupgrade version from the ports?
It should fix those issues.


Not really.

I tried "portupgrade -R portupgrade", but still had a messed-up system.
Since I don't use Ruby for much and had only portupgrade and libchk 
using it, I wiped them all and reinstalled portupgrade from scratch. 
This also reinstalled ruby.

I'm still getting "undefined method `map'..." when I run pkgdb, however.


# pkg_info -r portupgrade\*
Information for portupgrade-2.4.9.2,2:

Depends on:
Dependency: libyaml-0.1.4_1
Dependency: openssl-1.0.0_5
Dependency: pkg-config-0.25_1
Dependency: libffi-3.0.9
Dependency: ruby-1.9.2.290,1






Sorry for the inconvinences!


You're welcome, I appreciate your work and help.

 bye & Thanks
av.
___
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: upgrade of portupgrade to 2.4.9,2

2011-08-21 Thread Andrea Venturoli

On 08/21/11 08:26, n dhert wrote:

I did a portupgrade on a freebsd 8.2-RELEASE
of the portupgrade program itself
portupgrade-2.4.8_1,2  Reinstalling 'libchk-1.10.1' (sysutils/libchk)
--->  Building '/usr/ports/sysutils/libchk'
===>  Cleaning for libchk-1.10.1
===>  License check disabled, port has not defined LICENSE
===>  Extracting for libchk-1.10.1
=> SHA256 Checksum OK for libchk-1.10.1.tar.bz2.
===>   libchk-1.10.1 depends on file: /usr/local/bin/ruby19 - found
===>  Patching for libchk-1.10.1
===>   libchk-1.10.1 depends on file: /usr/local/bin/ruby19 - found
===>   libchk-1.10.1 depends on file: /usr/local/bin/ruby19 - found
===>  Configuring for libchk-1.10.1
===>  Building for libchk-1.10.1
Warning: Object directory not changed from original 
/usr/ports/sysutils/libchk/work/libchk-1.10.1

gzip -cn libchk.1 > libchk.1.gz
--->  Backing up the old version
--->  Uninstalling the old version
--->  Deinstalling 'libchk-1.10.1'
[Updating the pkgdb  in /var/db/pkg ... - 361 packages 
found (-1 +0) (...) done]

--->  Installing the new version via the port
===>  Installing for libchk-1.10.1
===>   libchk-1.10.1 depends on file: /usr/local/bin/ruby19 - found
===>   Generating temporary packing list
install -o root  -g wheel -m 555  libchk.rb  /usr/local/sbin/libchk
install -o root -g wheel -m 444 libchk.1.gz  /usr/local/man/man1
===>   Registering installation for libchk-1.10.1
===>  Cleaning for libchk-1.10.1
--->  Cleaning out obsolete shared libraries
[Updating the pkgdb  in /var/db/pkg ... - 362 packages 
found (-0 +1) . done]

** Listing the failed packages (-:ignored / *:skipped / !:failed)
- ["ruby-1.9.2.290,1"] (["ruby-1.9.2.290,1"]: 1.9.2.290,1"]: 
Not in due form: '[_][,]'.)
- ["openssl-1.0.0_5"] (["openssl-1.0.0_5"]: 1.0.0_5"]: Not in 
due form: '[_][,]'.)
- ["libyaml-0.1.4_1"] (["libyaml-0.1.4_1"]: 0.1.4_1"]: Not in 
due form: '[_][,]'.)
- ["perl-5.8.9_5"] (["perl-5.8.9_5"]: 5.8.9_5"]: Not in due 
form: '[_][,]'.)
- ["makedepend-1.0.3,1"] (["makedepend-1.0.3,1"]: 1.0.3,1"]: 
Not in due form: '[_][,]'.)
- ["pkg-config-0.25_1"] (["pkg-config-0.25_1"]: 0.25_1"]: Not 
in due form: '[_][,]'.)
- ["libiconv-1.13.1_1"] (["libiconv-1.13.1_1"]: 1.13.1_1"]: Not 
in due form: '[_][,]'.)
- ["m4-1.4.16,1"] (["m4-1.4.16,1"]: 1.4.16,1"]: Not in due 
form: '[_][,]'.)
- ["p5-Locale-gettext-1.05_3"] (["p5-Locale-gettext-1.05_3"]: 
1.05_3"]: Not in due form: '[_][,]'.)


(I think the ignored packages should have been reinstalled... however 
this was only a try at fixing the previous error).




I also issued "portsdb -uU" *after* the portupgrade update, but to no avail.



 bye
av.

P.S. This is on 7.3/amd64 and 8.1/i386.
___
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: ATA troubles

2011-07-26 Thread Andrea Venturoli

On 07/25/11 02:45, Jerome Herman wrote:

On 25/07/2011 01:58, Andrea Venturoli wrote:


So, for the records...


Now it looks like one drive is not working fine anymore...

Jul 24 23:48:36 mydavid kernel: ad6: FAILURE - READ_DMA48
status=51 error=40 LBA=1671887488
Jul 24 23:48:36 mydavid kernel:
g_vfs_done():stripe/backup[READ(offset=1712012836864,
length=131072)]error = 5
Jul 24 23:48:39 mydavid kernel: ad6: FAILURE - READ_DMA48
status=51 error=40 LBA=1671897856
Jul 24 23:48:39 mydavid kernel:
g_vfs_done():stripe/backup[READ(offset=1712023420928,
length=131072)]error = 5
Jul 24 23:48:41 mydavid kernel: ad6: FAILURE - READ_DMA48
status=51 error=40 LBA=1671897888
Jul 24 23:48:41 mydavid kernel:
g_vfs_done():stripe/backup[READ(offset=1712023486464,
length=131072)]error = 5

Also, smartd is complaining:

Jul 24 23:41:59 mydavid smartd[2630]: Device: /dev/ad6, 38 Currently
unreadable (pending) sectors
Jul 24 23:50:56 mydavid smartd[538]: Device: /dev/ad6, 39 Currently
unreadable (pending) sectors


After a reboot, I've got back to the NID_NOT_FOUND errors...


Altough smartd says the drive is overall PASSing the tests, WD DLG tools 
found it bad.

(Thanks WD for creating such good HDs that go wild in a few days...)



I'll keep testing with the other one to find out whether the 
NID_NOT_FOUND errors are just noise in the logs or what.




 bye & Thanks to anyone who replied
av.
___
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: ATA troubles

2011-07-25 Thread Andrea Venturoli

On 07/25/11 16:03, per...@pluto.rain.com wrote:


I fixed a similar problem -- involving a VIA 6421 controller --
a while back, by using atacontrol(8) to reduce the DMA speed
from UDMA133 to UDMA100.  Evidently it is possible, under some
circumstances, for a device and controller to negotiate a speed
that's too high to actually work :(


I checked and it was already set at UDMA100; I tried UDMA66, but nothing 
changed.

I don't know if this is really effective with SATA...

 bye & Thanks
av.
___
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: ATA troubles

2011-07-25 Thread Andrea Venturoli

On 07/25/11 12:01, Jerome Herman wrote:


Ok I must have been way more tired than I thought when I answered...


:-)




A few things though,
WD Green have always been very problematic, in FreeBSD and elsewhere.


I acknowledge that.
However, I think I can live with some glitch, but what I'm experiencing 
seems to me far too much: such a drive might slow down, but this should 
not result in a kernel panic.







The problem you are encountering is not new, cf


I know: however I only found a lot of reports, with no solutions.



> http://wiki.freebsd.org/JeremyChadwick/ATA_issues_and_troubleshooting

I've only looked briefly into this, but I'll read it carefully.
Thanks.




Some people even think there is a cryptic bug somewhere in the ATA driver.


That's what I'm starting to think.
In case anyone is interested, now that I have a test box up and running, 
I'm willing to try anything fancy.





I now avoid WD caviar green completely.


That's what I'll do in the future.
However, I've seen posts reporting this kind of troubles with other 
brands too.





As for SMART test,
I would not believe them, SATA drives tends to silently remap bad
blocks, leaving SMART counters untouched.


I know; I'll run WD's diag tools from time to time.





A long time ago Scott Long offered to help track this problem, you might
want to contact him and see whether he found something.


I'm CCing him.



 bye & Thanks
av.

P.S. I tried updating from 7.3 to 8.2 and see if anything changed, but I 
still get the same problems.

___
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: ATA troubles

2011-07-24 Thread Andrea Venturoli

On 07/25/11 02:45, Jerome Herman wrote:


At the beginning of June, I installed two WD 1TB Caviar Green SATA

>>

Just a shot in the dark : are your drives of the "green" kind ? Such as
Western Digital Caviar Green ?


Exactly.
I disabled the idle timer though.




Also since they are ATA drives make sure you are using 80pins ribbons
and that DMA is properly activated in BIOS.


They are SATA drives.




You can also try to reduce DMA level, it must be on UDMA5 by default,
try using UDMA 4 (aka UDMA/66) or UDMA 3.


Does this apply to SATA?
How would I do that?



 bye & Thanks
av.
___
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"


ATA troubles

2011-07-24 Thread Andrea Venturoli
(Sorry for the previous post, I accidentally hit sent, while the 
messages was still unfinished).



Hello everyone.

For those interested, this post is a sequel of:
http://www.mailinglistarchive.com/html/freebsd-questions%40freebsd.org/2011-06/msg00018.html
However, I'll summarize.



At the beginning of June, I installed two WD 1TB Caviar Green SATA 
drives into an Intel-S5000-based production box of mine and it was hell!
This server runs 7.3/i386 off a SAS RAID and the two new drives should 
have worked with gstripe to constitute a secondary storage.

I started getting:

ad4: WARNING - SETFEATURES SET TRANSFER MODE taskqueue timeout - completing
request directly
ad4: WARNING - SMART taskqueue timeout - completing request directly
ad8: WARNING - SMART taskqueue timeout - completing request directly
ad4: WARNING - SETFEATURES SET TRANSFER MODE taskqueue timeout - completing
request directly
ad4: WARNING - SETFEATURES SET TRANSFER MODE taskqueue timeout - completing
request directly
ad8: WARNING - SETFEATURES SET TRANSFER MODE taskqueue timeout - completing
request directly
ad4: WARNING - SETFEATURES ENABLE RCACHE taskqueue timeout - completing request
directly

and the box would reboot within minutes.
This also prevented me from running tests with smartctl.
Notice the box had previously a single SATA drive working perfectly.

It was suggested I ran wdidle.exe from DOS to prevent the drives from 
spinning down and it helped: now I was at least able to fsck the stripe 
and copy something on it.
Still I keep getting the above messages; the drives would also 
occasionally hang and then restart. Uptime raised to some hours, but the 
box would still reboot.


In the meantime the drives went bad (smartd, BIOS and WD-tools proven) 
and I had them replaced.


When they came back, I decided to put up a test box: hardware is 
completely different from the production box, but still FreeBSD will run 
from a SCSI drive and the two WD will constitute an additional stripe.
First I run WD tools to check the driver and they passed every test 
(including long one).


So I installed FreeBSD 7.3/i386, smartctl and verified the disks again.

I created the stripe, fscked it, and copied about 420GB of data via 
rsync over NFS. It seemed to work fine, but, after about 15 hours, the 
box rebooted after:

ad6: FAILURE - device detached
g_vfs_done():stripe/backup[WRITE(offset=1709926940672, length=131072)]error = 6
/mnt/local: got error 6 while accessing filesystem
panic: softdep_deallocate_dependencies: unrecovered I/O error


Subsequent retries always gave the same results, until I disabled 
softupdates on the stripe. I then was able to complete the rsync.


Not quite happy, I made a local to local copy and started getting a lot of:

Jul 24 18:54:28 mydavid kernel: ad4: WARNING - READ_DMA48 UDMA ICRC error 
(retrying request) LBA=1620416000
Jul 24 18:54:28 mydavid kernel: ad4: FAILURE - READ_DMA48 status=51 
error=10 LBA=1620416000
Jul 24 18:54:28 mydavid kernel: 
g_vfs_done():stripe/backup[READ(offset=1659305967616, length=131072)]error = 5
Jul 24 18:54:42 mydavid kernel: ad6: WARNING - READ_DMA48 UDMA ICRC error 
(retrying request) LBA=1621920384
Jul 24 18:54:42 mydavid kernel: ad6: FAILURE - READ_DMA48 status=51 
error=10 LBA=1621920384
Jul 24 18:54:42 mydavid kernel: 
g_vfs_done():stripe/backup[READ(offset=1660846522368, length=131072)]error = 5
I run smartctl's short test on both drives and they were ok; I tried the 
offline test, but they got interrupted (???).

In spite of the messages above, it looked like it was working...

However, I was logged in via ssh and had to turn of the client; so I 
stopped it, went into the console and started it again.

Now it looks like one drive is not working fine anymore...

Jul 24 23:48:36 mydavid kernel: ad6: FAILURE - READ_DMA48 status=51 
error=40 LBA=1671887488
Jul 24 23:48:36 mydavid kernel: 
g_vfs_done():stripe/backup[READ(offset=1712012836864, length=131072)]error = 5
Jul 24 23:48:39 mydavid kernel: ad6: FAILURE - READ_DMA48 status=51 
error=40 LBA=1671897856
Jul 24 23:48:39 mydavid kernel: 
g_vfs_done():stripe/backup[READ(offset=1712023420928, length=131072)]error = 5
Jul 24 23:48:41 mydavid kernel: ad6: FAILURE - READ_DMA48 status=51 
error=40 LBA=1671897888
Jul 24 23:48:41 mydavid kernel: 
g_vfs_done():stripe/backup[READ(offset=1712023486464, length=131072)]error = 5

Also, smartd is complaining:

Jul 24 23:41:59 mydavid smartd[2630]: Device: /dev/ad6, 38 Currently unreadable 
(pending) sectors
Jul 24 23:50:56 mydavid smartd[538]: Device: /dev/ad6, 39 Currently unreadable 
(pending) sectors


After a reboot, I've got back to the NID_NOT_FOUND errors...




While I'm still conducting other tests, has anyone any hint on this?


 bye & Thanks
av.
___
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"


ATA troubles

2011-07-24 Thread Andrea Venturoli

Hello everyone.

For those interested, this post is a sequel of:
http://www.mailinglistarchive.com/html/freebsd-questions%40freebsd.org/2011-06/msg00018.html
However, I'll summarize.



At the beginning of June, I installed two WD 1TB Caviar Green SATA 
drives into an Intel-S5000-based production box of mine and it was hell!
This server runs 7.3/i386 off a SAS RAID and the two new drives should 
have worked with gstripe to constitute a secondary storage.

I started getting:

ad4: WARNING - SETFEATURES SET TRANSFER MODE taskqueue timeout - completing
request directly
ad4: WARNING - SMART taskqueue timeout - completing request directly
ad8: WARNING - SMART taskqueue timeout - completing request directly
ad4: WARNING - SETFEATURES SET TRANSFER MODE taskqueue timeout - completing
request directly
ad4: WARNING - SETFEATURES SET TRANSFER MODE taskqueue timeout - completing
request directly
ad8: WARNING - SETFEATURES SET TRANSFER MODE taskqueue timeout - completing
request directly
ad4: WARNING - SETFEATURES ENABLE RCACHE taskqueue timeout - completing request
directly

and the box would reboot within minutes.
This also prevented me from running tests with smartctl.
Notice the box had previously a single SATA drive working perfectly.

It was suggested I ran wdidle.exe from DOS to prevent the drives from 
spinning down and it helped: now I was at least able to fsck the stripe 
and copy something on it.
Still I keep getting the above messages; the drives would also 
occasionally hang and then restart. Uptime raised to some hours, but the 
box would still reboot.


In the meantime the drives went bad (smartd, BIOS and WD-tools proven) 
and I had them replaced.


When they came back, I decided to put up a test box: hardware is 
completely different from the production box, but still FreeBSD will run 
from a SCSI drive and the two WD will constitute an additional stripe.
First I run WD tools to check the driver and they passed every test 
(including long one).


So I installed FreeBSD 7.3/i386, smartctl and verified the disks again.

I created the stripe, fscked it, and copied about 420GB of data via 
rsync over NFS. It seemed to work fine, but, after about 15 hours, the 
box rebooted after:

ad6: FAILURE - device detached
g_vfs_done():stripe/backup[WRITE(offset=1709926940672, length=131072)]error = 6
/mnt/local: got error 6 while accessing filesystem
panic: softdep_deallocate_dependencies: unrecovered I/O error


Subsequent retries always gave the same results, until I disabled 
softupdates on the stripe. I then was able to complete the rsync.


Not quite happy, I made a local to local copy and started getting a lot of:

Jul 24 18:54:28 mydavid kernel: ad4: WARNING - READ_DMA48 UDMA ICRC error 
(retrying request) LBA=1620416000
Jul 24 18:54:28 mydavid kernel: ad4: FAILURE - READ_DMA48 status=51 
error=10 LBA=1620416000
Jul 24 18:54:28 mydavid kernel: 
g_vfs_done():stripe/backup[READ(offset=1659305967616, length=131072)]error = 5
Jul 24 18:54:42 mydavid kernel: ad6: WARNING - READ_DMA48 UDMA ICRC error 
(retrying request) LBA=1621920384
Jul 24 18:54:42 mydavid kernel: ad6: FAILURE - READ_DMA48 status=51 
error=10 LBA=1621920384
Jul 24 18:54:42 mydavid kernel: 
g_vfs_done():stripe/backup[READ(offset=1660846522368, length=131072)]error = 5
I run smartctl's short test on both drives and they were ok; I tried the 
offline test, but they got interrupted (???).

In spite of the messages above, it looked like it was working...

However, I was logged in via ssh and had to turn of the client; so I 
stopped it, went into the console and started it again.

Now it looks like one drive is not working fine anymore...

Jul 24 23:48:36 mydavid kernel: ad6: FAILURE - READ_DMA48 status=51 
error=40 LBA=1671887488
Jul 24 23:48:36 mydavid kernel: 
g_vfs_done():stripe/backup[READ(offset=1712012836864, length=131072)]error = 5
Jul 24 23:48:39 mydavid kernel: ad6: FAILURE - READ_DMA48 status=51 
error=40 LBA=1671897856
Jul 24 23:48:39 mydavid kernel: 
g_vfs_done():stripe/backup[READ(offset=1712023420928, length=131072)]error = 5
Jul 24 23:48:41 mydavid kernel: ad6: FAILURE - READ_DMA48 status=51 
error=40 LBA=1671897888
Jul 24 23:48:41 mydavid kernel: 
g_vfs_done():stripe/backup[READ(offset=1712023486464, length=131072)]error = 5

Also, smartd is complaining:

Jul 24 23:41:59 mydavid smartd[2630]: Device: /dev/ad6, 38 Currently unreadable 
(pending) sectors
Jul 24 23:50:56 mydavid smartd[538]: Device: /dev/ad6, 39 Currently unreadable 
(pending) sectors


___
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 64 Bit Applications

2011-07-01 Thread Andrea Venturoli

On 06/30/11 10:06, John Dakos wrote:


My questions is .is FreeBSD 64 Bit  stable and Rock   such as 32 bit ?


Yes, go for it.




These standard applications are working well on 64 bit  or not ?

Apache , Bind, Webmin , Mysql ,Postfix ,Dovecot, Spamassasin, PHP, Squid, PF


I can personally confirm on Apache, Bind, MySQL, SpamAssassin, PHP and 
Squid.



 bye
av.
___
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: Firefox 3 and 4 with NFS home directory

2011-06-20 Thread Andrea Venturoli

On 06/20/11 21:55, Devin Teske wrote:

I'm wondering if anyone has been able to test Firefox 4 on NFS $HOME.


I had problems in the past with Firefox 3, but they are gone.
Firefox 4 also works.

Right now I'm using 8.1, but I don't remember if this was what solved.

In any case, have you got statd/lockd correctly working?

 bye
av.
___
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: Critical issues with WD green drives

2011-06-10 Thread Andrea Venturoli

On 06/02/11 14:16, Andrea Venturoli wrote:

Hello.

In a server of mine (7.3p4/i386) I replaced a 1TB Hitachi SATA drive
(which worked perfectly), with two brand new Western Digital 2TB disks.
Now I'm having critical problems, ranging from the disks getting stuck,
to the box rebooting.


Thanks to everyone who replied.

I've followed Bruce's suggestion, booting the server into plain old DOS, 
running wdidle3.exe and "turning off" the idle timer.
What the utility really says is that the timer gets set to a larger 
value (something more than an hour) IIRC.


Anyway I was then able to newfs the disks and try and use them.




Still:

_ the disks will often get to a stop, blocking any I/O for some minutes, 
then restart working;




_ i get a lot of messages in the logs, like:

> Jun  9 18:10:53 david kernel: ad4: WARNING - SETFEATURES SET TRANSFER 
MODE taskqueue timeout - completing request directly
> Jun  9 18:11:34 david kernel: ad4: WARNING - SETFEATURES SET TRANSFER 
MODE taskqueue timeout - completing request directly
> Jun  9 18:13:45 david kernel: ad4: WARNING - SETFEATURES ENABLE 
RCACHE taskqueue timeout - completing request directly
> Jun  9 18:13:45 david kernel: ad4: WARNING - SETFEATURES ENABLE 
WCACHE taskqueue timeout - completing request directly
> Jun  9 18:13:45 david kernel: ad4: WARNING - SET_MULTI taskqueue 
timeout - completing request directly
> Jun  9 18:13:45 david kernel: ad4: TIMEOUT - WRITE_DMA retrying (1 
retry left) LBA=0
> Jun  9 18:13:45 david kernel: ad4: FAILURE - SETFEATURES SET TRANSFER 
MODE status=51 error=84
> Jun  9 18:13:45 david kernel: ad4: TIMEOUT - WRITE_DMA retrying (1 
retry left) LBA=5984
> Jun  9 18:21:41 david smartd[2170]: Device: /dev/ad4, SMART Usage 
Attribute: 194 Temperature_Celsius changed from 118 to 117
> Jun  9 18:21:42 david smartd[2170]: Device: /dev/ad8, SMART Usage 
Attribute: 193 Load_Cycle_Count changed from 199 to 198
> Jun  9 18:21:42 david smartd[2170]: Device: /dev/ad8, SMART Usage 
Attribute: 194 Temperature_Celsius changed from 115 to 114
> Jun  9 18:32:46 david kernel: ad4: WARNING - SETFEATURES SET TRANSFER 
MODE taskqueue timeout - completing request directly
> Jun  9 18:32:46 david kernel: ad4: WARNING - SETFEATURES SET TRANSFER 
MODE taskqueue timeout - completing request directly
> Jun  9 18:32:46 david kernel: ad4: WARNING - SETFEATURES ENABLE 
RCACHE taskqueue timeout - completing request directly
> Jun  9 18:32:46 david kernel: ad4: WARNING - SETFEATURES ENABLE 
WCACHE taskqueue timeout - completing request directly
> Jun  9 18:32:46 david kernel: ad4: WARNING - SET_MULTI taskqueue 
timeout - completing request directly
> Jun  9 18:32:46 david kernel: ad4: TIMEOUT - WRITE_DMA retrying (1 
retry left) LBA=56677632
> Jun  9 18:32:46 david kernel: ad4: FAILURE - SETFEATURES SET TRANSFER 
MODE status=51 error=84
> Jun  9 18:32:46 david kernel: ad4: TIMEOUT - WRITE_DMA retrying (1 
retry left) LBA=56677664
> Jun  9 20:23:24 david kernel: ad4: 1907729MB 51.0AB51> at ata2-master SATA300
> Jun  9 20:23:24 david kernel: ad8: 1907729MB 51.0AB51> at ata4-master SATA300

> Jun  9 20:23:24 david kernel: GEOM_STRIPE: Disk ad4 attached to backup.
> Jun  9 20:23:24 david kernel: GEOM_STRIPE: Disk ad8 attached to backup.
> Jun  9 20:23:24 david kernel: ad8: WARNING - SETFEATURES SET TRANSFER 
MODE taskqueue timeout - completing request directly
> Jun  9 20:23:24 david kernel: ad8: WARNING - SETFEATURES SET TRANSFER 
MODE taskqueue timeout - completing request directly
> Jun  9 20:23:24 david kernel: ad8: WARNING - SETFEATURES ENABLE 
RCACHE taskqueue timeout - completing request directly
> Jun  9 20:23:24 david kernel: ad8: WARNING - SETFEATURES ENABLE 
WCACHE taskqueue timeout - completing request directly
> Jun  9 20:23:24 david kernel: ad8: WARNING - SET_MULTI taskqueue 
timeout - completing request directly
> Jun  9 20:23:24 david kernel: ad8: TIMEOUT - READ_DMA48 retrying (1 
retry left) LBA=494338464
> Jun  9 20:23:24 david kernel: ad8: FAILURE - SETFEATURES SET TRANSFER 
MODE status=51 error=84
> Jun  9 20:23:24 david kernel: ad8: TIMEOUT - READ_DMA48 retrying (0 
retries left) LBA=494338464




_ I already got a crash:


# kgdb kernel.debug /var/crash/vmcore.15
...
Loaded symbols for /boot/kernel/acpi.ko
#0  doadump () at pcpu.h:196
196 __asm __volatile("movl %%fs:0,%0" : "=r" (td));
(kgdb) bt
#0  doadump () at pcpu.h:196
#1  0xc0563d48 in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:418
#2  0xc0564025 in panic (fmt=Variable "fmt" is not available.
) at /usr/src/sys/kern/kern_shutdown.c:574
#3  0xc0732764 in trap_fatal (frame=0xc4dbec50, eva=0) at 
/usr/src/sys/i386/i386/trap.c:950
#4  0xc07329b4 in trap_pfault (frame=0xc4dbec50, usermode=0, eva=0) at 
/usr/src/sys/i386/i386/trap.c:863
#5  0xc0733351 in trap (frame=0xc4dbec50) at /usr/src/sys/i386/i386/trap.c:

Re: Critical issues with WD green drives

2011-06-02 Thread Andrea Venturoli

On 06/02/11 18:02, Reid Linnemann wrote:


I've gotten similar errors before with a failing power supply. After
an electrical storm I started getting HD errors all over the place. I
replaced drives, futzed with SATA cables, booted, rebooted, and when
the machine got stable finally I just tried to leave it alone. Finally
I bought a new atom board, thinking that some component on the
mainboard had been killed by the storm. Problems persisted until my
mini-itx case came in with a fresh (less powerful) power supply.



Thanks, but in my case this is unlikely.
I have reduntant power supplies and 4 SAS drives which work flawlessly.
Only the two SATA have problems.

 bye & Thanks
av.
___
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"


Critical issues with WD green drives

2011-06-02 Thread Andrea Venturoli

Hello.

In a server of mine (7.3p4/i386) I replaced a 1TB Hitachi SATA drive 
(which worked perfectly), with two brand new Western Digital 2TB disks.
Now I'm having critical problems, ranging from the disks getting stuck, 
to the box rebooting.
Those are not the main disks in the box, so they are currently 
unmounted; I wasn't even able to run newfs on them, since every process 
that tries to use these disk will hang after a while (and can't be 
killed either).


The box is based on an Intel S5000 motherboard and the drives are 
attached on the MB in an hot-swap enclosure.




First, what I think might be the relevant part of dmesg:


FreeBSD 7.3-RELEASE-p4 #1: Wed Dec 15 11:53:13 CET 2010
r...@x..xx:/usr/obj/usr/src/sys/X i386
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Intel(R) Xeon(R) CPU   E5405  @ 2.00GHz (2004.99-MHz 686-class CPU)
Origin = "GenuineIntel"  Id = 0x10676  Stepping = 6
Features=0xbfebfbff
Features2=0xce33d
AMD Features=0x2010
AMD Features2=0x1
Cores per package: 4
real memory  = 2143289344 (2044 MB)
avail memory = 2090176512 (1993 MB)
ACPI APIC Table: 
FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs
...
acpi0:  on motherboard
acpi0: [ITHREAD]
acpi0: Power Button (fixed)
acpi0: reservation of 0, a (3) failed
Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x408-0x40b on acpi0
acpi_hpet0:  iomem 0xfed0-0xfed003ff on acpi0
Timecounter "HPET" frequency 14318180 Hz quality 900
acpi_button0:  on acpi0
acpi_button1:  on acpi0
pcib0:  port 0xca2,0xca3,0xcf8-0xcff on acpi0
pci0:  on pcib0
pcib1:  at device 2.0 on pci0
pci1:  on pcib1
pcib2:  irq 16 at device 0.0 on pci1
pci2:  on pcib2
pcib3:  irq 16 at device 0.0 on pci2
pci3:  on pcib3
pcib4:  at device 0.0 on pci3
pci4:  on pcib4
...
pcib5:  at device 0.2 on pci3
pci5:  on pcib5
pcib6:  irq 18 at device 2.0 on pci2
pci6:  on pcib6
...
pcib7:  at device 0.3 on pci1
pci7:  on pcib7
...
pcib8:  at device 3.0 on pci0
pci8:  on pcib8
pcib9:  at device 4.0 on pci0
pci9:  on pcib9
pcib10:  at device 5.0 on pci0
pci10:  on pcib10
pcib11:  at device 6.0 on pci0
pci11:  on pcib11
pcib12:  at device 7.0 on pci0
pci12:  on pcib12
pci0:  at device 8.0 (no driver attached)
pcib13:  irq 16 at device 28.0 on pci0
pci13:  on pcib13
...
pcib14:  at device 30.0 on pci0
pci14:  on pcib14
...
atapci1:  port 
0x40d8-0x40df,0x40f4-0x40f7,0x40d0-0x40d7,0x40f0-0x40f3,0x4020-0x403f mem 
0xb900-0xb90003ff irq 20 at device 31.2 on pci0
atapci1: [ITHREAD]
atapci1: AHCI called from vendor specific driver
atapci1: AHCI Version 01.10 controller with 6 ports detected
ata2:  on atapci1
ata2: [ITHREAD]
ata3:  on atapci1
ata3: [ITHREAD]
ata4:  on atapci1
ata4: [ITHREAD]
ata5:  on atapci1
ata5: [ITHREAD]
ata6:  on atapci1
ata6: [ITHREAD]
ata7:  on atapci1
ata7: [ITHREAD]
...
ad4: 1907729MB  at ata2-master SATA300
ad8: 1907729MB  at ata4-master SATA300
...
GEOM_STRIPE: Device backup created (id=912470894).
GEOM_STRIPE: Disk ad4 attached to backup.
GEOM_STRIPE: Disk ad8 attached to backup.
GEOM_STRIPE: Device backup activated.
...




Following are some samples of the messages I get in the logs:

ad4: WARNING - SETFEATURES SET TRANSFER MODE taskqueue timeout - completing 
request directly
ad4: WARNING - SMART taskqueue timeout - completing request directly
ad8: WARNING - SMART taskqueue timeout - completing request directly
ad4: WARNING - SETFEATURES SET TRANSFER MODE taskqueue timeout - completing 
request directly
ad4: WARNING - SETFEATURES SET TRANSFER MODE taskqueue timeout - completing 
request directly
ad8: WARNING - SETFEATURES SET TRANSFER MODE taskqueue timeout - completing 
request directly
ad4: WARNING - SETFEATURES ENABLE RCACHE taskqueue timeout - completing request 
directly
ad4: WARNING - SETFEATURES SET TRANSFER MODE taskqueue timeout - completing 
request directly
ad8: WARNING - SETFEATURES SET TRANSFER MODE taskqueue timeout - completing 
request directly
ad4: WARNING - SETFEATURES ENABLE WCACHE taskqueue timeout - completing request 
directly
ad4: WARNING - SETFEATURES ENABLE RCACHE taskqueue timeout - completing request 
directly
ad8: WARNING - SETFEATURES ENABLE RCACHE taskqueue timeout - completing request 
directly
ad4: WARNING - SET_MULTI taskqueue timeout - completing request directly
ad4: FAILURE - SMART timed out
ad8: WARNING - SMART freeing taskqueue zombie request
ad4: WARNING - SETFEATURES ENABLE WCACHE taskqueue timeout - completing request 
directly
ad8: WARNING - SETFEATURES ENABLE WCACHE taskqueue timeout - completing request 
directly
ad4: WARNING - SET_MULTI taskqueue timeout - completing request directly
ad4: WARNING - SETFEATURES SET TRANSFER MODE taskqueue timeout - completing 
request directly
ad8: WARNING - SET_MULTI taskqueue timeout - completing request directly
ad8: FAILURE - SMART timed out
ad4: WARNING - SETFEATURES SET TRANSFER MODE taskqueue timeout - completing 
request directly
ad4: WARNING - SETFEATURES SET TRANSFER M

Maximum partition size

2011-05-11 Thread Andrea Venturoli

Hello.
Sorry for the stupid questions, but Google only turns out very old 
answers which might be outdated (at least I hope so).


What is the maximum partition size I can use on 7.3?
I've used a 3TB gstripe on amd64, but now I'd like to gstripe two 2TB 
HDs on a i386.

Will that work?

 bye & Thanks
av.
___
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"


umass troubles again

2011-02-20 Thread Andrea Venturoli

Hello.

I've a 4GB USB memory which is formatted as a single FAT32 partition.

When I insert it, I get:


root: Unknown USB device: vendor 0x1e3d product 0x2092 bus uhub5
kernel: ugen5.3:  at usbus5
kernel: umass1:  on 
usbus5
kernel: umass1:  SCSI over Bulk-Only; quirks = 0x
kernel: umass1:3:1:-1: Attached to scbus3
kernel: da6 at umass-sim1 bus 1 scbus3 target 0 lun 0
kernel: da6:  Removable Direct Access SCSI-2 device
kernel: da6: 40.000MB/s transfers
kernel: da6: 3855MB (7895040 512 byte sectors: 255H 63S/T 491C)
kernel: GEOM: da6: geometry does not match label (16h,63s != 255h,63s).
kernel: GEOM: da6: media size does not match label.



# ls /dev/|grep da6
da6
da6a

(I'd expect da6s1, instead of da6a...)


# fdisk /dev/da6
*** Working on device /dev/da6 ***
parameters extracted from in-core disklabel are:
cylinders=491 heads=255 sectors/track=63 (16065 blks/cyl)

parameters to be used for BIOS calculations are:
cylinders=491 heads=255 sectors/track=63 (16065 blks/cyl)

Media sector size is 512
Warning: BIOS sector numbering starts with sector 1
Information from DOS bootblock is:
The data for partition 1 is:
sysid 6 (0x06),(Primary DOS, 16 bit FAT (>= 32MB))
start 63, size 7887852 (3851 Meg), flag 0
beg: cyl 0/ head 1/ sector 1;
end: cyl 490/ head 254/ sector 63
The data for partition 2 is:

The data for partition 3 is:

The data for partition 4 is:




# mount -t msdosfs /dev/da6a /mnt/
# df
Filesystem   1K-blocks  UsedAvail Capacity  
Mounted on

> ...

/dev/da6a   399904  4048   395856 1%
/mnt


Now... isn't that a tenfold error?


# df -h
Filesystem  SizeUsed   Avail Capacity  
Mounted on
...
/dev/da6a   391M4.0M387M 1%/mnt


The partition should be 4GB, not 400MB...

Any hint on this?

System is 8.1-RELEASE-p2/i386.


 bye & Thanks
av.
___
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"


Mounting a recovered disk

2011-01-18 Thread Andrea Venturoli

Hello.

I'm trying a rescue on a failing drive.

I used ddrescue to get an image (which showed a single unreadable sector).


# file myimage
myimage: x86 boot sector, LInux i386 boot LOader; GRand Unified Bootloader, 
stage1 version 0x3, stage2 address 0x2000, stage2 segment 0x200; partition 1: 
ID=0x7, active, starthead 1, startsector 63, 40965687 sectors; partition 2: 
ID=0x82, starthead 254, startsector 40965750, 2104515 sectors; partition 3: 
ID=0x83, starthead 254, startsector 43070265, 36965565 sectors, code offset 0x48


Then i used "mdconfig -f myimage" and now I have

# ls -l /dev/|grep md0
crw-r-  1 root  operator0, 111 Jan 18 23:42 md0
crw-r-  1 root  operator0, 112 Jan 18 23:42 md0s1
crw-r-  1 root  operator0, 113 Jan 18 23:42 md0s2
crw-r-  1 root  operator0, 114 Jan 18 23:42 md0s3


Fdisk gives:


# fdisk /dev/md0
*** Working on device /dev/md0 ***
parameters extracted from in-core disklabel are:
cylinders=4982 heads=255 sectors/track=63 (16065 blks/cyl)

Figures below won't work with BIOS for partitions not in cyl 1
parameters to be used for BIOS calculations are:
cylinders=4982 heads=255 sectors/track=63 (16065 blks/cyl)

Media sector size is 512
Warning: BIOS sector numbering starts with sector 1
Information from DOS bootblock is:
The data for partition 1 is:
sysid 7 (0x07),(NTFS, OS/2 HPFS, QNX-2 (16 bit) or Advanced UNIX)
start 63, size 40965687 (20002 Meg), flag 80 (active)
beg: cyl 0/ head 1/ sector 1;
end: cyl 1023/ head 254/ sector 63
The data for partition 2 is:
sysid 130 (0x82),(Linux swap or Solaris x86)
start 40965750, size 2104515 (1027 Meg), flag 0
beg: cyl 1023/ head 254/ sector 63;
end: cyl 1023/ head 254/ sector 63
The data for partition 3 is:
sysid 131 (0x83),(Linux native)
start 43070265, size 36965565 (18049 Meg), flag 0
beg: cyl 1023/ head 254/ sector 63;
end: cyl 1023/ head 254/ sector 63
The data for partition 4 is:



Now I'd expect to mount as follows, but I get errors:


# mount -r -t ntfs /dev/md0s1 /mnt/
mount_ntfs: /dev/md0s1: Invalid argument
# mount -r -t ext2fs /dev/md0s3 /mnt/
mount: /dev/md0s3 : Invalid argument


Instead the following works, which surprises me (and is useless, anyway):


# mount -t ext2fs /dev/md0s1 /mnt/
# find /mnt/
/mnt/
/mnt/lost+found


Just in case:


# kldstat
Id Refs AddressSize Name
 1   20 0xc040 5cc790   kernel
 21 0xc09cd000 353c splash_bmp.ko
 31 0xc46c3000 1geom_eli.ko
 41 0xc46d3000 23000crypto.ko
 51 0xc46f7000 a000 zlib.ko
 62 0xc4fc3000 b000 ntfs.ko
 71 0xc501c000 1ext2fs.ko
 81 0xc5041000 2000 ntfs_iconv.ko
 91 0xc5043000 4000 libiconv.ko



Am I doing something wrong?



 bye & Thanks
av.
___
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: Which php??

2011-01-10 Thread Andrea Venturoli

On 01/10/11 22:21, Gary Kline wrote:

Which php52 port do I need to run with wordpress?  There are  a
slew of them po ports.

tia.



Never tried it myself, but...


%cd /usr/ports/www/wordpress/
%make pretty-print-run-depends-list
This port requires package(s) "apache-2.2.17_1 
apr-devrandom-gdbm-db43-1.4.2.1.3.10 db43-4.3.29_1 expat-2.0.1_1 
freetype2-2.4.4 gdbm-1.8.3_3 jpeg-8_3 kbproto-1.0.4 libICE-1.0.6,1 
libSM-1.1.1_3,1 libX11-1.3.3_1,1 libXau-1.0.5 libXaw-1.0.7,1 
libXdmcp-1.0.3 libXext-1.1.1,1 libXmu-1.0.5,1 libXp-1.0.0,1 libXpm-3.5.7 
libXt-1.0.7 libiconv-1.13.1_1 libpthread-stubs-0.3_3 libxcb-1.7 
libxml2-2.7.8_1 mysql-client-5.0.91 pcre-8.11 perl-5.8.9_4 php52-5.2.17 
php52-gd-5.2.17 php52-mysql-5.2.17 php52-pcre-5.2.17 
php52-tokenizer-5.2.17 php52-xml-5.2.17 php52-zip-5.2.17 
pkg-config-0.25_1 png-1.4.5 printproto-1.0.4 t1lib-5.1.2_1,1 
xextproto-7.1.1 xproto-7.0.16" to run.



 bye
av.
___
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: [Probably a bit OT] A question about mail systems

2011-01-08 Thread Andrea Venturoli

On 01/08/11 13:26, Rolf Nielsen wrote:


1. Have fetchmail get the messages.

2. Have an MTA (is that the right name, I always confuse them) deliver
them locally to a maildir.

3. Have either a POP3 or an IMAP server from which I can retrieve the
messages to whichever client I choose.


I'm using cyrus-imap with such a setup.
You'll find a lot of tutorial and you don't need to change sendmail.

YMMV.

 bye
av.
___
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: Help with USB Card Reader

2010-11-27 Thread Andrea Venturoli

On 11/27/10 14:42, Andrea Venturoli wrote:

Hello.
I've got a "hama" branded USB 2.0 Card Reader 19 in 1, which I'd like to
use with 8.1/i386.


Sorry, my fault.
It seems this reader cannot work with SDHCs; in fact it works with MMCs.

 bye
av.
___
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"


Help with USB Card Reader

2010-11-27 Thread Andrea Venturoli

Hello.
I've got a "hama" branded USB 2.0 Card Reader 19 in 1, which I'd like to 
use with 8.1/i386.


This thing has four slots, only one of which I'd like to populate with 
an SD card.

However I've had no luck so far.

If I insert the card and then plug the reader into an USB port, I get:

root: Unknown USB device: vendor 0x0dda product 0x2005 bus uhub2
kernel: ugen2.2:  at usbus2
kernel: umass0:  on usbus2
kernel: umass0:  SCSI over Bulk-Only; quirks = 0x
kernel: umass0:2:0:-1: Attached to scbus2

However, no da device is created in /dev; I only get ugen2.2

When I unplug it, I get:
kernel: ugen2.2:  at usbus2 (disconnected)
kernel: umass0: at uhub2, port 2, addr 2 (disconnected)
kernel: (probe0:umass-sim0:0:0:0): AutoSense failed



If I plug the reader WITHOUT the SD card, I get:
root: Unknown USB device: vendor 0x0dda product 0x2005 bus uhub2
kernel: ugen2.2:  at usbus2
kernel: umass0:  on usbus2
kernel: umass0:  SCSI over Bulk-Only; quirks = 0x
kernel: umass0:2:0:-1: Attached to scbus2
kernel: (probe0:umass-sim0:0:0:0): TEST UNIT READY. CDB: 0 0 0 0 0 0
kernel: (probe0:umass-sim0:0:0:0): CAM status: SCSI Status Error
kernel: (probe0:umass-sim0:0:0:0): SCSI status: Check Condition
kernel: (probe0:umass-sim0:0:0:0): SCSI sense: NOT READY asc:3a,0 
(Medium not present)

kernel: da2 at umass-sim0 bus 0 scbus2 target 0 lun 0
kernel: da2:  Removable Direct Access SCSI-0 
device

kernel: da2: 40.000MB/s transfers
kernel: da2: Attempt to query device size failed: NOT READY, Medium not 
present

kernel: (probe0:umass-sim0:0:0:1): TEST UNIT READY. CDB: 0 20 0 0 0 0
kernel: (probe0:umass-sim0:0:0:1): CAM status: SCSI Status Error
kernel: (probe0:umass-sim0:0:0:1): SCSI status: Check Condition
kernel: (probe0:umass-sim0:0:0:1): SCSI sense: NOT READY asc:3a,0 
(Medium not present)

kernel: da3 at umass-sim0 bus 0 scbus2 target 0 lun 1
kernel: da3:  Removable Direct Access SCSI-0 
device

kernel: da3: 40.000MB/s transfers
kernel: da3: Attempt to query device size failed: NOT READY, Medium not 
present

kernel: (probe0:umass-sim0:0:0:2): TEST UNIT READY. CDB: 0 40 0 0 0 0
kernel: (probe0:umass-sim0:0:0:2): CAM status: SCSI Status Error
kernel: (probe0:umass-sim0:0:0:2): SCSI status: Check Condition
kernel: (probe0:umass-sim0:0:0:2): SCSI sense: NOT READY asc:3a,0 
(Medium not present)

kernel: da4 at umass-sim0 bus 0 scbus2 target 0 lun 2
kernel: da4:  Removable Direct Access SCSI-0 
device

kernel: da4: 40.000MB/s transfers
kernel: da4: Attempt to query device size failed: NOT READY, Medium not 
present

kernel: (probe0:umass-sim0:0:0:3): TEST UNIT READY. CDB: 0 60 0 0 0 0
kernel: (probe0:umass-sim0:0:0:3): CAM status: SCSI Status Error
kernel: (probe0:umass-sim0:0:0:3): SCSI status: Check Condition
kernel: (probe0:umass-sim0:0:0:3): SCSI sense: NOT READY asc:3a,0 
(Medium not present)

kernel: da5 at umass-sim0 bus 0 scbus2 target 0 lun 3
kernel: da5:  Removable Direct Access SCSI-0 
device

kernel: da5: 40.000MB/s transfers
kernel: da5: Attempt to query device size failed: NOT READY, Medium not 
present


Inserting the SD card afterwards gives no messages at all; "mount 
/dev/da4 /mnt/", "fdisk /dev/da4" or any other command result in an 
"Input/output error".


Here are some (possibly useful?) further info:
# camcontrol devlist
  at scbus0 target 1 lun 0 (pass0,da0)
  at scbus0 target 4 lun 0 (pass1,cd0)
  at scbus0 target 5 lun 0 (pass2,da1)
   at scbus1 target 0 lun 0 (pass3,cd1)
at scbus2 target 0 lun 0 (da2,pass4)
at scbus2 target 0 lun 1 (da3,pass5)
at scbus2 target 0 lun 2 (da4,pass6)
at scbus2 target 0 lun 3 (da5,pass7)

# usbconfig
ugen0.1:  at usbus0, cfg=0 md=HOST spd=FULL (12Mbps) 
pwr=ON
ugen1.1:  at usbus1, cfg=0 md=HOST spd=FULL (12Mbps) 
pwr=ON
ugen2.1:  at usbus2, cfg=0 md=HOST spd=HIGH (480Mbps) 
pwr=ON
ugen3.1:  at usbus3, cfg=0 md=HOST spd=FULL (12Mbps) 
pwr=ON
ugen4.1:  at usbus4, cfg=0 md=HOST spd=FULL (12Mbps) 
pwr=ON
ugen5.1:  at usbus5, cfg=0 md=HOST spd=HIGH (480Mbps) 
pwr=ON
ugen6.1:  at usbus6, cfg=0 md=HOST spd=FULL (12Mbps) 
pwr=ON
ugen3.2:  at usbus3, cfg=0 md=HOST spd=LOW (1.5Mbps) 
pwr=ON
ugen0.2: Conversion> at usbus0, cfg=0 md=HOST spd=LOW (1.5Mbps) pwr=ON
ugen3.3:  at usbus3, cfg=0 md=HOST spd=FULL 
(12Mbps) pwr=SAVE
ugen3.4:  at usbus3, cfg=0 md=HOST spd=FULL 
(12Mbps) pwr=ON
ugen2.2:  at usbus2, cfg=0 md=HOST spd=HIGH (480Mbps) 
pwr=ON



Any help is appreciated.

 bye & Thanks
av.
___
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"


USB modems for SMS

2010-11-22 Thread Andrea Venturoli

Hello.

I'm in need of an USB modem, which I'll only use for sending and 
receiving via SMS and I'm looking for suggestions on which hardware to buy.


In the past I've used some Digicom Wave 
(http://www.digicom.it/digisit/prodotti.nsf/itprodottiidx/UsbWaveGprs), 
through the FTDI driver; however they are all breaking up and are hard 
and costly to replace.


So I tried a Digicom 7.2 HSUPA (shown as "Pirelli 3.5G HSPA Adapter" by 
usbconfig), but had no luck.


Any hint?

 bye & Thanks
av.
___
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: X resolution

2010-11-17 Thread Andrea Venturoli

On 11/17/10 01:15, Warren Block wrote:


It sounds like the EDID information isn't always working. Check your
video cable to see if a pin is bent over, or try a different one.


I guess it's working too much! :-D
How does X know 2048x1536 is a valid resolution otherwise?
Why would it override my settings?






I've got this in my xorg.conf:

Section "Screen"
Identifier "SyncMaster"
Device "Card0"
Monitor "SyncMaster"
SubSection "Display"
Viewport 0 0
Depth 32
Modes "1600x1200"
EndSubSection
EndSection


32 is not a valid depth, according to xorg.conf(5).


Right: I changed that to 24 and this seemed to do the trick!

Still wondering... it must have been there for eons, yet it started 
misbehaving only a week ago...

Well, it works now! :-)




What is the monitor?


A Samsung SyncMaster 1200NF 
(http://www.neoseeker.com/Articles/Hardware/Reviews/samsung1200nf/).





Thanks a lot for your help!


 bye
av.
___
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"


X resolution

2010-11-16 Thread Andrea Venturoli

Hello.

I've configured my X to use a 1600x1200 resolution (or so I thought...).
It used to work until the last X.Org upgrade; after that it *usually* 
worked: very rarely it would start at 2048x1536, but a couple of 
Ctrl-Alt-Backspace was normally enough.


Since a couple of day, it always start at 2048x1536, and there is no way 
to get 1600x1200 unless I login and change resolution afterwards (which 
is however enought to mess all my KDE fonts up).


I've got this in my xorg.conf:

Section "Screen"
Identifier "SyncMaster"
Device "Card0"
Monitor"SyncMaster"
SubSection "Display"
Viewport   0 0
Depth 32
Modes  "1600x1200"
EndSubSection
EndSection


Is it ok?
Any other hint?

Of course I can provide full xorg.conf and Xorg.0.log, but they are 
quite long...


Card is a Radeon HD 4200.

 bye & Thanks
av.
___
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: FTP like web app

2010-11-12 Thread Andrea Venturoli

On 10/18/10 21:45, Andrea Venturoli wrote:

Hello.
Sorry if this is a bit OT, but I'm looking for an app that should:
_ replace an ftp server;
_ have a web interface;
_ run on FreeBSD;
_ let one of my users upload some file and send a link to someone else;
_ let that someone else download that file without seeing others' stuff;
_ possibily notify the uploader when someone else downloads that file.

Any hint?


Thanks to anyone who replied.
In the end I installed SynaMan (http://web.synametrics.com/SynaMan.htm).
We are still evaluating it, but it looks like it does 95% of what we need.

 bye & Thanks
av.
___
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: Newer Sambas and PAM

2010-11-01 Thread Andrea Venturoli

On 11/01/10 12:49, Tim Daneliuk wrote:


Be aware that the samba password directory moved from /usr/local/etc/samba
to /usr/local/etc/samba34


Thanks, I know, but that's not the problem.

pamsmbd doesn't read the password file directly; instead it asks smbd.
I discovered it uses LanMan passwords, which are now disabled by 
default, so I added "lanman auth=yes" to smb.conf: this was some step 
ahead, but still not enough.


I also tried pam_smbpass.so, which comes with Samba and reads the 
smbpasswd file directly: I expect it would know where it is, since it 
comes from the same port. No success here either.


This worries me a lot, since the working samba version was removed from 
the port tree...


 bye & Thanks
av.
___
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"


Newer Sambas and PAM

2010-11-01 Thread Andrea Venturoli

Hello.

I'd like to have every service on my systems authenticating via Samba 
(through PAM).


With older, now deprecated, 3.0.x version, I did this through 
security/pam_smb: no problems at all.


Since 3.0 was removed, I tried upgrading to 3.4 on one box: since then I 
am not able to authenticate anything through PAM against it.


Is anyone doing this? How?

 bye & Thanks
av.
___
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"


Digicom Internet Key

2010-10-28 Thread Andrea Venturoli

Hello.

I've been asked to try to send SMs via a 3G Internet Key.
I've not seen it personally, but it should be a Digicom 7.2 HSUPA.

Here's what I get:

> # usbconfig
> ugen0.1:  at usbus0, cfg=0 md=HOST spd=FULL 
(12Mbps) pwr=ON
> ugen1.1:  at usbus1, cfg=0 md=HOST spd=FULL 
(12Mbps) pwr=ON
> ugen2.1:  at usbus2, cfg=0 md=HOST spd=FULL 
(12Mbps) pwr=ON
> ugen3.1:  at usbus3, cfg=0 md=HOST spd=FULL 
(12Mbps) pwr=ON
> ugen4.1:  at usbus4, cfg=0 md=HOST spd=HIGH 
(480Mbps) pwr=ON
> ugen4.2:  at usbus4, cfg=0 
md=HOST spd=HIGH (480Mbps) pwr=ON


System is 8.0p3/amd64.

Any hint on what driver I should use?
It is recognized as a CD-ROM (with its Windows software aboard), I guess 
I should switch it to modem-mode, but I'm not sure how.


I tried a "camcontrol eject", the cd device was lost, but nothing new 
appeared. Or was it nothing new *was recognized* by any driver?


 bye & Thanks
av.
___
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: FTP like web app

2010-10-18 Thread Andrea Venturoli

On 10/18/10 22:04, Chuck Swiger wrote:

On Oct 18, 2010, at 12:45 PM, Andrea Venturoli wrote:

Sorry if this is a bit OT, but I'm looking for an app that should:
_ replace an ftp server;
_ have a web interface;
_ run on FreeBSD;
_ let one of my users upload some file and send a link to someone else;
_ let that someone else download that file without seeing others' stuff;
_ possibily notify the uploader when someone else downloads that file.


Sounds like you want Apache + WebDAV.  For download notifications, you can have 
something scanning the Apache logs

Regards,


Thanks.
You mean WebDAV on the internal side or external?
Right now my users simply upload through Samba and one of the 
requirement is that external users (downloaders) should not need 
anything more than a browser...


 bye
av.
___
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"


FTP like web app

2010-10-18 Thread Andrea Venturoli

Hello.
Sorry if this is a bit OT, but I'm looking for an app that should:
_ replace an ftp server;
_ have a web interface;
_ run on FreeBSD;
_ let one of my users upload some file and send a link to someone else;
_ let that someone else download that file without seeing others' stuff;
_ possibily notify the uploader when someone else downloads that file.

Any hint?

 bye & Thanks
av.
___
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: GUI Suggested?

2010-09-24 Thread Andrea Venturoli

On 09/23/10 10:46, Matthias Apitz wrote:

El día Thursday, September 23, 2010 a las 09:36:03AM +0100, Frank Shute 
escribió:


My belief is that people who are comfortable with Gnome/KDE are people
who are familiar with working in a GUI such as Windows® and haven't
come from the commandline.


So, I am an exception.

 bye
av.
___
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: GUI Suggested?

2010-09-24 Thread Andrea Venturoli

On 09/23/10 18:22, Adam Vande More wrote:

> If you tried on KDE 4.1, 4.2, then yes things have improved a lot. 
4.3 was

> pretty big update in terms of stability, and 4.4 has been far more solid
> than not.

I tried 4.5.1 on 8.1/i386 with every port updated, on a 4-core AMD CPU 
with a Radeon HD 4200:

_ base components continuosly crash;
_ there were severe rendering problems (i.e. black areas sometimes 
instead of icons, windows not updating when moved, ecc...);
_ I possibly had driver problems, with some accelerations not working 
(could not enable it in the system settings);

_ and everything was not just slow, but *SLOW*;
_ it messed so much with my hardware, that I could not switch back to 
KDE3 without a reboot (simply restarting the X server was not enough).


I do not hold by breath for burning windows, rotating desktops or other 
fancy effects, but the system was plainly unusable.


So, I appreciate the nice work, but I'll wait for some new version.
If some developer needs some info or wants me to do some test, I still 
have everything installed, so I'll gladly help.


 bye
av.
___
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: GUI Suggested?

2010-09-24 Thread Andrea Venturoli

On 09/23/10 11:04, Mike Clarke wrote:


That's very similar to my experience too but I'm getting the feeling
that I might have to move over to KDE4 before much longer due to
reduced KDE3 support with some of the apps:


Same here.
I delayed trying KDE4 since my old box was too old; as soon as I got a 
new one, I tried it.


I too fear I'll have to move on sooner or later, the last bug being 
Kuickshow not working with EXA acceleration (which is the only one 
supported by my new GPU's driver).


However, after trying KDE4, I think I'll start looking into Gnome or 
XFCE or whatever, before taking a decision.


I really hope KDE4 will improve in the meanwhile, so maybe I can check 
it out again.


BTW, one thing I absolutely won't live with is the lack of keyboard 
shortcuts: in KDE3 I run plain Konsole with "Windows-K" and with 
"Windows-R" I start a root console.
This doesn't seem to be possible on KDE4, and no, a plasmoid on the 
desktop with a session menu is NOT the same thing.


 bye
av.
___
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: GUI Suggested?

2010-09-23 Thread Andrea Venturoli

On 09/23/10 06:53, Adam Vande More wrote:


As stated before, it's really a personal matter.  I like kde4 a lot,
...
It's also
lighter and faster than KDE3.  It's pretty stable too, but not completely
so.


Strange.
After years of KDE3 I tried KDE4 and switched back in half a day.
I found it crawling slowly, with continuous crashes, rendering bugs and 
missing features...


Of course, YMMV.

 bye
av.
___
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"


AMD SMBus

2010-09-12 Thread Andrea Venturoli

Any chance of enabling this?
(Google was unfriendly :-)

no...@pci0:0:20:0:  class=0x0c0500 card=0x37001565 chip=0x43851002 
rev=0x3c hdr=0x00

vendor = 'ATI Technologies Inc. / Advanced Micro Devices, Inc.'
device = 'ATI SMBus (ATI RD600/RS600)'
class  = serial bus
subclass   = SMBus


 bye & Thanks
av.
___
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"


Linux DRI (and Google Earth)

2010-09-11 Thread Andrea Venturoli

Hello.

What's the status of 3d hardware acceleration in Linux emulation?
I'm running 8.1R/i386 and I was finally able to get DRI working (with 
native software) on my Radeon HD 4200.
So I installe Google Earth, but it's warning that it will use software 
rendering and is, of course, slow.


%pkg_info|grep linux
linux-f10-dri-7.2_1 Mesa libGL runtime libraries and DRI drivers (Linux 
Fedora
linux-f10-expat-2.0.1 Linux/i386 binary port of Expat XML-parsing 
library (Linux
linux-f10-fontconfig-2.6.0 An XML-based font configuration API for X 
Windows (Linux Fe

linux-f10-xorg-libs-7.4_1 Xorg libraries (Linux Fedora 10)
linux_base-f10-10_2 Base set of packages needed in Linux mode for 
i386/amd64 (L


I had linux-dri-7.4_1 installed by default, but tried switching to 
linux-f10-dri-7.2_1; nothing changed.


 bye & Thanks
av.
___
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: Need supported SAS controller

2010-09-07 Thread Andrea Venturoli

Il 09/07/10 20:26, Torbjorn Granlund ha scritto:

Is the any PCIe SAS controller that is supported by FreeBSD 8.1 that I
can purchase today?  The controller should preferably be low-profile.
RAID is not needed since I have just one disk, but if only RAID
controllers are available, I can live with that.


I have never seen a non-RAID SAS controller in my life: notice I'm not 
saying mean they don't exist, but everyone I used was RAID capable.

That said, I'm using:

Adaptec SAS RAID 3405
a...@pci0:2:14:0:   class=0x010400 card=0x02bb9005 chip=0x02859005 
rev=0x00 hdr=0x00

vendor = 'Adaptec Inc'
device = 'AAC-RAID RAID Controller'
class  = mass storage
subclass   = RAID


Adaptec SAS RAID 3805
a...@pci0:4:14:0:   class=0x010400 card=0x02bc9005 chip=0x02859005 
rev=0x00 hdr=0x00

vendor = 'Adaptec Inc'
device = 'AAC-RAID RAID Controller'
class  = mass storage
subclass   = RAID


Intel SRCSASJV
m...@pci0:2:0:0:class=0x010400 card=0x10068086 chip=0x00601000 
rev=0x04 hdr=0x00

vendor = 'LSI Logic (Was: Symbios Logic, NCR)'
device = 'SAS1078 PCI-X Fusion-MPT SAS'
class  = mass storage
subclass   = RAID


I've also used a couple of HPs in the past: I think it was a P400, but I 
don't have access to those machines any more.



Never had any problems with any of these; only note: I could not get 
access to HP management via FreeBSD, but things might possibly have 
changed since then.


N.B. I'm using 7.x, but I see no reason why 8.1 should be more troublesome.



 bye
av.
___
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: Speeding up (caching?) shared libraries loading

2010-08-31 Thread Andrea Venturoli

Il 08/31/10 16:35, Dan Nelson ha scritto:

In the last episode (Aug 31), Andrea Venturoli said:

Suppose I have an executable which I need to invoke repeatedly (e.g. to
run tests in a makefile).  This executables spend most of its time loading
(rather than processing), due to the need of several huge shared
libraries.


Link your program statically and bypass the dynamic linker completely.


Then my binary would be more than 200MB and it wouldn't load that fast 
either.
Besides I have several binaries using the same libraries and linking 
them all statically would take up a lot more time.


 bye & Thanks anyway
av.
___
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"


Speeding up (caching?) shared libraries loading

2010-08-31 Thread Andrea Venturoli

Hello.

Suppose I have an executable which I need to invoke repeatedly (e.g. to 
run tests in a makefile).
This executables spend most of its time loading (rather than 
processing), due to the need of several huge shared libraries.


I'd welcome an hint on how to speed this up.
Possible thing would be to "cache" these shared libraries (and possibily 
the executable too) in memory, so that any invocation after the first is 
faster.

Is this possible at all?
Any other idea?

 bye & Thanks
av.
___
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: Installing wget

2010-08-09 Thread Andrea Venturoli

Il 08/09/10 20:20, Jerry McAllister ha scritto:

Hi All,

I started an instal of wget from ports - /usr/ports/ftp/wget

It comes up with some selections and I mistakenly selected GNUTLS.

Now I constantly get
   "GNUTLS and OPENSSL are mutually exclusive, enable at most one of them"
And the make quits.

How do I get rid of that.  I have done make clean, make diskclean
and deleted as many files as I dared, but it still won't build
and install wget.

Of course, there is some file I don't know about.
Can someone point me to where to find it?



rm /var/db/ports/wget/options

or

portupgrade -Cf wget

or

cd /usr/ports/ftp/wget ; make config


 bye
av.
___
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: Strange filesystem problems

2010-07-21 Thread Andrea Venturoli

Il 07/21/10 14:00, A. Wright ha scritto:



On Wed, 21 Jul 2010, Andrea Venturoli wrote:


Let's say I have directory "foo"; under "foo" I have "bar" which keeps
thousands of files (in several subdirectories).

I do:

%cd /xyzzy/foo
%pwd
xyzzy/foo
%rm -fR bar
%pwd
pwd: .: Permission denied


At this point, I would suspect that you may have the UCHG flag
set. What do:
ls -lod /xyzzy/foo/bar
and
ls -lo /xyzzy/foo/bar
say?


Nope.
ls says no flags are there; btw I'm repeatedly creating "bar", so I'm 
sure I'm not setting any flags on it or anything therein.

Besides, would'nt that prevent rm from working?

 bye & Thanks
av.
___
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"


Strange filesystem problems

2010-07-21 Thread Andrea Venturoli

Hello.

I'm experiencing a strange problem on a 7.2p8/i386 box.
This is not critical, since I have a workaround, but it's annoying and 
I'm also curious :-)


Let's say I have directory "foo"; under "foo" I have "bar" which keeps 
thousands of files (in several subdirectories).


I do:

%cd /xyzzy/foo
%pwd
xyzzy/foo
%rm -fR bar
%pwd
pwd: .: Permission denied
%cd ..
%cd foo
%pwd
xyzzy/foo

This is a local UFS filesystem, so it shouldn't be a network problem; no 
error shows up in the logs; in "bar" I don't have any symlink or special 
node, only plain files and directories.


What should I check?


 bye & Thanks
av.
___
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: Sata Tape Drives

2010-07-15 Thread Andrea Venturoli

Il 07/16/10 00:24, Dan Nelson ha scritto:

In the last episode (Jul 15), Michael Anderson said:

Or, more clearly: Are SATA tape drives supported? I see they are on some
other BSD flavors, but I haven't found any mention in the FreeBSD hardware
compatibility documents.


I see an "atapist" device in /sys/conf/NOTES:

device  atapist # ATAPI tape drives

, which might work.  The "atapicam" or "ahci" device may also make sata
tapes show up as if they were scsi devices.  Try "ahci" first.

http://www.freebsd.org/cgi/man.cgi?query=ahci
http://www.freebsd.org/cgi/man.cgi?query=atapicam




And please, in case you try, let us know the results...
I know I'm not helping you, but I've tried many times to find out 
whether SATA *and SAS* tape drives are expected to work.


 bye & Thanks
av.
___
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: PDF storage software recommendations?

2010-06-18 Thread Andrea Venturoli

On 06/17/10 22:54, Dale Scott wrote:


I'm experimenting with OpenDocMan (PHP/MySQL, http://www.opendocman.com/)


We evaluated OpenDocMan (not me personally) and ended up choosing 
KnowledgeTree. YMMV.


 bye
av.
___
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: net-snmp 5.5 tcp wrappers broken

2010-06-09 Thread Andrea Venturoli

On 06/09/10 17:12, krad wrote:

Has anyone one else this behaviour


Yep.




/etc/hosts.allow

ALL : X : allow
ALL : ALL : deny


snmpd: ALL : allow

works.





Googling around, it seems FreeBSD is not the only OS affected...



 bye
av.
___
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: Which gdb GUI do you use?

2010-03-18 Thread Andrea Venturoli

On 03/18/10 08:15, Yuri wrote:

I know there is ddd, but it has so many bugs that it makes it barely
usable.
There is emacs, but I am not used to it and don't like it. It's love it
or hate it usually for most people.
There is some GUI called Insight, for some reason it's not in ports.
I've built it and it looks unstable.
Gives me an error message: thread.c:79: internal-error: inferior_thread:
Assertion 'tp' failed. ...

Which GUI you use?


emacs, really, although I found it tends to get a bit more annoying in 
the latest releases; maybe I should spend some time to upgrade myself, 
through.

However, I agree on your love/hate opinion.

 bye
av.
___
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"


SATA regression with 7.2

2010-03-03 Thread Andrea Venturoli

Hello.

I've got a box with a VIA VT8251 chipset and a single SATA HD, running 
6.3/i386.
I'm trying to upgrade it to 7.2, but, when booting with the new kernel, 
it won't detect any HD.
In my BIOS I can set the controller to SATA, RAID or AHCI, but that 
doesn't matter.




Here's what I see when booting 6.3:

atapci0:  port 
0xe880-0xe887,0xe800-0xe803,0xe480-0xe487,0xe400-0xe403,0xe080-0xe08f 
mem 0xfebfec00-0xfebfefff irq 21 at device 15.0 on pci0

atapci0: AHCI Version 01.00 controller with 4 ports detected
ata2:  on atapci0
ata3:  on atapci0
ata4:  on atapci0
ata5:  on atapci0
atapci1:  port 
0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xfc00-0xfc0f at device 15.1 on pci0

ata0:  on atapci1
ata1:  on atapci1
...
ad4: 152627MB  at ata2-master SATA300
Trying to mount root from ufs:/dev/ad4s1a

On 7.2 the output is roughly the same (I couldn't save it), but it won't 
find ad4 and prompt me for a boot device (with none available).




Here's an extract from "pciconf -lv":

atap...@pci0:15:0:  class=0x010601 card=0x33491106 chip=0x33491106 
rev=0x00 hdr=0x00

vendor = 'VIA Technologies Inc'
device = 'VT8251 VIA VT8251 AHCI RAID Controller'
class  = mass storage
atap...@pci0:15:1:  class=0x01018a card=0x05711106 chip=0x05711106 
rev=0x07 hdr=0x00

vendor = 'VIA Technologies Inc'
device = 'VT82C586A/B/VT82C686/A/B/VT823x/A/C Bus Master IDE 
Controller'

class  = mass storage
subclass   = ATA



Please help.

 bye & Thanks
av.
___
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"


Bluetooth headset

2010-03-01 Thread Andrea Venturoli

Hello.
I searched with Google, but all the threads I found are quite old, so...

Is it possible to use any VoIP software with a bluetooth headset with 
FreeBSD?

What about Skype?

 bye & Thanks
av.
___
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"


USB Tape Drives

2010-02-02 Thread Andrea Venturoli

Hello.
Just a quick question before I buy...

Are USB tape drives working?
On 7.2?
On 8.0?

 bye & Thanks
av.
___
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: I have mail, but where?

2009-12-23 Thread Andrea Venturoli

Steve Randall ha scritto:

No mail for  andrea


Are there really two spaces in a row there? That's a vital clue.


Sure. I noticed that too, but though it might be normal.




For
some reason your 'USER' environment variable is set to ' andrea' (with a
leading space). Then .cshrc sets the 'mail' shell variable to
'(/var/mail/ andrea)'. That's now a list with two elements. Since the
first is a directory, csh counts the files in it, assuming they are
messages.

Since you don't have this problem with console logins, look for a
configuration error in your GUI login manager.


This is interesting...
Unfortunately (or luckily), today that message does not appear anymore, 
so I can't check.

If it does, I'll try your suggestion.



 bye & Thanks
av.
___
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: I have mail, but where?

2009-12-22 Thread Andrea Venturoli

Ed Jobs ha scritto:

In my box, there is the ~/mbox file that has the messages in it. you can check 
out if it exists...


Nope.

 bye
av.
___
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: I have mail, but where?

2009-12-22 Thread Andrea Venturoli

APseudoUtopia ha scritto:

Type "mail"


You have 10 mail messages in /var/mail/.
%mail
No mail for  andrea
%


I had already tried that, but AFAIK mail reads from /var/mail/andrea and 
that file is not there (in spite of the above message).







FreeBSD has a daily cron security and status script that run and send
email to root (which then is usually redirected to another user's
account). This is probably what is sending the emails - check it and
see.


These are redirected to my mail server, which is another box.
Besides, as you can see, I'm not experiencing this on my root account.



 bye & Thanks
av.
___
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 have mail, but where?

2009-12-22 Thread Andrea Venturoli

Hello.

This evening something new appeared on my box.
When I open an xterm or a KDE shell, I get:
"You have 10 mail messages in /var/mail/."

This does not happen when I login on ttyvX.

Nothing mail related is on this box (apart from KMail and Thunderbird) 
and "ls -l /var/mail" gives only zero size files, none of which is named 
after me.


My home is NFS mounted on a mail server, but that uses Cyrus IMAP, so, 
again, nothing relevant is in /var/mail even there.


Where do I look?

This is no stopper, but I'm just curious...

 bye & Thanks
av.
___
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: APC Smartups 1500va sua1500

2009-12-17 Thread Andrea Venturoli

Gary Kline ha scritto:


Okay, well, very-soon, I'll need to plug in my watt-meter to
see how much juice my server, firewall, and maybe one desktop
take.  Guessing is less than 500w.  Is there a tutorial for
newbie on how to use this beast?

Optimally, I would like the UPS to run for a few minutes, then
instruct that things be "shutdown -h 120" (say).  That is easy
to write; difficult to program.


Just use apcupsd.

 bye
av.
___
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: WINE on 6.3

2009-12-11 Thread Andrea Venturoli

Andrea Venturoli ha scritto:

Tijl Coosemans ha scritto:

On Saturday 05 December 2009 13:47:00 Andrea Venturoli wrote:

Is WINE usable on 6.3/i386?
I cannot seem to start any win32 program and before I spend time into
it, I thought I just ask.


You probably need the FreeBSD 6.x patch at http://wiki.freebsd.org/Wine



Unfortunately this didn't help.

WINE is still seems to be hogging the CPU and doing nothing.


I did some more testing.
I've got 3 machines: the one I'm working on, running the X server and 
two boxes which I ssh into.

All three are running 6.3/i386, the same version of Wine and dependencies.
Wine works fine if I start it on the machine where the X server is, but 
exhibits the afore mentioned problems if I run it on the box I ssh into.

Of course X forwarding is working (tested with a lot of other applications).
So I ask: is this a known problem? Has anyone Wine working with X11 
forwarded through ssh?


 bye & Thanks
av.
___
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: WINE on 6.3

2009-12-07 Thread Andrea Venturoli

Tijl Coosemans ha scritto:

On Saturday 05 December 2009 13:47:00 Andrea Venturoli wrote:

Is WINE usable on 6.3/i386?
I cannot seem to start any win32 program and before I spend time into
it, I thought I just ask.


You probably need the FreeBSD 6.x patch at http://wiki.freebsd.org/Wine



Unfortunately this didn't help.

WINE is still seems to be hogging the CPU and doing nothing.


 bye & Thanks
av.

___
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: WINE on 6.3

2009-12-05 Thread Andrea Venturoli

RW ha scritto:


For win32 console applications try using wineconsole, if you aren't
already.


I've tried both, but both seem to hang with CPU at 100%, doing nothing.




If your app is a DOS application you would be better-off with
dosbox.


DosBox works as a charm, but this app is Win32.



 bye & Thanks
av.
___
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: WINE on 6.3

2009-12-05 Thread Andrea Venturoli

Gary Gatten ha scritto:
I can't speak to if WINE will work or nor, but if the app is so simple 
why not use a native bsd/*nix app?


Because it doesn't exist and, even if it did, I have to use *that* app, 
not an equivalent one.


 bye
av.
___
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"


WINE on 6.3

2009-12-05 Thread Andrea Venturoli

Hello.
Is WINE usable on 6.3/i386?
I cannot seem to start any win32 program and before I spend time into 
it, I thought I just ask.


My interest is almost limited to running a simple console app that does 
very litte beyond reading a text file, processing it, and outputting 
another text file.


 bye & Thanks
av.
___
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: 6.3 uname -a weirdness

2009-12-03 Thread Andrea Venturoli

Diego F. Arias R. ha scritto:

If you are using freebsd-update to keep your system up-to-date is 
normal. Unless updates apply to kernel it will keep the number of the 
last one who patch it.


As I said above, I did a source upgrade.

 bye & Thanks
av.
___
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"


6.3 uname -a weirdness

2009-12-03 Thread Andrea Venturoli

Hello.

Due to the recent advisories, on an i386 6.3 box, i just did:

cd /usr/src
make update
make buildworld
make kernel KERNCONF=MYKERNEL
make installworld
shutdown -r now


Now "uname -a" reports 6.3p13, although "cat /usr/src/UPDATING" gives:

...
20091203:   p14 FreeBSD-SA-09:15.ssl, 
FreeBSD-SA-09:17.freebsd-update

Disable SSL renegotiation in order to protect against a serious
protocol flaw. [09:15]

Fix permissions in freebsd-update in order to prevent leakage of
sensitive files. [09:17]
...



I think the above does not affect the kernel; in fact I recompiled it 
just to be able to check the OS version with uname.

Just curious on whether this is normal...

 bye & Thanks
av.
___
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: Mountable encrypted file? What to use?

2009-10-12 Thread Andrea Venturoli

Greg Morell ha scritto:

Since TrueCrypt doesn't work on FreeBSD, I'm wondering what you'd recommend for 
this:

I like to keep all of my sensitive stuff in a few encrypted mountable files.

Something where I can copy the file to a USB key for backup, but not worry if I 
lose the USB key since it's just an encrypted file.  But when on a computer, I 
can mount it as a volume.


What about GELI?
I've used it for a long time with no problems.

Check the handbook for details.

 bye
av.
___
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"


[SOLVED] Re: OpenMP

2009-08-31 Thread Andrea Venturoli

Daniel Underwood ha scritto:

However, the program crashes with a Bad system call as soon as it calls
std::getline.


Can we see the code?


No, sorry (not my code, not my decision).

However, I solved this issue:

as I said, I linked with

g++42 -o test.exe test.o lib.a -L/usr/local/lib -lstdc++ -lm -lGL -lc 
-fopenmp


I found out "-lstdc++", "-lm" and "-lc" are not needed any more, though 
I can't trace at which point they were (older FreeBSD? older gcc? ...?).

Removing "-lc" the "Bad system call" doesn't show up anymore.

Thank you very much for your help.

 bye
av.
___
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"


  1   2   3   4   >