Derek Sims | 3 Jul 19:28 2010

Re: EFW CE 2.4 missing kernel module

Hi

The results of some further investigation on my SATA speed problem.
Yet more follow up 3/July/2010:
I am not at all sure where the problem lies however it appears that libata is built in to the kernel and not created as a module.
I have tried ordinary IDE disks and the speed problem remains the same.

I suspect now that this problem relates to the removal of Combined mode in kernel 2.6.22
I understand this may cause problems when the OLD ide drivers are included in the kernel along with libata drivers.

I will be the first to admit I don't understand all this, but see the following references:

Combined mode
h**p://www.mail-archive.com/linux-ide-u79uwXL29TY76Z2rM5mHXA@public.gmane.org/msg04681.html

Performance issues after combined mode removed:
h**p://forum.soft32.com/linux/Combined-mode-quirk-removal-kills-performance-ftopict345203.html

Related stuff I don't understand
h**p://forum.soft32.com/linux/PATCH-22-remove-Intel-combined-mode-quirk-ftopict341159.html

A possible fix in kernel config
h**p://linux.derkeiler.com/Mailing-Lists/Kernel/2007-07/msg08563.html


Now all I need is to try a kernel built to endian standards but without the old ide driver!!

Can anybody out there help me with this?



On 25/06/2010 16:42, Derek Sims wrote:
Hi This is a repeat of a message I have posted on efwsupport.com forum http://efwsupport.com/index.php?topic=1830.msg4834#msg4834 Can anybody suggest where I can locate the missing kernel module(s)? part1 ==== Very slow disk IO on SATA RAID1 Jetway NC92-330-LF I have installed endian on a Jetway NC92-330-LF MB with two SATA HDD in software RAID1 Apart from the install being very slow, after installation I am seeing extremely slow IO on the hard disks. hdparm -tT /dev/hda /dev/hda: Timing cached reads: 2392 MB in 2.00 seconds = 1195.39 MB/sec Timing buffered disk reads: 10 MB in 3.08 seconds = 3.25 MB/sec I was also surprised to see the disks using device hdX and not sdX! Am I missing something here or does endian CE not fully support SATA? part2 === Just a follow up on my problems with 2.4 IO speed I installed 2.3 on the same machine with no speed poblems at all hdparm was showing 100MB/s Buffered read speed. I also note that 2.3 was using kernel module libata and ata_piix as well as some scsi modules. libata is NOT present on my copy of endian CF 2.4 Can anybody suggest where I can get additional kernel modules? Further follow-up ============ I have upgraded using efw-upgrade and the system has reverted to being very slow!! The disk devices are now showing as hda and hdb instead of sda and sdb (I guess having raid 1 md devices allows it to boot) kernel mosule ata_piix is loaded but no sign of libata. This looks to me similar to the problem found at: h**p://bugs.endian.com/view.php?id=208 ------------------------------------------------------------------------------ ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo _______________________________________________ Efw-user mailing list Efw-user-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org https://lists.sourceforge.net/lists/listinfo/efw-user

------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
Efw-user mailing list
Efw-user@...
https://lists.sourceforge.net/lists/listinfo/efw-user
Derek Sims | 5 Jul 16:01 2010

Problems with 2.5 RPMS and SRPMS

Hi all

I am trying to make sense of the kernel package from
http://sourceforge.net/projects/efw/files/Development/EFW-2.4-RESPIN/EFW-COMMUNITY-2.4-devel-srpms.tar.gz/download

The kernel sources have a number of patches, and the kernel source 
appears to be
linux-2.6.27-wrll-3.0.2-common_pc-standard.tar.bz2
This does not seem to be the same kernel as used in 2.4 respin 
(2.6.27.19-72.e25)

The patches appear to work with the exception of 
linux-2.6-ipvs-inputmethod.patch which fails.

I have tried the patches on the supplied kernel source, I have also 
download kernel source for 2.6.27.19 and applied the patches to that 
with the similar results.

patch -p1<../linux-2.6-ipvs-inputmethod.patch
patching file net/ipv4/ipvs/Kconfig
patching file net/ipv4/ipvs/ip_vs_core.c
Hunk #1 FAILED at 1024.
Hunk #2 succeeded at 1061 with fuzz 2 (offset 26 lines).
Hunk #3 FAILED at 1114.
Hunk #4 FAILED at 1167.
Hunk #5 FAILED at 1205.
4 out of 5 hunks FAILED -- saving rejects to file net/ipv4/ipvs/ip_vs_core.c.rej

Can somebody advise me where to find the correct kernel and patches for 2.4?

TIA
Derek

------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
Derek Sims | 12 Jul 12:30 2010

Backup exclude files are not being deleted

After a backup the exclude files in /var/tmp are not being deleted

  In backup-create.sh around line 220 I believe you need the following:

  rm -f $EXCLUDE &>/dev/null

