Commit Graph

353 Commits (a183ced08e209df183463e8e0d5ba7c122a6f324)

Author SHA1 Message Date
Jo-Philipp Wich c8a0166212 Fix hard reset of alix/soekris hardware under heavy NIC load
The following patch corrects a hard reset that occurs on alix and
soekris net5501 hardware. Specifically, this is an issue with the via
rhine NIC driver. Under periods of extreme load, the via rhine driver
can cause a reset of the entire system. When this happens no output is
seen on the console, the device simply reboots. This was reported in the
following ticket:

Consistent crash on Soekris NET5501
https://dev.openwrt.org/ticket/11882

I was able to reproduce the problem locally with numerous alix 2d13
platforms. Under heavy 64 byte frame size load from a Smartbits traffic
generator, the alix hardware will hard reset in under 5 minutes. The
same hardware, under the same load, on FreeBSD 9.0 does not reset.

The patch below backports most of the via rhine changes from kernel 3.5.
With OpenWrt trunk being on kernel 3.3.8, it seemed prudent to bring
these changes in to avoid this serious issue.

I've tested this heavily in my test environment and was able to keep the
device stable under load for extended periods of time without any resets.

Also, a nice side effect of this change is that it significantly raises
the performance the platform. Without this patch the alix 2d13 can move
approximately 29,000 packets per second at 64 byte frame sizes. After
this patch the alix can move 52,000 packets per second at 64 byte frame
sizes.

I put this patch under the x86 patches as those are the only platforms
with via rhine hardware that I'm aware of. If it needs to go some place
else please let me know.

Thanks,
Adam

Signed-off-by: Adam Gensler <openwrt@kristenandadam.net>

SVN-Revision: 33072
2012-08-09 09:41:22 +00:00
Florian Fainelli d359d46182 make kmod-fb dependent on DISPLAY_SUPPORT and update targets accordingly
SVN-Revision: 32869
2012-07-25 19:36:19 +00:00
Florian Fainelli c3b9a987b7 move leds modules back to target modules.mk
SVN-Revision: 32851
2012-07-25 15:49:57 +00:00
Florian Fainelli bca45d6d8a move i2c modules back to target modules.mk
SVN-Revision: 32850
2012-07-25 15:49:54 +00:00
Florian Fainelli 2bfb2a797c move more x86-specific modules back to target modules.mk
SVN-Revision: 32848
2012-07-25 15:49:49 +00:00
Florian Fainelli d973768580 move x86 specific ide/pata modules to x86' modules.mk
SVN-Revision: 32846
2012-07-25 15:49:42 +00:00
Vasilis Tsiligiannis 1978c07539 Fix sysupgrade for squashfs, jffs2 and ext4 images
* use 'fsync' with 'dd' for image writing
	* save config to boot partition

SVN-Revision: 32465
2012-06-19 22:36:53 +00:00
Jo-Philipp Wich f06473f8ff optimize kernel config for kvm_guest
This patch enables few extra kernel options for the kvm_guest subtarget:
- Tickless kernel to avoid timer ticks in idle guests, reduces CPU usage
- Enable paravirtualization steal time support

Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>

SVN-Revision: 32436
2012-06-18 23:36:50 +00:00
Jo-Philipp Wich cbac321164 remove inittab override
SVN-Revision: 32422
2012-06-18 11:50:37 +00:00
Jo-Philipp Wich e3663ff907 use ttyS0 @ 115200 baud as default for KVM guests
SVN-Revision: 32384
2012-06-15 12:59:49 +00:00
John Crispin a4d96aae8d bump to 3.3.8
SVN-Revision: 32055
2012-06-05 06:57:51 +00:00
Gabor Juhos 2ae5581447 kernel: update linux 3.3 to 3.3.7
SVN-Revision: 31848
2012-05-23 21:05:32 +00:00
Gabor Juhos 07b5a3eea2 x86: remove support for old kernels
SVN-Revision: 31804
2012-05-18 20:10:42 +00:00
Gabor Juhos 604e3aac0a x86: remove subtarget specific LINUX_VERSION overrides
SVN-Revision: 31803
2012-05-18 20:10:38 +00:00
Gabor Juhos d9dab97d38 x86/ep80579: switch to 3.3
Also fix build errors in the ep80579-drivers package.
Compile tested only.

