LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices


Reply
  Search this Thread
Old 12-23-2009, 10:53 PM   #1
Linux_Kid_
LQ Newbie
 
Registered: May 2009
Posts: 20

Rep: Reputation: 0
Mtd driver as block device and char device


Hi All ,

MTD (flash) devices can be access as character device as well as block device.To access flash as char device we can use /dev/mtd<partition number> and if we want to access mtd as block device , we can use /dev/mtdblock<partion number> ...

I am faceing a error
MTD do_write_buffer(): software timeout ..if i am writing mtd device as char device. this error disappear if i use mtd device as block device .

Can any one please tell me reason behind this.

Thanks in advance...
 
Old 12-27-2009, 12:17 PM   #2
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,696

Rep: Reputation: 232Reputation: 232Reputation: 232
It means that the chip didn't answer in some reasonable time. Are you sure there's no bug in your MTD driver?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
how to implement asynchronous I/O for a char device driver ? tanniru Linux - Kernel 1 02-03-2009 09:15 AM
help for char device driver kirany Linux - Software 1 01-11-2009 05:12 PM
Block device driver for SDcard kingraja84 Linux - Kernel 0 06-13-2007 05:22 AM
Doubt in char device driver for linux 2.6 tomkaith13 Programming 6 11-27-2006 04:46 AM
UL 1.0 GRUB: could not find device for /boot: not found or not a block device cma Linux - General 4 12-12-2005 03:35 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel

All times are GMT -5. The time now is 11:02 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration