리눅스 커널 부팅 문제...

태훈의 이미지

안녕하세요. kernel.org에 2.6.23.8 받아서 컴파일해서 쓰고 있습니다. 다른건 다 좋은데, 부팅때 일정시간 블록되는 부분이 있더군요. 머신은 삼성 노트북 SENS R19 모델을 사용하고 있습니다.

# dmesg | head -n 150 의 결과입니다.

  1 Linux version 2.6.23.8 (root@localhost) (gcc version 4.1.2 (Gentoo 4.1.2 p1.0.2)) #1 SMP Thu Nov 22 23:24:23 KST 2007
  2 BIOS-provided physical RAM map:
  3  BIOS-e820: 0000000000000000 - 000000000009dc00 (usable)
  4  BIOS-e820: 000000000009dc00 - 00000000000a0000 (reserved)
  5  BIOS-e820: 00000000000ce000 - 00000000000d0000 (reserved)
  6  BIOS-e820: 00000000000dc000 - 00000000000e0000 (reserved)
  7  BIOS-e820: 00000000000e4000 - 0000000000100000 (reserved)
  8  BIOS-e820: 0000000000100000 - 000000002fe90000 (usable)
  9  BIOS-e820: 000000002fe90000 - 000000002fe9d000 (ACPI data)
 10  BIOS-e820: 000000002fe9d000 - 000000002fe9e000 (ACPI NVS)
 11  BIOS-e820: 000000002fe9e000 - 0000000030000000 (reserved)
 12  BIOS-e820: 00000000e0000000 - 00000000f0000000 (reserved)
 13  BIOS-e820: 00000000fec00000 - 00000000fec10000 (reserved)
 14  BIOS-e820: 00000000fee00000 - 00000000fee01000 (reserved)
 15  BIOS-e820: 00000000fff80000 - 0000000100000000 (reserved)
 16 0MB HIGHMEM available.
 17 766MB LOWMEM available.
 18 found SMP MP-table at 000f7d50
 19 Entering add_active_range(0, 0, 196240) 0 entries of 256 used
 20 Zone PFN ranges:
 21   DMA             0 ->     4096
 22   Normal       4096 ->   196240
 23   HighMem    196240 ->   196240
 24 Movable zone start PFN for each node
 25 early_node_map[1] active PFN ranges
 26     0:        0 ->   196240
 27 On node 0 totalpages: 196240
 28   DMA zone: 32 pages used for memmap
 29   DMA zone: 0 pages reserved
 30   DMA zone: 4064 pages, LIFO batch:0
 31   Normal zone: 1501 pages used for memmap
 32   Normal zone: 190643 pages, LIFO batch:31
 33   HighMem zone: 0 pages used for memmap
 34   Movable zone: 0 pages used for memmap
 35 DMI present.
 36 Using APIC driver default
 37 ACPI: RSDP 000F7D20, 0014 (r0 PTLTD )
 38 ACPI: RSDT 2FE9470C, 0044 (r1 SECCSD LH43STAR  6040000  LTP        0)
 39 ACPI: FACP 2FE9CD5C, 0074 (r1 SEC    HAINANII  6040000 SEC     F4240)
 40 ACPI: DSDT 2FE9644E, 690E (r1    ATI    SB600  6040000 INTL 20050228)
 41 ACPI: FACS 2FE9DFC0, 0040
 42 ACPI: APIC 2FE9CDD0, 0046 (r1 PTLTD    APIC    6040000  LTP        0)
 43 ACPI: MCFG 2FE9CE16, 003C (r1 PTLTD    MCFG    6040000  LTP        0)
 44 ACPI: HPET 2FE9CE52, 0038 (r1 PTLTD  HPETTBL   6040000  LTP        1)
 45 ACPI: SLIC 2FE9CE8A, 0176 (r1 SECCSD LH43STAR  6040000  LTP        0)
 46 ACPI: SSDT 2FE95DB4, 069A (r1  PmRef  Cpu0Cst     3001 INTL 20050228)
 47 ACPI: SSDT 2FE95B55, 025F (r1  PmRef  Cpu0Tst     3000 INTL 20050228)
 48 ACPI: SSDT 2FE94750, 1405 (r1  PmRef    CpuPm     3000 INTL 20050228)
 49 ATI board detected. Disabling timer routing over 8254.
 50 ACPI: PM-Timer IO Port: 0x8008
 51 ACPI: Local APIC address 0xfee00000
 52 ACPI: LAPIC (acpi_id[0x00] lapic_id[0x00] enabled)
 53 Processor #0 6:14 APIC version 20
 54 ACPI: LAPIC_NMI (acpi_id[0x00] high edge lint[0x1])
 55 ACPI: IOAPIC (id[0x01] address[0xfec00000] gsi_base[0])
 56 IOAPIC[0]: apic_id 1, version 33, address 0xfec00000, GSI 0-23
 57 ACPI: IRQ9 used by override.
 58 Enabling APIC mode:  Flat.  Using 1 I/O APICs
 59 ACPI: HPET id: 0x43538301 base: 0xfed00000
 60 Using ACPI (MADT) for SMP configuration information
 61 Allocating PCI resources starting at 40000000 (gap: 30000000:b0000000)
 62 swsusp: Registered nosave memory region: 000000000009d000 - 000000000009e000
 63 swsusp: Registered nosave memory region: 000000000009e000 - 00000000000a0000
 64 swsusp: Registered nosave memory region: 00000000000a0000 - 00000000000ce000
 65 swsusp: Registered nosave memory region: 00000000000ce000 - 00000000000d0000
 66 swsusp: Registered nosave memory region: 00000000000d0000 - 00000000000dc000
 67 swsusp: Registered nosave memory region: 00000000000dc000 - 00000000000e0000
 68 swsusp: Registered nosave memory region: 00000000000e0000 - 00000000000e4000
 69 swsusp: Registered nosave memory region: 00000000000e4000 - 0000000000100000
 70 Built 1 zonelists in Zone order.  Total pages: 194707
 71 Kernel command line: root=/dev/sda2 doscsi udev vga=0x317
 72 mapped APIC to ffffb000 (fee00000)
 73 mapped IOAPIC to ffffa000 (fec00000)
 74 Enabling fast FPU save and restore... done.
 75 Enabling unmasked SIMD FPU exception support... done.
 76 Initializing CPU#0
 77 CPU 0 irqstacks, hard=c0564000 soft=c0544000
 78 PID hash table entries: 4096 (order: 12, 16384 bytes)
 79 Detected 1466.790 MHz processor.
 80 Console: colour dummy device 80x25
 81 console [tty0] enabled
 82 Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
 83 Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
 84 Memory: 772544k/784960k available (3156k kernel code, 11908k reserved, 864k data, 312k init, 0k highmem)
 85 virtual kernel memory layout:
 86     fixmap  : 0xffe14000 - 0xfffff000   (1964 kB)
 87     pkmap   : 0xff800000 - 0xffc00000   (4096 kB)
 88     vmalloc : 0xf0800000 - 0xff7fe000   ( 239 MB)
 89     lowmem  : 0xc0000000 - 0xefe90000   ( 766 MB)
 90       .init : 0xc04f3000 - 0xc0541000   ( 312 kB)
 91       .data : 0xc04151fa - 0xc04ed464   ( 864 kB)
 92       .text : 0xc0100000 - 0xc04151fa   (3156 kB)
 93 Checking if this processor honours the WP bit even in supervisor mode... Ok.
 94 Calibrating delay using timer specific routine.. 2935.68 BogoMIPS (lpj=1467840)
 95 Mount-cache hash table entries: 512
 96 CPU: After generic identify, caps: afe9fbff 00000000 00000000 00000000 0000c109 00000000 00000000 00000000
 97 monitor/mwait feature present.
 98 using mwait in idle threads.
 99 CPU: L1 I cache: 32K, L1 D cache: 32K