SVN-Revision: 31802
2012-05-18 20:10:33 +00:00
Gabor Juhos a5de52c244 x86/olpc: switch to 3.3
Compile tested only.

SVN-Revision: 31784
2012-05-18 09:57:32 +00:00
Gabor Juhos 9e54e012d6 x86: image: select bootscript images by default for OLPC
SVN-Revision: 31783
2012-05-18 09:57:29 +00:00
Gabor Juhos 562e468ae5 x86/thincan: switch to 3.3
Compile tested only.

SVN-Revision: 31765
2012-05-17 06:41:01 +00:00
Gabor Juhos 1f7f8376a6 x86/xen_domu: switch to 3.3
Compile tested only.

SVN-Revision: 31764
2012-05-17 06:41:00 +00:00
Gabor Juhos 8bb7ddecfd x86/kvm_guest: switch to 3.3
Compile tested only.

SVN-Revision: 31763
2012-05-17 06:40:58 +00:00
Gabor Juhos f14d1a588d x86/generic: switch to 3.3
Compile tested only.

SVN-Revision: 31762
2012-05-17 06:40:56 +00:00
Gabor Juhos eb2fe5e863 x86/alix2: switch to 3.3
Compile tested only.

SVN-Revision: 31753
2012-05-16 10:45:02 +00:00
Gabor Juhos fb7da5bbde x86/net5501: switch to 3.3
Compile tested only.

SVN-Revision: 31752
2012-05-16 10:44:59 +00:00
Gabor Juhos 9e049ce25c x86: sync 3.3 configs
SVN-Revision: 31751
2012-05-16 10:44:55 +00:00
Gabor Juhos 19f691f8e4 x86: sync 3.2 configs
SVN-Revision: 31750
2012-05-16 10:44:52 +00:00
Gabor Juhos 724fd5e657 x86: sync 2.6.39 configs
SVN-Revision: 31749
2012-05-16 10:44:49 +00:00
Gabor Juhos 39994008cb linux: move certain disabled symbols to the generic configs
* CONFIG_ARCH_DMA_ADDR_T_64BIT
  * CONFIG_ARCH_HAS_ILOG2_U32
  * CONFIG_ARCH_HAS_ILOG2_U64
  * CONFIG_ARCH_PHYS_ADDR_T_64BIT
  * CONFIG_ARCH_SUPPORTS_MSI
  * CONFIG_GENERIC_CPU_DEVICES
  * CONFIG_HWMON_DEBUG_CHIP
  * CONFIG_I2C_PXA_PCI
  * CONFIG_LEDS_GPIO
  * CONFIG_MINIX_FS_NATIVE_ENDIAN
  * CONFIG_MLX4_CORE
  * CONFIG_POWER_SUPPLY
  * CONFIG_POWER_SUPPLY_DEBUG
  * CONFIG_QUOTACTL
  * CONFIG_SDIO_UART
  * CONFIG_SENSORS_K10TEMP
  * CONFIG_SENSORS_SCH56XX_COMMON
  * CONFIG_SENSORS_VIA_CPUTEMP
  * CONFIG_SERIO_AMBAKMI
  * CONFIG_SERIO_I8042
  * CONFIG_SERIO_LIBPS2
  * CONFIG_SERIO_PCIPS2
  * CONFIG_SERIO_RAW
  * CONFIG_SERIO_SERPORT
  * CONFIG_SPI_BITBANG
  * CONFIG_SPI_GPIO

SVN-Revision: 31737
2012-05-15 10:58:52 +00:00
Gabor Juhos b472e5d12e kernel: update linux 3.3 to 3.3.6
SVN-Revision: 31709
2012-05-14 09:18:32 +00:00
Gabor Juhos 34018a630f kernel: update linux 3.3 to 3.3.5
SVN-Revision: 31645
2012-05-07 20:11:43 +00:00
Gabor Juhos cbfce53831 kernel: update linux 3.3 to 3.3.4
SVN-Revision: 31541
2012-04-30 08:38:11 +00:00
Jonas Gorski 8fd383ae2e kernel: update linux 3.3 to 3.3.3
SVN-Revision: 31460
2012-04-24 09:25:38 +00:00
Jonas Gorski 22b4e6b882 kernel: update linux 3.2 to 3.2.16
SVN-Revision: 31459
2012-04-24 09:25:35 +00:00
Gabor Juhos 4b6833b176 x86: restore config-default, it is needed for 2.6.39
Reported-by: Thomas Heil <heil@terminal-consulting.de>

SVN-Revision: 31452
2012-04-23 16:56:08 +00:00
Gabor Juhos f63d216467 x86: remove 2.6.32 support
SVN-Revision: 31415
2012-04-21 16:17:48 +00:00
Jonas Gorski d0bfc67e2e kernel: x86: also update subtarget kernel versions
SVN-Revision: 31338
2012-04-17 21:01:43 +00:00
Jo-Philipp Wich a0f0213462 bump to Linux v3.3.1
SVN-Revision: 31314
2012-04-16 15:04:47 +00:00
Jo-Philipp Wich 4b230e19fc PATCH: Disable console terminal in Grub for alix2 target
The alix2 target has the VGA console for grub enabled by default. This
prevents the grub menu from appearing on bootup. It is disabled by
default for the other embedded x86 platforms. This patch corrects that
behavior for the alix2 target.

Signed-off-by: Adam Gensler <openwrt@kristenandadam.net>

SVN-Revision: 31270
2012-04-12 23:30:27 +00:00
Jo-Philipp Wich fcfdbd4961 add missing Kernel symbol spotted by buildbot
SVN-Revision: 31232
2012-04-10 10:09:27 +00:00
Jonas Gorski 16b4cbcdd6 kernel: update linux 3.2 to 3.2.14
SVN-Revision: 31222
2012-04-09 14:48:51 +00:00
Florian Fainelli 60e195d399 geos: add 'tc' and kmod-sched for bonding
The Geos2 includes 2 ADSL+ interfaces, and as such it needs to have the TEQL scheduler for bonding.

Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>

SVN-Revision: 31094
2012-03-27 17:47:37 +00:00
Jens Muecke 1d2b19c4bf Disable keyboard for x86 default config - revoke patch 30966
This was already fixed by commit 30309 and is part of generic x86 target.

SVN-Revision: 31052
2012-03-21 19:10:02 +00:00
Jo-Philipp Wich 884f964e62 alix2: add require crypto kmods (#10410)
SVN-Revision: 30980
2012-03-18 18:56:02 +00:00
Jens Muecke deac1c16a1 Enable keyboard for x86
This is required for qemu like descripted in
here http://wiki.openwrt.org/doc/howto/qemu

SVN-Revision: 30966
2012-03-17 21:32:08 +00:00
Jo-Philipp Wich bafdae9233 enable RTC_CLASS for Linux 3.2 and 3.3
SVN-Revision: 30717
2012-02-25 13:06:26 +00:00
Jo-Philipp Wich 74db55a982 config: deprecated symbol CONFIG_LEDS_GPIO_PLATFORM
CONFIG_LEDS_GPIO_PLATFORM went away a while ago.

http://git.kernel.org/?p=linux/kernel/git/stable/linux-stable.git;a=commit;h=2bcc7ed5b83b0a59c6976476e8788675038fb11b

Also, most platforms comment out CONFIG_LEDS_GPIO but not x86 for some reason.

Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>

SVN-Revision: 30708
2012-02-24 10:35:20 +00:00
Vasilis Tsiligiannis eed8e2a4fd Disable by default padding of images
SVN-Revision: 30590
2012-02-16 17:54:07 +00:00
Vasilis Tsiligiannis 8676e49d9d Allow gzipping of squashfs images with padded jffs2 partition
SVN-Revision: 30589
2012-02-16 17:54:04 +00:00
Vasilis Tsiligiannis ab09db09fc GZip only ext4 and padded images
SVN-Revision: 30588
2012-02-16 17:54:01 +00:00
Vasilis Tsiligiannis b4f51343c6 Make gzipping of images configurable via menuconfig
SVN-Revision: 30587
2012-02-16 17:53:57 +00:00
Jo-Philipp Wich f35c4a3266 8139cp: backport patches to make driver stable again
List of patches that Jo-Philipp groveled out of git.

Redux: defuzzed.

Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>

SVN-Revision: 30366
2012-02-07 21:56:51 +00:00