[Click] Click unpatched problems

Lars Bro lbro at pulz8.com
Wed Mar 24 18:23:59 EDT 2010


Hi, List

I have a few problems running Click on an unpatched kernel. (the latest from
git today)

1) Broadcom devices (bnx) dont seem to work. A simple script (bnx.click)
generates an error in the kernel. I attach the error and dmesg.

2) It seems that sometimes, click-install hangs the system. This has nothing
to do with redirecting stderr as I have reported before, but since the
system hangs completely, I cannot tell what goes on. I attach the click file
(for what it is worth, I guess that it is fairly uninteresting) but a small
two-lines script will not provoke the error. I use igb devices, and the
router does its job correctly when the system is not hung. I do not use
bridging. I enclose "ip link show" and "lsmod" output. The router runs OK in
user mode (ToHost exchanged with Socket). Sometimes, I can do click-install
and click-uninstall one to two times before it happens, other times, it
hangs first tim I install the router. It does not seem to help setting all
devices down, then up, and it does not seem to help loading another click
configuration inbetween.

Thanks a lot.
-------------- next part --------------
Module                  Size  Used by
nls_utf8                1536  1 
nls_cp437               5336  1 
vfat                    9072  1 
fat                    43784  1 vfat
usb_storage            49008  1 
ppdev                   5816  0 
parport_pc             22620  0 
lp                      8064  0 
parport                31280  3 ppdev,parport_pc,lp
ipv6                  223272  32 
powernow_k8            11920  0 
cpufreq_conservative     6444  0 
cpufreq_stats           3684  0 
cpufreq_userspace       2692  0 
cpufreq_powersave       1308  0 
cpufreq_ondemand        6260  8 
freq_table              4052  3 powernow_k8,cpufreq_stats,cpufreq_ondemand
loop                   13512  0 
dcdbas                  6684  0 
psmouse                38044  0 
pcspkr                  2204  0 
serio_raw               4772  0 
evdev                   8308  2 
button                  5148  0 
shpchp                 27160  0 
processor              34804  1 powernow_k8
pci_hotplug            24444  1 shpchp
i2c_nforce2             6180  0 
i2c_core               20104  1 i2c_nforce2
ext3                  107544  1 
jbd                    41584  1 ext3
mbcache                 7008  1 ext3
sd_mod                 24948  4 
usbhid                 32948  0 
hid                    57496  1 usbhid
sg                     25040  0 
sr_mod                 13392  0 
cdrom                  30332  1 sr_mod
sata_nv                19924  0 
igb                    74560  0 
ata_generic             4364  0 
dca                     5820  1 igb
libata                152256  2 sata_nv,ata_generic
ide_pci_generic         3652  0 
e1000e                105968  0 
ide_core               89120  1 ide_pci_generic
mptsas                 34652  2 
mptscsih               21332  1 mptsas
bnx2                   57732  0 
mptbase                58472  2 mptsas,mptscsih
scsi_transport_sas     24488  1 mptsas
ohci_hcd               20000  0 
ehci_hcd               31008  0 
scsi_mod              137096  8 usb_storage,sd_mod,sg,sr_mod,libata,mptsas,mptscsih,scsi_transport_sas
usbcore               128200  5 usb_storage,usbhid,ohci_hcd,ehci_hcd
nls_base                6784  5 nls_utf8,nls_cp437,vfat,fat,usbcore
thermal                12692  0 
fan                     4064  0 
thermal_sys            12280  3 processor,thermal,fan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bnx.click
Type: application/octet-stream
Size: 103 bytes
Desc: not available
Url : http://amsterdam.lcs.mit.edu/pipermail/click/attachments/20100324/f6a86110/attachment-0003.obj 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: error_and_dmesg
Type: application/octet-stream
Size: 81560 bytes
Desc: not available
Url : http://amsterdam.lcs.mit.edu/pipermail/click/attachments/20100324/f6a86110/attachment-0004.obj 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: user_router_sample.ck
Type: application/octet-stream
Size: 21513 bytes
Desc: not available
Url : http://amsterdam.lcs.mit.edu/pipermail/click/attachments/20100324/f6a86110/attachment-0005.obj 
-------------- next part --------------
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN 
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: bnx2_0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen 1000
    link/ether 00:22:19:d2:34:f3 brd ff:ff:ff:ff:ff:ff
3: bnx2_1: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen 1000
    link/ether 00:22:19:d2:34:f5 brd ff:ff:ff:ff:ff:ff
4: bnx2_2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000
    link/ether 00:22:19:d2:3e:0a brd ff:ff:ff:ff:ff:ff
5: bnx2_3: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000
    link/ether 00:22:19:d2:3e:0c brd ff:ff:ff:ff:ff:ff
6: e1000e_0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 100
    link/ether 00:15:17:97:e9:ab brd ff:ff:ff:ff:ff:ff
7: igb_0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 100
    link/ether 00:1b:21:58:88:28 brd ff:ff:ff:ff:ff:ff
8: e1000e_1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 10
    link/ether 00:15:17:97:ea:7a brd ff:ff:ff:ff:ff:ff
9: igb_1: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast state DOWN qlen 1000
    link/ether 00:1b:21:58:88:29 brd ff:ff:ff:ff:ff:ff
10: igb_2: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen 1000
    link/ether 00:1b:21:58:88:2c brd ff:ff:ff:ff:ff:ff
11: igb_3: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen 1000
    link/ether 00:1b:21:58:88:2d brd ff:ff:ff:ff:ff:ff
12: igb_4: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 100
    link/ether 00:1b:21:58:88:90 brd ff:ff:ff:ff:ff:ff
13: igb_5: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen 1000
    link/ether 00:1b:21:58:88:91 brd ff:ff:ff:ff:ff:ff
14: igb_6: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 100
    link/ether 00:1b:21:58:88:94 brd ff:ff:ff:ff:ff:ff
15: igb_7: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 100
    link/ether 00:1b:21:58:88:95 brd ff:ff:ff:ff:ff:ff


More information about the click mailing list