Please, help me with at76c503a and recent Linux packages...

Rui Miguel Seabra rms at 1407.org
Fri Feb 4 21:54:25 UTC 2005


Hi,

  I've been making RPMS for my machine of at76c503a and have recently
sent upstream a patch for rpm making.

  However, I have a huge problem that's bound to get worse without help,
and I know little of kernel module building to understand the problem.

  I'm running Fedora Core (from the development rawhide tree), so this
problem will be happening on FC4... quite likely.

  When I load the module with Linux 2.6.10-1.1090_FC4, I see the
following:

Feb  4 21:37:21 roque kernel: usb 3-2: new full speed USB device using uhci_hcd and address 2
Feb  4 21:37:22 roque modprobe: WARNING: Could not open '/lib/modules/2.6.10-1.1090_FC4/kernel/drivers/net/wireless/at76c503/at76_usbdfu.ko': No such file or directory
Feb  4 21:37:22 roque modprobe: WARNING: Could not open '/lib/modules/2.6.10-1.1090_FC4/kernel/drivers/net/wireless/at76c503/at76c503.ko': No such file or directory
Feb  4 21:37:22 roque modprobe: FATAL: Could not open '/lib/modules/2.6.10-1.1090_FC4/kernel/drivers/net/wireless/at76c503/at76c505-rfmd2958.ko': No such file or directory

Ah... I forgot to rebuild with lower kernel again... so I disconnect,
rebuild for the older Linux again, and put it in again:

Feb  4 21:37:28 roque kernel: usb 3-2: USB disconnect, address 2
Feb  4 21:38:23 roque kernel: usb 3-2: new full speed USB device using uhci_hcd and address 3
Feb  4 21:38:24 roque kernel: /home/builder/redhat/BUILD/at76c503a/at76_usbdfu.c: USB Device Firmware Upgrade (DFU) handler v0.12beta22-static loading
Feb  4 21:38:24 roque kernel: /home/builder/redhat/BUILD/at76c503a/at76c503.c: Generic Atmel at76c503/at76c505 routines v0.12beta22-static
Feb  4 21:38:24 roque kernel: /home/builder/redhat/BUILD/at76c503a/at76c503-fw_skel.c: Atmel at76c505 (RFMD 2958) Wireless LAN Driver v0.12beta22-static loading
Feb  4 21:38:24 roque kernel: usbcore: registered new driver at76c505-rfmd2958
Feb  4 21:38:26 roque kernel: usb 3-2: reset full speed USB device using uhci_hcd and address 3
Feb  4 21:38:26 roque kernel: usb 3-2: device firmware changed
Feb  4 21:38:26 roque kernel: usb 3-2: USB disconnect, address 3
Feb  4 21:38:26 roque kernel: /home/builder/redhat/BUILD/at76c503a/at76c503-fw_skel.c: wlan%d disconnecting
Feb  4 21:38:26 roque kernel: /home/builder/redhat/BUILD/at76c503a/at76c503-fw_skel.c: at76c505-rfmd2958 disconnected
Feb  4 21:38:26 roque kernel: usb 3-2: new full speed USB device using uhci_hcd and address 4
Feb  4 21:38:27 roque kernel: /home/builder/redhat/BUILD/at76c503a/at76c503.c: $Id: at76c503.c,v 1.72 2004/10/19 20:45:25 jal2 Exp $ compiled Jan 23 2005 15:37:23
Feb  4 21:38:27 roque kernel: /home/builder/redhat/BUILD/at76c503a/at76c503.c: firmware version 1.101.0 #86 (fcs_len 4)
Feb  4 21:38:27 roque kernel: /home/builder/redhat/BUILD/at76c503a/at76c503.c: device's MAC 00:11:3b:03:9d:dc, regulatory domain ETSI (Europe - (Spain+France) (id 48)Feb  4 21:38:27 roque kernel: /home/builder/redhat/BUILD/at76c503a/at76c503.c: registered wlan0

So all this works, ok? Now... lets go to Linux 2.6.10-1.1124_FC4

Feb  4 21:33:30 roque kernel: usb 3-2: new full speed USB device using uhci_hcd and address 2
Feb  4 21:33:31 roque modprobe: WARNING: Error inserting at76_usbdfu (/lib/modules/2.6.10-1.1124_FC4/kernel/drivers/net/wireless/at76c503/at76_usbdfu.ko): Invalid module format
Feb  4 21:33:31 roque modprobe: WARNING: Error inserting at76c503 (/lib/modules/2.6.10-1.1124_FC4/kernel/drivers/net/wireless/at76c503/at76c503.ko): Invalid module format
Feb  4 21:33:31 roque modprobe: FATAL: Error inserting at76c505_rfmd2958 (/lib/modules/2.6.10-1.1124_FC4/kernel/drivers/net/wireless/at76c503/at76c505-rfmd2958.ko): Invalid module format
Feb  4 21:33:31 roque kernel: at76_usbdfu: version magic '2.6.10-1.1124_FC4 686 REGPARM 4KSTACKS gcc-3.4' should be '2.6.10-1.1124_FC4 586 REGPARM 4KSTACKS gcc-3.4'
Feb  4 21:33:31 roque kernel: at76c503: version magic '2.6.10-1.1124_FC4 686 REGPARM 4KSTACKS gcc-3.4' should be '2.6.10-1.1124_FC4 586 REGPARM 4KSTACKS gcc-3.4'
Feb  4 21:33:31 roque kernel: at76c505_rfmd2958: version magic '2.6.10-1.1124_FC4 686 REGPARM 4KSTACKS gcc-3.4' should be '2.6.10-1.1124_FC4 586 REGPARM 4KSTACKS gcc-3.4'
Feb  4 21:33:31 roque usb.agent[4293]: ... can't load module at76c505-rfmd2958
Feb  4 21:33:31 roque usb.agent[4293]: missing kernel or user mode driver at76c505-rfmd2958

So you see, it _is_bad_ but I can't find a way to solve this...

Any help?

Rui

-- 
+ No matter how much you do, you never do enough -- unknown
+ Whatever you do will be insignificant,
| but it is very important that you do it -- Gandhi
+ So let's do it...?

Please AVOID sending me WORD, EXCEL or POWERPOINT attachments.
See http://www.fsf.org/philosophy/no-word-attachments.html	
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://listman.redhat.com/archives/fedora-devel-list/attachments/20050204/1ca0ad89/attachment.sig>


More information about the fedora-devel-list mailing list