[#5310] Install ad1980/1 module failed with "Unknown symbol _ac97_bus_type"

Document created by Aaronwu Employee on Sep 4, 2013
Version 1Show Document
  • View in full screen mode

[#5310] Install ad1980/1 module failed with "Unknown symbol _ac97_bus_type"

Submitted By: Vivi Li

Open Date

2009-07-03 02:29:00     Close Date

2009-07-27 00:22:35

Priority:

Medium     Assignee:

Mike Frysinger

Status:

Closed     Fixed In Release:

N/A

Found In Release:

N/A     Release:

Category:

Drivers     Board:

N/A

Processor:

ALL     Silicon Revision:

Is this bug repeatable?:

Yes     Resolution:

Fixed

Uboot version or rev.:

    Toolchain version or rev.:

gcc4.1_09r1-rc7

App binary format:

N/A     

Summary: Install ad1980/1 module failed with "Unknown symbol _ac97_bus_type"

Details:

 

Install ad1980/1 module failed with error "Unknown symbol _ac97_bus_type".

 

Bellow is the log:

--

Linux version 2.6.28.10-ADI-2009R1-svn6892 (test@uclinux54-adv7393-ad1981-usb1362) (gcc version 4.1.2 (ADI svn)) #72 Thu Jul 2 11:41:04 CST 2009^M

console [early_BFuart0] enabled^M

early printk enabled on early_BFuart0^M

Warning: limiting memory to 56MB due to hardware anomaly 05000263^M

Board Memory: 64MB^M

Kernel Managed Memory: 64MB^M

Memory map:^M

  fixedcode = 0x00000400-0x00000490^M

  text      = 0x00001000-0x0011cc70^M

  rodata    = 0x0011cc70-0x00173c3c^M

  bss       = 0x00174000-0x00185fd4^M

  data      = 0x00185fd4-0x00198000^M

    stack   = 0x00196000-0x00198000^M

  init      = 0x00198000-0x008fb000^M

  available = 0x008fb000-0x037ff000^M

  DMA Zone  = 0x03e00000-0x04000000^M

Hardware Trace Active and Enabled^M

Boot Mode: 0^M

Reset caused by Software reset^M

Blackfin support (C) 2004-2009 Analog Devices, Inc.^M

Compiled for ADSP-BF537 Rev 0.2^M

Blackfin Linux support by http://blackfin.uclinux.org/^M

Processor Speed: 500 MHz core clock and 125 MHz System Clock^M

NOMPU: setting up cplb tables^M

Instruction Cache Enabled for CPU0^M

Data Cache Enabled for CPU0 (write-back)^M

Built 1 zonelists in Zone order, mobility grouping off.  Total pages: 14223^M

Kernel command line: root=/dev/mtdblock0 rw earlyprintk=serial,uart0,57600 ip=10.100.4.50:10.100.4.174:10.100.4.174:255.255.255.0:BF537:eth0:off^M

Configuring Blackfin Priority Driven Interrupts^M

PID hash table entries: 256 (order: 8, 1024 bytes)^M

bfin-rtc: invalid date; resetting^M

console handover: boot [early_BFuart0] -> real [ttyBF0]^M

Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)^M

Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)^M

Memory available: 47576k/65536k RAM, (7564k init code, 1135k kernel code, 493k data, 2048k dma, 6720k reserved)^M

Calibrating delay loop... 995.32 BogoMIPS (lpj=1990656)^M

Security Framework initialized^M

Mount-cache hash table entries: 512^M

Blackfin Scratchpad data SRAM: 4 KB^M

Blackfin L1 Data A SRAM: 16 KB (15 KB free)^M

Blackfin L1 Data B SRAM: 16 KB (16 KB free)^M

Blackfin L1 Instruction SRAM: 48 KB (37 KB free)^M

net_namespace: 288 bytes^M

NET: Registered protocol family 16^M

Blackfin DMA Controller^M

stamp_init(): registering device resources^M

NET: Registered protocol family 2^M

IP route cache hash table entries: 1024 (order: 0, 4096 bytes)^M

TCP established hash table entries: 2048 (order: 2, 16384 bytes)^M

TCP bind hash table entries: 2048 (order: 1, 8192 bytes)^M

TCP: Hash tables configured (established 2048 bind 2048)^M

TCP reno registered^M

NET: Registered protocol family 1^M

msgmni has been set to 92^M

io scheduler noop registered^M

io scheduler anticipatory registered (default)^M

io scheduler cfq registered^M

Serial: Blackfin serial driver^M

bfin-uart.1: ttyBF0 at MMIO 0xffc00400 (irq = 18) is a BFIN-UART^M

brd: module loaded^M

