2.6.17-mm3: segvs in modpost with out-of-tree modules

From: Jeremy Fitzhardinge
Date: Wed Jun 28 2006 - 12:49:42 EST


I'm seeing SIGSEGVs in modpost when compiling the out-of-tree madwifi driver:

/bin/sh: line 1: 3701 Segmentation fault scripts/mod/modpost -m -a
-i /home/jeremy/hg/linux-2.6/Module.symvers -I
/home/jeremy/svn/madwifi-ng/Modules.symvers -o
/home/jeremy/svn/madwifi-ng/Modules.symvers vmlinux
/home/jeremy/svn/madw ifi-ng/ath/ath_hal.o
/home/jeremy/svn/madwifi-ng/ath/ath_pci.o /home/jeremy/svn/
madwifi-ng/ath_rate/sample/ath_rate_sample.o
/home/jeremy/svn/madwifi-ng/net8021 1/wlan.o
/home/jeremy/svn/madwifi-ng/net80211/wlan_acl.o
/home/jeremy/svn/madwif i-ng/net80211/wlan_ccmp.o
/home/jeremy/svn/madwifi-ng/net80211/wlan_scan_ap.o
/home/jeremy/svn/madwifi-ng/net80211/wlan_scan_sta.o
/home/jeremy/svn/madwifi-ng/n et80211/wlan_tkip.o
/home/jeremy/svn/madwifi-ng/net80211/wlan_wep.o /home/jeremy
/svn/madwifi-ng/net80211/wlan_xauth.o

The backtrace is:

#0 0x4e8017da in strcmp () from /lib/libc.so.6
#1 0x080491a7 in export_no (s=0x0) at modpost.c:209
#2 0x0804b5c3 in read_dump (
fname=0xbff5fa9d "/home/jeremy/svn/madwifi-ng/Modules.symvers", kernel=0)
at modpost.c:1312
#3 0x0804b88b in main (argc=21, argv=0xbff5def4) at modpost.c:1390

I haven't really looked at yet, but I was hoping someone had already tracked it down.

J
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/