nbd
a7cb17cea9
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
nbd
0d64ffb3e3
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
nbd
3f05dd35b2
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
nbd
a77c31b1e1
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
nbd
78edbe6175
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
a13fd170d4
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
kaloz
8b75420771
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
9088c43802
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
nbd
6d52fd57a3
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
nbd
f5b0956604
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
b53dfbf24e
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
rwhitby
c4f52d9cbc
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
rwhitby
d9b96df705
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
nbd
c92885c466
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
nbd
1e0a5cc251
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
nbd
dcf6bd1f3a
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
nbd
4cc2001e1b
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
nbd
e8d3ab87c6
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
nbd
4e778f2d1d
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
kaloz
7fc64c0d1f
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
nbd
944dc84100
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
nico
e5aec00434
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
nbd
56a341a5b9
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
nbd
a963f60b9b
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
kaloz
3f494f8d22
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
mbm
39cbb5a9da
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
3c4dec1c52
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
groz
0afe2603ce
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
nbd
e325df1263
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
nbd
94b9909653
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
mbm
9cff4857fc
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
mbm
045631507b
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
kaloz
8014456863
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
kaloz
d1d400f1ad
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
nbd
41fdecb111
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
nbd
be8ad0190d
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
0b11c9308c
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
4caf7955fe
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
nbd
9ae6442d6a
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
kaloz
1f537bfbb1
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
kaloz
984ce03b6a
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
kaloz
237a39ca53
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
446614115a
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
nico
a9c2d68afc
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
nbd
f0aedfb294
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
nbd
df2a4e04bc
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
wbx
c95591da8e
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
kaloz
4ca8dbc9d1
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
kaloz
7b14666f6f
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
nbd
0f2b9f7ace
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