bfin_mii_bus: probed^M

bfin_mac: attached PHY driver [SMSC LAN83C185] (mii_bus:phy_addr=0:01, irq=-1, mdc_clk=2500000Hz(mdc_div=24)@sclk=125MHz)^M

bfin_mac bfin_mac.0: Blackfin on-chip Ethernet MAC driver, Version 1.1^M

rtc-bfin rtc-bfin: rtc core: registered rtc-bfin as rtc0^M

bfin-wdt: initialized: timeout=20 sec (nowayout=0)^M

Advanced Linux Sound Architecture Driver Version 1.0.18rc3.^M

ALSA device list:^M

  No soundcards found.^M

TCP cubic registered^M

NET: Registered protocol family 17^M

rtc-bfin rtc-bfin: setting system clock to 1970-01-01 07:41:16 UTC (27676)^M

IP-Config: Complete:^M

     device=eth0, addr=10.100.4.50, mask=255.255.255.0, gw=10.100.4.174,^M

     host=BF537, domain=, nis-domain=(none),^M

     bootserver=10.100.4.174, rootserver=10.100.4.174, rootpath=^M

Freeing unused kernel memory: 7564k freed^M

dma_alloc_init: dma_page @ 0x008f8000 - 512 pages at 0x03e00000^M

                           _____________________________________^M

        a8888b.           / Welcome to the uClinux distribution \^M

       d888888b.         /       _     _                         \^M

       8P"YP"Y88        /       | |   |_|            __  __ (TM)  |^M

       8|o||o|88  _____/        | |    _ ____  _   _ \ \/ /       |^M

       8'    .88       \        | |   | |  _ \| | | | \  /        |^M

       8`._.' Y8.       \       | |__ | | | | | |_| | /  \        |^M

      d/      `8b.       \      \____||_|_| |_|\____|/_/\_\       |^M

     dP   .    Y8b.       \   For embedded processors including   |^M

    d8:'  "  `::88b        \    the Analog Devices Blackfin      /^M

   d8"         'Y88b        \___________________________________/^M

  :8P    '      :888^M

   8a.   :     _a88P         For further information, check out:^M

._/"Yaa_:   .| 88P|            - http://blackfin.uclinux.org/^M

\    YP"    `| 8P  `.          - http://docs.blackfin.uclinux.org/^M

/     \.___.d|    .'           - http://www.uclinux.org/^M

`--..__)8888P`._.'  jgs/a:f    - http://www.analog.com/blackfin^M

^M

Have a lot of fun...^M

^M

^M

BusyBox v1.13.4 (2009-07-02 11:35:39 CST) built-in shell (msh)^M

Enter 'help' for a list of built-in commands.^M

^M

root:/> modprobe snd-ad1980^M

snd_soc_core: Unknown symbol _ac97_bus_type^M

modprobe: Failed to load module snd_ad1980: unknown symbol in module, or unknown parameter.^M

root:/>

--

 

Follow-ups

 

--- Cliff Cai                                                2009-07-03 05:39:19

the dependencies are broken by mainline recently.

now we have to install snd-soc-core first.

modprobe snd-soc-core

modprobe snd-ad1980

modprobe snd-pcm-oss(for oss-based applications)

 

Cliff

 

--- Robin Getz                                               2009-07-03 10:27:38

Cliff:

 

Can you describe exactly what you mean?

 

depmod (busybox's perl script) should be able to figure this out, and add

things in the correct order.

 

-Robin

 

--- Cliff Cai                                                2009-07-06 22:54:00

it seems the moudules.dep is not correctly generated. I will check what has

changed.

 

Cliff

 

--- Cliff Cai                                                2009-07-06 22:55:35

it seems the moudules.dep is not correctly generated. I will check what has

changed.

 

Cliff

 

--- Mike Frysinger                                           2009-07-08 22:04:26

the modules.dep file looks fine.  snd-soc-ad1980.ko depends on snd-soc-core.ko

and snd-soc-core.ko depends on kernel/sound/ac97_bus.ko.  looks like modprobe

itself isnt processing the dependency list properly.

 

--- Mike Frysinger                                           2009-07-09 00:32:46

nm, i was looking at the wrong module.  snd-ad1980 != snd-soc-ad1980.

 

should be fixed now in trunk and branch by having depmod.pl run through the

dependencies recursively.

 

--- Vivi Li                                                  2009-07-27 00:22:35

OK now. Close it.

 

 

 

    Files

    Changes

    Commits

    Dependencies

    Duplicates

    Associations

    Tags

 

File Name     File Type     File Size     Posted By

config.power    application/octet-stream    32591    Vivi Li

Attachments

Outcomes