Compact Flash - howto?

HI all,

I have a board running 17.01.4 with a Compact Flash card slot. It appears this slot is only for expanding space, it doesn't appear capable of directly booting the board. I added an ath5k miniPCI card and those drivers appeared included in the firmware already (if this information about the PCI bus helps).

Can someone point me to the URL that shows what drivers, LuCI apps, file system drivers, etc. to install?

(I must use the board, as I have no other CF slot).

What model? It seems rather old if it has parallel mini-PCI and ath5k wifi.

How is the CF slot attached to the CPU? A USB to CF bridge chip, or a direct connection? The USB to CF bridge chips work like regular USB storage.

My apologies...yes about 6-7 years...the old OpenWRT would crash until NAPI was added into the Kernel:

https://openwrt.org/toh/zinwell/zw4400

I guess I'd might find that in the specifications for the target: the Intel IXP425?

CF looks a lot like an ATA disk. Do you just need to read/write CF, or use it on this specific board?

I did a quick look for information on the reference design for the IXP425 and found a few links that may be of interest. I didn't see CF or ATA referred to on them, but my coffee hasn't kicked in yet.

https://www.kernel.org/doc/Documentation/arm/IXP4xx

Many good links, though potentially dated. Some concern with

The following components of the chips are not supported by Linux and
require the use of Intel's proprietary CSR software:

  • USB device interface
  • Network interfaces (HSS, Utopia, NPEs, etc)
  • Network offload functionality

http://www.bdtic.com/datasheet/Intel/IXP425.pdf

Perhaps I should show you this:

[ 10.954489] NPE-B: firmware's license can be found in /usr/share/doc/LICENSE.IPL

There is:

INTEL(R) SOFTWARE LICENSE AGREEMENT

So...?

Coffee...? I'm buying (metaphorically speaking),

The notes on "in-tree" support were just something that caught my eye as I quickly scanned for ATA or CF support, or to see if there was a CPU-to-ATA bridge.

has me wondering if there might be a simpler solution to achieve your goals. Since those goals aren't clear to me, I was thinking that a CF-to-USB "dongle" might work for you.

To complete what task? I eventually desire to put the CF card in the device as storage.

So, simply buying a device to partition th CF card will not help. The board doesn't have USB.

Would it be at a /dev location???

dmesg or logread output covering boot would help

root@LEDE:~# dmesg
[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.4.92 (buildbot@debian8) (gcc version 5.4.0 (LEDE GCC 5.4.0 r3560-79f57e422d) ) #0 Tue Oct 17 17:46:20 2017
[    0.000000] CPU: XScale-IXP42x Family [690541c2] revision 2 (ARMv5TE), cr=000039ff
[    0.000000] CPU: VIVT data cache, VIVT instruction cache
[    0.000000] Machine: Titan Wireless TW-533-4
[    0.000000] Memory policy: Data cache writeback
[    0.000000] On node 0 totalpages: 16384
[    0.000000] free_area_init_node: node 0, pgdat c03302dc, node_mem_map c3f79000
[    0.000000]   DMA zone: 128 pages used for memmap
[    0.000000]   DMA zone: 0 pages reserved
[    0.000000]   DMA zone: 16384 pages, LIFO batch:3
[    0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[    0.000000] pcpu-alloc: [0] 0 
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 16256
[    0.000000] Kernel command line: zImage
[    0.000000] PID hash table entries: 256 (order: -2, 1024 bytes)
[    0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
[    0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Memory: 61340K/65536K available (2691K kernel code, 140K rwdata, 364K rodata, 152K init, 189K bss, 4196K reserved, 0K cma-reserved)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
[    0.000000]     vmalloc : 0xc4800000 - 0xff800000   ( 944 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xc4000000   (  64 MB)
[    0.000000]     modules : 0xbf000000 - 0xc0000000   (  16 MB)
[    0.000000]       .text : 0xc0008000 - 0xc0303df4   (3056 kB)
[    0.000000]       .init : 0xc0304000 - 0xc032a000   ( 152 kB)
[    0.000000]       .data : 0xc032a000 - 0xc034d180   ( 141 kB)
[    0.000000]        .bss : 0xc034d180 - 0xc037c734   ( 190 kB)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] NR_IRQS:64
[    0.000021] sched_clock: 32 bits at 66MHz, resolution 15ns, wraps every 32212576760ns
[    0.000077] clocksource: OSTS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 28669193401 ns
[    0.000178] Calibrating delay loop... 531.66 BogoMIPS (lpj=2658304)
[    0.050188] pid_max: default: 32768 minimum: 301
[    0.050447] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.050477] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.051800] CPU: Testing write buffer coherency: ok
[    0.052654] Setting up static identity map for 0x81e0 - 0x8230
[    0.054999] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.055057] futex hash table entries: 256 (order: -1, 3072 bytes)
[    0.056445] NET: Registered protocol family 16
[    0.058013] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.059394] IXP4xx: Using 16MiB expansion bus window size
[    0.060591] TW-533-4: Using MAC address 00:05:9e:xx:xx:x1 for port 0
[    0.060631] TW-533-4: Using MAC address 00:05:9e:xx:xx:x2 for port 1
[    0.060895] PCI: IXP4xx is host
[    0.060919] PCI: IXP4xx Using direct access for memory space
[    0.061157] PCI host bridge to bus 0000:00
[    0.061204] pci_bus 0000:00: root bus resource [io  0x0000-0xffff]
[    0.061233] pci_bus 0000:00: root bus resource [mem 0x48000000-0x4bffffff]
[    0.061259] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
[    0.061368] pci 0000:00:0f.0: [168c:0013] type 00 class 0x020000
[    0.061442] pci 0000:00:0f.0: reg 0x10: [mem 0x00000000-0x0000ffff]
[    0.061985] PCI: bus0: Fast back to back transfers enabled
[    0.062034] pci_bus 0000:00: busn_res: [bus 00-ff] end is updated to 00
[    0.062108] pci 0000:00:0f.0: BAR 0: assigned [mem 0x48000000-0x4800ffff]
[    0.083760] clocksource: Switched to clocksource OSTS
[    0.085684] NET: Registered protocol family 2
[    0.087302] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[    0.087364] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[    0.087402] TCP: Hash tables configured (established 1024 bind 1024)
[    0.087649] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.087688] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.088109] NET: Registered protocol family 1
[    0.088229] PCI: CLS 32 bytes, default 32
[    0.095248] IXP4xx Queue Manager initialized.
[    0.097485] Crashlog allocated RAM at address 0x3f00000
[    0.134554] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.134590] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.139932] io scheduler noop registered
[    0.139969] io scheduler deadline registered (default)
[    0.211300] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[    0.217644] console [ttyS0] disabled
[    0.217769] serial8250.0: ttyS0 at MMIO 0xc8001000 (irq = 13, base_baud = 921600) is a XScale
[    4.920614] console [ttyS0] enabled
[    4.964720] IXP4XX-Flash.0: Found 1 x16 devices at 0x0 in 16-bit bank. Manufacturer ID 0x000089 Chip ID 0x000018
[    5.084237] Intel/Sharp Extended Query Table at 0x0031
[    5.145564] Intel/Sharp Extended Query Table at 0x0031
[    5.207015] Using buffer write method
[    5.250703] cfi_cmdset_0001: Erase suspend on write enabled
[    5.317362] erase region 0: offset=0x0,size=0x20000,blocks=128
[    5.319273] Searching for RedBoot partition table in IXP4XX-Flash.0 at offset 0xfe0000
[    5.527055] 5 RedBoot partitions found on MTD device IXP4XX-Flash.0
[    5.580083] Creating 5 MTD partitions on "IXP4XX-Flash.0":
[    5.645644] 0x000000000000-0x000000040000 : "RedBoot"
[    5.708945] 0x000000040000-0x000000240000 : "zImage"
[    5.768814] 0x000000280000-0x000000fc0000 : "rootfs"
[    5.828113] mtd: device 2 (rootfs) set to be root filesystem
[    5.892595] 1 squashfs-split partitions found on MTD device rootfs
[    5.966385] 0x000000480000-0x000000fc0000 : "rootfs_data"
[    6.034443] 0x000000fc0000-0x000000fc1000 : "RedBoot config"
[    6.102088] 0x000000fe0000-0x000001000000 : "FIS directory"
[    6.177157] libphy: IXP4xx MII Bus: probed
[    6.216177] eth0: MII PHY 0 on NPE-B
[    6.258871] eth1: MII PHY 1 on NPE-C
[    6.300393] i2c /dev entries driver
[    6.341918] ixp4xx_wdt: timer heartbeat 60 sec
[    6.397056] NET: Registered protocol family 10
[    6.456874] NET: Registered protocol family 17
[    6.500866] bridge: automatic filtering via arp/ip/ip6tables has been deprecated. Update your scripts to load br_netfilter if you need this.
[    6.651671] 8021q: 802.1Q VLAN Support v1.8
[    6.701735] XScale DSP coprocessor detected.
[    6.755419] hctosys: unable to open rtc device (rtc0)
[    6.824651] VFS: Mounted root (squashfs filesystem) readonly on device 31:2.
[    6.887751] Freeing unused kernel memory: 152K
[    8.420370] init: Console is alive
[    8.439421] init: - watchdog -
[    9.556755] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[    9.617222] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[    9.713240] init: - preinit -
[   10.632831] random: jshn: uninitialized urandom read (4 bytes read, 10 bits of entropy available)
[   10.757469] random: jshn: uninitialized urandom read (4 bytes read, 10 bits of entropy available)
[   10.954489] NPE-B: firmware's license can be found in /usr/share/doc/LICENSE.IPL
[   11.020969] NPE-B: firmware functionality 0x2, revision 0x2:1
[   50.962651] jffs2: notice: (851) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
[   51.127156] mount_root: switching to jffs2 overlay
[   51.196509] urandom-seed: Seeding with /etc/urandom.seed
[   51.353520] procd: - early -
[   51.367133] procd: - watchdog -
[   52.972359] procd: - watchdog -
[   52.988366] procd: - ubus -
[   53.095127] random: ubusd: uninitialized urandom read (4 bytes read, 76 bits of entropy available)
[   53.182737] random: ubusd: uninitialized urandom read (4 bytes read, 76 bits of entropy available)
[   53.288647] random: ubusd: uninitialized urandom read (4 bytes read, 76 bits of entropy available)
[   53.395068] random: ubusd: uninitialized urandom read (4 bytes read, 76 bits of entropy available)
[   53.503466] random: ubusd: uninitialized urandom read (4 bytes read, 76 bits of entropy available)
[   53.609597] random: ubusd: uninitialized urandom read (4 bytes read, 76 bits of entropy available)
[   53.717677] random: ubusd: uninitialized urandom read (4 bytes read, 76 bits of entropy available)
[   53.824965] random: ubusd: uninitialized urandom read (4 bytes read, 76 bits of entropy available)
[   53.932749] procd: - init -
[   54.494430] kmodloader: loading kernel modules from /etc/modules.d/*
[   54.555388] ip6_tables: (C) 2000-2006 Netfilter Core Team
[   54.633109] Loading modules backported from Linux version wt-2017-01-31-0-ge882dff19e7f
[   54.708794] Backport generated by backports.git backports-20160324-13-g24da7d3c
[   54.809396] ip_tables: (C) 2000-2006 Netfilter Core Team
[   54.873175] nf_conntrack version 0.5.0 (960 buckets, 3840 max)
[   54.992247] xt_time: kernel timezone is -0000
[   55.111014] PPP generic driver version 2.4.2
[   55.144360] NET: Registered protocol family 24
[   55.213225] ath5k 0000:00:0f.0: enabling device (0340 -> 0342)
[   55.263406] ath5k 0000:00:0f.0: registered as 'phy0'
[   55.444715] random: nonblocking pool is initialized
[   55.820455] ath: EEPROM regdomain: 0x0
[   55.820490] ath: EEPROM indicates default country code should be used
[   55.820503] ath: doing EEPROM country->regdmn map search
[   55.820527] ath: country maps to regdmn code: 0x3a
[   55.820543] ath: Country alpha2 being used: US
[   55.820556] ath: Regpair used: 0x3a
[   55.821700] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[   55.825224] ath5k: phy0: Atheros AR5213A chip found (MAC: 0xYY, PHY: 0x43)
[   55.885497] ath5k: phy0: RF2112B 2GHz radio found (0x46)
[   56.106952] kmodloader: done loading kernel modules from /etc/modules.d/*
[   65.996051] device eth0 entered promiscuous mode
[   66.125195] IPv6: ADDRCONF(NETDEV_UP): br-lan: link is not ready
[   66.573950] NPE-C: firmware's license can be found in /usr/share/doc/LICENSE.IPL
[   66.640432] NPE-C: firmware functionality 0x5, revision 0x2:1
[   66.965977] device eth1 entered promiscuous mode
[   66.999382] br-lan: port 2(eth1) entered forwarding state
[   67.063846] br-lan: port 2(eth1) entered forwarding state
[   67.130529] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
[   67.496307] IPv6: ADDRCONF(NETDEV_UP): eth0.5: link is not ready
[   68.124674] br-lan: port 2(eth1) entered disabled state
[   83.736789] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[   83.941058] device wlan0 entered promiscuous mode
[   85.583287] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[   85.637822] br-lan: port 3(wlan0) entered forwarding state
[   85.703106] br-lan: port 3(wlan0) entered forwarding state
[   87.693767] br-lan: port 3(wlan0) entered forwarding state
[  295.114010] eth0: link up, speed 100 Mb/s, full duplex
[  295.154505] eth1: link up, speed 100 Mb/s, full duplex
[  295.216264] br-lan: port 1(eth0) entered forwarding state
[  295.279615] br-lan: port 1(eth0) entered forwarding state
[  295.344935] br-lan: port 2(eth1) entered forwarding state
[  295.408713] br-lan: port 2(eth1) entered forwarding state
[  295.479873] IPv6: ADDRCONF(NETDEV_CHANGE): eth0.5: link becomes ready
[  297.273773] br-lan: port 1(eth0) entered forwarding state
[  297.403767] br-lan: port 2(eth1) entered forwarding state
[  779.808133] device eth0 left promiscuous mode
[  779.838424] br-lan: port 1(eth0) entered disabled state
[  785.204072] eth0: link down
[  785.284115] eth1: link down
[  786.234377] br-lan: port 2(eth1) entered disabled state
[  870.214009] eth0: link up, speed 100 Mb/s, full duplex
[  870.294132] eth1: link up, speed 100 Mb/s, full duplex
[  870.414042] br-lan: port 2(eth1) entered forwarding state
[  870.456755] br-lan: port 2(eth1) entered forwarding state
[  872.453829] br-lan: port 2(eth1) entered forwarding state

(I've only flipped eth0 and eth1 because of PoE - I wanted WAN always connected)

OK, I'm not seeing any hint of ATA support there picking up the CF.
http://www.ecoscentric.com/ecospro/doc/html/ref/arm-ixp4xx-cf-ide.html

Might consider looking at https://openwrt.org/packages/pkgdata/kmod-ata-ixp4xx-cf

1 Like
root@LEDE:~# opkg install kmod-ata-ixp4xx-cf
Installing kmod-ata-ixp4xx-cf (4.4.92-1) to root...
Downloading http://downloads.lede-project.org/releases/17.01.4/targets/ixp4xx/generic/packages/kmod-ata-ixp4xx-cf_4.4.92-1_armeb_xscale.ipk
Installing kmod-scsi-core (4.4.92-1) to root...
Downloading http://downloads.lede-project.org/releases/17.01.4/targets/ixp4xx/generic/packages/kmod-scsi-core_4.4.92-1_armeb_xscale.ipk
Installing kmod-ata-core (4.4.92-1) to root...
Downloading http://downloads.lede-project.org/releases/17.01.4/targets/ixp4xx/generic/packages/kmod-ata-core_4.4.92-1_armeb_xscale.ipk
Configuring kmod-scsi-core.
Configuring kmod-ata-core.
Configuring kmod-ata-ixp4xx-cf.

This is the log:

Sat Mar 17 17:08:22 2018 kern.notice kernel: [19721.444126] SCSI subsystem initialized
Sat Mar 17 17:08:23 2018 kern.warn kernel: [19721.736600] pata_ixp4xx_cf: Unknown symbol ata_scsi_ioctl (err 0)
Sat Mar 17 17:08:23 2018 kern.warn kernel: [19721.787761] pata_ixp4xx_cf: Unknown symbol ata_std_bios_param (err 0)
Sat Mar 17 17:08:23 2018 kern.warn kernel: [19721.864713] pata_ixp4xx_cf: Unknown symbol ata_common_sdev_attrs (err 0)
Sat Mar 17 17:08:23 2018 kern.warn kernel: [19721.944794] pata_ixp4xx_cf: Unknown symbol ata_print_version (err 0)
Sat Mar 17 17:08:23 2018 kern.warn kernel: [19722.020837] pata_ixp4xx_cf: Unknown symbol ata_host_activate (err 0)
Sat Mar 17 17:08:23 2018 kern.warn kernel: [19722.096813] pata_ixp4xx_cf: Unknown symbol ata_cable_40wire (err 0)
Sat Mar 17 17:08:23 2018 kern.warn kernel: [19722.171839] pata_ixp4xx_cf: Unknown symbol ata_dev_printk (err 0)
Sat Mar 17 17:08:23 2018 kern.warn kernel: [19722.244724] pata_ixp4xx_cf: Unknown symbol ata_sff_std_ports (err 0)
Sat Mar 17 17:08:23 2018 kern.warn kernel: [19722.320697] pata_ixp4xx_cf: Unknown symbol ata_scsi_slave_config (err 0)
Sat Mar 17 17:08:23 2018 kern.warn kernel: [19722.400918] pata_ixp4xx_cf: Unknown symbol ata_dev_next (err 0)
Sat Mar 17 17:08:23 2018 kern.warn kernel: [19722.471764] pata_ixp4xx_cf: Unknown symbol ata_port_desc (err 0)
Sat Mar 17 17:08:23 2018 kern.warn kernel: [19722.543600] pata_ixp4xx_cf: Unknown symbol ata_sff_port_ops (err 0)
Sat Mar 17 17:08:23 2018 kern.warn kernel: [19722.618555] pata_ixp4xx_cf: Unknown symbol ata_scsi_queuecmd (err 0)
Sat Mar 17 17:08:23 2018 kern.warn kernel: [19722.694635] pata_ixp4xx_cf: Unknown symbol ata_scsi_slave_destroy (err 0)
Sat Mar 17 17:08:23 2018 kern.warn kernel: [19722.775849] pata_ixp4xx_cf: Unknown symbol ata_platform_remove_one (err 0)
Sat Mar 17 17:08:23 2018 kern.warn kernel: [19722.858117] pata_ixp4xx_cf: Unknown symbol ata_scsi_unlock_native_capacity (err 0)
Sat Mar 17 17:08:23 2018 kern.warn kernel: [19722.948708] pata_ixp4xx_cf: Unknown symbol ata_sff_interrupt (err 0)
Sat Mar 17 17:08:23 2018 kern.warn kernel: [19723.024695] pata_ixp4xx_cf: Unknown symbol ata_host_alloc (err 0)

OK! ...so...? /dev????

Suggests that there are still missing kernel modules -- that is usually a sign that a function call can't be found by the kernel. Given the age and "popularity" of the board, it wouldn't surprise me if the dependencies haven't been updated.

Edit: https://openwrt.org/packages/pkgdata/kmod-ata-core ??

It says:

root@LEDE:~# opkg install kmod-ata-core
Package kmod-ata-core (4.4.92-1) installed in root is up to date.

hummm...

./build_dir/target-mips_24kc_musl/linux-ar71xx_generic/linux-4.9.86/drivers/ata/libata-scsi.c:int ata_scsi_ioctl(struct scsi_device *scsidev, int cmd, void __user *arg)

(at least in my build) -- I don't know how the kernel tree gets split into OpenWRT kmod-* packages

https://openwrt.org/toh/zinwell/zw4400 appears to be completely orphaned from the ToH -- might want to update the info on it and/or get someone to link it in.

I planned to...it was never on the old or new ToH link, yet had a device page.

Are you saying...between: drivers and modules...

There's still something missing???

"Unknown symbol" tells me that the CF kernel module is expecting some other kernel module to provide those functions. So, yes, my guess is that you're still missing one or more kernel modules.

1 Like

Thanks. I'll look over the developer guide.

So I installed other IXP425 kmods to see if they were "complete" in their dependencies:

After installing kmod-ixp4xx-beeper:

Sat Mar 17 23:00:32 2018 kern.warn kernel: [40849.304822] ixp4xx_beeper: Unknown symbol input_allocate_device (err 0)
Sat Mar 17 23:00:32 2018 kern.warn kernel: [40849.362475] ixp4xx_beeper: Unknown symbol input_unregister_device (err 0)
Sat Mar 17 23:00:32 2018 kern.warn kernel: [40849.443384] ixp4xx_beeper: Unknown symbol input_free_device (err 0)
Sat Mar 17 23:00:32 2018 kern.warn kernel: [40849.518255] ixp4xx_beeper: Unknown symbol input_register_device (err 0)

So...

  • I rebooted the device
  • Removed the module
  • I reinstalled kmod-ata-ixp4xx-cf

Sun Mar 18 04:45:45 2018 daemon.err insmod: module is already loaded - pata_ixp4xx_cf

So...the card should be at /dev/sdX, correct?

It appears that it was kmod-ata-core had not loaded. When rebooting and doing lsmod, I see this:

root@LEDE:~# lsmod 
aead                    2784  2 ixp4xx_crypto,authenc
ath                    15648  1 ath5k
ath5k                 169704  0 
authenc                 2848  1 ixp4xx_crypto
cfg80211              212896  3 ath5k,ath,mac80211
compat                  8712  3 ath5k,mac80211,cfg80211
crc_ccitt                960  1 ppp_async
crc16                    960  0 
crc32c_generic           992  0 
crypto_hash             8224  3 authenc,crypto_null,crc32c_generic
crypto_null             1992  2 authenc,aead
cryptomgr               1664  0 
des_generic            16224  1 ixp4xx_crypto
input_core             20900  1 ixp4xx_beeper
ip_tables               8676  3 iptable_nat,iptable_mangle,iptable_filter
ip6_tables              8472  2 ip6table_mangle,ip6table_filter
ip6t_REJECT              832  2 
ip6table_filter          576  1 
ip6table_mangle          896  1 
ipt_MASQUERADE           608  1 
ipt_REJECT               800  2 
iptable_filter           640  1 
iptable_mangle           768  1 
iptable_nat              768  1 
ixp4xx_beeper           1216  0 
ixp4xx_crypto          11088  0 
**libata                113360  1 pata_ixp4xx_cf**
mac80211              366132  1 ath5k
nf_conntrack           47884  9 nf_nat_ipv4,nf_conntrack_ipv6,nf_conntrack_ipv4,xt_state,xt_conntrack,xt_CT,nf_nat_masquerade_ipv4,nf_nat,nf_conntrack_rtcache
nf_conntrack_ipv4       5152 11 
nf_conntrack_ipv6       5504  6 
nf_conntrack_rtcache    2144  0 
nf_defrag_ipv4           832  1 nf_conntrack_ipv4
nf_defrag_ipv6          8752  1 nf_conntrack_ipv6
nf_log_common           2080  2 nf_log_ipv4,nf_log_ipv6
nf_log_ipv4             2848  0 
nf_log_ipv6             3072  0 
nf_nat                  8708  4 nf_nat_ipv4,xt_nat,nf_nat_redirect,nf_nat_masquerade_ipv4
nf_nat_ipv4             3330  1 iptable_nat
nf_nat_masquerade_ipv4    1220  1 ipt_MASQUERADE
nf_nat_redirect          832  1 xt_REDIRECT
nf_reject_ipv4          1696  1 ipt_REJECT
nf_reject_ipv6          2016  1 ip6t_REJECT
**pata_ixp4xx_cf          2497  0** 
ppp_async               5952  0 
ppp_generic            19308  3 pppoe,ppp_async,pppox
pppoe                   7296  0 
pppox                   1072  1 pppoe
scsi_mod               77952  2 libata,sd_mod
sd_mod                 21764  0 
slhc                    3680  1 ppp_generic
x_tables                8996 23 ipt_REJECT,ipt_MASQUERADE,xt_time,xt_tcpudp,xt_state,xt_nat,xt_multiport,xt_mark,xt_mac,xt_limit,xt_conntrack,xt_comment,xt_TCPMSS,xt_REDIRECT,xt_LOG,xt_CT,iptable_mangle,iptable_filter,ip_tables,ip6t_REJECT,ip6table_mangle,ip6table_filter,ip6_tables
xt_CT                   2400  0 
xt_LOG                   736  0 
xt_REDIRECT              672  0 
xt_TCPMSS               2464  2 
xt_comment               448129 
xt_conntrack            2176 16 
xt_limit                 960 20 
xt_mac                   608  0 
xt_mark                  640  0 
xt_multiport            1152  0 
xt_nat                  1152  0 
xt_state                 672  0 
xt_tcpudp               1632 10 
xt_time                 1568  0