Modify

Opened 5 years ago

Closed 5 years ago

#13895 closed defect (invalid)

Ramdisk and squashfs images have different code for ath9k

Reported by: sailer.aleks@… Owned by: developers
Priority: normal Milestone: Attitude Adjustment 12.09.1
Component: kernel Version: Attitude Adjustment 12.09
Keywords: ath9k Cc:

Description

Ramdisk and squashfs images have different code for ath9k
(Possible different set of patches)
RamDisk works well but squashfs falls with error -22.

RamDisk:

cut
[    5.232000] cfg80211: Calling CRDA to update world regulatory domain
[    5.240000] cfg80211: World regulatory domain updated:
[    5.244000] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[    5.252000] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[    5.260000] cfg80211:   (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[    5.268000] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[    5.276000] cfg80211:   (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[    5.284000] cfg80211:   (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[    5.400000] usbcore: registered new interface driver usbfs
[    5.404000] usbcore: registered new interface driver hub
[    5.412000] usbcore: registered new device driver usb
[    5.540000] PCI: Enabling device 0000:00:0e.0 (0000 -> 0002)
----
[    5.548000] ath: phy0: eeprom contains invalid mac address: 03:00:be:7f:c7:ef
[    5.556000] ath: phy0: random mac address will be used: 7a:56:d2:37:c9:97
[    5.572000] ieee80211 phy0: Atheros AR9287 Rev:2 mem=0xb8000000, irq=30
----
[    5.580000] cfg80211: Calling CRDA for country: AW
[    5.580000] cfg80211: Regulatory domain changed to country: AW
[    5.588000] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[    5.596000] cfg80211:   (2402000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm)
[    5.604000] cfg80211:   (5170000 KHz - 5250000 KHz @ 40000 KHz), (N/A, 2000 mBm)
[    5.612000] cfg80211:   (5250000 KHz - 5330000 KHz @ 40000 KHz), (N/A, 2000 mBm)
[    5.616000] cfg80211:   (5490000 KHz - 5710000 KHz @ 40000 KHz), (N/A, 2700 mBm)
[    5.640000] NET: Registered protocol family 8
[    5.644000] NET: Registered protocol family 20
[    5.688000] Button Hotplug driver version 0.4.1
[    5.740000] PPP generic driver version 2.4.2
cut

squashfs:

cut
[    8.628000] cfg80211: Calling CRDA to update world regulatory domain
[    8.632000] cfg80211: World regulatory domain updated:
[    8.636000] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[    8.644000] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[    8.652000] cfg80211:   (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[    8.660000] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[    8.668000] cfg80211:   (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[    8.676000] cfg80211:   (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[    9.096000] usbcore: registered new interface driver usbfs
[    9.100000] usbcore: registered new interface driver hub
[    9.108000] usbcore: registered new device driver usb
[    9.836000] PCI: Enabling device 0000:00:0e.0 (0000 -> 0002)
----
[    9.844000] ath: phy0: Bad EEPROM checksum 0xbfce or revision 0x0000
[    9.848000] ath: phy0: Unable to initialize hardware; initialization status: -22
[    9.856000] ath9k 0000:00:0e.0: Failed to initialize device
[    9.864000] ath9k: probe of 0000:00:0e.0 failed with error -22
----
[    9.888000] NET: Registered protocol family 8
[    9.888000] NET: Registered protocol family 20
[    9.928000] Button Hotplug driver version 0.4.1
cut	

chip: AR9227
platform :lantiq/xway
device: BT Home Hub 3 a

P.S. A checksum calculation procedure in eeprom_def.c ath9k_hw_def_check_eeprom() looks wrong because a checksum field itself (i=1) is included in the calculation.

Attachments (0)

Change History (3)

comment:1 Changed 5 years ago by sailer.aleks@…

P.P.S. A checksum calculation is fine. Sorry for my neglect.

comment:2 Changed 5 years ago by sailer.aleks@…

Please change to invalid. I've found my problem.

comment:3 Changed 5 years ago by florian

  • Resolution set to invalid
  • Status changed from new to closed

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.