ntfs 파일시스템이 커널컴파일후에 인식이안되네요.....

endt0and의 이미지

컴파일옵션에서
DOS/FAT/NT Filesystems --->
<M> DOS FAT fs support
< > MSDOS fs support
< > VFAT (Windows-95) fs support
<M> NTFS file system support
[ ] NTFS debugging support
[*] NTFS write support

이렇게 설정해주고 컴파일을 했는데요...
흠...컴파일하기전에는 아주 잘사용하고 있었거든요....
그런데 커널 컴파일하고 난후에 ntfs 파일시스템인 윈도우 파티션이 인식이안되네요...마운트 하려고하면
mount: /dev/hda1 already mounted or /mnt/d busy
이렇게 나오네요....
모듈이 안올라가서 그런걸까요?? 만약에 그런거면 모듈을 어떻게 올려줘야할까요?

p.s 모듈확인해보니까 잘올라가있네요....그런데 왜 인식이 안되어있는지...
따로 더 추가해줘야하는 옵션이 있는걸까요?

codebank의 이미지

커널 2.6.x일때 ntfs를 올리는 방법은
# modprobe ntfs
입니다. 해당 파일이 있는지 확인하는 방법은
/lib/modules/커널버젼/kernel/fs/ntfs/ntfs.ko
가 있는지 확인하면 됩니다.

------------------------------
좋은 하루 되세요.

endt0and의 이미지

