spring
Group: Members
Posts: 15
Joined: Dec. 2004 |
|
Posted: July 17 2005,10:53 |
|
thank you tempestuous,that's a good way to make .dsl, but the ipw2200.dsl failed in modprobe.
i've made a ipw2200.dsl like this way: 1,cp ipw2200.o and other five files (ieee80211.o ieee80211_crypt.o ieee80211_crypt_ccmp.o ieee80211_crypt_tkip.o ieee80211_crypt_wep.o)to /ramdisk/lib/modules/2.4.26/kernel/drivers/net/wireless. 2.cp fireware files to /ramdisk/usr/lib/hotplug/fireware/ 3.create a fireware.agent like this:Quote | #!/bin/sh # # Firmware-specific hotplug policy agent. # # Kernel firmware hotplug params include: # # ACTION=%s [add or remove] # DEVPATH=%s [in 2.5 kernels, /sys/$DEVPATH] # FIRMWARE=%s # # HISTORY: # # 24-Jul-2003 Initial version of "new" hotplug agent. # # $Id: firmware.agent,v 1.1 2003/10/07 19:34:19 kroah Exp $ #
cd /etc/hotplug . hotplug.functions # DEBUG=yes export DEBUG
# directory of the firmware files FIRMWARE_DIR=/usr/lib/hotplug/firmware
# mountpoint of sysfs SYSFS=$(sed -n 's/^.* \([^ ]*\) sysfs .*$/\1/p' /proc/mounts)
# use /proc for 2.4 kernels if [ "$SYSFS" = "" ]; then SYSFS=/proc fi
# # What to do with this firmware hotplug event? # case "$ACTION" in
add) if [ ! -e $SYSFS/$DEVPATH/loading ]; then sleep 1 fi
if [ -f $FIRMWARE_DIR/$FIRMWARE ]; then echo 1 > $SYSFS/$DEVPATH/loading cp $FIRMWARE_DIR/$FIRMWARE $SYSFS/$DEVPATH/data echo 0 > $SYSFS/$DEVPATH/loading else echo -1 > $SYSFS/$DEVPATH/loading fi
;;
remove) ;;
*) mesg "Firmware '$ACTION' event not supported" exit 1 ;;
esac
|
i cp my slackware's file to /etc/hotplug/, then made ipw2200.dsl, and reboot my box, then run update-modules as root:
Quote | dsl@box:~$ sudo update-modules depmod: *** Unresolved symbols in /lib/modules/2.4.26/kernel/drivers/net/wireless/ieee80211_crypt_tkip.o depmod: *** Unresolved symbols in /KNOPPIX/lib/modules/2.4.26/kernel/drivers/usb/auerswald.o depmod: *** Unresolved symbols in /KNOPPIX/lib/modules/2.4.26/kernel/drivers/usb/speedtch.o depmod: *** Unresolved symbols in /KNOPPIX/lib/modules/2.4.26/kernel/net/bridge/bridge.o depmod: *** Unresolved symbols in /KNOPPIX/lib/modules/2.4.26/kernel/net/sctp/sctp.o dsl@box:~$ sudo modprobe ipw2200 /lib/modules/2.4.26/kernel/drivers/net/wireless/ipw2200.o: init_module: No such device Hint: insmod errors can be caused by incorrect module parameters, including invalid IO or IRQ parameters. You may find more information in syslog or the output from dmesg /lib/modules/2.4.26/kernel/drivers/net/wireless/ipw2200.o: insmod /lib/modules/2.4.26/kernel/drivers/net/wireless/ipw2200.o failed /lib/modules/2.4.26/kernel/drivers/net/wireless/ipw2200.o: insmod ipw2200 failed dsl@box:~$ dmesg
ieee80211_crypt: registered algorithm 'NULL' ipw2200: Intel® PRO/Wireless 2200/2915 Network Driver, 1.0.1-3 ipw2200: Copyright© 2003-2004 Intel Corporation ipw2200: Detected Intel PRO/Wireless 2200BG Network Connection ipw2200: ipw-2.2-boot.fw load failed: Reason -2 ipw2200: Unable to load firmware: 0xFFFFFFFE ipw2200: failed to register network device ieee80211_crypt: unregistered algorithm 'NULL' (deinit) dsl@box:~$
|
there was something wrong, i reboot my box again and modprobe ipw2200 got the same message.:(
|