Jump to content

[Fixed][Bug] Usb Wlan Boot


WatskeBart

Recommended Posts

Running fw 2.6.1 using a powered hub with a flashdrive.

When booting with my Atheros AR9271 (Alfa AWUS036NHA) inserted all is good, pineapple detects it as wlan1 and internal as wlan0

When booting with my Ralink RT2501/RT2573 inserted, pineapple detects it as wlan0 and internal as wlan1. Why is the Ralink assigned as phy0 instead of the internal wlan

Only when booting the pineapple without the Ralink and inserting it after boot it will detect as wlan1.

dmesg output with both devices inserted:

#########SNIPPED#############

[ 10.330000] SCSI subsystem initialized

[ 10.630000] usbcore: registered new interface driver usbfs

[ 10.630000] usbcore: registered new interface driver hub

[ 10.640000] usbcore: registered new device driver usb

[ 11.190000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver

[ 11.200000] ehci-platform ehci-platform: Generic Platform EHCI Controller

[ 11.200000] ehci-platform ehci-platform: new USB bus registered, assigned bus number 1

[ 11.240000] ehci-platform ehci-platform: irq 3, io mem 0x1b000000

[ 11.260000] ehci-platform ehci-platform: USB 2.0 started, EHCI 1.00

[ 11.260000] hub 1-0:1.0: USB hub found

[ 11.260000] hub 1-0:1.0: 1 port detected

[ 11.390000] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver

[ 11.500000] uhci_hcd: USB Universal Host Controller Interface driver

[ 11.620000] Initializing USB Mass Storage driver...

[ 11.620000] usbcore: registered new interface driver usb-storage

[ 11.630000] USB Mass Storage support registered.

[ 11.670000] usb 1-1: new high-speed USB device number 2 using ehci-platform

[ 11.820000] hub 1-1:1.0: USB hub found

[ 11.820000] hub 1-1:1.0: 4 ports detected

[ 12.100000] usb 1-1.4: new high-speed USB device number 3 using ehci-platform

[ 12.610000] usb 1-1.1: new high-speed USB device number 4 using ehci-platform

[ 12.740000] scsi0 : usb-storage 1-1.1:1.0

[ 12.990000] usb 1-1.2: new high-speed USB device number 5 using ehci-platform

[ 13.750000] scsi 0:0:0:0: Direct-Access Generic STORAGE DEVICE 0250 PQ: 0 ANSI: 0

[ 13.920000] sd 0:0:0:0: [sda] 15523840 512-byte logical blocks: (7.94 GB/7.40 GiB)

[ 13.930000] sd 0:0:0:0: [sda] Write Protect is off

[ 13.930000] sd 0:0:0:0: [sda] Mode Sense: 0b 00 00 08

[ 13.930000] sd 0:0:0:0: [sda] No Caching mode page present

[ 13.940000] sd 0:0:0:0: [sda] Assuming drive cache: write through

[ 13.950000] sd 0:0:0:0: [sda] No Caching mode page present

[ 13.950000] sd 0:0:0:0: [sda] Assuming drive cache: write through

[ 13.970000] sda: sda1 sda2

[ 13.980000] sd 0:0:0:0: [sda] No Caching mode page present

[ 13.980000] sd 0:0:0:0: [sda] Assuming drive cache: write through

[ 13.990000] sd 0:0:0:0: [sda] Attached SCSI removable disk

[ 32.140000] eth0: link down

[ 32.790000] Compat-wireless backport release: compat-wireless-2012-07-13

[ 32.800000] Backport based on wireless-testing.git master-2012-07-16

[ 32.800000] compat.git: wireless-testing.git

[ 32.840000] cfg80211: Calling CRDA to update world regulatory domain

[ 32.840000] cfg80211: World regulatory domain updated:

[ 32.840000] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)

[ 32.850000] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)

[ 32.860000] cfg80211: (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)

[ 32.870000] cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)

[ 32.870000] cfg80211: (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)

[ 32.880000] cfg80211: (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)

[ 33.370000] cfg80211: World regulatory domain updated:

[ 33.380000] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)

[ 33.390000] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)

[ 33.390000] cfg80211: (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)

[ 33.400000] cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)

[ 33.410000] cfg80211: (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)

[ 33.410000] cfg80211: (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)

[ 34.390000] usb 1-1.4: reset high-speed USB device number 3 using ehci-platform

[ 34.850000] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'

[ 34.850000] Registered led device: rt73usb-phy0::radio

[ 34.850000] Registered led device: rt73usb-phy0::assoc

[ 34.850000] Registered led device: rt73usb-phy0::quality

[ 34.860000] usbcore: registered new interface driver rt73usb

[ 34.900000] usbcore: registered new interface driver rtl8187

[ 34.930000] ath: EEPROM regdomain: 0x0

[ 34.930000] ath: EEPROM indicates default country code should be used

[ 34.930000] ath: doing EEPROM country->regdmn map search

[ 34.930000] ath: country maps to regdmn code: 0x3a

[ 34.930000] ath: Country alpha2 being used: US

[ 34.930000] ath: Regpair used: 0x3a

[ 34.940000] ieee80211 phy1: Selected rate control algorithm 'minstrel_ht'

[ 34.940000] Registered led device: ath9k-phy1

[ 34.940000] ieee80211 phy1: Atheros AR9330 Rev:1 mem=0xb8100000, irq=2

[ 34.950000] cfg80211: Calling CRDA for country: US

[ 34.950000] cfg80211: Regulatory domain changed to country: US