100 CPU: L2 cache: 1024K
101 CPU: After all inits, caps: afe9fbff 00000000 00000000 00002940 0000c109 00000000 00000000 00000000
102 Intel machine check architecture supported.
103 Intel machine check reporting enabled on CPU#0.
104 Compat vDSO mapped to ffffe000.
105 Checking 'hlt' instruction... OK.
106 SMP alternatives: switching to UP code
107 Freeing SMP alternatives: 16k freed
108 ACPI: Core revision 20070126
109 CPU0: Intel(R) Celeron(R) M CPU        410  @ 1.46GHz stepping 08
110 Total of 1 processors activated (2935.68 BogoMIPS).
111 ENABLING IO-APIC IRQs
112 ..TIMER: vector=0x31 apic1=0 pin1=0 apic2=-1 pin2=-1
113 ..MP-BIOS bug: 8254 timer not connected to IO-APIC
114 ...trying to set up timer (IRQ0) through the 8259A ...  failed.
115 ...trying to set up timer as Virtual Wire IRQ... works.
116 Brought up 1 CPUs
117 NET: Registered protocol family 16
118 No dock devices found.
119 EISA bus registered
120 ACPI: bus type pci registered
121 PCI: Using MMCONFIG
122 Setting up standard PCI resources
123 ACPI: EC: Look up EC in DSDT
124 ACPI: EC: GPE = 0x3, I/O: command/status = 0x66, data = 0x62
125 ACPI: System BIOS is requesting _OSI(Linux)
126 ACPI: If "acpi_osi=Linux" works better,
127 Please send dmidecode to <a href="mailto:linux-acpi@vger.kernel.org" rel="nofollow">linux-acpi@vger.kernel.org</a>
128 ACPI: Interpreter enabled
129 ACPI: (supports S0 S4 S5)
130 ACPI: Using IOAPIC for interrupt routing
131 ACPI: EC: GPE = 0x3, I/O: command/status = 0x66, data = 0x62
132 ACPI: PCI Root Bridge [PCI0] (0000:00)
133 Device 0000:02:00.0 not responding
134 PCI: Transparent bridge - 0000:00:14.4
135 ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT]
136 ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.PB5_._PRT]
137 ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.PB6_._PRT]
138 ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.P2P_._PRT]
139 ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.AGP_._PRT]
140 ACPI: PCI Interrupt Link [LNKA] (IRQs 11) *0, disabled.
141 ACPI: PCI Interrupt Link [LNKB] (IRQs 10) *0, disabled.
142 ACPI: PCI Interrupt Link [LNKC] (IRQs 5) *0, disabled.
143 ACPI: PCI Interrupt Link [LNKD] (IRQs 5) *0, disabled.
144 ACPI: PCI Interrupt Link [LNKE] (IRQs 11) *0, disabled.
145 ACPI: PCI Interrupt Link [LNKF] (IRQs 10) *0, disabled.
146 ACPI: PCI Interrupt Link [LNKG] (IRQs 5) *0, disabled.
147 ACPI: PCI Interrupt Link [LNKH] (IRQs 5) *0, disabled.
148 Linux Plug and Play Support v0.97 (c) Adam Belay
149 pnp: PnP ACPI init
150 ACPI: bus type pnp registered
151 pnp: PnP ACPI: found 11 devices
152 ACPI: ACPI bus type pnp unregistered

저기서 132 라인의 "132 ACPI: PCI Root Bridge [PCI0] (0000:00)"에서 한참 블록되었다가 다음단계로 넘어가더군요. Device 0000:02:00.0 를 찾지못해서 그런것 같은데 이런 경우 어떻게 해야하나요?

태훈의 이미지

grup에서 acpi=off 옵션을 주면 빨라지긴 합니다만, 커널 패닉이 나고 acpi 기능을 쓸수 없으니, acpi를 사용하면서 해결 할 수 있는 방법이 있으면 좋겠습니다.

------------------------------------------
http://onestep.tistory.com

Just do it!

태훈의 이미지

결국 커널 소스를 고쳐서 해결 하였습니다.
------------------------------------------
http://onestep.tistory.com

Just do it!

댓글 달기

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