Applied. Please find attached the dmesg. The output is from my first (and 
immediatly succesfull) reboot. If I can reproduce the the problem, I ll send 
another dmesg trace.

Thank you very much

Christian Hoffmann

On Monday 25 September 2006 17:43, Michael Buesch wrote:
> This is an attempt to debug/fix the softmac WX and association
> related race conditions.
> Please apply the following patch and try to reproduce with it.
> Tell me about the result.
> In both cases, when you are able to reproduce the bug or not,
> I wanna see dmesg logs, as I added some debugging helpers
> to better understand the codeflow on your systems.
> (Seems to be different from mine, as I am not able to reproduce
> these races)
>
> Index: wireless-2.6/include/net/ieee80211softmac.h
> ===================================================================
> --- wireless-2.6.orig/include/net/ieee80211softmac.h  2006-09-25
> 17:02:08.000000000 +0200 +++
> wireless-2.6/include/net/ieee80211softmac.h   2006-09-25 17:04:08.000000000
> +0200 @@ -63,13 +63,11 @@ struct ieee80211softmac_wpa {
>
>  /*
>   * Information about association
> - *
> - * Do we need a lock for this?
> - * We only ever use this structure inlined
> - * into our global struct. I've used its lock,
> - * but maybe we need a local one here?
>   */
>  struct ieee80211softmac_assoc_info {
> +
> +     struct mutex mutex;
> +
>       /*
>        * This is the requested ESSID. It is written
>        * only by the WX handlers.
> Index: wireless-2.6/net/ieee80211/softmac/ieee80211softmac_assoc.c
> ===================================================================
> ---
> wireless-2.6.orig/net/ieee80211/softmac/ieee80211softmac_assoc.c      
> 2006-09-17
> 15:21:53.000000000 +0200 +++
> wireless-2.6/net/ieee80211/softmac/ieee80211softmac_assoc.c   2006-09-25
> 17:31:35.000000000 +0200 @@ -62,24 +62,22 @@
> ieee80211softmac_assoc_timeout(void *d)
>  {
>       struct ieee80211softmac_device *mac = (struct ieee80211softmac_device
> *)d; struct ieee80211softmac_network *n;
> -     unsigned long flags;
>
> -     spin_lock_irqsave(&mac->lock, flags);
> +     mutex_lock(&mac->associnfo.mutex);
>       /* we might race against ieee80211softmac_handle_assoc_response,
>        * so make sure only one of us does something */
> -     if (!mac->associnfo.associating) {
> -             spin_unlock_irqrestore(&mac->lock, flags);
> -             return;
> -     }
> +     if (!mac->associnfo.associating)
> +             goto out;
>       mac->associnfo.associating = 0;
>       mac->associnfo.bssvalid = 0;
>       mac->associated = 0;
>
>       n = ieee80211softmac_get_network_by_bssid_locked(mac,
> mac->associnfo.bssid); -      spin_unlock_irqrestore(&mac->lock, flags);
>
>       dprintk(KERN_INFO PFX "assoc request timed out!\n");
>       ieee80211softmac_call_events(mac,
> IEEE80211SOFTMAC_EVENT_ASSOCIATE_TIMEOUT, n); +out:
> +     mutex_unlock(&mac->associnfo.mutex);
>  }
>
>  void
> @@ -196,6 +194,11 @@ ieee80211softmac_assoc_work(void *d)
>       int bssvalid;
>       unsigned long flags;
>
> +     mutex_lock(&mac->associnfo.mutex);
> +
> +     if (!mac->associnfo.associating)
> +             goto out;
> +
>       /* ieee80211_disassoc might clear this */
>       bssvalid = mac->associnfo.bssvalid;
>
> @@ -203,10 +206,6 @@ ieee80211softmac_assoc_work(void *d)
>       if (mac->associated)
>               ieee80211softmac_send_disassoc_req(mac,
> WLAN_REASON_DISASSOC_STA_HAS_LEFT);
>
> -     spin_lock_irqsave(&mac->lock, flags);
> -     mac->associnfo.associating = 1;
> -     spin_unlock_irqrestore(&mac->lock, flags);
> -
>       /* try to find the requested network in our list, if we found one 
> already
> */ if (bssvalid || mac->associnfo.bssfixed)
>               found = ieee80211softmac_get_network_by_bssid(mac,
> mac->associnfo.bssid); @@ -260,10 +259,8 @@
> ieee80211softmac_assoc_work(void *d)
>
>       if (!found) {
>               if (mac->associnfo.scan_retry > 0) {
> -                     spin_lock_irqsave(&mac->lock, flags);
>                       mac->associnfo.scan_retry--;
> -                     spin_unlock_irqrestore(&mac->lock, flags);
> -
> +
>                       /* We know of no such network. Let's scan.
>                        * NB: this also happens if we had no memory to copy 
> the network
> info... * Maybe we can hope to have more memory after scanning finishes ;)
> @@ -272,19 +269,17 @@ ieee80211softmac_assoc_work(void *d)
>                       ieee80211softmac_notify(mac->dev, 
> IEEE80211SOFTMAC_EVENT_SCAN_FINISHED,
> ieee80211softmac_assoc_notify_scan, NULL); if
> (ieee80211softmac_start_scan(mac))
>                               dprintk(KERN_INFO PFX "Associate: failed to 
> initiate scan. Is device
> up?\n"); -                    return;
> +                     goto out;
>               } else {
> -                     spin_lock_irqsave(&mac->lock, flags);
>                       mac->associnfo.associating = 0;
>                       mac->associated = 0;
> -                     spin_unlock_irqrestore(&mac->lock, flags);
>
>                       dprintk(KERN_INFO PFX "Unable to find matching network 
> after scan!\n");
>                       /* reset the retry counter for the next user request 
> since we
>                        * break out and don't reschedule ourselves after this 
> point. */
>                       mac->associnfo.scan_retry = 
> IEEE80211SOFTMAC_ASSOC_SCAN_RETRY_LIMIT;
>                       ieee80211softmac_call_events(mac,
> IEEE80211SOFTMAC_EVENT_ASSOCIATE_NET_NOT_FOUND, NULL); -                      
> return;
> +                     goto out;
>               }
>       }
>
> @@ -297,7 +292,7 @@ ieee80211softmac_assoc_work(void *d)
>       /* copy the ESSID for displaying it */
>       mac->associnfo.associate_essid.len = found->essid.len;
>       memcpy(mac->associnfo.associate_essid.data, found->essid.data,
> IW_ESSID_MAX_SIZE + 1); -
> +
>       /* we found a network! authenticate (if necessary) and associate to it.
> */ if (found->authenticating) {
>               dprintk(KERN_INFO PFX "Already requested authentication, 
> waiting...\n");
> @@ -305,7 +300,7 @@ ieee80211softmac_assoc_work(void *d)
>                       mac->associnfo.assoc_wait = 1;
>                       ieee80211softmac_notify_internal(mac, 
> IEEE80211SOFTMAC_EVENT_ANY,
> found, ieee80211softmac_assoc_notify_auth, NULL, GFP_KERNEL); }
> -             return;
> +             goto out;
>       }
>       if (!found->authenticated && !found->authenticating) {
>               /* This relies on the fact that _auth_req only queues the work,
> @@ -321,11 +316,14 @@ ieee80211softmac_assoc_work(void *d)
>                       mac->associnfo.assoc_wait = 0;
>                       ieee80211softmac_call_events(mac,
> IEEE80211SOFTMAC_EVENT_ASSOCIATE_FAILED, found); }
> -             return;
> +             goto out;
>       }
>       /* finally! now we can start associating */
>       mac->associnfo.assoc_wait = 0;
>       ieee80211softmac_assoc(mac, found);
> +
> +out:
> +     mutex_unlock(&mac->associnfo.mutex);
>  }
>
>  /* call this to do whatever is necessary when we're associated */
> Index: wireless-2.6/net/ieee80211/softmac/ieee80211softmac_module.c
> ===================================================================
> ---
> wireless-2.6.orig/net/ieee80211/softmac/ieee80211softmac_module.c     
> 2006-09-1
>7 15:21:52.000000000 +0200 +++
> wireless-2.6/net/ieee80211/softmac/ieee80211softmac_module.c  2006-09-25
> 17:03:32.000000000 +0200 @@ -57,6 +57,7 @@ struct net_device
> *alloc_ieee80211softma
>       INIT_LIST_HEAD(&softmac->network_list);
>       INIT_LIST_HEAD(&softmac->events);
>
> +     mutex_init(&softmac->associnfo.mutex);
>       INIT_WORK(&softmac->associnfo.work, ieee80211softmac_assoc_work,
> softmac); INIT_WORK(&softmac->associnfo.timeout,
> ieee80211softmac_assoc_timeout, softmac); softmac->start_scan =
> ieee80211softmac_start_scan_implementation; Index:
> wireless-2.6/net/ieee80211/softmac/ieee80211softmac_wx.c
> ===================================================================
> ---
> wireless-2.6.orig/net/ieee80211/softmac/ieee80211softmac_wx.c 2006-09-17
> 15:21:53.000000000 +0200 +++
> wireless-2.6/net/ieee80211/softmac/ieee80211softmac_wx.c      2006-09-25
> 17:39:57.000000000 +0200 @@ -37,6 +37,7 @@
> ieee80211softmac_wx_trigger_scan(struct
>                                char *extra)
>  {
>       struct ieee80211softmac_device *sm = ieee80211_priv(net_dev);
> +printk(KERN_INFO "%s\n", __func__);
>       return ieee80211softmac_start_scan(sm);
>  }
>  EXPORT_SYMBOL_GPL(ieee80211softmac_wx_trigger_scan);
> @@ -53,6 +54,7 @@ ieee80211softmac_wx_get_scan_results(str
>       unsigned long flags;
>       struct ieee80211softmac_device *sm = ieee80211_priv(net_dev);
>
> +printk(KERN_INFO "%s\n", __func__);
>       spin_lock_irqsave(&sm->lock, flags);
>       if (sm->scanning) {
>               spin_unlock_irqrestore(&sm->lock, flags);
> @@ -73,7 +75,9 @@ ieee80211softmac_wx_set_essid(struct net
>       struct ieee80211softmac_network *n;
>       struct ieee80211softmac_auth_queue_item *authptr;
>       int length = 0;
> -     unsigned long flags;
> +
> +printk(KERN_INFO "%s\n", __func__);
> +     mutex_lock(&sm->associnfo.mutex);
>
>       /* Check if we're already associating to this or another network
>        * If it's another network, cancel and start over with our new network
> @@ -87,10 +91,9 @@ ieee80211softmac_wx_set_essid(struct net
>                  !memcmp(n->essid.data, extra, n->essid.len)) {
>                       dprintk(KERN_INFO PFX "Already associating or 
> associated to
> "MAC_FMT"\n", MAC_ARG(sm->associnfo.bssid));
> -                     return 0;
> +                     goto out;
>               } else {
>                       dprintk(KERN_INFO PFX "Canceling existing associate 
> request!\n");
> -                     spin_lock_irqsave(&sm->lock,flags);
>                       /* Cancel assoc work */
>                       cancel_delayed_work(&sm->associnfo.work);
>                       /* We don't have to do this, but it's a little cleaner 
> */
> @@ -98,14 +101,13 @@ ieee80211softmac_wx_set_essid(struct net
>                               cancel_delayed_work(&authptr->work);
>                       sm->associnfo.bssvalid = 0;
>                       sm->associnfo.bssfixed = 0;
> -                     spin_unlock_irqrestore(&sm->lock,flags);
>                       flush_scheduled_work();
> +                     sm->associnfo.associating = 0;
> +                     sm->associated = 0;
>               }
>       }
>
>
> -     spin_lock_irqsave(&sm->lock, flags);
> -
>       sm->associnfo.static_essid = 0;
>       sm->associnfo.assoc_wait = 0;
>
> @@ -121,10 +123,12 @@ ieee80211softmac_wx_set_essid(struct net
>        * If applicable, we have already copied the data in */
>       sm->associnfo.req_essid.len = length;
>
> +     sm->associnfo.associating = 1;
>       /* queue lower level code to do work (if necessary) */
>       schedule_work(&sm->associnfo.work);
> +out:
> +     mutex_unlock(&sm->associnfo.mutex);
>
> -     spin_unlock_irqrestore(&sm->lock, flags);
>       return 0;
>  }
>  EXPORT_SYMBOL_GPL(ieee80211softmac_wx_set_essid);
> @@ -136,10 +140,9 @@ ieee80211softmac_wx_get_essid(struct net
>                             char *extra)
>  {
>       struct ieee80211softmac_device *sm = ieee80211_priv(net_dev);
> -     unsigned long flags;
>
> -     /* avoid getting inconsistent information */
> -     spin_lock_irqsave(&sm->lock, flags);
> +printk(KERN_INFO "%s\n", __func__);
> +     mutex_lock(&sm->associnfo.mutex);
>       /* If all fails, return ANY (empty) */
>       data->essid.length = 0;
>       data->essid.flags = 0;  /* active */
> @@ -157,7 +160,8 @@ ieee80211softmac_wx_get_essid(struct net
>               data->essid.flags = 1;  /* active */
>               memcpy(extra, sm->associnfo.associate_essid.data,
> sm->associnfo.associate_essid.len); }
> -     spin_unlock_irqrestore(&sm->lock, flags);
> +     mutex_unlock(&sm->associnfo.mutex);
> +
>       return 0;
>  }
>  EXPORT_SYMBOL_GPL(ieee80211softmac_wx_get_essid);
> @@ -176,6 +180,7 @@ ieee80211softmac_wx_set_rate(struct net_
>       int is_ofdm = 0;
>       int err = -EINVAL;
>
> +printk(KERN_INFO "%s\n", __func__);
>       if (in_rate == -1) {
>               /* FIXME: We don't correctly handle backing down to lower
>                  rates, so 801.11g devices start off at 11M for now. People
> @@ -264,6 +269,7 @@ ieee80211softmac_wx_get_rate(struct net_
>       unsigned long flags;
>       int err = -EINVAL;
>
> +printk(KERN_INFO "%s\n", __func__);
>       spin_lock_irqsave(&mac->lock, flags);
>       switch (mac->txrates.default_rate) {
>       case IEEE80211_CCK_RATE_1MB:
> @@ -322,15 +328,16 @@ ieee80211softmac_wx_get_wap(struct net_d
>  {
>       struct ieee80211softmac_device *mac = ieee80211_priv(net_dev);
>       int err = 0;
> -     unsigned long flags;
>
> -     spin_lock_irqsave(&mac->lock, flags);
> +printk(KERN_INFO "%s\n", __func__);
> +     mutex_lock(&mac->associnfo.mutex);
>       if (mac->associnfo.bssvalid)
>               memcpy(data->ap_addr.sa_data, mac->associnfo.bssid, ETH_ALEN);
>       else
>               memset(data->ap_addr.sa_data, 0xff, ETH_ALEN);
>       data->ap_addr.sa_family = ARPHRD_ETHER;
> -     spin_unlock_irqrestore(&mac->lock, flags);
> +     mutex_unlock(&mac->associnfo.mutex);
> +
>       return err;
>  }
>  EXPORT_SYMBOL_GPL(ieee80211softmac_wx_get_wap);
> @@ -342,14 +349,14 @@ ieee80211softmac_wx_set_wap(struct net_d
>                           char *extra)
>  {
>       struct ieee80211softmac_device *mac = ieee80211_priv(net_dev);
> -     unsigned long flags;
>
> +printk(KERN_INFO "%s " MAC_FMT "\n", __func__,
> MAC_ARG(data->ap_addr.sa_data)); /* sanity check */
>       if (data->ap_addr.sa_family != ARPHRD_ETHER) {
>               return -EINVAL;
>       }
>
> -     spin_lock_irqsave(&mac->lock, flags);
> +     mutex_lock(&mac->associnfo.mutex);
>       if (is_broadcast_ether_addr(data->ap_addr.sa_data)) {
>               /* the bssid we have is not to be fixed any longer,
>                * and we should reassociate to the best AP. */
> @@ -378,7 +385,8 @@ ieee80211softmac_wx_set_wap(struct net_d
>          }
>
>   out:
> -     spin_unlock_irqrestore(&mac->lock, flags);
> +     mutex_unlock(&mac->associnfo.mutex);
> +
>       return 0;
>  }
>  EXPORT_SYMBOL_GPL(ieee80211softmac_wx_set_wap);
> @@ -394,7 +402,9 @@ ieee80211softmac_wx_set_genie(struct net
>       int err = 0;
>       char *buf;
>       int i;
> -
> +
> +printk(KERN_INFO "%s\n", __func__);
> +     mutex_lock(&mac->associnfo.mutex);
>       spin_lock_irqsave(&mac->lock, flags);
>       /* bleh. shouldn't be locked for that kmalloc... */
>
> @@ -432,6 +442,8 @@ ieee80211softmac_wx_set_genie(struct net
>
>   out:
>       spin_unlock_irqrestore(&mac->lock, flags);
> +     mutex_unlock(&mac->associnfo.mutex);
> +
>       return err;
>  }
>  EXPORT_SYMBOL_GPL(ieee80211softmac_wx_set_genie);
> @@ -446,7 +458,9 @@ ieee80211softmac_wx_get_genie(struct net
>       unsigned long flags;
>       int err = 0;
>       int space = wrqu->data.length;
> -
> +
> +printk(KERN_INFO "%s\n", __func__);
> +     mutex_lock(&mac->associnfo.mutex);
>       spin_lock_irqsave(&mac->lock, flags);
>
>       wrqu->data.length = 0;
> @@ -459,6 +473,8 @@ ieee80211softmac_wx_get_genie(struct net
>                       err = -E2BIG;
>       }
>       spin_unlock_irqrestore(&mac->lock, flags);
> +     mutex_lock(&mac->associnfo.mutex);
> +
>       return err;
>  }
>  EXPORT_SYMBOL_GPL(ieee80211softmac_wx_get_genie);
> @@ -473,10 +489,14 @@ ieee80211softmac_wx_set_mlme(struct net_
>       struct iw_mlme *mlme = (struct iw_mlme *)extra;
>       u16 reason = cpu_to_le16(mlme->reason_code);
>       struct ieee80211softmac_network *net;
> +     int err = -EINVAL;
> +
> +printk(KERN_INFO "%s\n", __func__);
> +     mutex_lock(&mac->associnfo.mutex);
>
>       if (memcmp(mac->associnfo.bssid, mlme->addr.sa_data, ETH_ALEN)) {
>               printk(KERN_DEBUG PFX "wx_set_mlme: requested operation on net 
> we don't
> use\n"); -            return -EINVAL;
> +             goto out;
>       }
>
>       switch (mlme->cmd) {
> @@ -484,14 +504,22 @@ ieee80211softmac_wx_set_mlme(struct net_
>               net = ieee80211softmac_get_network_by_bssid_locked(mac,
> mlme->addr.sa_data); if (!net) {
>                       printk(KERN_DEBUG PFX "wx_set_mlme: we should know the 
> net here...\n");
> -                     return -EINVAL;
> +                     goto out;
>               }
>               return ieee80211softmac_deauth_req(mac, net, reason);
>       case IW_MLME_DISASSOC:
>               ieee80211softmac_send_disassoc_req(mac, reason);
> -             return 0;
> +             mac->associated = 0;
> +             mac->associnfo.associating = 0;
> +             err = 0;
> +             goto out;
>       default:
> -             return -EOPNOTSUPP;
> +             err = -EOPNOTSUPP;
>       }
> +
> +out:
> +     mutex_unlock(&mac->associnfo.mutex);
> +
> +     return err;
>  }
>  EXPORT_SYMBOL_GPL(ieee80211softmac_wx_set_mlme);
 image is initramfs... it is
Freeing initrd memory: 774k freed
NET: Registered protocol family 16
ACPI: bus type pci registered
PCI: Using MMCONFIG at e0000000
PCI: No mmconfig possible on device 0:18
GSI 21 sharing vector 0xA9 and IRQ 21
ACPI: Interpreter enabled
ACPI: Using IOAPIC for interrupt routing
ACPI: PCI Root Bridge [PCI0] (0000:00)
PCI: Probing PCI hardware (bus 00)
PCI: Ignoring BAR0-3 of IDE controller 0000:00:14.1
Boot video device is 0000:01:00.0
PCI: Transparent bridge - 0000:00:14.4
PCI: Bus #07 (-#0a) is hidden behind transparent bridge #06 (-#07) (try 'pci=assign-busses')
Please report the result to linux-kernel to fix this permanently
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT]
ACPI: PCI Interrupt Link [LNKA] (IRQs 10 11) *0, disabled.
ACPI: PCI Interrupt Link [LNKB] (IRQs 10 11) *0, disabled.
ACPI: PCI Interrupt Link [LNKC] (IRQs 10 11) *0, disabled.
ACPI: PCI Interrupt Link [LNKD] (IRQs 10 11) *0, disabled.
ACPI: PCI Interrupt Link [LNKE] (IRQs 10 11) *0, disabled.
ACPI: PCI Interrupt Link [LNKF] (IRQs 10 11) *0, disabled.
ACPI: PCI Interrupt Link [LNKG] (IRQs 10 11) *0, disabled.
ACPI: PCI Interrupt Link [LNKH] (IRQs 10 11) *0, disabled.
ACPI: Embedded Controller [EC0] (gpe 16) interrupt mode.
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.PB2_._PRT]
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.PB6_._PRT]
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.P2P_._PRT]
SCSI subsystem initialized
usbcore: registered new driver usbfs
usbcore: registered new driver hub
PCI: Using ACPI for IRQ routing
PCI: If a device doesn't work, try "pci=routeirq".  If it helps, post a report
PCI-DMA: Disabling IOMMU.
PCI: Bridge: 0000:00:02.0
  IO window: 9000-9fff
  MEM window: c0100000-c01fffff
  PREFETCH window: c8000000-cfffffff
PCI: Bridge: 0000:00:06.0
  IO window: disabled.
  MEM window: c0200000-c02fffff
  PREFETCH window: disabled.
PCI: Bus 7, cardbus bridge: 0000:06:09.0
  IO window: 00002000-000020ff
  IO window: 00002400-000024ff
  PREFETCH window: 50000000-51ffffff
  MEM window: 52000000-53ffffff
PCI: Bridge: 0000:00:14.4
  IO window: 2000-2fff
  MEM window: c0300000-c03fffff
  PREFETCH window: 50000000-51ffffff
PCI: Setting latency timer of device 0000:00:02.0 to 64
PCI: Setting latency timer of device 0000:00:06.0 to 64
PCI: Enabling device 0000:06:09.0 (0004 -> 0007)
GSI 16 sharing vector 0xB1 and IRQ 16
ACPI: PCI Interrupt 0000:06:09.0[A] -> GSI 23 (level, low) -> IRQ 16
NET: Registered protocol family 2
IP route cache hash table entries: 32768 (order: 6, 262144 bytes)
TCP established hash table entries: 131072 (order: 8, 1048576 bytes)
TCP bind hash table entries: 65536 (order: 7, 524288 bytes)
TCP: Hash tables configured (established 131072 bind 65536)
TCP reno registered
Total HugeTLB memory allocated, 0
Initializing Cryptographic API
io scheduler noop registered
io scheduler anticipatory registered
io scheduler deadline registered
io scheduler cfq registered (default)
PCI: Setting latency timer of device 0000:00:02.0 to 64
pcie_portdrv_probe->Dev[5a34:1002] has invalid IRQ. Check vendor BIOS
assign_interrupt_mode Found MSI capability
Allocate Port Service[0000:00:02.0:pcie00]
Allocate Port Service[0000:00:02.0:pcie01]
PCI: Setting latency timer of device 0000:00:06.0 to 64
pcie_portdrv_probe->Dev[5a38:1002] has invalid IRQ. Check vendor BIOS
assign_interrupt_mode Found MSI capability
Allocate Port Service[0000:00:06.0:pcie00]
Allocate Port Service[0000:00:06.0:pcie01]
Real Time Clock Driver v1.12ac
Non-volatile memory driver v1.2
Linux agpgart interface v0.101 (c) Dave Jones
ACPI: AC Adapter [ACAD] (on-line)
ACPI: Battery Slot [BAT1] (battery absent)
ACPI: Power Button (FF) [PWRF]
ACPI: Lid Switch [LID]
ACPI: Power Button (CM) [PWRB]
ACPI: Sleep Button (CM) [SLPB]
ACPI: Video Device [VGA] (multi-head: yes  rom: no  post: no)
Using specific hotkey driver
ACPI: CPU0 (power states: C1[C1] C2[C2] C3[C3])
ACPI: Processor [CPU0] (supports 8 throttling states)
ACPI: Thermal Zone [THRM] (60 C)
Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing disabled
serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
serial8250: ttyS1 at I/O 0x2f8 (irq = 3) is a NS16550A
GSI 17 sharing vector 0xB9 and IRQ 17
ACPI: PCI Interrupt 0000:00:14.6[B] -> GSI 17 (level, low) -> IRQ 17
i8042.c: Detected active multiplexing controller, rev 1.1.
serio: i8042 AUX0 port at 0x60,0x64 irq 12
serio: i8042 AUX1 port at 0x60,0x64 irq 12
serio: i8042 AUX2 port at 0x60,0x64 irq 12
serio: i8042 AUX3 port at 0x60,0x64 irq 12
serio: i8042 KBD port at 0x60,0x64 irq 1
mice: PS/2 mouse device common for all mice
RAMDISK driver initialized: 16 RAM disks of 8192K size 1024 blocksize
loop: loaded (max 8 devices)
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
ATIIXP: IDE controller at PCI slot 0000:00:14.1
GSI 18 sharing vector 0xC1 and IRQ 18
ACPI: PCI Interrupt 0000:00:14.1[A] -> GSI 16 (level, low) -> IRQ 18
ATIIXP: chipset revision 0
ATIIXP: not 100% native mode: will probe irqs later
    ide0: BM-DMA at 0x8410-0x8417, BIOS settings: hda:DMA, hdb:pio
    ide1: BM-DMA at 0x8418-0x841f, BIOS settings: hdc:DMA, hdd:pio
Probing IDE interface ide0...
input: AT Translated Set 2 keyboard as /class/input/input0
hda: ST9100823A, ATA DISK drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
Probing IDE interface ide1...
hdc: MATSHITADVD-RAM UJ-845S, ATAPI CD/DVD-ROM drive
ide1 at 0x170-0x177,0x376 on irq 15
hda: max request size: 512KiB
hda: 195371568 sectors (100030 MB) w/8192KiB Cache, CHS=16383/255/63, UDMA(100)
hda: cache flushes supported
 hda: hda1 hda2 hda3 hda4
hdc: ATAPI 24X DVD-ROM DVD-R-RAM CD-R/RW drive, 2048kB Cache, UDMA(33)
Uniform CD-ROM driver Revision: 3.20
TCP bic registered
NET: Registered protocol family 1
NET: Registered protocol family 10
lo: Disabled Privacy Extensions
IPv6 over IPv4 tunneling driver
NET: Registered protocol family 17
NET: Registered protocol family 15
ieee80211: 802.11 data/management/control stack, git-1.1.13
ieee80211: Copyright (C) 2004-2005 Intel Corporation <[EMAIL PROTECTED]>
ieee80211_crypt: registered algorithm 'NULL'
powernow-k8: Found 1 AMD Turion(tm) 64 Mobile Technology ML-37 processors (version 2.00.00)
powernow-k8:    0 : fid 0xc (2000 MHz), vid 0x4
powernow-k8:    1 : fid 0xa (1800 MHz), vid 0x6
powernow-k8:    2 : fid 0x8 (1600 MHz), vid 0x8
powernow-k8:    3 : fid 0x0 (800 MHz), vid 0x16
ACPI: (supports S0 S3 S4 S5)
BIOS EDD facility v0.16 2004-Jun-25, 1 devices found
Freeing unused kernel memory: 176k freed
GSI 19 sharing vector 0xC9 and IRQ 19
ACPI: PCI Interrupt 0000:00:13.2[A] -> GSI 19 (level, low) -> IRQ 19
ehci_hcd 0000:00:13.2: EHCI Host Controller
ehci_hcd 0000:00:13.2: new USB bus registered, assigned bus number 1
ehci_hcd 0000:00:13.2: irq 19, io mem 0xc0002000
ehci_hcd 0000:00:13.2: USB 2.0 started, EHCI 1.00, driver 10 Dec 2004
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 8 ports detected
usbcore: registered new driver hiddev
usbcore: registered new driver usbhid
drivers/usb/input/hid-core.c: v2.6:USB HID core driver
Initializing USB Mass Storage driver...
usbcore: registered new driver usb-storage
USB Mass Storage support registered.
USB Universal Host Controller Interface driver v3.0
ohci_hcd: 2005 April 22 USB 1.1 'Open' Host Controller (OHCI) Driver (PCI)
ACPI: PCI Interrupt 0000:00:13.0[A] -> GSI 19 (level, low) -> IRQ 19
ohci_hcd 0000:00:13.0: OHCI Host Controller
ohci_hcd 0000:00:13.0: new USB bus registered, assigned bus number 2
ohci_hcd 0000:00:13.0: irq 19, io mem 0xc0000000
usb usb2: configuration #1 chosen from 1 choice
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 4 ports detected
ACPI: PCI Interrupt 0000:00:13.1[A] -> GSI 19 (level, low) -> IRQ 19
ohci_hcd 0000:00:13.1: OHCI Host Controller
ohci_hcd 0000:00:13.1: new USB bus registered, assigned bus number 3
ohci_hcd 0000:00:13.1: irq 19, io mem 0xc0001000
usb usb3: configuration #1 chosen from 1 choice
hub 3-0:1.0: USB hub found
hub 3-0:1.0: 4 ports detected
ReiserFS: hda3: found reiserfs format "3.6" with standard journal
ReiserFS: hda3: using ordered data mode
ReiserFS: hda3: journal params: device hda3, size 8192, journal first block 18, max trans len 1024, max batch 900, max commit age 30, max trans age 30
ReiserFS: hda3: checking transaction log (hda3)
ReiserFS: hda3: Using r5 hash to sort names
ACPI: PCI Interrupt 0000:06:09.3[A] -> GSI 23 (level, low) -> IRQ 16
tg3.c:v3.65 (August 07, 2006)
GSI 20 sharing vector 0xD1 and IRQ 20
ACPI: PCI Interrupt 0000:05:00.0[A] -> GSI 18 (level, low) -> IRQ 20
PCI: Setting latency timer of device 0000:05:00.0 to 64
eth0: Tigon3 [partno(BCM95789) rev 4101 PHY(5750)] (PCI Express) 10/100/1000BaseT Ethernet 00:c0:9f:b7:77:f3
eth0: RXcsums[1] LinkChgREG[0] MIirq[0] ASF[0] Split[0] WireSpeed[1] TSOcap[1] 
eth0: dma_rwctrl[76180000] dma_mask[64-bit]
piix4_smbus 0000:00:14.0: Found 0000:00:14.0 device
piix4_smbus 0000:00:14.0: Using Interrupt SMI# for SMBus.
piix4_smbus 0000:00:14.0: SMBREV = 0x0
piix4_smbus 0000:00:14.0: SMBA = 0x8400
i2c_adapter i2c-0: adapter [SMBus PIIX4 adapter at 8400] registered
bcm43xx driver
ACPI: PCI Interrupt 0000:06:02.0[A] -> GSI 21 (level, low) -> IRQ 21
bcm43xx: Chip ID 0x4318, rev 0x2
bcm43xx: Number of cores: 4
bcm43xx: Core 0: ID 0x800, rev 0xd, vendor 0x4243, enabled
bcm43xx: Core 1: ID 0x812, rev 0x9, vendor 0x4243, disabled
bcm43xx: Core 2: ID 0x804, rev 0xc, vendor 0x4243, enabled
bcm43xx: Core 3: ID 0x80d, rev 0x7, vendor 0x4243, enabled
bcm43xx: PHY connected
bcm43xx: Detected PHY: Version: 3, Type 2, Revision 7
bcm43xx: Detected Radio: ID: 8205017f (Manuf: 17f Ver: 2050 Rev: 8)
bcm43xx: Radio turned off
bcm43xx: Radio turned off
Yenta: CardBus bridge found at 0000:06:09.0 [1025:007e]
Yenta: Using CSCINT to route CSC interrupts to PCI
Yenta: Routing CardBus interrupts to PCI
Yenta TI: socket 0000:06:09.0, mfunc 0x01721b22, devctl 0x64
Yenta: ISA IRQ mask 0x0ef8, PCI irq 16
Socket status: 30000006
Yenta: Raising subordinate bus# of parent bus (#06) from #07 to #0a
pcmcia: parent PCI bridge I/O window: 0x2000 - 0x2fff
pcmcia: parent PCI bridge Memory window: 0xc0300000 - 0xc03fffff
pcmcia: parent PCI bridge Memory window: 0x50000000 - 0x51ffffff
ACPI: PCI Interrupt 0000:00:14.5[B] -> GSI 17 (level, low) -> IRQ 17
Synaptics Touchpad, model: 1, fw: 5.9, id: 0x126eb1, caps: 0xa04713/0x4000
input: SynPS/2 Synaptics TouchPad as /class/input/input1
ACPI: PCI Interrupt 0000:00:14.6[B] -> GSI 17 (level, low) -> IRQ 17
Bluetooth: Core ver 2.10
NET: Registered protocol family 31
Bluetooth: HCI device and connection manager initialized
Bluetooth: HCI socket layer initialized
Bluetooth: L2CAP ver 2.8
Bluetooth: L2CAP socket layer initialized
Bluetooth: HIDP (Human Interface Emulation) ver 1.1
fuse: no version for "struct_module" found: kernel tainted.
fuse init (API version 7.7)
fuse distribution version: 2.6.0-rc1
Adding 3911620k swap on /dev/hda2.  Priority:-1 extents:1 across:3911620k
bcm43xx: PHY connected
bcm43xx: Microcode rev 0x123, pl 0x21 (2005-01-22  19:48:06)
bcm43xx: Radio turned on
bcm43xx: ASSERTION FAILED (radio_attenuation < 10) at: drivers/net/wireless/bcm43xx/bcm43xx_phy.c:1496:bcm43xx_find_lopair()
bcm43xx: ASSERTION FAILED (radio_attenuation < 10) at: drivers/net/wireless/bcm43xx/bcm43xx_phy.c:1496:bcm43xx_find_lopair()
bcm43xx: ASSERTION FAILED (radio_attenuation < 10) at: drivers/net/wireless/bcm43xx/bcm43xx_phy.c:1496:bcm43xx_find_lopair()
bcm43xx: Chip initialized
bcm43xx: 32-bit DMA initialized
bcm43xx: Keys cleared
bcm43xx: Selected 802.11 core (phytype 2)
bcm43xx: ASSERTION FAILED (radio_attenuation < 10) at: drivers/net/wireless/bcm43xx/bcm43xx_phy.c:1496:bcm43xx_find_lopair()
ADDRCONF(NETDEV_UP): eth1: link is not ready
ieee80211softmac_wx_set_rate
SoftMAC: empty ratesinfo?
SoftMAC: empty ratesinfo?
ieee80211softmac_wx_set_wap 00:00:00:00:00:00
ieee80211softmac_wx_set_essid
SoftMAC: Associate: Scanning for networks first.
SoftMAC: Start scanning with channel: 1
SoftMAC: Scanning 14 channels
SoftMAC: Scanning finished
SoftMAC: Associate: Scanning for networks first.
SoftMAC: Start scanning with channel: 1
SoftMAC: Scanning 14 channels
Losing some ticks... checking if CPU frequency changed.
bcm43xx: set security called, .level = 0, .enabled = 0, .encrypt = 0
bcm43xx: set security called, .level = 0, .enabled = 0, .encrypt = 0
bcm43xx: set security called, .level = 0, .enabled = 0, .encrypt = 0
bcm43xx: set security called, .level = 0, .enabled = 0, .encrypt = 0
SoftMAC: Scanning finished
SoftMAC: Associate: Scanning for networks first.
SoftMAC: Start scanning with channel: 1
SoftMAC: Scanning 14 channels
ieee80211softmac_wx_get_scan_results
ieee80211softmac_wx_get_scan_results
SoftMAC: Scanning finished
SoftMAC: Unable to find matching network after scan!
ieee80211softmac_wx_get_scan_results
ieee80211softmac_wx_set_genie
SoftMAC: generic IE set to dd160050f20101000050f20201000050f20201000050f202
ieee80211softmac_wx_set_essid
SoftMAC: Associate: Scanning for networks first.
SoftMAC: Start scanning with channel: 1
SoftMAC: Scanning 14 channels
ieee80211softmac_wx_set_wap 00:13:10:2f:98:3e
SoftMAC: Queueing Authentication Request to 00:13:10:2f:98:3e
SoftMAC: Cannot associate without being authenticated, requested authentication
SoftMAC: Sent Authentication Request to 00:13:10:2f:98:3e.
SoftMAC: Open Authentication completed with 00:13:10:2f:98:3e
SoftMAC: sent association request!
SoftMAC: Scanning finished
SoftMAC: sent association request!
ieee80211softmac_wx_get_scan_results
SoftMAC: associated!
ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
ieee80211softmac_wx_get_wap
ieee80211softmac_wx_get_essid
ieee80211softmac_wx_get_wap
ieee80211softmac_wx_get_essid
ieee80211softmac_wx_get_wap
ieee80211softmac_wx_get_essid
ieee80211softmac_wx_get_wap
ieee80211softmac_wx_get_essid
ieee80211softmac_wx_get_wap
ieee80211_crypt: registered algorithm 'TKIP'
bcm43xx: set security called, .active_key = 0, .level = 2, .enabled = 1, .encrypt = 1
bcm43xx: set security called, .enabled = 1, .encrypt = 1
eth1: no IPv6 routers present
fglrx: module license 'Proprietary. (C) 2002 - ATI Technologies, Starnberg, GERMANY' taints kernel.
[fglrx] Maximum main memory to use for locked dma buffers: 921 MBytes.
[fglrx] module loaded - fglrx 8.29.6 [Sep 19 2006] on minor 0
ACPI: PCI Interrupt 0000:01:00.0[A] -> GSI 18 (level, low) -> IRQ 20
pcmcia: Detected deprecated PCMCIA ioctl usage from process: cardmgr.
pcmcia: This interface will soon be removed from the kernel; please expect breakage unless you upgrade to new tools.
pcmcia: see http://www.kernel.org/pub/linux/utils/kernel/pcmcia/pcmcia.html for details.
[fglrx] total      GART = 134217728
[fglrx] free       GART = 118226944
[fglrx] max single GART = 118226944
[fglrx] total      LFB  = 124686336
[fglrx] free       LFB  = 110088192
[fglrx] max single LFB  = 110088192
[fglrx] total      Inv  = 0
[fglrx] free       Inv  = 0
[fglrx] max single Inv  = 0
[fglrx] total      TIM  = 0
Bluetooth: RFCOMM socket layer initialized
Bluetooth: RFCOMM TTY layer initialized
Bluetooth: RFCOMM ver 1.8
irda_init()
NET: Registered protocol family 23
IrCOMM protocol (Dag Brattli)
nsc-ircc, Found chip at base=0x02e
nsc-ircc, driver loaded (Dag Brattli)
IrDA: Registered device irda0
nsc-ircc, Found dongle: Supports SIR Mode only
irlap_change_speed(), setting speed to 9600
_______________________________________________
Bcm43xx-dev mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/bcm43xx-dev

Reply via email to