Re: [zd1211-devs] Problem "making" zd1211 with Ubuntu Dapper Drake
Michele Monaco wrote: > > > Here below you can find the detail. > > [EMAIL PROTECTED]:~/Desktop/WiFi USB/zd1211-driver-r80$ make > The problem seems to be in the name of your directory "WiFi USB". It contains a space, which is why after make does Michele Monaco wrote: > > make -C /lib/modules/2.6.15-25-386/build > SUBDIRS=/home/michele/Desktop/WiFi USB/zd1211-driver-r80 modules > it tries to find a target named "USB/zd1211-driver-r80". That doesn't exist: Michele Monaco wrote: > > make[1]: *** No rule to make target `USB/zd1211-driver-r80'. Stop. > Try renaming the "WiFi USB" to some name without spaces. -- Ramon -- View this message in context: http://www.nabble.com/Problem-%22making%22-zd1211-with-Ubuntu-Dapper-Drake-tf1886141.html#a5354321 Sent from the zd1211-devs forum at Nabble.com. - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ Zd1211-devs mailing list - http://zd1211.ath.cx/ Unsubscribe: https://lists.sourceforge.net/lists/listinfo/zd1211-devs
Re: [zd1211-devs] zd1211rw 2.6.18-rc1-mm2 - broken 3CRUSB10075
Mattia Dongili wrote: > Doh, I can't see any difference in the logs. > I'm pretty sure I booted the modified kernel, > strings usbcore.ko | grep -i 'too small' > confirms it. Ok, that patch didn't cover all possibilities, just the most likely ones. The EINVAL might come from later in the call chain. Daniel - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ Zd1211-devs mailing list - http://zd1211.ath.cx/ Unsubscribe: https://lists.sourceforge.net/lists/listinfo/zd1211-devs
Re: [zd1211-devs] zd1211rw 2.6.18-rc1-mm2 - broken 3CRUSB10075
On Sun, Jul 16, 2006 at 04:06:06PM +0100, Daniel Drake wrote: > Mattia Dongili wrote: [...] > >[ 196.964000] zd1211:USB Download Boot code success > >[ 196.964000] zd1211: failed intr_urb > >[ 196.972000] zd1211:USB ST Code = -22 > >[ 196.972000] zd1211: probe of 1-1:1.0 failed with error -5 > > Weird: -22 is EINVAL. > > I have attached a kernel patch you can use, which will catch the most > obvious causes for this error to happen. Apply it, reboot into new > kernel, and try again. Hopefully you'll see a new message just before > the failed intr_urb. Doh, I can't see any difference in the logs. I'm pretty sure I booted the modified kernel, strings usbcore.ko | grep -i 'too small' confirms it. BTW: I'll be unable to be very responsive in the next 2 days, but I may be able to test things in a decent time. Thanks again -- mattia :wq! - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ Zd1211-devs mailing list - http://zd1211.ath.cx/ Unsubscribe: https://lists.sourceforge.net/lists/listinfo/zd1211-devs
Re: [zd1211-devs] zd1211rw 2.6.18-rc1-mm2 - broken 3CRUSB10075
Mattia Dongili wrote: That would be great, but I can't see any patch attached :) Index: linux/drivers/usb/core/urb.c === --- linux.orig/drivers/usb/core/urb.c +++ linux/drivers/usb/core/urb.c @@ -224,8 +224,10 @@ int usb_submit_urb(struct urb *urb, gfp_ struct usb_operations *op; int is_out; - if (!urb || urb->hcpriv || !urb->complete) + if (!urb || urb->hcpriv || !urb->complete) { + printk("bad urb\n"); return -EINVAL; + } if (!(dev = urb->dev) || (dev->state < USB_STATE_DEFAULT) || (!dev->bus) || (dev->devnum <= 0)) @@ -279,8 +281,10 @@ int usb_submit_urb(struct urb *urb, gfp_ max *= mult; } - if (urb->number_of_packets <= 0) + if (urb->number_of_packets <= 0) { + printk("num_of_packets <= 0\n"); return -EINVAL; + } for (n = 0; n < urb->number_of_packets; n++) { len = urb->iso_frame_desc [n].length; if (len < 0 || len > max) @@ -343,8 +347,10 @@ int usb_submit_urb(struct urb *urb, gfp_ case PIPE_ISOCHRONOUS: case PIPE_INTERRUPT: /* too small? */ - if (urb->interval <= 0) + if (urb->interval <= 0) { + printk("too small\n"); return -EINVAL; + } /* too big? */ switch (dev->speed) { case USB_SPEED_HIGH: /* units are microframes */ @@ -356,8 +362,10 @@ int usb_submit_urb(struct urb *urb, gfp_ case USB_SPEED_FULL: /* units are frames/msec */ case USB_SPEED_LOW: if (temp == PIPE_INTERRUPT) { -if (urb->interval > 255) +if (urb->interval > 255) { + printk("too big\n"); return -EINVAL; +} // NOTE ohci only handles up to 32 temp = 128; } else { @@ -368,6 +376,7 @@ int usb_submit_urb(struct urb *urb, gfp_ } break; default: + printk("unknown speed\n"); return -EINVAL; } /* power of two? */ - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ Zd1211-devs mailing list - http://zd1211.ath.cx/ Unsubscribe: https://lists.sourceforge.net/lists/listinfo/zd1211-devs
Re: [zd1211-devs] zd1211rw 2.6.18-rc1-mm2 - broken 3CRUSB10075
On Sun, Jul 16, 2006 at 04:06:06PM +0100, Daniel Drake wrote: > Mattia Dongili wrote: [...] > >[ 196.944000] EEPORM Ver = 4330 > >[ 196.964000] zd1211:USB Download Boot code success > >[ 196.964000] zd1211: failed intr_urb > >[ 196.972000] zd1211:USB ST Code = -22 > >[ 196.972000] zd1211: probe of 1-1:1.0 failed with error -5 > > Weird: -22 is EINVAL. > > I have attached a kernel patch you can use, which will catch the most > obvious causes for this error to happen. Apply it, reboot into new > kernel, and try again. Hopefully you'll see a new message just before > the failed intr_urb. That would be great, but I can't see any patch attached :) > >yeah, it is! disabling WEP makes the card up and working. > > This makes me suspect that you might be using the wrong WEP key or > something like that. I just noticed that your earlier logs do not show > any retry_failed interrupts -- unlike the problem I was comparing it to, > where the device doesn't think it has transmitted anything and gives up > retrying... Well, I'd exclude the wrong WEP key, I copy&pasted it from the AP web panel and I did see that same key working before (I'd have to check but it probably was a clean 2.6.17 + zd1211-r80, while 2.6.17-mm gives the failed intr_urb). Also, I don't know if it makes any sense but tcpdump doesn't show any packet leaving eth1 with WEP on (maybe the packet is just dropeed before that?). Thanks -- mattia :wq! - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ Zd1211-devs mailing list - http://zd1211.ath.cx/ Unsubscribe: https://lists.sourceforge.net/lists/listinfo/zd1211-devs
Re: [zd1211-devs] zd1211rw 2.6.18-rc1-mm2 - broken 3CRUSB10075
Mattia Dongili wrote: > I just tried, I get the same error as with r80 (failed intr_urb): > [ 186.648000] > [ 186.652000] _ _ > [ 186.656000] |__ / _| _ \ / \ / ___| > [ 186.664000] / / | | | | | |/ _ \ \___ \ > [ 186.668000] / /| |_| | |_| / ___ \ ___) | > [ 186.672000] /\__, |/_/ \_\/ > [ 186.676000] |___/ > [ 186.68] zd1211 - version 2.14.0.0 > [ 186.688000] usbcore: registered new driver zd1211 > [ 196.748000] usb 1-1: new full speed USB device using uhci_hcd and address 2 > [ 196.92] usb 1-1: configuration #1 chosen from 1 choice > [ 196.928000] vendor_id = 6891 > [ 196.932000] product_id = a727 > [ 196.936000] USB 1.1 Host > [ 196.94] Release Ver = 4330 > [ 196.944000] zd1211:bulk out: wMaxPacketSize = 40 > [ 196.944000] zd1211:bulk in: wMaxPacketSize = 40 > [ 196.944000] zd1211:interrupt in: wMaxPacketSize = 40 > [ 196.944000] zd1211:interrupt in: int_interval = 1 > [ 196.944000] zd1211:bulk out: wMaxPacketSize = 40 > [ 196.944000] EEPORM Ver = 4330 > [ 196.964000] zd1211:USB Download Boot code success > [ 196.964000] zd1211: failed intr_urb > [ 196.972000] zd1211:USB ST Code = -22 > [ 196.972000] zd1211: probe of 1-1:1.0 failed with error -5 Weird: -22 is EINVAL. I have attached a kernel patch you can use, which will catch the most obvious causes for this error to happen. Apply it, reboot into new kernel, and try again. Hopefully you'll see a new message just before the failed intr_urb. > yeah, it is! disabling WEP makes the card up and working. This makes me suspect that you might be using the wrong WEP key or something like that. I just noticed that your earlier logs do not show any retry_failed interrupts -- unlike the problem I was comparing it to, where the device doesn't think it has transmitted anything and gives up retrying... Anyway, hopefully we can fix the vendor driver, as this will give a clearer answer... Daniel - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ Zd1211-devs mailing list - http://zd1211.ath.cx/ Unsubscribe: https://lists.sourceforge.net/lists/listinfo/zd1211-devs
Re: [zd1211-devs] zd1211rw 2.6.18-rc1-mm2 - broken 3CRUSB10075
On Sun, Jul 16, 2006 at 02:50:46PM +0100, Daniel Drake wrote: > Mattia Dongili wrote: > >I'm trying out zd1211rw in mainline and I'm having some problems. > > > >As soon as I plug the dongle and udev loads the firmware the leds are > >shutting down and I can't subsequently use the wi-fi lan. > > We don't do anything with the LED yet, so thats normal. > > Does the vendor driver work for you? I just tried, I get the same error as with r80 (failed intr_urb): [ 186.648000] [ 186.652000] _ _ [ 186.656000] |__ / _| _ \ / \ / ___| [ 186.664000] / / | | | | | |/ _ \ \___ \ [ 186.668000] / /| |_| | |_| / ___ \ ___) | [ 186.672000] /\__, |/_/ \_\/ [ 186.676000] |___/ [ 186.68] zd1211 - version 2.14.0.0 [ 186.688000] usbcore: registered new driver zd1211 [ 196.748000] usb 1-1: new full speed USB device using uhci_hcd and address 2 [ 196.92] usb 1-1: configuration #1 chosen from 1 choice [ 196.928000] vendor_id = 6891 [ 196.932000] product_id = a727 [ 196.936000] USB 1.1 Host [ 196.94] Release Ver = 4330 [ 196.944000] zd1211:bulk out: wMaxPacketSize = 40 [ 196.944000] zd1211:bulk in: wMaxPacketSize = 40 [ 196.944000] zd1211:interrupt in: wMaxPacketSize = 40 [ 196.944000] zd1211:interrupt in: int_interval = 1 [ 196.944000] zd1211:bulk out: wMaxPacketSize = 40 [ 196.944000] EEPORM Ver = 4330 [ 196.964000] zd1211:USB Download Boot code success [ 196.964000] zd1211: failed intr_urb [ 196.972000] zd1211:USB ST Code = -22 [ 196.972000] zd1211: probe of 1-1:1.0 failed with error -5 [ 139.008000] usb 1-1: new full speed USB device using uhci_hcd and address 2 [ 139.18] usb 1-1: new device found, idVendor=6891, idProduct=a727 [ 139.184000] usb 1-1: new device strings: Mfr=16, Product=32, SerialNumber=0 [ 139.188000] usb 1-1: Product: 3CRUSB10075 [ 139.192000] usb 1-1: Manufacturer: 3COM [ 139.196000] usb 1-1: configuration #1 chosen from 1 choice [ 139.304000] zd1211 - http://zd1211.ath.cx/ - r80 [ 139.312000] Based on www.zydas.com.tw driver version 2.5.0.0 [ 139.428000] usb 1-1: reset full speed USB device using uhci_hcd and address 2 [ 139.584000] Release Ver = 4330 [ 139.588000] zd1211:bulk out: wMaxPacketSize = 40 [ 139.588000] zd1211:bulk in: wMaxPacketSize = 40 [ 139.588000] zd1211:interrupt in: wMaxPacketSize = 40 [ 139.588000] zd1211:interrupt in: int_interval = 1 [ 139.588000] zd1211:bulk out: wMaxPacketSize = 40 [ 139.588000] EEPORM Ver = 4330 [ 139.608000] zd1211:USB Download Boot code success [ 139.612000] zd1211: failed intr_urb [ 139.616000] zd1211:USB ST Code = -22 [ 139.616000] zd1211: probe of 1-1:1.0 failed with error -5 [ 139.62] usbcore: registered new driver zd1211 > Your problem sounds similar to one I sent to the list yesterday. I > thought this was some kind of device bug with frames encrypted by > software, however I seem to be unable to use it for even unencrypted > networks (I made a mistake in my earlier analysis). Perhaps you could > try connecting to an unencrypted network just on the off-chance. yeah, it is! disabling WEP makes the card up and working. > Do you have any other wireless devices you could put in monitor mode to > help debug the problem? unforunately this is my only wlan device... Thanks a lot. -- mattia :wq! - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ Zd1211-devs mailing list - http://zd1211.ath.cx/ Unsubscribe: https://lists.sourceforge.net/lists/listinfo/zd1211-devs
Re: [zd1211-devs] zd1211rw encryption problems
Grr.. I can't get my ZD1211B connecting to unencrypted networks and don't have any logs showing it ever worked. I must have made a mistake in my earlier analysis (left the ethernet cable in or something!) -- I am no longer sure that this is a bug related to packets encrypted in software. rello wrote: > So no SoftMac in next driver relase? ?? > OK in 2/3 days I'll finish my exams and I can come back testing new > driver relases both on PPC and x86 machines. > Hardware encryption modifications will be still applied to the main > wireless kernel tree or you'll relase some patches? They will go into the out-of-tree git repositories controlled by myself and Ulrich. I will send patches onto John when ready, who will send them on to Jeff who will send them on to Linus :) Daniel - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ Zd1211-devs mailing list - http://zd1211.ath.cx/ Unsubscribe: https://lists.sourceforge.net/lists/listinfo/zd1211-devs
Re: [zd1211-devs] zd1211rw 2.6.18-rc1-mm2 - broken 3CRUSB10075
Mattia Dongili wrote: > I'm trying out zd1211rw in mainline and I'm having some problems. > > As soon as I plug the dongle and udev loads the firmware the leds are > shutting down and I can't subsequently use the wi-fi lan. We don't do anything with the LED yet, so thats normal. Does the vendor driver work for you? Your problem sounds similar to one I sent to the list yesterday. I thought this was some kind of device bug with frames encrypted by software, however I seem to be unable to use it for even unencrypted networks (I made a mistake in my earlier analysis). Perhaps you could try connecting to an unencrypted network just on the off-chance. Do you have any other wireless devices you could put in monitor mode to help debug the problem? Thanks, Daniel - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ Zd1211-devs mailing list - http://zd1211.ath.cx/ Unsubscribe: https://lists.sourceforge.net/lists/listinfo/zd1211-devs
Re: [zd1211-devs] 2.6.18-rc1-mm2 - broken 3CRUSB10075
Mattia Dongili wrote: > Hello, > > I'm trying out zd1211rw in mainline and I'm having some problems. > > As soon as I plug the dongle and udev loads the firmware the leds are > shutting down and I can't subsequently use the wi-fi lan. > Ciao! Flashing leds still not implemented Your device associates itself with the AP so partially works. Try to shut down the wep encryption, sometimes causes problems - for now ;-) www.rello.it - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ Zd1211-devs mailing list - http://zd1211.ath.cx/ Unsubscribe: https://lists.sourceforge.net/lists/listinfo/zd1211-devs
[zd1211-devs] 2.6.18-rc1-mm2 - broken 3CRUSB10075
Hello, I'm trying out zd1211rw in mainline and I'm having some problems. As soon as I plug the dongle and udev loads the firmware the leds are shutting down and I can't subsequently use the wi-fi lan. [18375.748000] usb 1-1: USB disconnect, address 8 [18376.516000] eth0: no IPv6 routers present [18634.644000] usb 1-1: new full speed USB device using uhci_hcd and address 9 [18634.824000] usb 1-1: new device found, idVendor=6891, idProduct=a727 [18634.824000] usb 1-1: new device strings: Mfr=16, Product=32, SerialNumber=0 [18634.824000] usb 1-1: Product: 3CRUSB10075 [18634.824000] usb 1-1: Manufacturer: 3COM [18634.824000] usb 1-1: configuration #1 chosen from 1 choice [18635.136000] zd1211rw 1-1:1.0: firmware version 4605 [18635.216000] zd1211rw 1-1:1.0: zd1211 chip 6891:a727 v4330 full 00-14-7c RF2959_RF pa0 g-- [18635.244000] zd1211rw 1-1:1.0: eth1 I'm attaching the log of a debug enabled kernel. It seems iwlist eth1 scanning works, just the dongle can't get an IP. I'll be happy to test any patch or report more info. Thanks -- mattia :wq! [0.00] Linux version 2.6.18-rc1-mm2-3 ([EMAIL PROTECTED]) (gcc version 4.0.4 20060507 (prerelease) (Debian 4.0.3-3)) #13 PREEMPT Sat Jul 15 20:12:24 CEST 2006 [0.00] BIOS-provided physical RAM map: [0.00] sanitize start [0.00] sanitize end [0.00] copy_e820_map() start: size: 0009e800 end: 0009e800 type: 1 [0.00] copy_e820_map() type is E820_RAM [0.00] add_memory_region(, 0009e800, 1) [0.00] copy_e820_map() start: 0009e800 size: 1800 end: 000a type: 2 [0.00] add_memory_region(0009e800, 1800, 2) [0.00] copy_e820_map() start: 000c size: 0001 end: 000d type: 2 [0.00] add_memory_region(000c, 0001, 2) [0.00] copy_e820_map() start: 000d8000 size: 8000 end: 000e type: 2 [0.00] add_memory_region(000d8000, 8000, 2) [0.00] copy_e820_map() start: 000e4000 size: 0001c000 end: 0010 type: 2 [0.00] add_memory_region(000e4000, 0001c000, 2) [0.00] copy_e820_map() start: 0010 size: 0fdf end: 0fef type: 1 [0.00] copy_e820_map() type is E820_RAM [0.00] add_memory_region(0010, 0fdf, 1) [0.00] copy_e820_map() start: 0fef size: f000 end: 0feff000 type: 3 [0.00] add_memory_region(0fef, f000, 3) [0.00] copy_e820_map() start: 0feff000 size: 1000 end: 0ff0 type: 4 [0.00] add_memory_region(0feff000, 1000, 4) [0.00] copy_e820_map() start: 0ff0 size: 0008 end: 0ff8 type: 1 [0.00] copy_e820_map() type is E820_RAM [0.00] add_memory_region(0ff0, 0008, 1) [0.00] copy_e820_map() start: 0ff8 size: 0008 end: 1000 type: 2 [0.00] add_memory_region(0ff8, 0008, 2) [0.00] copy_e820_map() start: ff80 size: 0040 end: ffc0 type: 2 [0.00] add_memory_region(ff80, 0040, 2) [0.00] copy_e820_map() start: fc00 size: 0400 end: 0001 type: 2 [0.00] add_memory_region(fc00, 0400, 2) [0.00] BIOS-e820: - 0009e800 (usable) [0.00] BIOS-e820: 0009e800 - 000a (reserved) [0.00] BIOS-e820: 000c - 000d (reserved) [0.00] BIOS-e820: 000d8000 - 000e (reserved) [0.00] BIOS-e820: 000e4000 - 0010 (reserved) [0.00] BIOS-e820: 0010 - 0fef (usable) [0.00] BIOS-e820: 0fef - 0feff000 (ACPI data) [0.00] BIOS-e820: 0feff000 - 0ff0 (ACPI NVS) [0.00] BIOS-e820: 0ff0 - 0ff8 (usable) [0.00] BIOS-e820: 0ff8 - 1000 (reserved) [0.00] BIOS-e820: ff80 - ffc0 (reserved) [0.00] BIOS-e820: fc00 - 0001 (reserved) [0.00] 255MB LOWMEM available. [0.00] On node 0 totalpages: 65408 [0.00] DMA zone: 4096 pages, LIFO batch:0 [0.00] Normal zone: 61312 pages, LIFO batch:15 [0.00] DMI present. [0.00] ACPI: RSDP (v000 PTLTD ) @ 0x000f6cd0 [0.00] ACPI: RSDT (v001 SONY C0 0x20010809 PTL 0x) @ 0x0fefa88f [0.00] ACPI: FADT (v001 SONY C0 0x20010809 PTL 0x01