OpenWrt Forum Archive

Topic: kernel upgrade?

The content of this topic has been archived on 15 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

Hello.

The current kernel of buildroot-ng is 2.6.17.

Can this kernel be updated? Can I do this myself or should I just wait for the developers to upgrade it?

Thanks!

You can do it but no reason for real. We upgrade when 2.6.18 is out.

Ok.

I thought about upgrading because I can't figure out how to get usb 1 working on my wgt634u. I thought that perhaps this is a bug in the kernel...

Anyway, I looked up the change log of the kernel and there is no mention of usb or ohci in it, so I guess I won't waste time trying that.

Thanks!

Kaloz wrote:

You can do it but no reason for real. We upgrade when 2.6.18 is out.

2.6.18 is out smile

mangoo wrote:
Kaloz wrote:

You can do it but no reason for real. We upgrade when 2.6.18 is out.

2.6.18 is out smile

Yeah, but I have to take care for all the 2.6 targets smile I'm working on it smile

Great!

Do you already have some targets "fixed" for 2.6.18? At least the brcm-2.6?
I already "dirtly" adapted 3/4 of the patches (but not tested) against 2.6.18-rc4 for brcm platform... as I would like to switch to 2.6.18 ASAP (few issues of interest resolved as seen in the change log), etc.
Would you share that part "before official release" in openwrt?

Kaloz wrote:
mangoo wrote:
Kaloz wrote:

You can do it but no reason for real. We upgrade when 2.6.18 is out.

2.6.18 is out smile

Yeah, but I have to take care for all the 2.6 targets smile I'm working on it smile

How is it going? Have you already updated the bcm-2.6 target?
May any help be of interest to you?

Regards,
M.Culibrk

mculibrk wrote:

How is it going? Have you already updated the bcm-2.6 target?
May any help be of interest to you?

Didn't work on brcm, if you can get it done and boot the system up, please create a ticket and attach a patch against buildroot-ng svn.

Kaloz wrote:
mculibrk wrote:

How is it going? Have you already updated the bcm-2.6 target?
May any help be of interest to you?

Didn't work on brcm, if you can get it done and boot the system up, please create a ticket and attach a patch against buildroot-ng svn.

Done: https://dev.openwrt.org/ticket/893
Other than "it boots on my wrt54gl and I can log in" it is mostly untested.

moroboshi wrote:

Done: https://dev.openwrt.org/ticket/893
Other than "it boots on my wrt54gl and I can log in" it is mostly untested.

Since bcm43xx of the 2.6.17 kernel does not work on a WL-500gx, I tried your patch with r5331.
Alas, the patch doesn't work with a current release :-(

First result: Problems with USB (tried a 1GB stick and a 40GB LaCie drive)

