mtdblock0 마운트

puresupe의 이미지

안녕하세요.

커널 컴팔할때
mtdblock, mtdchar, nandsim, nftl*

등을 모듈로 컴팔했구요.

modprobe mtdblock
modprobe mtdchar
modprobe nandsim
modprobe nftl

을 해줬습니다.

mount /dev/mtdblock0 /mnt -t ext2

를 했을때 안되더라구요.

음 제가 하려는게 뭐냐면..nftlcore.c 를 사용하고싶은건데요

mount /dev/mtd/block0 /mnt -t yaffs 와 같이하면...커널에서 제공하는 ftl 레이어를(여기서 nftlcore.c)
사용하지 않아서.. 일반 디스크 블록장치용 파일시스템을 마운트 하려는것이거든요

ext2
---
nftl
---
mtd
---
nandsim

뭐 이런식의 구조를 갖게하려구요. nftlcore.c 를 가지고 몇가지 실험할께 있어서요 .

근데 mtdblock0 장치파일엔 ext2 같은걸 마운트 못시키는가 보더라구요

음..이해가 잘안가요.

뭐 궁극적으로는 . nftlcore.c 가지고 실험할수있게,, 환경을 꾸미는 것입니다!

어떻게해줘야할까요?

puresupe의 이미지

http://lists.infradead.org/pipermail/linux-mtd/2008-October/023219.html

이 글을 보면 이사람은 어떻게 고쳐서 nftlcore.c 가 nandsim을 인식하게 만들었네용..

어떻게한걸까요 -_-

puresupe의 이미지

mkfs.ext2 /dev/mtdblock0 을하면
마운트는 되는데

nftl이랑 nandsim 은 연결이 안되는는것같습니다.

음..

puresupe의 이미지

ext2
---
nftl
---
mtd
---
nandsim

의 구조를 만들려면
modprobe mtdchar
modprobe nandsim
nftl_format /dev/mtd0
이 우선입니다. 그후에 modprobe nftl
을한다음에
fdisk /dev/nftla
mkfs.ext2 /dev/nftla
mount /dev/nftl /mnt
를하면된다고 하는데..

http://esslab.tw/wiki/index.php/NFTL

참조했습니다.

그런데 왜 전안될까요 :(

일단 fdisk로 파티션 테이블이 저장이 안되고요
mkfs.ext2 를 수행시키면. 커널이 뻗습니다.

추측으론..
nftl_format 이.. 잘못된 부트레코드를 지정한것같기도하구요

두번째 추측으론...허용된 메모리 이상에대한 쓰기(write) 라는 느낌도 드는군요.

하나하나씩 봐야할것같네요.

혹시 비슷한증상 겪으신분 계신가요?

댓글 달기

Filtered HTML

  • 텍스트에 BBCode 태그를 사용할 수 있습니다. URL은 자동으로 링크 됩니다.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>
  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.

BBCode

  • 텍스트에 BBCode 태그를 사용할 수 있습니다. URL은 자동으로 링크 됩니다.
  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param>
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.

Textile

  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • You can use Textile markup to format text.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>

Markdown

  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • Quick Tips:
    • Two or more spaces at a line's end = Line break
    • Double returns = Paragraph
    • *Single asterisks* or _single underscores_ = Emphasis
    • **Double** or __double__ = Strong
    • This is [a link](http://the.link.example.com "The optional title text")
    For complete details on the Markdown syntax, see the Markdown documentation and Markdown Extra documentation for tables, footnotes, and more.
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>

Plain text

  • HTML 태그를 사용할 수 없습니다.
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.
  • 줄과 단락은 자동으로 분리됩니다.
댓글 첨부 파일
이 댓글에 이미지나 파일을 업로드 합니다.
파일 크기는 8 MB보다 작아야 합니다.
허용할 파일 형식: txt pdf doc xls gif jpg jpeg mp3 png rar zip.
CAPTCHA
이것은 자동으로 스팸을 올리는 것을 막기 위해서 제공됩니다.