Linux version 2.6.9 (root@ubuntu) (gcc version 3.3.4 (Debian 1:3.3.4-13)) #1 Mon Nov 29 15:03:11 KST 2004
BIOS-provided physical RAM map:
BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)
BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)
BIOS-e820: 0000000000100000 - 000000001fff0000 (usable)
BIOS-e820: 000000001fff0000 - 000000001fff3000 (ACPI NVS)
BIOS-e820: 000000001fff3000 - 0000000020000000 (ACPI data)
BIOS-e820: 00000000ffff0000 - 0000000100000000 (reserved)
511MB LOWMEM available.
On node 0 totalpages: 131056
DMA zone: 4096 pages, LIFO batch:1
Normal zone: 126960 pages, LIFO batch:16
HighMem zone: 0 pages, LIFO batch:1
DMI 2.2 present.
ACPI: RSDP (v000 VIAP4X ) @ 0x000f6040
ACPI: RSDT (v001 VIAP4X AWRDACPI 0x42302e31 AWRD 0x00000000) @ 0x1fff3000
ACPI: FADT (v001 VIAP4X AWRDACPI 0x42302e31 AWRD 0x00000000) @ 0x1fff3040
ACPI: DSDT (v001 VIAP4X AWRDACPI 0x00001000 MSFT 0x0100000c) @ 0x00000000
Built 1 zonelists
Kernel command line: root=/dev/hdb3 ro quiet splash
No local APIC present or hardware disabled
Initializing CPU#0
PID hash table entries: 2048 (order: 11, 32768 bytes)
Detected 1697.559 MHz processor.
Using tsc for high-res timesource
Console: colour VGA+ 80x25
Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
Memory: 515928k/524224k available (1701k kernel code, 7760k reserved, 793k data, 144k init, 0k highmem)
Checking if this processor honours the WP bit even in supervisor mode... Ok.
Calibrating delay loop... 3334.14 BogoMIPS (lpj=1667072)
Mount-cache hash table entries: 512 (order: 0, 4096 bytes)
CPU: After generic identify, caps: 3febf9ff 00000000 00000000 00000000
CPU: After vendor identify, caps: 3febf9ff 00000000 00000000 00000000
CPU: Trace cache: 12K uops, L1 D cache: 8K
CPU: L2 cache: 256K
CPU: After all inits, caps: 3febf9ff 00000000 00000000 00000080
CPU: Intel(R) Pentium(R) 4 CPU 1.70GHz stepping 02
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Checking 'hlt' instruction... OK.
ACPI: IRQ9 SCI: Level Trigger.
NET: Registered protocol family 16
PCI: PCI BIOS revision 2.10 entry at 0xfb330, last bus=1
PCI: Using configuration type 1
mtrr: v2.0 (20020519)
ACPI: Subsystem revision 20040816
ACPI: Interpreter enabled
ACPI: Using PIC for interrupt routing
ACPI: PCI Root Bridge [PCI0] (00:00)
PCI: Probing PCI hardware (bus 00)
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT]
ACPI: PCI Interrupt Link [LNKA] (IRQs 1 3 4 5 6 7 10 *11 12 14 15)
ACPI: PCI Interrupt Link [LNKB] (IRQs 1 3 4 5 6 7 *10 11 12 14 15)
ACPI: PCI Interrupt Link [LNKC] (IRQs 1 3 4 5 6 7 10 11 12 14 15) *0, disabled.
ACPI: PCI Interrupt Link [LNKD] (IRQs 1 3 4 *5 6 7 10 11 12 14 15)
PCI: Using ACPI for IRQ routing
ACPI: PCI Interrupt Link [LNKA] enabled at IRQ 11
ACPI: PCI interrupt 0000:00:09.0[A] -> GSI 11 (level, low) -> IRQ 11
ACPI: PCI Interrupt Link [LNKB] enabled at IRQ 10
ACPI: PCI interrupt 0000:00:0a.0[A] -> GSI 10 (level, low) -> IRQ 10
ACPI: PCI interrupt 0000:00:11.1[A] -> GSI 11 (level, low) -> IRQ 11
ACPI: PCI Interrupt Link [LNKD] enabled at IRQ 5
ACPI: PCI interrupt 0000:00:11.2[D] -> GSI 5 (level, low) -> IRQ 5
ACPI: PCI interrupt 0000:00:11.3[D] -> GSI 5 (level, low) -> IRQ 5
ACPI: PCI interrupt 0000:00:11.4[D] -> GSI 5 (level, low) -> IRQ 5
ACPI: PCI interrupt 0000:01:00.0[A] -> GSI 11 (level, low) -> IRQ 11
Total HugeTLB memory allocated, 0
VFS: Disk quotas dquot_6.5.1
Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
Initializing Cryptographic API
vesafb: probe of vesafb0 failed with error -6
Real Time Clock Driver v1.12
serio: i8042 AUX port at 0x60,0x64 irq 12
serio: i8042 KBD port at 0x60,0x64 irq 1
RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
pcnet32.c:v1.30i 06.28.2004 tsbogend@alpha.franken.de
8139too Fast Ethernet driver 0.9.27
ACPI: PCI interrupt 0000:00:09.0[A] -> GSI 11 (level, low) -> IRQ 11
eth0: RealTek RTL8139 at 0xd000, 00:50:fc:c9:16:2e, IRQ 11
eth0: Identified 8139 chip type 'RTL-8100B/8139D'
HDLC support module revision 1.17
Cronyx Ltd, Synchronous PPP and CISCO HDLC (c) 1994
Linux port (c) 1998 Building Number Three Ltd & Jan "Yenya" Kasprzak.
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
VP_IDE: IDE controller at PCI slot 0000:00:11.1
ACPI: PCI interrupt 0000:00:11.1[A] -> GSI 11 (level, low) -> IRQ 11
VP_IDE: chipset revision 6
VP_IDE: not 100% native mode: will probe irqs later
VP_IDE: VIA vt8233 (rev 00) IDE UDMA100 controller on pci0000:00:11.1
ide0: BM-DMA at 0xdc00-0xdc07, BIOS settings: hda:DMA, hdb:DMA
ide1: BM-DMA at 0xdc08-0xdc0f, BIOS settings: hdc:DMA, hdd:DMA
Probing IDE interface ide0...
hda: ST3160023A, ATA DISK drive
hdb: WDC WD400BB-00DEA0, ATA DISK drive
Using anticipatory io scheduler
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
Probing IDE interface ide1...
hdc: LITE-ON LTR-52327S, ATAPI CD/DVD-ROM drive
hdd: GCR-8521B, ATAPI CD/DVD-ROM drive
ide1 at 0x170-0x177,0x376 on irq 15
hda: max request size: 1024KiB
hda: 312581808 sectors (160041 MB) w/8192KiB Cache, CHS=19457/255/63, UDMA(100)
hda: cache flushes supported
hda: hda1 hda2 < hda5 >
hdb: max request size: 128KiB
hdb: 78165360 sectors (40020 MB) w/2048KiB Cache, CHS=65535/16/63, UDMA(100)
hdb: cache flushes not supported
hdb: hdb1 hdb2 hdb3 hdb4 < hdb5 >
mice: PS/2 mouse device common for all mice
input: AT Translated Set 2 keyboard on isa0060/serio0
input: ImPS/2 Generic Wheel Mouse on isa0060/serio1
I2O Core - (C) Copyright 1999 Red Hat Software
i2o: max_drivers=4
NET: Registered protocol family 2
IP: routing cache hash table of 4096 buckets, 32Kbytes
TCP: Hash tables configured (established 32768 bind 65536)
ip_conntrack version 2.1 (4095 buckets, 32760 max) - 300 bytes per conntrack
ip_tables: (C) 2000-2002 Netfilter core team
NET: Registered protocol family 1
NET: Registered protocol family 17
EXT3-fs: mounted filesystem with ordered data mode.
VFS: Mounted root (ext3 filesystem) readonly.
Freeing unused kernel memory: 144k freed
kjournald starting. Commit interval 5 seconds
Adding 1171792k swap on /dev/hdb2. Priority:-1 extents:1
EXT3 FS on hdb3, internal journal
hdc: ATAPI 52X CD-ROM CD-R/RW drive, 2048kB Cache, UDMA(33)
Uniform CD-ROM driver Revision: 3.20
hdd: ATAPI 52X CD-ROM drive, 128kB Cache, DMA
parport0: PC-style at 0x378 [PCSPP,TRISTATE]
lp0: using parport0 (polling).
device-mapper: 4.1.0-ioctl (2003-12-10) initialised: dm@uk.sistina.com
md: md driver 0.90.0 MAX_MD_DEVS=256, MD_SB_DISKS=27
cdrom: open failed.
cdrom: open failed.
device-mapper: : dm-linear: Device lookup failed

