root@beagleboard:/# dsp-test -p
error: create_node: dsp node all[ 1351.570434] procwrap_detach:
deprecated dspbridge ioctl
ocate failed
error: main: dsp node creation failed
I have:
root@beagleboard:/# modprobe bridgedriver /lib/dsp/baseimage.dof
root@beagleboard:/# lsmod
Module Size Used by
bridgedriver 179350 0
rtc_twl 4427 0
mailbox_mach 4183 0
mailbox 3717 2 bridgedriver,mailbox_mach
rtc_core 12599 1 rtc_twl
I tested another version [1], and dsp-ping works fine.
greetings,
SAn
[0] r81, http://people.igalia.com/vjaquez/beagle/Angstrom-base-image-glibc-ipk-2010.7-test-20100714-beagleboard.rootfs.tar.bz2
[1] r78, http://people.igalia.com/vjaquez/beagle/Angstrom-base-image-glibc-ipk-2010.7-test-20100621-beagleboard.rootfs.tar.bz2
On Mon, Sep 20, 2010 at 7:31 PM, SAn <gringo...@gmail.com> wrote:
> Hi! I am running latest marmita images [0]. dsp-test is failing:
>
> root@beagleboard:/# dsp-test -p
> error: create_node: dsp node all[ 1351.570434] procwrap_detach:
> deprecated dspbridge ioctl
> ocate failed
> error: main: dsp node creation failed
I can't boot right now my beagleboard. Can you send me the output of
the dmesg ??
Thanks
vmjl
[...]
Uncompressing Linux... done, booting the kernel.
[ 0.000000] Linux version 2.6.33 (vjaquez@master1) (gcc version
4.3.3 (GCC) ) #1 PREEMPT Wed Jun 23 16:49:06 CEST 2010
[ 0.000000] CPU: ARMv7 Processor [411fc083] revision 3 (ARMv7), cr=10c53c7f
[ 0.000000] CPU: VIPT nonaliasing data cache, VIPT nonaliasing
instruction cache
[ 0.000000] Machine: OMAP3 Beagle Board
[ 0.000000] Memory policy: ECC disabled, Data cache writeback
[ 0.000000] OMAP3430/3530 ES3.1 (l2cache iva sgx neon isp )
[ 0.000000] SRAM: Mapped pa 0x40200000 to va 0xfe400000 size: 0x100000
[ 0.000000] Reserving 12582912 bytes SDRAM for VRAM
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on.
Total pages: 57600
[ 0.000000] Kernel command line: console=ttyS2,115200n8
mem=99M@0x80000000 mem=128M@0x88000000 mpurate=720 buddy=unknown
camera=lbcm3m1 vram=12M omapfb.modt
[ 0.000000] PID hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
[ 0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
[ 0.000000] Memory: 99MB 128MB = 227MB total
[ 0.000000] Memory: 205048KB available (5664K code, 615K data, 168K
init, 0K highmem)
[ 0.000000] Hierarchical RCU implementation.
[ 0.000000] NR_IRQS:402
[ 0.000000] Clocking rate (Crystal/Core/MPU): 26.0/332/500 MHz
[ 0.000000] Reprogramming SDRC clock to 332000000 Hz
[ 0.000000] GPMC revision 5.0
[ 0.000000] IRQ: Found an INTC at 0xfa200000 (revision 4.0) with 96
interrupts
[ 0.000000] Total of 96 interrupts on 1 active controller
[ 0.000000] OMAP GPIO hardware version 2.5
[ 0.000000] OMAP clockevent source: GPTIMER12 at 32768 Hz
[ 0.000000] Console: colour dummy device 80x30
[ 0.000000] Calibrating delay loop... 494.72 BogoMIPS (lpj=1933312)
[ 0.000000] Mount-cache hash table entries: 512
[ 0.000000] CPU: Testing write buffer coherency: ok
[ 0.000000] devtmpfs: initialized
[ 0.000000] regulator: core version 0.5
[ 0.000000] NET: Registered protocol family 16
[ 0.000000] Found NAND on CS0
[ 0.000000] Registering NAND on CS0
[ 0.000000] Unable to get DVI reset GPIO
[ 0.000000] Switched to new clocking rate (Crystal/Core/MPU):
26.0/332/720 MHz
[ 342.336761] OMAP DMA hardware revision 4.0
[ 342.342895] bio: create slab <bio-0> at 0
[ 342.344055] SCSI subsystem initialized
[ 342.345458] usbcore: registered new interface driver usbfs
[ 342.345611] usbcore: registered new interface driver hub
[ 342.345764] usbcore: registered new device driver usb
[ 342.346099] i2c_omap i2c_omap.1: bus 1 rev3.12 at 2600 kHz
[ 342.348693] twl4030: PIH (irq 7) chaining IRQs 368..375
[ 342.348724] twl4030: power (irq 373) chaining IRQs 376..383
[ 342.348999] twl4030: gpio (irq 368) chaining IRQs 384..401
[ 342.350311] regulator: VUSB1V5: 1500 mV normal standby
[ 342.350616] regulator: VUSB1V8: 1800 mV normal standby
[ 342.350891] regulator: VUSB3V1: 3100 mV normal standby
[ 342.354827] twl4030_usb twl4030_usb: Initialized TWL4030 USB module
[ 342.355346] regulator: VMMC1: 1850 <--> 3150 mV at 3000 mV normal standby
[ 342.355651] regulator: VDAC: 1800 mV normal standby
[ 342.355957] regulator: VDVI: 1800 mV normal standby
[ 342.356384] regulator: VSIM: 1800 <--> 3000 mV at 1800 mV normal standby
[ 342.356597] i2c_omap i2c_omap.3: bus 3 rev3.12 at 100 kHz
[ 342.357299] Advanced Linux Sound Architecture Driver Version 1.0.21.
[ 342.357818] Switching to clocksource 32k_counter
[ 342.367004] musb_hdrc: version 6.0, musb-dma, otg (peripheral+host), debug=0
[ 342.367279] musb_hdrc: USB OTG mode controller at fa0ab000 using DMA, IRQ 92
[ 342.367767] NET: Registered protocol family 2
[ 342.367950] IP route cache hash table entries: 2048 (order: 1, 8192 bytes)
[ 342.368469] TCP established hash table entries: 8192 (order: 4, 65536 bytes)
[ 342.368652] TCP bind hash table entries: 8192 (order: 3, 32768 bytes)
[ 342.368743] TCP: Hash tables configured (established 8192 bind 8192)
[ 342.368774] TCP reno registered
[ 342.368774] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 342.368804] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 342.369018] NET: Registered protocol family 1
[ 342.369506] RPC: Registered udp transport module.
[ 342.369537] RPC: Registered tcp transport module.
[ 342.369537] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 342.369995] dspbridge_init: 600000 bytes @ 81500000
[ 342.371673] VFS: Disk quotas dquot_6.5.2
[ 342.371765] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[ 342.372711] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 342.373443] JFFS2 version 2.2. (NAND) (SUMMARY) �© 2001-2006 Red Hat, Inc.
[ 342.374298] msgmni has been set to 401
[ 342.378356] alg: No test for stdrng (krng)
[ 342.378631] Block layer SCSI generic (bsg) driver version 0.4
loaded (major 254)
[ 342.378631] io scheduler noop registered
[ 342.378662] io scheduler deadline registered
[ 342.378784] io scheduler cfq registered (default)
[ 342.436187] OMAP DSS rev 2.0
[ 342.436248] OMAP DISPC rev 3.0
[ 342.436309] OMAP VENC rev 2
[ 342.773498] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[ 342.794616] serial8250.0: ttyS0 at MMIO 0x4806a000 (irq = 72) is a ST16654
[ 342.814971] serial8250.1: ttyS1 at MMIO 0x4806c000 (irq = 73) is a ST16654
[ 342.835296] serial8250.2: ttyS2 at MMIO 0x49020000 (irq = 74) is a ST16654
[ 343.324951] console [ttyS2] enabled
[ 343.334960] brd: module loaded
[ 343.341278] loop: module loaded
[ 343.345581] omap2-nand driver initializing
[ 343.349975] NAND device: Manufacturer ID: 0x2c, Chip ID: 0xba
(Micron NAND 256MiB 1,8V 16-bit)
[ 343.359130] cmdlinepart partition parsing not available
[ 343.364379] Creating 5 MTD partitions on "omap2-nand":
[ 343.369598] 0x000000000000-0x000000080000 : "X-Loader"
[ 343.375946] 0x000000080000-0x000000260000 : "U-Boot"
[ 343.382415] 0x000000260000-0x000000280000 : "U-Boot Env"
[ 343.388458] 0x000000280000-0x000000680000 : "Kernel"
[ 343.395751] 0x000000680000-0x000010000000 : "File System"
[ 343.505218] usbcore: registered new interface driver catc
[ 343.510711] catc: v2.8:CATC EL1210A NetMate USB Ethernet driver
[ 343.516754] usbcore: registered new interface driver kaweth
[ 343.522399] pegasus: v0.6.14 (2006/09/27), Pegasus/Pegasus II USB
Ethernet driver
[ 343.529998] usbcore: registered new interface driver pegasus
[ 343.535705] rtl8150: v0.6.2 (2004/08/27):rtl8150 based usb-ethernet driver
[ 343.542694] usbcore: registered new interface driver rtl8150
[ 343.548492] usbcore: registered new interface driver asix
[ 343.554016] usbcore: registered new interface driver cdc_ether
[ 343.559936] usbcore: registered new interface driver cdc_eem
[ 343.565704] usbcore: registered new interface driver dm9601
[ 343.571441] usbcore: registered new interface driver smsc95xx
[ 343.577331] usbcore: registered new interface driver gl620a
[ 343.582977] usbcore: registered new interface driver net1080
[ 343.588775] usbcore: registered new interface driver plusb
[ 343.594390] usbcore: registered new interface driver rndis_host
[ 343.600433] usbcore: registered new interface driver cdc_subset
[ 343.606445] usbcore: registered new interface driver zaurus
[ 343.612152] usbcore: registered new interface driver MOSCHIP
usb-ethernet driver
[ 343.620117] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 343.626953] ehci-omap ehci-omap.0: OMAP-EHCI Host Controller
[ 343.633026] ehci-omap ehci-omap.0: new USB bus registered, assigned
bus number 1
[ 343.640655] ehci-omap ehci-omap.0: irq 77, io mem 0x48064800
[ 343.654815] ehci-omap ehci-omap.0: USB 2.0 started, EHCI 1.00
[ 343.660705] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[ 343.667572] usb usb1: New USB device strings: Mfr=3, Product=2,
SerialNumber=1
[ 343.674865] usb usb1: Product: OMAP-EHCI Host Controller
[ 343.680236] usb usb1: Manufacturer: Linux 2.6.33 ehci_hcd
[ 343.685668] usb usb1: SerialNumber: ehci-omap.0
[ 343.690856] hub 1-0:1.0: USB hub found
[ 343.694702] hub 1-0:1.0: 3 ports detected
[ 343.699188] Initializing USB Mass Storage driver...
[ 343.704284] usbcore: registered new interface driver usb-storage
[ 343.710357] USB Mass Storage support registered.
[ 343.715362] mice: PS/2 mouse device common for all mice
[ 343.721008] input: gpio-keys as /devices/platform/gpio-keys/input/input0
[ 343.729003] input: twl4030_pwrbutton as
/devices/platform/i2c_omap.1/i2c-1/1-0049/twl4030_pwrbutton/input/input1
[ 343.739715] i2c /dev entries driver
[ 343.743774] Linux video capture interface: v2.00
[ 343.749053] OMAP Watchdog Timer Rev 0x31: initial timeout 60 sec
[ 343.866210] Registered led device: beagleboard::usr0
[ 343.871368] Registered led device: beagleboard::usr1
[ 343.877807] Registered led device: beagleboard::pmu_stat
[ 343.884887] usbcore: registered new interface driver usbhid
[ 343.890533] usbhid: USB HID core driver
[ 343.894897] usbcore: registered new interface driver snd-usb-audio
[ 343.969970] No device for DAI omap-mcbsp-dai-0
[ 343.974456] No device for DAI omap-mcbsp-dai-1
[ 343.978942] No device for DAI omap-mcbsp-dai-2
[ 343.983459] No device for DAI omap-mcbsp-dai-3
[ 343.987915] No device for DAI omap-mcbsp-dai-4
[ 343.992401] OMAP3 Beagle SoC init
[ 343.997039] asoc: twl4030 <-> omap-mcbsp-dai-0 mapping ok
[ 344.008117] ALSA device list:
[ 344.011108] #0: omap3beagle (twl4030)
[ 344.015106] oprofile: using arm/armv7
[ 344.018981] TCP cubic registered
[ 344.022277] NET: Registered protocol family 17
[ 344.026824] NET: Registered protocol family 15
[ 344.031372] lib80211: common routines for IEEE802.11 drivers
[ 344.037078] ThumbEE CPU extension supported.
[ 344.041412] Power Management for TI OMAP3.
[ 344.053619] VFP support v0.3: implementor 41 architecture 3 part 30
variant c rev 1
[ 344.062072] registered taskstats version 1
[ 344.067291] fbcvt: 640x480@60: CVT Name - .307M3-R
[ 344.080169] Console: switching to colour frame buffer device 80x30
[ 344.093200] regulator_init_complete: incomplete constraints, leaving VDVI on
[ 344.100524] regulator_init_complete: incomplete constraints, leaving VDAC on
[ 344.108001] Waiting for root device /dev/mmcblk0p2...
[ 344.209655] mmc0: new high speed SD card at address 1992
[ 344.215484] mmcblk0: mmc0:1992 SD02G 1.87 GiB
[ 344.220336] mmcblk0: p1 p2
[ 344.332550] kjournald starting. Commit interval 5 seconds
[ 344.427307] EXT3-fs (mmcblk0p2): using internal journal
[ 344.432617] EXT3-fs (mmcblk0p2): mounted filesystem with writeback data mode
[ 344.439819] VFS: Mounted root (ext3 filesystem) on device 179:2.
[ 344.448303] devtmpfs: mounted
[ 344.451354] Freeing init memory: 168K
INIT: version 2.86 booting
Please wait: booting...
Starting udev
[...lot of IO errors]
[ 352.143493] proc_load: Processor Loaded /lib/dsp/baseimage.dof
[ 352.168334] bridge_brd_start: Failed to get dsp mailbox handle
[ 352.208923] proc_start: Failed to start the dsp
[ 352.240051] DSP Bridge driver loaded
[ 353.049224] api_call_dev_ioctl: Incompatible dspbridge ioctl number
[ 353.106872] api_call_dev_ioctl: Incompatible dspbridge ioctl number
Its a rev C4 board.
cheers,
SAn
On Wed, Sep 22, 2010 at 6:03 AM, SAn <gringo...@gmail.com> wrote:
> 2010/9/21 Victor Manuel Jáquez Leal <cey...@gmail.com>:
>> Hi,
>>
>> On Mon, Sep 20, 2010 at 7:31 PM, SAn <gringo...@gmail.com> wrote:
>>> Hi! I am running latest marmita images [0]. dsp-test is failing:
>>>
>>> root@beagleboard:/# dsp-test -p
>>> error: create_node: dsp node all[ 1351.570434] procwrap_detach:
>>> deprecated dspbridge ioctl
>>> ocate failed
>>> error: main: dsp node creation failed
>>
>> I can't boot right now my beagleboard. Can you send me the output of
>> the dmesg ??
> Copyng boot
>
> [...]
>
> [ 352.143493] proc_load: Processor Loaded /lib/dsp/baseimage.dof
> [ 352.168334] bridge_brd_start: Failed to get dsp mailbox handle
> [ 352.208923] proc_start: Failed to start the dsp
> [ 352.240051] DSP Bridge driver loaded
> [ 353.049224] api_call_dev_ioctl: Incompatible dspbridge ioctl number
> [ 353.106872] api_call_dev_ioctl: Incompatible dspbridge ioctl number
>
This is the good part: the mailbox is not loaded.
Your /etc/modules file should look like this
### This file is automatically generated by update-modules"
#
# Please do not edit this file directly. If you want to change or add
# anything please take a look at the files in /etc/modutils and read
# the manpage for update-modules.
#
### update-modules: start processing /etc/modutils/00mailbox_mach
mailbox_mach
### update-modules: end processing /etc/modutils/00mailbox_mach
### update-modules: start processing /etc/modutils/bridgedriver
bridgedriver
### update-modules: end processing /etc/modutils/bridgedriver
The mailbox_mach must be loaded first and the bridgedriver next.
You can reload the modules in this way:
# rmmod bridgedriver mailbox_mach mailbox
# modprobe mailbox_mach
# modprobe bridgedriver
good luck
vmjl