[#5851] device nodes are not created as soon as they are use to be
Submitted By: Vivi Li
Open Date
2010-01-26 23:31:23 Close Date
2010-03-29 02:57:27
Priority:
Medium Assignee:
Nobody
Status:
Closed Fixed In Release:
N/A
Found In Release:
2010R1 Release:
Category:
Drivers Board:
N/A
Processor:
ALL Silicon Revision:
Is this bug repeatable?:
Yes Resolution:
Rejected
Uboot version or rev.:
Toolchain version or rev.:
gcc4.3_trunk3771
App binary format:
N/A
Summary: device nodes are not created as soon as they are use to be
Details:
Frame buffer device is not created immediately after LCD driver is installed. The first time to run video_test will fail and after that it works.
This happens on bf537/bf548/bf527.
The similar problem happens with usb device.
It does not mean that the device not can not be created. We need to wait some seconds before it is ready to use.
--
root:/> modprobe bf537-lq035
i2c-bfin-twi i2c-bfin-twi.0: Blackfin BF5xx on-chip I2C TWI Contoller, regs_base@ffc01400
root:/> video_test
Unable to open frame buffer device /dev/fb0: No such file or directory
root:/>
--
Last passed version:
--
kernel: Linux release 2.6.32.3-ADI-2010R1-pre-svn8141, build #32 Wed Jan 13 02:04:16 CST 2010
toolchain: bfin-uclinux-gcc release gcc version 4.3.4 (ADI-trunk/svn-3771)
user-dist: release svn-9368, build #323 Wed Jan 13 02:03:25 CST 2010
--
First failed version:
--
kernel: Linux release 2.6.32.3-ADI-2010R1-pre-svn8151, build #36 Thu Jan 14 22:35:21 CST 2010
toolchain: bfin-uclinux-gcc release gcc version 4.3.4 (ADI-trunk/svn-3771)
user-dist: release svn-9376, build #412 Thu Jan 14 22:34:33 CST 2010
--
Follow-ups
--- Mike Frysinger 2010-01-28 01:26:13
this is probably related to enabling mdev.seq support in mdev. iirc, it delays
a little to make sure there arent more events coming.
--- Vivi Li 2010-02-24 23:21:48
Yeah, I wait some time after installing module and it'll be fine then.
Workaround this in test scripts.
--- Sonic Zhang 2010-03-29 02:56:05
Expected behavior after enabled mdev.seq
Files
Changes
Commits
Dependencies
Duplicates
Associations
Tags
File Name File Type File Size Posted By
config.tftlcd.landscape application/octet-stream 35382 Vivi Li