device-mapper: error adding target to table
device-mapper: : dm-linear: Device lookup failed

device-mapper: error adding target to table
device-mapper: : dm-linear: Device lookup failed

device-mapper: error adding target to table
device-mapper: : dm-linear: Device lookup failed

device-mapper: error adding target to table
device-mapper: : dm-linear: Device lookup failed

device-mapper: error adding target to table
device-mapper: : dm-linear: Device lookup failed

device-mapper: error adding target to table
device-mapper: : dm-linear: Device lookup failed

device-mapper: error adding target to table
device-mapper: : dm-linear: Device lookup failed

device-mapper: error adding target to table
device-mapper: : dm-linear: Device lookup failed

device-mapper: error adding target to table
device-mapper: : dm-linear: Device lookup failed

device-mapper: error adding target to table
device-mapper: : dm-linear: Device lookup failed

device-mapper: error adding target to table
device-mapper: : dm-linear: Device lookup failed

device-mapper: error adding target to table
device-mapper: : dm-linear: Device lookup failed

device-mapper: error adding target to table
device-mapper: : dm-linear: Device lookup failed

device-mapper: error adding target to table
device-mapper: : dm-linear: Device lookup failed

device-mapper: error adding target to table
device-mapper: : dm-linear: Device lookup failed

device-mapper: error adding target to table
kjournald starting. Commit interval 5 seconds
EXT3 FS on hdb1, internal journal
EXT3-fs: mounted filesystem with ordered data mode.
kjournald starting. Commit interval 5 seconds
EXT3 FS on hdb5, internal journal
EXT3-fs: mounted filesystem with ordered data mode.
NTFS driver 2.1.20 [Flags: R/W MODULE].
Linux agpgart interface v0.100 (c) Dave Jones
agpgart: Detected VIA P4X266 chipset
agpgart: Maximum main memory to use for agp memory: 439M
agpgart: AGP aperture is 128M @ 0xd0000000
ACPI: PCI interrupt 0000:00:0a.0[A] -> GSI 10 (level, low) -> IRQ 10
usbcore: registered new driver usbfs
usbcore: registered new driver hub
usbcore: deregistering driver usbfs
usbcore: deregistering driver hub
eth0: link up, 100Mbps, full-duplex, lpa 0x41E1
ACPI: Processor [CPU0] (supports C1 C2, 2 throttling states)
ACPI: Power Button (FF) [PWRF]
ACPI: Sleep Button (CM) [SLPB]
-----------------------------------------------------
커널컴파일후에 제 부팅메세지입니다.....뭐 잘못된게 있나요??

device-mapper: error adding target to table
device-mapper: : dm-linear: Device lookup failed

요부분이 의심스러운데 뭐가뭔지 몰라서.....ㅜ.ㅜ

uriel의 이미지

정말 오래 된 질문이지만 똑같이 고생해서 늦게라도 글타레를 이어갑니다.

최근 리눅스 배포판의 경우 RAID 등을 지원하기 위해서 Enterprise Volume Management System (EVMS)을 사용합니다. 대충 보니까 물리적인 디스크 위에 일종의 가상 레이어를 두고 억세스 하려는 것 같더군요.

문제는 리눅스에서 디바이스를 접근 할 때 한 번에 한 녀석만 가능합니다. 그래서 ntfs 같은 경우 커널 ntfs 디바이스와 evms가 동시에 접근을 시도하기 때문에 제대로 안되는 것이더군요. 그래서 다음과 같은 메세지가 나옵니다.

device-mapper: error adding target to table
device-mapper: : dm-linear: Device lookup failed

evms 개발 웹페이지에 보면 3가지 해결 방법이 있습니다.

  • emvs를 이용하게 /etc/fstab을 수정합니다. (/dev/hda1 ->/dev/evms/hda1)
  • /etc/evms.conf 파일에서 특정 디스크는 evms로 접근하지 말라고 지정합니다.
  • 커널 패치를 적용합니다.

2번째 방법을 적용하고 재부팅 하니 저 에러도 사라지고 ntfs 접근도 제대로 되는군요.

더 자세한 것은 [url]http://evms.sourceforge.net/install/kernel.html#bdclaim
[/url]을 참고하세요.

[/]

댓글 달기

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
이것은 자동으로 스팸을 올리는 것을 막기 위해서 제공됩니다.