Also I suggest the following  should be inserted in 
/var/efw/backup/exclude.system otherwise restore to different hardware 
can cause very confused ethernet port numbers.

etc/businfotab

For safety it may also be worth adding
etc/shadow

------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
Gregory Machin | 13 Jul 06:43 2010
Picon

Re: 2.4 SRPMS kernel build

Hi

There is a make / config file for the kernel that is a list of all the
options, you could make most of your changes there. I's still setting
up the build environment, and compiling dependencies needed to compile
the kernel. I'll have a look at it when I get there and will make a
posting.

Greg

On Thu, Jul 1, 2010 at 1:25 AM, Derek Sims <derek <at> derek-sims.com> wrote:
> Hi
>
> I am trying to figure out how to do a kernel build or 2.4 - trying to
> figure out where libata module has gotten to!
>
> I have 2.4 installed and I have the SRPMS and RPMS downloaded.
> I have installed rpms for  binutils,  gcc4, cpp, glibc-kernheaders,
> glibc-headers, make
> I have installed  kernel-2.6.27.19-72.e25.src.rpm in /usr/src/endian
>
> I cannot see any Makefile - make menuconfig fails make: *** No rule to
> make target `menuconfig'.  Stop.
>
> I admit to being a newbie when it comes to kernel builds - any
> suggestions on what I should do next?
>
> TIA
>
>
>
>
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by Sprint
> What will you do first with EVO, the first 4G phone?
> Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
> _______________________________________________
> Efw-user mailing list
> Efw-user <at> lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/efw-user
>

------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
Efw-user mailing list
Efw-user <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/efw-user
Gregory Machin | 13 Jul 06:49 2010
Picon

issue compiling libjpeg

Hi
I have setup the build environment and compiled a fare number for
packages, I'm batteling with libjpeg.

checking libjpeg version number... 62
creating ./config.status
creating Makefile
creating jconfig.h
+ make libdir=/usr/lib
./libtool --mode=compile gcc -O2 -g -m32 -march=i586
-fasynchronous-unwind-tables  -I. -c ./jcapimin.c
make: ./libtool: Command not found
make: *** [jcapimin.lo] Error 127
error: Bad exit status from /var/tmp/rpm-tmp.8207 (%build)

RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.8207 (%build)
bash-3.00#

I have also tried, compiling the libjpeg from CentOS and get the same.

I have googled and tried a couple of other hacks , but the result is the same.

How do I resolve this ?

Greg

------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
Giuseppe Perna | 15 Jul 09:04 2010
Picon

Endian 2.4 content filtering not block category



hello
Dansguardian does not block the categories selected in the gui
content filtering does not appear in the updated version 2.4
Is there a procedure to update the blacklists dansguardian?
thanks
------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
Efw-user mailing list
Efw-user@...
https://lists.sourceforge.net/lists/listinfo/efw-user
Frank Fattizzi | 16 Jul 05:42 2010
Picon

Spam Training

I have a new install of 2.4 and am unable to configure spam training.
I have entered all the information for the IMAP server and get and
error connecting to IMAP server. The log shows: sa-learnIMAP[27954]:
ERROR    Invalid options

I can use the same information to access the IMAP folders from a mail
client without any issues. I have a similar configuration at other
locations that work fine, but they are either 2.2 or 2.3.

Any suggestions on how to troubleshoot this error?

Thanks,

- Frank

------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
Lightningbit @ gmail.com | 18 Jul 12:38 2010
Picon

since EFW 2.4 crippled webpages?

Hi,

 

I installed EFW 2.4 on a new machine today (coming from 2.2)

Everything looks to work fine, except 1 weird issue :

 

 Some webpages come up crippled (like the stylesheets not being loaded, so .. the page is there with the text, but not the makeup)

This happens with e.g.

www.sixxs.net

www.centos.org

 

all others are fine until now

 

I tried in IE 7.0,8.0, Firefox, Chrome …

 

I tried to add them to the proxy bypass whitelist,

To the content filter whitelist

I tried to turn of the proxy

Cleared the cache of EFW, all of the browers

 

None of these helped

 

Any ideas?

 

L.

 

------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
Efw-user mailing list
Efw-user@...
https://lists.sourceforge.net/lists/listinfo/efw-user
Derek Sims | 19 Jul 13:54 2010

Policy Routing - Incorrect source route rule?

I have tried creating a policy route along the following lines:
Network->routing->policy routing

Source network/ip (Green):
192.168.1.201/32
192.168.1.202/32

Destination network/ip (Red):
...20
...30

Service: ANY
Protocol: IP
Route Via: uplink1

This appears to create enties in the mangle table: iptables -t mangle -L 
POLICYROUTING -nv

     0     0 CONNMARK   tcp  --  *      *       192.168.1.201      
...20       CONNMARK set 0x7c8/0x7f8
     0     0 RETURN     tcp  --  *      *       192.168.1.201      
...20       CONNMARK match !0x0/0x7f8
    0     0 CONNMARK   tcp  --  *      *       192.168.1.202      ...20  
      CONNMARK set 0x7c8/0x7f8
     0     0 RETURN     tcp  --  *      *       192.168.1.202      
...20       CONNMARK match !0x0/0x7f8

     0     0 CONNMARK   tcp  --  *      *       192.168.1.201      
...30       CONNMARK set 0x7c8/0x7f8
     0     0 RETURN     tcp  --  *      *       192.168.1.201      
...30       CONNMARK match !0x0/0x7f8
    0     0 CONNMARK   tcp  --  *      *       192.168.1.202      ...30  
      CONNMARK set 0x7c8/0x7f8
     0     0 RETURN     tcp  --  *      *       192.168.1.202      
...30       CONNMARK match !0x0/0x7f8

However in the source route rules table: ip ru sho

10:     from 192.168.1.201 lookup main

This appears to cause the later rule:
199:     from all fwmark 0x7c8/0x7f8 lookup uplink-uplink1
NOT to be reached for the first Source IP in the policy route, and 
traffic is routed via the default route in main.

This does not appear to be the correct action.
I need the traffic to be routed to an alternate gateway.

Maybe I am missing something, but this does not look right to me.

------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
Derek Sims | 20 Jul 19:50 2010

2.4 Endian IPSec to Draytek 2900 Series router

Help!

I am trying to configure a connection between a Draytek router and 
endian 2.4.

I am seeing messages I have never come across before:
Jul 20 18:26:46 LOCALHOST pluto[18255]: "testusr" #1: initiating Main Mode
Jul 20 18:26:46 LOCALHOST ipsec__plutorun: 104 "testusr" #1: 
STATE_MAIN_I1: initiate
Jul 20 18:26:51 LOCALHOST sudo:   nobody : TTY=unknown ; 
PWD=/home/httpd/cgi-bin ; USER=root ; COMMAND=/usr/sbin/ipsec auto --status
Jul 20 18:26:55 LOCALHOST kernel: [464954.150027] ipsec0: no IPv6 
routers present
Jul 20 18:26:57 LOCALHOST pluto[18255]: packet from ..122.100:500: 
received Vendor ID payload [Dead Peer Detection]
Jul 20 18:26:57 LOCALHOST pluto[18255]: packet from ..122.100:500: 
received Vendor ID payload [RFC 3947] meth=109, but port floating is off
Jul 20 18:26:57 LOCALHOST pluto[18255]: packet from ..122.100:500: 
received Vendor ID payload [draft-ietf-ipsec-nat-t-ike-03] meth=108, but 
port floating is off
Jul 20 18:26:57 LOCALHOST pluto[18255]: packet from ..122.100:500: 
received Vendor ID payload [draft-ietf-ipsec-nat-t-ike-02] meth=107, but 
port floating is off
Jul 20 18:26:57 LOCALHOST pluto[18255]: packet from ..122.100:500: 
ignoring Vendor ID payload [draft-ietf-ipsec-nat-t-ike-00]
Jul 20 18:26:57 LOCALHOST pluto[18255]: "testusr" #2: responding to Main 
Mode
Jul 20 18:26:57 LOCALHOST pluto[18255]: "testusr" #2: OAKLEY_DES_CBC is 
not supported.  Attribute OAKLEY_ENCRYPTION_ALGORITHM
Jul 20 18:26:57 LOCALHOST pluto[18255]: "testusr" #2: OAKLEY_DES_CBC is 
not supported.  Attribute OAKLEY_ENCRYPTION_ALGORITHM
Jul 20 18:26:57 LOCALHOST pluto[18255]: "testusr" #2: OAKLEY_GROUP 1 not 
supported.  Attribute OAKLEY_GROUP_DESCRIPTION
Jul 20 18:26:57 LOCALHOST pluto[18255]: "testusr" #2: transition from 
state STATE_MAIN_R0 to state STATE_MAIN_R1
Jul 20 18:26:57 LOCALHOST pluto[18255]: "testusr" #2: STATE_MAIN_R1: 
sent MR1, expecting MI2
Jul 20 18:26:58 LOCALHOST pluto[18255]: "testusr" #2: message ignored 
because it contains an unknown or unexpected payload type 
(ISAKMP_NEXT_NAT-D) at the outermost level
Jul 20 18:26:58 LOCALHOST pluto[18255]: "testusr" #2: sending 
notification INVALID_PAYLOAD_TYPE to ..122.100:500

I have tried patching nat_traversal=no into ipsec.conf but this makes no 
difference.

Can anyone suggest a solution?

Has anybody successfully  connected by IPSec from endian 2.4 to a 
Draytek router?

------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first

Gmane