1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-12-01 01:16:15 +02:00
Commit Graph

353 Commits

Author SHA1 Message Date
jow
4c706d3cf5 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33072 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-09 09:41:22 +00:00
florian
bc858807dc [package] make kmod-fb dependent on DISPLAY_SUPPORT and update targets accordingly
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32869 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-25 19:36:19 +00:00
florian
03eb275e12 [x86] move leds modules back to target modules.mk
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32851 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-25 15:49:57 +00:00
florian
c6fde74a29 [x86] move i2c modules back to target modules.mk
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32850 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-25 15:49:54 +00:00
florian
e04ea40569 [x86] move more x86-specific modules back to target modules.mk
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32848 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-25 15:49:49 +00:00
florian
aced68717a [x86] move x86 specific ide/pata modules to x86' modules.mk
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32846 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-25 15:49:42 +00:00
acinonyx
9ebe427897 [x86] Fix sysupgrade for squashfs, jffs2 and ext4 images
* use 'fsync' with 'dd' for image writing
	* save config to boot partition

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32465 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-19 22:36:53 +00:00
jow
4e6e9c9c59 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32436 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-18 23:36:50 +00:00
jow
03f2b4f961 [kvm_guest] remove inittab override
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32422 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-18 11:50:37 +00:00
jow
f1d9712dc3 [x86] use ttyS0 @ 115200 baud as default for KVM guests
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32384 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-15 12:59:49 +00:00
blogic
466d98bf88 [kernel] bump to 3.3.8
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32055 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-05 06:57:51 +00:00
juhosg
530802ba69 kernel: update linux 3.3 to 3.3.7
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31848 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-23 21:05:32 +00:00
juhosg
d87b48bbe9 x86: remove support for old kernels
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31804 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-18 20:10:42 +00:00
juhosg
336ab20ec5 x86: remove subtarget specific LINUX_VERSION overrides
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31803 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-18 20:10:38 +00:00
juhosg
e32a177913 x86/ep80579: switch to 3.3
Also fix build errors in the ep80579-drivers package.
Compile tested only.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31802 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-18 20:10:33 +00:00
juhosg
f2569ecf09 x86/olpc: switch to 3.3
Compile tested only.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31784 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-18 09:57:32 +00:00
juhosg
8f9cbdeccd x86: image: select bootscript images by default for OLPC
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31783 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-18 09:57:29 +00:00
juhosg
dcea0bf81c x86/thincan: switch to 3.3
Compile tested only.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31765 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-17 06:41:01 +00:00
juhosg
db081f453b x86/xen_domu: switch to 3.3
Compile tested only.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31764 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-17 06:41:00 +00:00
juhosg
4dcd044429 x86/kvm_guest: switch to 3.3
Compile tested only.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31763 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-17 06:40:58 +00:00
juhosg
5fe6f552d3 x86/generic: switch to 3.3
Compile tested only.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31762 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-17 06:40:56 +00:00
juhosg
287ab9841e x86/alix2: switch to 3.3
Compile tested only.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31753 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-16 10:45:02 +00:00
juhosg
2b245c96a9 x86/net5501: switch to 3.3
Compile tested only.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31752 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-16 10:44:59 +00:00
juhosg
3261e9d285 x86: sync 3.3 configs
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31751 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-16 10:44:55 +00:00
juhosg
2075a32be0 x86: sync 3.2 configs
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31750 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-16 10:44:52 +00:00
juhosg
005d04baef x86: sync 2.6.39 configs
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31749 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-16 10:44:49 +00:00
juhosg
5cc763c7b2 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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31737 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-15 10:58:52 +00:00
juhosg
298dcd23d1 kernel: update linux 3.3 to 3.3.6
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31709 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-14 09:18:32 +00:00
juhosg
fe2be6a9a3 kernel: update linux 3.3 to 3.3.5
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31645 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-07 20:11:43 +00:00
juhosg
e51f7c5d1b kernel: update linux 3.3 to 3.3.4
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31541 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-30 08:38:11 +00:00
jogo
aa09643423 kernel: update linux 3.3 to 3.3.3
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31460 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-24 09:25:38 +00:00
jogo
b628e1e894 kernel: update linux 3.2 to 3.2.16
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31459 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-24 09:25:35 +00:00
juhosg
81896ccacb x86: restore config-default, it is needed for 2.6.39
Reported-by: Thomas Heil <heil@terminal-consulting.de>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31452 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-23 16:56:08 +00:00
juhosg
955f287cac x86: remove 2.6.32 support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31415 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-21 16:17:48 +00:00
jogo
b1f5b99f53 kernel: x86: also update subtarget kernel versions
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31338 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-17 21:01:43 +00:00
jow
e07815ad41 [geos] bump to Linux v3.3.1
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31314 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-16 15:04:47 +00:00
jow
7fe2f385bb 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31270 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-12 23:30:27 +00:00
jow
b1ba3fb620 [x86] add missing Kernel symbol spotted by buildbot
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31232 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-10 10:09:27 +00:00
jogo
bbb153176f kernel: update linux 3.2 to 3.2.14
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31222 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-09 14:48:51 +00:00
florian
52a44a70ae [x86] 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31094 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-27 17:47:37 +00:00
ryd
0e4c67b63a Disable keyboard for x86 default config - revoke patch 30966
This was already fixed by commit 30309 and is part of generic x86 target.



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31052 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-21 19:10:02 +00:00
jow
54bd644e36 [x86] alix2: add require crypto kmods (#10410)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30980 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-18 18:56:02 +00:00
ryd
416f12e02a Enable keyboard for x86
This is required for qemu like descripted in
here http://wiki.openwrt.org/doc/howto/qemu



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30966 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-17 21:32:08 +00:00
jow
eb0c9b79d7 [x86] enable RTC_CLASS for Linux 3.2 and 3.3
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30717 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-25 13:06:26 +00:00
jow
73c4fa4d10 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30708 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-24 10:35:20 +00:00
acinonyx
7d27a0b34d [x86] Disable by default padding of images
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30590 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-16 17:54:07 +00:00
acinonyx
4916a0ea0e [x86] Allow gzipping of squashfs images with padded jffs2 partition
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30589 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-16 17:54:04 +00:00
acinonyx
05c64b9247 [x86] GZip only ext4 and padded images
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30588 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-16 17:54:01 +00:00
acinonyx
8176b71781 [x86] Make gzipping of images configurable via menuconfig
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30587 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-16 17:53:57 +00:00
jow
4cca99b95f 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30366 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-07 21:56:51 +00:00