Jan  1 00:03:06 (none) user.info kernel: usb 4-1: new high speed USB device using ehci_hcd and address 2
Jan  1 00:03:06 (none) user.notice root: find: 4-1:*/host*: No such file or directory
Jan  1 00:03:07 (none) user.info kernel: usb 4-1: configuration #1 chosen from 1 choice
Jan  1 00:03:07 (none) user.info kernel: scsi0 : SCSI emulation for USB Mass Storage devices
Jan  1 00:03:07 (none) user.debug kernel: usb-storage: device found at 2
Jan  1 00:03:07 (none) user.debug kernel: usb-storage: waiting for device to settle before scanning
Jan  1 00:03:07 (none) user.debug kernel: ndevfs: creating file 'usbdev4.2' with major 189 and minor 385
Jan  1 00:03:12 (none) user.notice kernel:   Vendor: Generic   Model: USB Flash Disk    Rev: 0.00
Jan  1 00:03:12 (none) user.notice kernel:   Type:   Direct-Access                      ANSI SCSI revision: 02
Jan  1 00:03:12 (none) user.notice kernel: SCSI device sda: 2015232 512-byte hdwr sectors (1032 MB)
Jan  1 00:03:12 (none) user.notice kernel: sda: Write Protect is off
Jan  1 00:03:12 (none) user.debug kernel: sda: Mode Sense: 00 00 00 00
Jan  1 00:03:12 (none) user.err kernel: sda: assuming drive cache: write through
Jan  1 00:03:12 (none) user.debug kernel: ndevfs: creating file 'sda' with major 8 and minor 0
Jan  1 00:03:12 (none) user.notice kernel: SCSI device sda: 2015232 512-byte hdwr sectors (1032 MB)
Jan  1 00:03:12 (none) user.notice kernel: sda: Write Protect is off
Jan  1 00:03:12 (none) user.debug kernel: sda: Mode Sense: 00 00 00 00
Jan  1 00:03:12 (none) user.err kernel: sda: assuming drive cache: write through
Jan  1 00:03:12 (none) user.info kernel:  p1
Jan  1 00:03:12 (none) user.debug kernel: ndevfs: creating file '<NULL>' with major 8 and minor 1
Jan  1 00:03:12 (none) user.alert kernel: CPU 0 Unable to handle kernel paging request at virtual address 00000000, epc == 800fcfa4, ra == 800e500c
Jan  1 00:03:12 (none) user.warn kernel: Oops[#1]:
Jan  1 00:03:12 (none) user.warn kernel: Cpu 0
Jan  1 00:03:12 (none) user.warn kernel: $ 0   : 00000000 1000dc00 00000000 1000dc01
Jan  1 00:03:12 (none) user.warn kernel: $ 4   : 00000000 00000000 8026f164 00000000
Jan  1 00:03:12 (none) user.warn kernel: $ 8   : 80220000 000022cd 80260000 80260000
Jan  1 00:03:12 (none) user.warn kernel: $12   : 80260000 fffffffb 0000000a ffffffff
Jan  1 00:03:12 (none) user.warn kernel: $16   : 00000000 81285400 00000000 00800001
Jan  1 00:03:12 (none) user.warn kernel: $20   : 00006180 8109a498 80270000 80270000
Jan  1 00:03:12 (none) user.warn kernel: $24   : 00000002 801f0000
Jan  1 00:03:12 (none) user.warn kernel: $28   : 81eb8000 81eb98f0 8104a04c 800e500c
Jan  1 00:03:12 (none) user.warn kernel: Hi    : 00000063
Jan  1 00:03:12 (none) user.warn kernel: Lo    : 126fa800
Jan  1 00:03:12 (none) user.warn kernel: epc   : 800fcfa4     Not tainted
Jan  1 00:03:12 (none) user.warn kernel: ra    : 800e500c Status: 1000dc03    KERNEL EXL IE
Jan  1 00:03:12 (none) user.warn kernel: Cause : 00000008
Jan  1 00:03:12 (none) user.warn kernel: BadVA : 00000000
Jan  1 00:03:12 (none) user.warn kernel: PrId  : 00029007
Jan  1 00:03:12 (none) user.warn kernel: Modules linked in: usb_storage sd_mod scsi_mod ehci_hcd uhci_hcd ohci_hcd ppp_async ppp_generic slhc crc_ccitt vfat fat ext3 jbd ext2 usbcore switch_robo switch_core nls_base
Jan  1 00:03:12 (none) user.warn kernel: Process usb-stor-scan (pid: 757, threadinfo=81eb8000, task=8135e5d8)
Jan  1 00:03:12 (none) user.warn kernel: Stack : 81e92000 00000000 00000008 00000001 81285408 81285400 81e92000 0000003e
Jan  1 00:03:12 (none) user.warn kernel:         001eba02 00000001 8104a040 81e92000 800bfd50 800bfd34 00000001 00000000
Jan  1 00:03:12 (none) user.warn kernel:         81ea91be 81e92094 00000001 80226874 001eba02 00000001 80320018 80320000
Jan  1 00:03:12 (none) user.warn kernel:         0000003e 81e92000 800c02ec 800c0220 81e92000 8104a040 00000001 80270e74
Jan  1 00:03:12 (none) user.warn kernel:         00000000 81eb9ae8 81eb9ae8 00000001 00000000 c00f4e60 80088c1c 00000000
Jan  1 00:03:12 (none) user.warn kernel:         ...
Jan  1 00:03:12 (none) user.warn kernel: Call Trace: [<800bfd50>]  [<800bfd34>]  [<800c02ec>]  [<800c0220>]  [<80088c1c>]  [<80038cd0>]  [<c010b7f0>]  [<8003423c>]  [<80034314>]  [<800f1074>]  [<8000aa74>]  [<800f1140>]  [<80001e8c>]  [<800f14b4>]  [<80009230>]  [<80124e54>]  [<8012197c>]  [<800cd3dc>]  [<800cd3dc>]  [<80088df4>]  [<800cd4e8>]  [<800c0028>]  [<800f4a20>]  [<800f49a0>]  [<c00f4354>]  [<8016ffb4>]  [<80128bac>]  [<801ea220>]  [<80128c14>]  [<80128040>]  [<800fa724>]  [<80128d04>]  [<801281e8>]  [<80125ea8>]  [<80125ea0>]  [<c0112a90>]  [<c0120000>]  [<c0116590>]  [<c0114440>]  [<8002e56c>]  [<80126090>]  [<800f9bd4>]  [<801eabd4>]  [<c0114a04>]  [<80039c18>]  [<80030000>]  [<801eb950>]  [<8002dff4>]  [<800281f0>]  [<c0115160>]  [<801ec1e0>]  [<801eabd4>]  [<c0115294>]  [<801ec1e0>]  [<80030000>]  [<c0115328>]  [<c0120524>]  [<80028258>]  [<80046904>]  [<80046904>]  [<c0120370>]  [<80046230>]  [<80046218>]  [<8000b1cc>]  [<8000b1bc>]
Jan  1 00:03:12 (none) user.warn kernel:
Jan  1 00:03:12 (none) user.warn kernel: Code: 00000000  03e00008  00e31023 <80820000> 00801821  10400004  00000000  24630001  0803f3eb
Jan  1 00:03:19 (none) user.notice root: waiting for disk...........
Jan  1 00:03:19 (none) user.notice root: /sbin/hotplug: cd: 33: can't cd to /sys/bus/scsi/devices/:0:0:0
Jan  1 00:03:19 (none) user.notice root: /sbin/hotplug: cd: 33: can't cd to block:*
Jan  1 00:03:19 (none) user.notice root: ln: /dev/zero: File exists
Jan  1 00:03:19 (none) user.notice root: ln: /dev/zero: File exists
Jan  1 00:03:19 (none) user.notice root: ln: /dev/zero: File exists
Jan  1 00:03:19 (none) user.notice root: ln: /dev/zero: File exists
Jan  1 00:03:19 (none) user.notice root: ln: /dev/zero: File exists

reboot...

Jan  1 00:00:14 (none) user.info kernel: usb 4-2: new high speed USB device using ehci_hcd and address 2
Jan  1 00:00:14 (none) user.info kernel: usb 4-2: configuration #1 chosen from 1 choice
Jan  1 00:00:14 (none) user.debug kernel: ndevfs: creating file 'usbdev4.2' with major 189 and minor 385
Jan  1 00:00:15 (none) user.info kernel: Initializing USB Mass Storage driver...
Jan  1 00:00:15 (none) user.info kernel: scsi0 : SCSI emulation for USB Mass Storage devices
Jan  1 00:00:15 (none) user.info kernel: usbcore: registered new driver usb-storage
Jan  1 00:00:15 (none) user.info kernel: USB Mass Storage support registered.
Jan  1 00:00:15 (none) user.debug kernel: usb-storage: device found at 2
Jan  1 00:00:15 (none) user.debug kernel: usb-storage: waiting for device to settle before scanning
Jan  1 00:00:17 (none) local0.info udhcpc[286]: No lease, forking to background.
Jan  1 00:00:17 (none) user.info : Warning: wierd character in interface `br-lan' (No aliases, :, ! or *).
Jan  1 00:00:18 (none) cron.notice crond[714]: crond 2.3.2 dillon, started, log level 8
Jan  1 00:00:19 (none) daemon.info dnsmasq[740]: started, version 2.33 cachesize 150
Jan  1 00:00:19 (none) daemon.info dnsmasq[740]: compile time options: IPv6 GNU-getopt ISC-leasefile no-DBus no-I18N
Jan  1 00:00:19 (none) daemon.info dnsmasq[740]: DHCP, IP range 192.168.1.100 -- 192.168.1.149, lease time 12h
Jan  1 00:00:19 (none) daemon.info dnsmasq[740]: using local addresses only for domain lan
Jan  1 00:00:19 (none) daemon.warn dnsmasq[740]: failed to access /tmp/resolv.conf: No such file or directory
Jan  1 00:00:19 (none) daemon.info dnsmasq[740]: read /etc/hosts - 2 addresses
Jan  1 00:00:19 (none) daemon.err dnsmasq[740]: failed to read /etc/ethers:No such file or directory
Jan  1 00:00:20 (none) user.notice kernel:   Vendor: SAMSUNG   Model: MP0402H           Rev: UC10
Jan  1 00:00:20 (none) user.notice kernel:   Type:   Direct-Access                      ANSI SCSI revision: 02
Jan  1 00:00:20 (none) user.notice kernel: SCSI device sda: 78242976 512-byte hdwr sectors (40060 MB)
Jan  1 00:00:20 (none) user.notice kernel: sda: Write Protect is off
Jan  1 00:00:20 (none) user.debug kernel: sda: Mode Sense: 53 00 00 08
Jan  1 00:00:20 (none) user.err kernel: sda: assuming drive cache: write through
Jan  1 00:00:20 (none) user.debug kernel: ndevfs: creating file 'sda' with major 8 and minor 0
Jan  1 00:00:20 (none) user.notice kernel: SCSI device sda: 78242976 512-byte hdwr sectors (40060 MB)
Jan  1 00:00:20 (none) user.notice kernel: sda: Write Protect is off
Jan  1 00:00:20 (none) user.debug kernel: sda: Mode Sense: 53 00 00 08
Jan  1 00:00:20 (none) user.err kernel: sda: assuming drive cache: write through
Jan  1 00:00:20 (none) user.info kernel:  p1 p2
Jan  1 00:00:20 (none) user.debug kernel: ndevfs: creating file '<NULL>' with major 8 and minor 1
Jan  1 00:00:20 (none) user.alert kernel: CPU 0 Unable to handle kernel paging request at virtual address 00000000, epc == 800fcfa4, ra == 800e500c
Jan  1 00:00:20 (none) user.warn kernel: Oops[#1]:
Jan  1 00:00:20 (none) user.warn kernel: Cpu 0
Jan  1 00:00:20 (none) user.warn kernel: $ 0   : 00000000 1000dc00 00000000 1000dc01
Jan  1 00:00:20 (none) user.warn kernel: $ 4   : 00000000 00000000 8026f164 00000000
Jan  1 00:00:20 (none) user.warn kernel: $ 8   : 80220000 000023d6 80260000 80260000
Jan  1 00:00:20 (none) user.warn kernel: $12   : 80260000 fffffffb 0000000a ffffffff
Jan  1 00:00:20 (none) user.warn kernel: $16   : 00000000 81ccf180 00000000 00800001
Jan  1 00:00:20 (none) user.warn kernel: $20   : 00006180 8109a498 80270000 80270000
Jan  1 00:00:20 (none) user.warn kernel: $24   : 00000002 801f0000
Jan  1 00:00:20 (none) user.warn kernel: $28   : 81e8e000 81e8f8f0 8104a04c 800e500c
Jan  1 00:00:20 (none) user.warn kernel: Hi    : 00000000
Jan  1 00:00:20 (none) user.warn kernel: Lo    : 000fb001
Jan  1 00:00:20 (none) user.warn kernel: epc   : 800fcfa4     Not tainted
Jan  1 00:00:20 (none) user.warn kernel: ra    : 800e500c Status: 1000dc03    KERNEL EXL IE
Jan  1 00:00:20 (none) user.warn kernel: Cause : 00000008
Jan  1 00:00:20 (none) user.warn kernel: BadVA : 00000000
Jan  1 00:00:20 (none) user.warn kernel: PrId  : 00029007
Jan  1 00:00:20 (none) user.warn kernel: Modules linked in: usb_storage sd_mod scsi_mod ehci_hcd uhci_hcd ohci_hcd ppp_async ppp_generic slhc crc_ccitt vfat fat ext3 jbd ext2 usbcore switch_robo switch_core nls_base
Jan  1 00:00:20 (none) user.warn kernel: Process usb-stor-scan (pid: 617, threadinfo=81e8e000, task=81e54618)
Jan  1 00:00:20 (none) user.warn kernel: Stack : 8104a04c 00000000 00000008 00000001 81ccf188 81ccf180 81e28400 0000003f
Jan  1 00:00:20 (none) user.warn kernel:         000fb001 00000001 8104a040 81e28400 800bfd50 800bfd34 00000001 00000000
Jan  1 00:00:20 (none) user.warn kernel:         803d31be 81e28494 00000001 80226874 000fb001 00000001 81cfc018 81cfc000
Jan  1 00:00:20 (none) user.warn kernel:         0000003f 81e28400 800c02ec 800c0220 81e28400 8104a040 00000001 80270e74
Jan  1 00:00:20 (none) user.warn kernel:         00000000 81e8fae8 81e8fae8 00000001 00000000 c00f4e60 80088c1c 0000002c
Jan  1 00:00:20 (none) user.warn kernel:         ...
Jan  1 00:00:20 (none) user.warn kernel: Call Trace: [<800bfd50>]  [<800bfd34>]  [<800c02ec>]  [<800c0220>]  [<80088c1c>]  [<c00be464>]  [<c0095d44>]  [<80051370>]  [<800514bc>]  [<80034314>]  [<800f1074>]  [<8000aa6c>]  [<8000aa74>]  [<80001ea4>]  [<80009230>]  [<80124e54>]  [<8012197c>]  [<800cd3dc>]  [<800cd3dc>]  [<80088df4>]  [<800cd4e8>]  [<800c0028>]  [<800f4a20>]  [<800f49a0>]  [<c00f4354>]  [<8016ffb4>]  [<80128bac>]  [<801ea220>]  [<80128c14>]  [<80128040>]  [<800fa724>]  [<80128d04>]  [<801281e8>]  [<80125ea8>]  [<80125ea0>]  [<c0120000>]  [<c01172ec>]  [<c0112a90>]  [<c0120000>]  [<c0116590>]  [<c0114440>]  [<c0113df4>]  [<80126090>]  [<800f9bd4>]  [<801eabd4>]  [<c0114a04>]  [<80039c18>]  [<80030000>]  [<801eb950>]  [<8002dff4>]  [<800281f0>]  [<c0115160>]  [<801ec1e0>]  [<801eabd4>]  [<c0115294>]  [<801ec1e0>]  [<80030000>]  [<c0115328>]  [<c0120524>]  [<80028258>]  [<80046904>]  [<80046904>]  [<c0120370>]  [<80046230>]  [<80046218>]  [<8000b1cc>]  [<8000b1bc>]
Jan  1 00:00:20 (none) user.warn kernel:
Jan  1 00:00:20 (none) user.warn kernel: Code: 00000000  03e00008  00e31023 <80820000> 00801821  10400004  00000000  24630001  0803f3eb

Tests with bcm43xx with hopefully follow...

Update: test with bcm43xx


# cat /proc/version
Linux version 2.6.18 (mmcm@webka) (gcc version 3.4.6 (OpenWrt-2.0)) #2 Tue Nov 21 08:33:03 CET 2006

#lspci -vvv

01:03.0 Network controller: Broadcom Corporation BCM4306 802.11b/g Wireless LAN Controller (rev 03)
        Subsystem: Broadcom Corporation Unknown device 120f
        Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
        Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR-
        Interrupt: pin A routed to IRQ 2
        Region 0: Memory at 40000000 (32-bit, non-prefetchable) [disabled] [size=8K]
        Capabilities: [40] Power Management version 2
                Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=375mA PME(D0+,D1+,D2+,D3hot+,D3cold+)
                Status: D0 PME-Enable- DSel=0 DScale=2 PME-

# insmod .....

# lsmod
Module                  Size  Used by    Not tainted
bcm43xx 422880 0 - Live 0xc016e000
ieee80211softmac 28736 1 bcm43xx, Live 0xc00ff000
ieee80211 26560 2 bcm43xx,ieee80211softmac, Live 0xc0125000
ieee80211_crypt_wep 2624 0 - Live 0xc00f0000
ieee80211_crypt_tkip 8512 0 - Live 0xc00fb000
ieee80211_crypt_ccmp 5312 0 - Live 0xc00eb000
ieee80211_crypt 2624 4 ieee80211,ieee80211_crypt_wep,ieee80211_crypt_tkip,ieee80211_crypt_ccmp, Live 0xc00ee000
usb_storage 27440 1 - Live 0xc011d000
sd_mod 12240 1 - Live 0xc00f2000
scsi_mod 67360 2 usb_storage,sd_mod, Live 0xc010b000
ehci_hcd 27344 0 - Live 0xc00ba000
uhci_hcd 19248 0 - Live 0xc00c3000
ohci_hcd 13648 0 - Live 0xc00a9000
ppp_async 9664 0 - Live 0xc00af000
ppp_generic 20768 1 ppp_async, Live 0xc00b3000
slhc 5664 1 ppp_generic, Live 0xc0072000
crc_ccitt 1024 1 ppp_async, Live 0xc008c000
vfat 8512 0 - Live 0xc005d000
fat 43344 1 vfat, Live 0xc0080000
ext3 101040 0 - Live 0xc00d1000
jbd 54864 1 ext3, Live 0xc0063000
ext2 40400 0 - Live 0xc0075000
usbcore 103152 5 usb_storage,ehci_hcd,uhci_hcd,ohci_hcd, Live 0xc008e000
switch_robo 4048 0 - Live 0xc0061000
switch_core 5120 1 switch_robo, Live 0xc0057000
nls_base 4640 2 vfat,fat, Live 0xc005a000

lspci -vvv
01:03.0 Network controller: Broadcom Corporation BCM4306 802.11b/g Wireless LAN Controller (rev 03)
        Subsystem: Broadcom Corporation Unknown device 120f
        Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
        Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR-
        Latency: 64
        Interrupt: pin A routed to IRQ 2
        Region 0: Memory at 40002000 (32-bit, non-prefetchable) [size=8K]
        Capabilities: [40] Power Management version 2
                Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=375mA PME(D0+,D1+,D2+,D3hot+,D3cold+)
                Status: D0 PME-Enable- DSel=0 DScale=2 PME-

#iwconfig
eth1      IEEE 802.11b/g  ESSID:off/any  Nickname:"Broadcom 4306"
          Mode:Managed  Access Point: Invalid
          RTS thr:off   Fragment thr:off
          Encryption key:off
          Link Quality:0  Signal level:0  Noise level:0
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0

8# cat /proc/interrupts
           CPU0
  2:      51196            MIPS  uhci_hcd:usb2, uhci_hcd:usb3, ehci_hcd:usb4
  3:         11            MIPS  serial
  4:       2985            MIPS  eth0
  6:          0            MIPS  ohci_hcd:usb1
  7:     202179            MIPS  timer

ERR:          0

# ifconfig eth1 up
Segmentation fault

Since I don't have a serial console cable attached yet, no more kernel ouput available.

Compared to mangoos output at http://forum.openwrt.org/viewtopic.php?id=7842

01:03.0 Network controller: Broadcom Corporation BCM4306 802.11b/g Wireless LAN Controller (rev 03)
        Subsystem: Broadcom Corporation Unknown device 120f
        Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
        Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR-
        Latency: 64
        Interrupt: pin A routed to IRQ 2
        Region 0: Memory at 40002000 (32-bit, non-prefetchable) [size=8K]
        Capabilities: [40] Power Management version 2
                Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=375mA PME(D0+,D1+,D2+,D3hot+,D3cold+)
                Status: D0 PME-Enable- DSel=0 DScale=2 PME-

# cat /proc/interrupts
           CPU0
  2:   92317031            MIPS  ehci_hcd:usb1, uhci_hcd:usb2, uhci_hcd:usb3
  3:        233            MIPS  serial
  4:    1135128            MIPS  eth0
  6:          0            MIPS  ohci_hcd:usb4
  7:   57251982            MIPS  timer

I think I will give up trying a 2.6 kernel on the WL-500gx and switch to a 2.4 kernel with the broadcom binaries :-(

It's a environmental issue de facto:
We have a wireless community - home brew one...
They (bad guys) have a wireless community - a expensive one...
1. They install 1 to 4 W amplifiers (no laws here yet ...) so we can't make full troughput.
2. As our community shrinks in members and bandwith they come to our channel and we are about to die (community)
Then we run some counter measures:
( we don't believe in power amp. in wifi )
We'd run aireplay -0 on a ath0 card against their AP on our channel (only on our channel). This channel we used for more than two years without pesting anyone (the 1st ch.)...
This cleared things temporary but they buyng bigger antennas and we have no PC that we could let run 24/7 for that purpose...
Now, I came to an idea: :-)
If I could use one spare router (wrt54gl) and make him aireplay...
I did install openWRT and aircrack_ng, but: airodump works with prism0 but aireplay won't

Around the net there are some patches, the newer kernel (2.6.18) looks promissing about broadcom also...

The Question:
should I patch the 2.6.17 in the trunk (from svn) with stuff required for broadcom to accept injection
or
how do I upgrade the trunk to 2.6.18.2 (or newer) kernel?

Thank You for OpenWRT - its powerfull software.

Yes I am also interesed in the same answer! aireplay seems does not work....can latest kernel fix this?

Well, the prism and atheros are working, kismet does circumvent acx too with a virtual interface...
broadcom on the other hand is supported only with OEM binary package for the 2.4 kernel series...
there is alot work to du and hacking too...

The discussion might have continued from here.