[ 34.950000] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)

[ 34.960000] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2700 mBm)

[ 34.970000] cfg80211: (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 1700 mBm)

[ 34.980000] cfg80211: (5250000 KHz - 5330000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)

[ 34.980000] cfg80211: (5490000 KHz - 5600000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)

[ 34.990000] cfg80211: (5650000 KHz - 5710000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)

[ 35.000000] cfg80211: (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 3000 mBm)

[ 35.020000] Button Hotplug driver version 0.4.1

[ 35.260000] RPC: Registered named UNIX socket transport module.

[ 35.260000] RPC: Registered udp transport module.

[ 35.270000] RPC: Registered tcp transport module.

[ 35.270000] RPC: Registered tcp NFSv4.1 backchannel transport module.

[ 35.600000] PPP generic driver version 2.4.2

[ 35.870000] ip_tables: © 2000-2006 Netfilter Core Team

[ 36.080000] NET: Registered protocol family 24

[ 36.210000] nf_conntrack version 0.5.0 (460 buckets, 1840 max)

[ 37.050000] usb 1-1.2: ath9k_htc: Firmware htc_9271.fw requested

[ 37.050000] usbcore: registered new interface driver ath9k_htc

[ 37.420000] usbcore: registered new interface driver usbserial

[ 37.420000] USB Serial support registered for generic

[ 37.430000] usbcore: registered new interface driver usbserial_generic

[ 37.430000] usbserial: USB Serial Driver core

[ 37.570000] usbcore: registered new interface driver cdc_ether

[ 37.670000] Error: Driver 'gpio-keys-polled' is already registered, aborting...

[ 37.770000] usbcore: registered new interface driver rndis_host

[ 37.870000] sd 0:0:0:0: Attached scsi generic sg0 type 0

[ 38.050000] usb 1-1.2: ath9k_htc: Transferred FW: htc_9271.fw, size: 51272

[ 38.280000] ath9k_htc 1-1.2:1.0: ath9k_htc: HTC initialized with 33 credits

[ 38.480000] ath9k_htc 1-1.2:1.0: ath9k_htc: FW Version: 1.3

[ 38.480000] ath: EEPROM regdomain: 0x833a

[ 38.480000] ath: EEPROM indicates we should expect a country code

[ 38.480000] ath: doing EEPROM country->regdmn map search

[ 38.480000] ath: country maps to regdmn code: 0x37

[ 38.480000] ath: Country alpha2 being used: GB

[ 38.480000] ath: Regpair used: 0x37

[ 38.490000] ieee80211 phy2: Atheros AR9271 Rev:1

[ 38.490000] cfg80211: Calling CRDA for country: GB

[ 38.490000] cfg80211: Current regulatory domain intersected:

[ 38.500000] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)

[ 38.510000] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 2000 mBm)

[ 38.510000] cfg80211: (5170000 KHz - 5250000 KHz @ 40000 KHz), (N/A, 1700 mBm)

[ 38.520000] cfg80211: (5250000 KHz - 5330000 KHz @ 40000 KHz), (N/A, 2000 mBm)

[ 38.530000] cfg80211: (5490000 KHz - 5600000 KHz @ 40000 KHz), (N/A, 2000 mBm)

[ 38.530000] cfg80211: (5650000 KHz - 5710000 KHz @ 40000 KHz), (N/A, 2000 mBm)

[ 38.540000] Registered led device: ath9k_htc-phy2

[ 38.580000] cfg80211: Current regulatory domain intersected:

[ 38.580000] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)

[ 38.590000] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 2000 mBm)

[ 38.600000] cfg80211: (5170000 KHz - 5250000 KHz @ 40000 KHz), (N/A, 1700 mBm)

[ 38.610000] cfg80211: (5250000 KHz - 5330000 KHz @ 40000 KHz), (N/A, 2000 mBm)

[ 38.610000] cfg80211: (5490000 KHz - 5600000 KHz @ 40000 KHz), (N/A, 2000 mBm)

[ 38.620000] cfg80211: (5650000 KHz - 5710000 KHz @ 40000 KHz), (N/A, 2000 mBm)

[ 48.730000] EXT4-fs (sda1): warning: maximal mount count reached, running e2fsck is recommended

[ 48.750000] EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: (null)

[ 49.010000] Adding 1044220k swap on /dev/sda2. Priority:-1 extents:1 across:1044220k

[ 57.980000] device eth0 entered promiscuous mode

[ 58.650000] eth0: link up (1000Mbps/Full duplex)

[ 58.650000] br-lan: port 1(eth0) entered forwarding state

[ 58.650000] br-lan: port 1(eth0) entered forwarding state

[ 60.650000] br-lan: port 1(eth0) entered forwarding state

[ 61.810000] device wlan1 entered promiscuous mode

[ 61.910000] br-lan: port 2(wlan1) entered forwarding state

[ 61.910000] br-lan: port 2(wlan1) entered forwarding state

[ 63.910000] br-lan: port 2(wlan1) entered forwarding state

[ 70.440000] device wlan1 left promiscuous mode

[ 70.440000] br-lan: port 2(wlan1) entered disabled state

[ 71.380000] device wlan1 entered promiscuous mode

[ 71.460000] br-lan: port 2(wlan1) entered forwarding state

[ 71.470000] br-lan: port 2(wlan1) entered forwarding state

[ 73.470000] br-lan: port 2(wlan1) entered forwarding state

Link to comment
Share on other sites

  • 4 weeks later...
Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...