[Prism54-users] Loading firmware isl3890 for WG511 v1 fails

Benjamin Peter BenjaminPeter at arcor.de
Fri Sep 30 10:50:02 UTC 2005


Hi list,

I have a problem getting my Netgear WG511 card to work
again. (It worked some time ago)

When running 'ifconfig eth1 up' I get
	SIOCSIFFLAGS: No such file or directory

I hope you have an idea what I might have missed.

Here is some gathered information about my sys.


#####################
# System information
#####################

Debian testing
 
$ uname -a
	Linux spike 2.6.13.2-dd #2 Tue Sep 27 16:13:48 CEST 2005 i686 GNU/Linux
 
$ lspci | grep Prism
	0000:03:00.0 Network controller: Intersil Corporation Intersil ISL3890 [Prism GT/Prism Duette] (rev 01)
 
$ cat /proc/sys/kernel/hotplug
	/sbin/udevsend
 
$ /sbin/hotplug help
	Usage: /etc/hotplug.d/default/default.hotplug AgentName [AgentArguments]
	AgentName values on this system:  dasd firmware ieee1394 input net pci scsi tape usb
 
$ ls -la /usr/lib/hotplug/firmware/isl3890 
	-rw-r--r--  1 root root 93996 Sep 27 16:56 /usr/lib/hotplug/firmware/isl3890
 
 
############
# The failing command
############
 
# ifconfig eth1 up
	SIOCSIFFLAGS: No such file or directory
 
 
############
# syslog
############
Sep 30 12:05:44 spike kernel: eth1: resetting device...
Sep 30 12:05:44 spike kernel: eth1: uploading firmware...
Sep 30 12:05:54 spike kernel: prism54: request_firmware() failed for 'isl3890'
Sep 30 12:05:54 spike kernel: eth1: could not upload firmware ('isl3890')
Sep 30 12:05:54 spike kernel: eth1: islpci_reset: failure
 
 
###############
# Some experiment
###############
 
When I want to run it manualy with:
$ export ACTION=add DEVPATH=bus/pci/drivers/prism54/0000:03:00.0 FIRMWARE=isl3890
$ hotplug firmware

I sent my firmware.agent as atachement.
 
I get the following:
	/etc/hotplug/firmware.agent: line 45: /sys/bus/pci/drivers/prism54/0000:03:00.0/loading: Permission denied
	cp: cannot create regular file `/sys/bus/pci/drivers/prism54/0000:03:00.0/data': Permission denied
	/etc/hotplug/firmware.agent: line 47: /sys/bus/pci/drivers/prism54/0000:03:00.0/loading: Permission denied
 
and actually there is no "loading"
$ ls /sys/bus/pci/drivers/prism54/0000:03:00.0
	bus    config  driver  local_cpus  power     resource0         subsystem_vendor
	class  device  irq     modalias    resource  subsystem_device  vendor
 


Thank you,

Benjamin Peter
-------------- next part --------------
#!/bin/bash
#
# 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)
	modprobe prism54
    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


More information about the Prism54-users mailing list