Re: Strange issues with my bind9 host

2011-10-30 Thread carlopmart

On 10/30/2011 01:56 AM, Cristian Ciupitu wrote:

Hi,


Try using something like this if you want to use only server 1.1.1.1:


 forward only;
 forwarders { 1.1.1.1; };


Kind regards,
Cristian Ciupitu



Correct Cristian. Using forward only problem is solved.

Many thanks.

--
CL Martinez
carlopmart {at} gmail {d0t} com


usb patch

2011-10-30 Thread Stephen Isard
I have an RCA VR5320 digital voice recorder.  It has a usb connector, 
but isn't recognized by SL 5.6.  I get log messages of the form


kernel: usb 1-5: new high speed USB device using ehci_hcd and address 4
kernel: usb 1-5: ep0 maxpacket = 32

This is evidently a known problem and there is a patch for 
drivers/usb/core/hub.c with the comment A few devices (such as the RCA 
VR5220 voice recorder) are so non-compliant with the USB spec that they 
have invalid maxpacket sizes for endpoint 0.  Nevertheless, as long as 
we can safely use them, we may as well do so.  I think this patch is 
incorporated in 2.6.32 kernels.


Q1: Am I correct in thinking that I would have to compile a whole new 
kernel, as opposed to just a module, to incorporate a patch to hub.c?


Q2: Is there any sort of module or userspace hack I could try instead?

I don't want to get into a position of maintaining my own kernel.  I'd 
rather wait until I catch up with 2.6.32 and impose on friends with 
newer kernels or windows machines in the meantime.


Thanks.

Stephen Isard


Re: usb patch

2011-10-30 Thread Joshua J. Kugler
On Sunday, October 30, 2011, Stephen Isard elucidated thus:
 I have an RCA VR5320 digital voice recorder.  It has a usb connector,
 but isn't recognized by SL 5.6.  I get log messages of the form
 
 kernel: usb 1-5: new high speed USB device using ehci_hcd and address
 4 kernel: usb 1-5: ep0 maxpacket = 32
 
 This is evidently a known problem and there is a patch for
 drivers/usb/core/hub.c with the comment A few devices (such as the
 RCA VR5220 voice recorder) are so non-compliant with the USB spec
 that they have invalid maxpacket sizes for endpoint 0. 
 Nevertheless, as long as we can safely use them, we may as well do
 so.  I think this patch is incorporated in 2.6.32 kernels.
 
 Q1: Am I correct in thinking that I would have to compile a whole new
 kernel, as opposed to just a module, to incorporate a patch to hub.c?
 
 Q2: Is there any sort of module or userspace hack I could try
 instead?
 
 I don't want to get into a position of maintaining my own kernel. 
 I'd rather wait until I catch up with 2.6.32 and impose on friends
 with newer kernels or windows machines in the meantime.

A1: Yes, it is a single module, but you'd need to pull the source from 
the new kernel, since it is a kernel module.  You may be able compile it 
with the source of the current kernel, but since you're pulling from a 
new kernel, it might have dependencies in the newer kernel.  In other 
words, you're welcome to try.

A2: No userspace hack that I know of, as USB operations are a kernel-
level thing.

j

-- 
Joshua J. Kugler - Fairbanks, Alaska
Azariah Enterprises - Programming and Website Design
jos...@azariah.com - Jabber: pedah...@gmail.com
PGP Key: http://pgp.mit.edu/  ID 0x73B13B6A


Re: usb patch

2011-10-30 Thread Alan Bartlett
On 30 October 2011 17:55, Stephen Isard 7p03xy...@sneakemail.com wrote:
 I have an RCA VR5320 digital voice recorder.  It has a usb connector, but
 isn't recognized by SL 5.6.

snip

 I don't want to get into a position of maintaining my own kernel.  I'd
 rather wait until I catch up with 2.6.32 and impose on friends with newer
 kernels or windows machines in the meantime.

Hi Stephen,

You will have a very long wait. The SL 5.x kernels will remain to be
based on 2.6.18 until EOL. ;) That is how TUV maintain a stable kernel
ABI for the life of EL5.

If you would like to have a SL kernel based on 2.6.32, please install SL 6.x :)

Regards,
Alan.


Re: usb patch

2011-10-30 Thread Akemi Yagi
On Sun, Oct 30, 2011 at 2:00 PM, Alan Bartlett a...@elrepo.org wrote:
 On 30 October 2011 17:55, Stephen Isard 7p03xy...@sneakemail.com wrote:
 I have an RCA VR5320 digital voice recorder.  It has a usb connector, but
 isn't recognized by SL 5.6.

 snip

 I don't want to get into a position of maintaining my own kernel.  I'd
 rather wait until I catch up with 2.6.32 and impose on friends with newer
 kernels or windows machines in the meantime.

 Hi Stephen,

 You will have a very long wait. The SL 5.x kernels will remain to be
 based on 2.6.18 until EOL. ;) That is how TUV maintain a stable kernel
 ABI for the life of EL5.

 If you would like to have a SL kernel based on 2.6.32, please install SL 6.x 
 :)

 Regards,
 Alan.

I was rather surprised that Alan did not mention ELRepo's kernel-ml. :-O

kernel-ml-2.6.35 does have the patch referenced here:

https://lkml.org/lkml/2010/11/19/609

I should also note that kernel-ml is not for production use but it's
been quite stable and Alan has been doing a good job of keeping it up
to date. :-)

http://elrepo.org/tiki/kernel-ml

Akemi


Re: usb patch

2011-10-30 Thread Stephen Isard
On Sun, 30 Oct 2011 15:02:47 -0700, Akemi Yagi amy...@gmail.com wrote:

 If you would like to have a SL kernel based on 2.6.32, please install SL
6.x :)

 Regards,
 Alan.

I was rather surprised that Alan did not mention ELRepo's kernel-ml. :-O

kernel-ml-2.6.35 does have the patch referenced here:

https://lkml.org/lkml/2010/11/19/609

I should also note that kernel-ml is not for production use but it's
been quite stable and Alan has been doing a good job of keeping it up
to date. :-)

http://elrepo.org/tiki/kernel-ml

Thanks very much, Akemi.  That looks like a good solution apart from the
known bug in iptables, which is a bit scary.  I'll have to check into
whether I use any of the commands that trigger the bug and cause iptables to
stop working.

Regards,

Stephen Isard