Commit Graph

101 Commits (a61e780690a289ee3c8c4e1d50ca63a3dc0b20e8)

Author SHA1 Message Date
Felix Fietkau 660cc6c6cc Finally fix the pesky x86-2.6 block2mtd related crash (#1058)
When erasing blocks, block2mtd checks the block on the physical disk
to see if everything's filled with 0xff. When grabbing a page from the page
cache, it initializes the limit as <start address> + PAGE_SIZE.
Turns out that the pointer to the status page is (unsigned long *), and
thus it adds (PAGE_SIZE * 4).
This would never have been caught, if it wasn't for the unlikely event
that block2mtd catches the *last* page available in the system ram and
thus tries to scan 4 memory pages from there.
The absolutely trivial fix is to do a double cast (cast to (u8 *), add
PAGE_SIZE, then cast to (unsigned long *))

... and there was much rejoicing


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6318 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-02-18 13:52:14 +00:00
Felix Fietkau 74c84e5794 add fix for kernel headers to allow offsetof access from user space
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6299 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-02-14 02:42:08 +00:00
Felix Fietkau e39d517493 move tlb change for mips 4KC to generic patches (required for most mips targets)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6294 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-02-13 00:55:11 +00:00
Felix Fietkau 3fd75d8069 disable block2mtd page readahead (patch from #1058)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6242 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-02-01 21:35:25 +00:00
Felix Fietkau bf310af2c1 forward port missing parts of the mtd permission change in whiterussian (and add it to linux 2.6 as well)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6224 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-01-27 19:22:15 +00:00
Florian Fainelli 06fe78f82d Add chaostable from #1187, also enable netfilter modules for ixp4xx.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6182 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-01-22 23:55:22 +00:00
Imre Kaloz 64f9594596 fix kernel compile on real operating systems :P (closes #1150)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5997 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-01-05 19:47:31 +00:00
Florian Fainelli ab789a60bf Add an OSX specific patch to make the kernel be compiled
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5987 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-01-05 15:29:54 +00:00
Felix Fietkau a67c6acc98 reorder netfilter patches, update layer7 kernel to latest version, should improve stability
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5950 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-01-01 04:42:50 +00:00
Felix Fietkau 1cba5dd6c6 add compatibility patch for d80211
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5937 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-12-30 17:52:58 +00:00
Florian Fainelli c3c74dc73c Replace inode.u.generic_ip with inode.i_private
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5848 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-12-18 21:57:24 +00:00
Rod Whitby cf83d0ebef Renamed 050-* to comply with patch naming convention.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5814 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-12-17 12:28:46 +00:00
Rod Whitby a549eaf6e1 Replaced non-working (on NAS100d) redboot byteswap partition truncate patch with the one that has been tested on NSLU2, NAS100d, Loft, etc., accepted by linux-mtd, and should be in 2.6.20
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5813 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-12-17 03:05:52 +00:00
Felix Fietkau d78864ef7c Upgrade to Linux 2.6.19
- Includes large parts of the patch from #1021 by dpalffy
- Includes RB532 NAND driver changes by n0-1



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5789 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-12-14 16:41:33 +00:00
Felix Fietkau 2ca8617f10 fix uclibc compile
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5734 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-12-09 10:38:11 +00:00
Felix Fietkau 5ced1fa646 more compile fixes
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5730 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-12-08 22:02:44 +00:00
Felix Fietkau eed1b7d67f fix up include/linux/types.h for user space stuff (patch from debian), fixes #1008
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5724 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-12-08 15:58:15 +00:00
Felix Fietkau 3f27bdd7da mini_fo fixes
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5556 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-11-17 15:58:58 +00:00
Felix Fietkau efca238bd4 add mini_fo
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5541 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-11-17 02:50:09 +00:00
Imre Kaloz 3dace10f8b add redboot parsing and rtl8169 fixes, enable r8169 and add the free ixp4xx ethernet driver - the later still needs fixes and testing for the gateway 7001
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5311 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-10-27 12:32:10 +00:00
Felix Fietkau c37691ca2a add fix for samsung flash chips
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5284 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-10-24 18:05:05 +00:00
Nicolas Thill b4bd46bc86 add missing <asm/segment.h>, fix mini_fo and openswan build on ppc
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5206 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-10-18 14:16:17 +00:00
Felix Fietkau 5201c89078 pppoe: use the interface mtu as upper limit for ppp packet size + header (based on a patch by Dirk Nehring)
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@5009 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-10-10 12:28:30 +00:00
Felix Fietkau b81491fffe add a fix for the block2mtd init
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4961 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-10-08 15:43:13 +00:00
Imre Kaloz d5a6e89b8f add basic support for the Magicbox boards
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4672 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-08-25 21:53:54 +00:00
Mike Baker 14ef855402 update devfs patches
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4669 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-08-25 18:23:35 +00:00
Florian Fainelli 8ec3114a64 Add ROUTE target for netfilter, closes #595
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4620 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-08-22 10:07:55 +00:00
Gerry Rozema ae823241fe Start adding uml target
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4177 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-07-20 18:42:12 +00:00
Felix Fietkau bc331ebc99 fix the jffs2 eof detect patch for linux 2.6 (unlocking required for erasing blocks)
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4060 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-06-23 19:51:50 +00:00
Felix Fietkau dacd589fd3 move jffs2 end-of-filesystem detection to the generic 2.6 patches
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4042 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-06-21 19:57:41 +00:00
Mike Baker fcd89327c9 annoying initrd bug introduced by 2.6.17
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4027 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-06-20 18:57:30 +00:00
Mike Baker 861303d954 reintroduce the -ffreestanding to avoid gcc inline errors
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4015 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-06-19 22:28:58 +00:00
Imre Kaloz 0278860567 fix the multiple gateway patch, too
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@3988 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-06-18 15:15:19 +00:00
Imre Kaloz 265ac7a973 upgrade to 2.6.17, probably break some stuff temporary
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@3987 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-06-18 14:32:57 +00:00
Felix Fietkau 0832b76b8c move mips boot patch to generic-2.6
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@3909 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-06-07 23:46:57 +00:00
Felix Fietkau 340f1875ed resync with kamikaze
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@3844 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-05-30 19:38:38 +00:00
Florian Fainelli 7bc260f9c3 Add SIP connection tracking helpers.
Update 2.6 kernel configuration to build SIP connection tracking helper
Add informations in menuconfig


git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@3627 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-04-12 16:15:41 +00:00
Florian Fainelli 840e8eebb2 Add multiple default gateways patch. No need to change the kernel configuration. Builds fine. Close #460 for the kamikaze part
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@3613 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-04-11 09:41:06 +00:00
Felix Fietkau cec36208da update ipp2p to 0.8.1rc1, add it to 2.6 as well
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@3463 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-03-23 14:40:54 +00:00
Imre Kaloz a1b5e98582 clean up the openswan patch to work with older patch versions as well
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@3450 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-03-22 20:50:55 +00:00
Imre Kaloz e8fe40d9ca upgrade to squashfs 3.0
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@3431 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-03-21 13:41:09 +00:00
Imre Kaloz 990af1f5e2 upgrade to Linux 2.6.16, yay
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@3422 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-03-21 08:48:43 +00:00
Florian Fainelli 66d32a5756 Add support for sch_esfq, iproute2 support will be coming soon
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@3270 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-02-24 04:35:51 +00:00
Nicolas Thill 61ca7fa437 fix x86-2.6 build
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@3118 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-02-03 08:11:53 +00:00
Felix Fietkau 97ec1b49bd add imq patch to linux 2.6
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@3099 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-01-31 20:34:48 +00:00
Felix Fietkau 81d68385c9 update layer7 patches to 2.1 with --l7pkt mod
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@3097 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-01-31 20:09:44 +00:00
Waldemar Brodkorb 949e824b6f remove pfring patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@3095 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-01-31 17:00:21 +00:00
Imre Kaloz 4d98c659a9 backport inline changes from 2.6.16-rc1, thanks nbd for helping me finish it :)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@3064 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-01-28 16:09:18 +00:00
Imre Kaloz c41e0607c3 add gcc4 fix for mips
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@3053 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-01-27 10:00:40 +00:00
Felix Fietkau e5f9e55754 brcm-2.6: remove old b44 support patches, integrate bcm47xx support into newest version of the driver
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@2929 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-01-12 02:16:42 +00:00
Felix Fietkau fbc6b140a5 large target/linux cleanup
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@2877 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-01-10 19:43:00 +00:00