linux内核面试1008无标题,定制linux内核遇到的问题

定制linux内核遇到的问题

发布时间:2010-04-29 18:47:41来源:红联作者:boxfile

最近不久想实现一下,不过遇到了很多麻烦,虽然定制的内核能有,但还是有些问题,想在这请教请教:

下载的内核为:2.6.33.2

第一个问题:在我原来的系统下用lspci命令查看硬件时,出现 bash: lspci: command not found

第二个问题:我用dmesg 命令出现以下内容:

Initializing cgroup subsys cpuset

Linux version 2.6.27.25-78.2.56.fc9.i686 (mockbuild@) (gcc version 4.3.0 20080428 (Red Hat 4.3.0-8) (GCC) ) #1 SMP Thu Jun 18 12:47:50 EDT 2009

BIOS-provided physical RAM map:

BIOS-e820: 0000000000000000 - 000000000009f800 (usable)

BIOS-e820: 000000000009f800 - 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: 00000000e0000000 - 00000000f0000000 (reserved)

BIOS-e820: 00000000fec00000 - 0000000100000000 (reserved)

DMI 2.2 present.

Phoenix BIOS detected: BIOS may corrupt low RAM, working it around.

last_pfn = 0x1fff0 max_arch_pfn = 0x100000

x86 PAT enabled: cpu 0, old 0x7040600070406, new 0x7010600070106

kernel direct mapping tables up to 1fff0000 @ 10000-16000

Using x86 segment limits to approximate NX protection

RAMDISK: 1fd48000 - 1ffdf85c

ACPI: RSDP 000F7FF0, 0014 (r0 Nvidia)

ACPI: RSDT 1FFF3040, 0030 (r1 Nvidia AWRDACPI 42302E31 AWRD 0)

ACPI: FACP 1FFF30C0, 0074 (r1 Nvidia AWRDACPI 42302E31 AWRD 0)

ACPI: DSDT 1FFF3180, 60D3 (r1 NVIDIA AWRDACPI 1000 MSFT 100000E)

ACPI: FACS 1FFF0000, 0040

ACPI: MCFG 1FFF9380, 003C (r1 Nvidia AWRDACPI 42302E31 AWRD 0)

ACPI: APIC 1FFF92C0, 0072 (r1 Nvidia AWRDACPI 42302E31 AWRD 0)

0MB HIGHMEM available.

511MB LOWMEM available.

mapped low ram: 0 - 1fff0000

low ram: 00000000 - 1fff0000

bootmap 00012000 - 00016000

(9 early reservations) ==> bootmem [0000000000 - 001fff0000]

#0 [0000000000 - 0000001000] BIOS data page ==> [0000000000 - 0000001000]

#1 [0000001000 - 0000002000] EX TRAMPOLINE ==> [0000001000 - 0000002000]

#2 [0000006000 - 0000007000] TRAMPOLINE ==> [0000006000 - 0000007000]

#3 [0000400000 - 00008d7414] TEXT DATA BSS ==> [0000400000 - 00008d7414]

#4 [001fd48000 - 001ffdf85c] RAMDISK ==> [001fd48000 - 001ffdf85c]

#5 [00008d8000 - 00008dc000] INIT_PG_TABLE ==> [00008d8000 - 00008dc000]

#6 [000009f800 - 0000100000] BIOS reserved ==> [000009f800 - 0000100000]

#7 [0000010000 - 0000012000] PGTABLE ==> [0000010000 - 0000012000]

#8 [0000012000 - 0000016000] BOOTMAP ==> [0000012000 - 0000016000]

found SMP MP-table at [c00f40c0] 000f40c0

Zone PFN ranges:

DMA 0x00000010 -> 0x00001000

Normal 0x00001000 -> 0x0001fff0

HighMem 0x0001fff0 -> 0x0001fff0

Movable zone start PFN for each node

early_node_map[2] active PFN ranges

0: 0x00000010 -> 0x0000009f

0: 0x00000100 -> 0x0001fff0

On node 0 totalpages: 130943

free_area_init_node: node 0, pgdat c0760c00, node_mem_map c1000200

DMA zone: 3951 pages, LIFO batch:0

Normal zone: 125968 pages, LIFO batch:31

Using APIC driver default

Nvidia board detected. Ignoring ACPI timer override.

If you got timer trouble try acpi_use_timer_override

Detected use of extended apic ids on hypertransport bus

ACPI: PM-Timer IO Port: 0x1008

ACPI: Local APIC address 0xfee00000

ACPI: LAPIC (acpi_id[0x00] lapic_id[0x00] enabled)

ACPI: LAPIC (acpi_id[0x01] lapic_id[0x01] disabled)

ACPI: LAPIC_NMI (acpi_id[0x00] high edge lint[0x1])

ACPI: LAPIC_NMI (acpi_id[0x01] high edge lint[0x1])

ACPI: IOAPIC (id[0x02] address[0xfec00000] gsi_base[0])

IOAPIC[0]: apic_id 2, version 17, address 0xfec00000, GSI 0-23

ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 high level)

ACPI: INT_SRC_OVR (bus 0 bus_irq 14 global_irq 14 high edge)

ACPI: INT_SRC_OVR (bus 0 bus_irq 15 global_irq 15 high edge)

ACPI: IRQ9 used by override.

ACPI: IRQ14 used by override.

ACPI: IRQ15 used by override.

Enabling APIC mode: Flat. Using 1 I/O APICs

Using ACPI (MADT) for SMP configuration information

SMP: Allowing 2 CPUs, 1 hotplug CPUs

mapped APIC to ffffb000 (fee00000)

mapped IOAPIC to ffffa000 (fec00000)

PM: Registered nosave memory: 000000000009f000 - 00000000000a0000

PM: Registered nosave memory: 00000000000a0000 - 00000000000f0000

PM: Registered nosave memory: 00000000000f0000 - 0000000000100000

Allocating PCI resources starting at 30000000 (gap: 20000000:c0000000)

PERCPU: Allocating 41244 bytes of per cpu data

NR_CPUS: 32, nr_cpu_ids: 2, nr_node_ids 1

Built 1 zonelists in Zone order, mobility grouping on. Total pages: 129919

Kernel command line: ro root=UUID=3ebe614c-face-423d-a6b8-bee92dadd4aa rhgb quiet

Enabling fast FPU save and restore... done.

Enabling unmasked SIMD FPU exception support... done.

Initializing CPU#0

CPU 0 irqstacks, hard=c0806000 soft=c07e6000

PID hash table entries: 2048 (order: 11, 8192 bytes)

TSC: PIT calibration confirmed by PMTIMER.

TSC: using PIT calibration value

Detected 1808.296 MHz processor.

spurious 8259A interrupt: IRQ7.

Console: colour VGA+ 80x25

console [tty0] enabled

Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)

Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)

Memory: 511280k/524224k available (2347k kernel code, 12316k reserved, 1218k data, 392k init, 0k highmem)

virtual kernel memory layout:

fixmap : 0xffc57000 - 0xfffff000 (3744 kB)

pkmap : 0xff400000 - 0xff800000 (4096 kB)

vmalloc : 0xe0800000 - 0xff3fe000 ( 491 MB)

lowmem : 0xc0000000 - 0xdfff0000 ( 511 MB)

.init : 0xc0781000 - 0xc07e3000 ( 392 kB)

.data : 0xc064afc8 - 0xc077baf0 (1218 kB)

.text : 0xc0400000 - 0xc064afc8 (2347 kB)

Checking if this processor honours the WP bit even in supervisor mode...Ok.

CPA: page pool initialized 1 of 1 pages preallocated

SLUB: Genslabs=12, HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1

Calibrating delay loop (skipped), value calculated using timer frequency.. 3616.59 BogoMIPS (lpj=1808296)

Security Framework initialized

SELinux: Initializing.

SELinux: Starting in permissive mode

Mount-cache hash table entries: 512

Initializing cgroup subsys ns

Initializing cgroup subsys cpuacct

Initializing cgroup subsys devices

CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)

CPU: L2 Cache: 512K (64 bytes/line)

Intel machine check architecture supported.

Intel machine check reporting enabled on CPU#0.

using C1E aware idle routine

Checking 'hlt' instruction... OK.

SMP alternatives: switching to UP code

ACPI: Core revision 20080609

ENABLING IO-APIC IRQs

..TIMER: vector=0x31 apic1=0 pin1=0 apic2=-1 pin2=-1

CPU0: AMD Athlon(tm) 64 Processor 3000+ stepping 02

Brought up 1 CPUs

Total of 1 processors activated (3616.59 BogoMIPS).

sizeof(vma)=84 bytes

sizeof(page)=32 bytes

sizeof(inode)=340 bytes

sizeof(dentry)=132 bytes

sizeof(ext3inode)=492 bytes

sizeof(buffer_head)=56 bytes

sizeof(skbuff)=184 bytes

sizeof(task_struct)=3244 bytes

CPU0 attaching NULL sched-domain.

net_namespace: 840 bytes

Booting paravirtualized kernel on bare hardware

Time: 16:06:40 Date: 04/28/10

NET: Registered protocol family 16

No dock devices found.

ACPI: bus type pci registered

PCI: MCFG configuration 0: base e0000000 segment 0 buses 0 - 255

PCI: MCFG area at e0000000 reserved in E820

PCI: Using MMCONFIG for extended config space

PCI: Using configuration type 1 for base access

ACPI: EC: Look up EC in DSDT

ACPI: Interpreter enabled

ACPI: (supports S0 S1 S4 S5)

ACPI: Using IOAPIC for interrupt routing

ACPI: PCI Root Bridge [PCI0] (0000:00)

HPET not enabled in BIOS. You might try hpet=force boot option

PCI: 0000:00:01.1 reg 10 io port: [fc00, fc1f]

PCI: 0000:00:01.1 reg 20 io port: [f800, f83f]

PCI: 0000:00:01.1 reg 24 io port: [f400, f43f]

pci 0000:00:01.1: PME# supported from D3hot D3cold

pci 0000:00:01.1: PME# disabled

PCI: 0000:00:02.0 reg 10 32bit mmio: [fe02f000, fe02ffff]

pci 0000:00:02.0: supports D1

pci 0000:00:02.0: supports D2

pci 0000:00:02.0: PME# supported from D0 D1 D2 D3hot D3cold

pci 0000:00:02.0: PME# disabled

PCI: 0000:00:02.1 reg 10 32bit mmio: [fe02e000, fe02e0ff]

pci 0000:00:02.1: supports D1

pci 0000:00:02.1: supports D2

pci 0000:00:02.1: PME# supported from D0 D1 D2 D3hot D3cold

pci 0000:00:02.1: PME# disabled

PCI: 0000:00:04.0 reg 10 io port: [f000, f0ff]

PCI: 0000:00:04.0 reg 14 io port: [ec00, ecff]

PCI: 0000:00:04.0 reg 18 32bit mmio: [fe02d000, fe02dfff]

pci 0000:00:04.0: supports D1

pci 0000:00:04.0: supports D2

PCI: 0000:00:06.0 reg 20 io port: [e800, e80f]

PCI: 0000:00:07.0 reg 10 io port: [9f0, 9f7]

PCI: 0000:00:07.0 reg 14 io port: [bf0, bf3]

PCI: 0000:00:07.0 reg 18 io port: [970, 977]

PCI: 0000:00:07.0 reg 1c io port: [b70, b73]

PCI: 0000:00:07.0 reg 20 io port: [d400, d40f]

PCI: 0000:00:07.0 reg 24 32bit mmio: [fe02c000, fe02cfff]

PCI: 0000:00:08.0 reg 10 io port: [9e0, 9e7]

PCI: 0000:00:08.0 reg 14 io port: [be0, be3]

PCI: 0000:00:08.0 reg 18 io port: [960, 967]

PCI: 0000:00:08.0 reg 1c io port: [b60, b63]

PCI: 0000:00:08.0 reg 20 io port: [c000, c00f]

PCI: 0000:00:08.0 reg 24 32bit mmio: [fe02b000, fe02bfff]

pci 0000:00:0b.0: PME# supported from D0 D1 D2 D3hot D3cold

pci 0000:00:0b.0: PME# disabled

pci 0000:00:0c.0: PME# supported from D0 D1 D2 D3hot D3cold

pci 0000:00:0c.0: PME# disabled

pci 0000:00:0d.0: PME# supported from D0 D1 D2 D3hot D3cold

pci 0000:00:0d.0: PME# disabled

pci 0000:00:0e.0: PME# supported from D0 D1 D2 D3hot D3cold

pci 0000:00:0e.0: PME# disabled

pci 0000:00:09.0: transparent bridge

PCI: bridge 0000:00:09.0 io port: [a000, afff]

PCI: bridge 0000:00:09.0 32bit mmio: [fde00000, fdefffff]

PCI: bridge 0000:00:09.0 32bit mmio pref: [fdf00000, fdffffff]

PCI: bridge 0000:00:0b.0 io port: [9000, 9fff]

PCI: bridge 0000:00:0b.0 32bit mmio: [fdd00000, fddfffff]

PCI: bridge 0000:00:0b.0 64bit mmio pref: [fdc00000, fdcfffff]

PCI: 0000:03:00.0 reg 10 io port: [8c00, 8cff]

PCI: 0000:03:00.0 reg 18 64bit mmio: [fdbff000, fdbfffff]

PCI: 0000:03:00.0 reg 30 32bit mmio: [0, 1ffff]

pci 0000:03:00.0: supports D1

pci 0000:03:00.0: supports D2

pci 0000:03:00.0: PME# supported from D1 D2 D3hot D3cold

pci 0000:03:00.0: PME# disabled

Pre-1.1 PCIe device detected, disable ASPM for 0000:00:0c.0. It can be enabled forcedly with 'pcie_aspm=force'

PCI: bridge 0000:00:0c.0 io port: [8000, 8fff]

PCI: bridge 0000:00:0c.0 32bit mmio: [fdb00000, fdbfffff]

PCI: bridge 0000:00:0c.0 64bit mmio pref: [fda00000, fdafffff]

PCI: bridge 0000:00:0d.0 io port: [7000, 7fff]

PCI: bridge 0000:00:0d.0 32bit mmio: [fd900000, fd9fffff]

PCI: bridge 0000:00:0d.0 64bit mmio pref: [fd800000, fd8fffff]

PCI: 0000:05:00.0 reg 10 32bit mmio: [fa000000, faffffff]

PCI: 0000:05:00.0 reg 14 64bit mmio: [d0000000, dfffffff]

PCI: 0000:05:00.0 reg 1c 64bit mmio: [fb000000, fbffffff]

PCI: 0000:05:00.0 reg 24 io port: [6c00, 6c7f]

PCI: 0000:05:00.0 reg 30 32bit mmio: [0, 1ffff]

Pre-1.1 PCIe device detected, disable ASPM for 0000:00:0e.0. It can be enabled forcedly with 'pcie_aspm=force'

PCI: bridge 0000:00:0e.0 io port: [6000, 6fff]

PCI: bridge 0000:00:0e.0 32bit mmio: [fa000000, fcffffff]

PCI: bridge 0000:00:0e.0 64bit mmio pref: [d0000000, dfffffff]

bus 00 -> node 0

ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT]

ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.HUB0._PRT]

ACPI: PCI Interrupt Link [LNK1] (IRQs 3 4 *5 7 9 10 11 12 14 15)

ACPI: PCI Interrupt Link [LNK2] (IRQs 3 4 5 7 9 10 11 12 14 15) *0, disabled.

ACPI: PCI Interrupt Link [LNK3] (IRQs *3 4 5 7 9 10 11 12 14 15)

ACPI: PCI Interrupt Link [LNK4] (IRQs 3 4 5 7 9 10 11 12 14 15) *0, disabled.

ACPI: PCI Interrupt Link [LNK5] (IRQs 3 4 5 7 9 10 11 12 14 15) *0, disabled.

ACPI: PCI Interrupt Link [LUBA] (IRQs 3 4 *5 7 9 10 11 12 14 15)

ACPI: PCI Interrupt Link [LUBB] (IRQs 3 4 5 7 9 10 11 12 14 15) *0, disabled.

ACPI: PCI Interrupt Link [LMAC] (IRQs 3 4 5 7 9 10 11 12 14 15) *0, disabled.

ACPI: PCI Interrupt Link [LACI] (IRQs 3 4 5 7 9 10 *11 12 14 15)

ACPI: PCI Interrupt Link [LMCI] (IRQs 3 4 5 7 9 10 11 12 14 15) *0, disabled.

ACPI: PCI Interrupt Link [LSMB] (IRQs *3 4 5 7 9 10 11 12 14 15)

ACPI: PCI Interrupt Link [LUB2] (IRQs 3 4 5 7 9 *10 11 12 14 15)

ACPI: PCI Interrupt Link [LIDE] (IRQs 3 4 5 7 9 10 11 12 14 15) *0, disabled.

ACPI: PCI Interrupt Link [LSID] (IRQs 3 4 5 7 9 10 *11 12 14 15)

ACPI: PCI Interrupt Link [LFID] (IRQs 3 4 5 7 9 *10 11 12 14 15)

ACPI: PCI Interrupt Link [LPCA] (IRQs 3 4 5 7 9 10 11 12 14 15) *0, disabled.

ACPI: PCI Interrupt Link [APC1] (IRQs 16) *0

ACPI: PCI Interrupt Link [APC2] (IRQs 17) *0, disabled.

ACPI: PCI Interrupt Link [APC3] (IRQs 18) *0

ACPI: PCI Interrupt Link [APC4] (IRQs 19) *0, disabled.

ACPI: PCI Interrupt Link [APC5] (IRQs *16), disabled.

ACPI: PCI Interrupt Link [APCF] (IRQs 20 21 22 23) *0

ACPI: PCI Interrupt Link [APCG] (IRQs 20 21 22 23) *0, disabled.

ACPI: PCI Interrupt Link [APCH] (IRQs 20 21 22 23) *0, disabled.

ACPI: PCI Interrupt Link [APCJ] (IRQs 20 21 22 23) *0

ACPI: PCI Interrupt Link [APCK] (IRQs 20 21 22 23) *0, disabled.

ACPI: PCI Interrupt Link [APCS] (IRQs 20 21 22 23) *0

ACPI: PCI Interrupt Link [APCL] (IRQs 20 21 22 23) *0

ACPI: PCI Interrupt Link [APCZ] (IRQs 20 21 22 23) *0, disabled.

ACPI: PCI Interrupt Link [APSI] (IRQs 20 21 22 23) *0

ACPI: PCI Interrupt Link [APSJ] (IRQs 20 21 22 23) *0

ACPI: PCI Interrupt Link [APCP] (IRQs 20 21 22 23) *0, disabled.

Linux Plug and Play Support v0.97 (c) Adam Belay

pnp: PnP ACPI init

ACPI: bus type pnp registered

pnp: PnP ACPI: found 14 devices

ACPI: ACPI bus type pnp unregistered

usbcore: registered new interface driver usbfs

usbcore: registered new interface driver hub

usbcore: registered new device driver usb

PCI: Using ACPI for IRQ routing

NetLabel: Initializing

NetLabel: domain hash size = 128

NetLabel: protocols = UNLABELED CIPSOv4

NetLabel: unlabeled traffic allowed by default

tracer: 772 pages allocated for 65536 entries of 48 bytes

actual entries 65620

ACPI: RTC can wake from S4

system 00:01: ioport range 0x1000-0x107f has been reserved

system 00:01: ioport range 0x1080-0x10ff has been reserved

system 00:01: ioport range 0x1400-0x147f has been reserved

system 00:01: ioport range 0x1480-0x14ff has been reserved

system 00:01: ioport range 0x1800-0x187f has been reserved

system 00:01: ioport range 0x1880-0x18ff has been reserved

system 00:02: ioport range 0x4d0-0x4d1 has been reserved

system 00:02: ioport range 0x800-0x805 has been reserved

system 00:02: ioport range 0x295-0x296 has been reserved

system 00:0c: iomem range 0xe0000000-0xefffffff could not be reserved

system 00:0d: iomem range 0xcde00-0xcffff has been reserved

system 00:0d: iomem range 0xf0000-0xf7fff could not be reserved

system 00:0d: iomem range 0xf8000-0xfbfff could not be reserved

system 00:0d: iomem range 0xfc000-0xfffff could not be reserved

system 00:0d: iomem range 0x1fff0000-0x1fffffff could not be reserved

system 00:0d: iomem range 0xffff0000-0xffffffff could not be reserved

system 00:0d: iomem range 0x0-0x9ffff could not be reserved

system 00:0d: iomem range 0x100000-0x1ffeffff could not be reserved

system 00:0d: iomem range 0xfec00000-0xfec00fff could not be reserved

system 00:0d: iomem range 0xfee00000-0xfeefffff could not be reserved

system 00:0d: iomem range 0xfefff000-0xfeffffff could not be reserved

system 00:0d: iomem range 0xfff80000-0xfff80fff could not be reserved

system 00:0d: iomem range 0xfff90000-0xfffbffff could not be reserved

system 00:0d: iomem range 0xfffed000-0xfffeffff could not be reserved

pci 0000:00:09.0: PCI bridge, secondary bus 0000:01

pci 0000:00:09.0: IO window: 0xa000-0xafff

pci 0000:00:09.0: MEM window: 0xfde00000-0xfdefffff

pci 0000:00:09.0: PREFETCH window: 0x000000fdf00000-0x000000fdffffff

pci 0000:00:0b.0: PCI bridge, secondary bus 0000:02

pci 0000:00:0b.0: IO window: 0x9000-0x9fff

pci 0000:00:0b.0: MEM window: 0xfdd00000-0xfddfffff

pci 0000:00:0b.0: PREFETCH window: 0x000000fdc00000-0x000000fdcfffff

pci 0000:00:0c.0: PCI bridge, secondary bus 0000:03

pci 0000:00:0c.0: IO window: 0x8000-0x8fff

pci 0000:00:0c.0: MEM window: 0xfdb00000-0xfdbfffff

pci 0000:00:0c.0: PREFETCH window: 0x000000fda00000-0x000000fdafffff

pci 0000:00:0d.0: PCI bridge, secondary bus 0000:04

pci 0000:00:0d.0: IO window: 0x7000-0x7fff

pci 0000:00:0d.0: MEM window: 0xfd900000-0xfd9fffff

pci 0000:00:0d.0: PREFETCH window: 0x000000fd800000-0x000000fd8fffff

pci 0000:00:0e.0: PCI bridge, secondary bus 0000:05

pci 0000:00:0e.0: IO window: 0x6000-0x6fff

pci 0000:00:0e.0: MEM window: 0xfa000000-0xfcffffff

pci 0000:00:0e.0: PREFETCH window: 0x000000d0000000-0x000000dfffffff

pci 0000:00:09.0: setting latency timer to 64

pci 0000:00:0b.0: setting latency timer to 64

pci 0000:00:0c.0: setting latency timer to 64

pci 0000:00:0d.0: setting latency timer to 64

pci 0000:00:0e.0: setting latency timer to 64

bus: 00 index 0 io port: [0, ffff]

bus: 00 index 1 mmio: [0, ffffffffffffffff]

bus: 01 index 0 io port: [a000, afff]

bus: 01 index 1 mmio: [fde00000, fdefffff]

bus: 01 index 2 mmio: [fdf00000, fdffffff]

bus: 01 index 3 io port: [0, ffff]

bus: 01 index 4 mmio: [0, ffffffffffffffff]

bus: 02 index 0 io port: [9000, 9fff]

bus: 02 index 1 mmio: [fdd00000, fddfffff]

bus: 02 index 2 mmio: [fdc00000, fdcfffff]

bus: 02 index 3 mmio: [0, 0]

bus: 03 index 0 io port: [8000, 8fff]

bus: 03 index 1 mmio: [fdb00000, fdbfffff]

bus: 03 index 2 mmio: [fda00000, fdafffff]

bus: 03 index 3 mmio: [0, 0]

bus: 04 index 0 io port: [7000, 7fff]

bus: 04 index 1 mmio: [fd900000, fd9fffff]

bus: 04 index 2 mmio: [fd800000, fd8fffff]

bus: 04 index 3 mmio: [0, 0]

bus: 05 index 0 io port: [6000, 6fff]

bus: 05 index 1 mmio: [fa000000, fcffffff]

bus: 05 index 2 mmio: [d0000000, dfffffff]

bus: 05 index 3 mmio: [0, 0]

NET: Registered protocol family 2

IP route cache hash table entries: 4096 (order: 2, 16384 bytes)

TCP established hash table entries: 16384 (order: 5, 131072 bytes)

TCP bind hash table entries: 16384 (order: 5, 131072 bytes)

TCP: Hash tables configured (established 16384 bind 16384)

TCP reno registered

NET: Registered protocol family 1

checking if image is initramfs...<7>Switched to high resolution mode on CPU 0

it is

Freeing initrd memory: 2654k freed

apm: BIOS version 1.2 Flags 0x07 (Driver version 1.16ac)

apm: overridden by ACPI.

audit: initializing netlink socket (disabled)

type=2000 audit(1272470800.391:1): initialized

HugeTLB registered 4 MB page size, pre-allocated 0 pages

VFS: Disk quotas dquot_6.5.1

Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)

msgmni has been set to 1004

SELinux: Registering netfilter hooks

Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)

io scheduler noop registered

io scheduler anticipatory registered

io scheduler deadline registered

io scheduler cfq registered (default)

pci 0000:00:00.0: Enabling HT MSI Mapping

pci 0000:00:02.1: EHCI: BIOS handoff failed (BIOS bug?) 01010001

pci 0000:00:0b.0: Enabling HT MSI Mapping

pci 0000:00:0b.0: Found enabled HT MSI Mapping

pci 0000:00:0b.0: Linking AER extended capability

pci 0000:00:0c.0: Enabling HT MSI Mapping

pci 0000:00:0c.0: Found enabled HT MSI Mapping

pci 0000:00:0c.0: Linking AER extended capability

pci 0000:00:0d.0: Enabling HT MSI Mapping

pci 0000:00:0d.0: Found enabled HT MSI Mapping

pci 0000:00:0d.0: Linking AER extended capability

pci 0000:00:0e.0: Enabling HT MSI Mapping

pci 0000:00:0e.0: Found enabled HT MSI Mapping

pci 0000:00:0e.0: Linking AER extended capability

pci 0000:05:00.0: Boot video device

pcieport-driver 0000:00:0b.0: setting latency timer to 64

pcieport-driver 0000:00:0b.0: found MSI capability

pci_express 0000:00:0b.0:pcie00: allocate port service

pci_express 0000:00:0b.0:pcie03: allocate port service

pcieport-driver 0000:00:0c.0: setting latency timer to 64

pcieport-driver 0000:00:0c.0: found MSI capability

pci_express 0000:00:0c.0:pcie00: allocate port service

pci_express 0000:00:0c.0:pcie03: allocate port service

pcieport-driver 0000:00:0d.0: setting latency timer to 64

pcieport-driver 0000:00:0d.0: found MSI capability

pci_express 0000:00:0d.0:pcie00: allocate port service

pci_express 0000:00:0d.0:pcie03: allocate port service

pcieport-driver 0000:00:0e.0: setting latency timer to 64

pcieport-driver 0000:00:0e.0: found MSI capability

pci_express 0000:00:0e.0:pcie00: allocate port service

pci_express 0000:00:0e.0:pcie03: allocate port service

pci_hotplug: PCI Hot Plug PCI Core version: 0.5

acpiphp: ACPI Hot Plug PCI Controller Driver version: 0.5

input: Power Button (FF) as /devices/LNXSYSTM:00/LNXPWRBN:00/input/input0

ACPI: Power Button (FF) [PWRF]

input: Power Button (CM) as /devices/LNXSYSTM:00/device:00/PNP0C0C:00/input/input1

ACPI: Power Button (CM) [PWRB]

fan PNP0C0B:00: registered as cooling_device0

ACPI: Fan [FAN] (on)

processor ACPI0007:00: registered as cooling_device1

thermal LNXTHERM:01: registered as thermal_zone0

ACPI: Thermal Zone [THRM] (30 C)

isapnp: Scanning for PnP cards...

isapnp: No Plug & Play device found

Non-volatile memory driver v1.2

Linux agpgart interface v0.103

Serial: 8250/16550 driver4 ports, IRQ sharing enabled

serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A

00:08: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A

brd: module loaded

input: Macintosh mouse button emulation as /devices/virtual/input/input2

PNP: PS/2 Controller [PNP0303:PS2K,PNP0f13:PS2M] at 0x60,0x64 irq 1,12

serio: i8042 KBD port at 0x60,0x64 irq 1

serio: i8042 AUX port at 0x60,0x64 irq 12

mice: PS/2 mouse device common for all mice

rtc_cmos 00:04: rtc core: registered rtc_cmos as rtc0

rtc0: alarms up to one year, y3k

cpuidle: using governor ladder

cpuidle: using governor menu

usbcore: registered new interface driver hiddev

usbcore: registered new interface driver usbhid

usbhid: v2.6:USB HID core driver

TCP cubic registered

Initializing XFRM netlink socket

NET: Registered protocol family 17

Using IPI No-Shortcut mode

registered taskstats version 1

Magic number: 6:852:136

block ram1: hash matches

Freeing unused kernel memory: 392k freed

Write protecting the kernel text: 2348k

Write protecting the kernel read-only data: 988k

input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/input3

ACPI: PCI Interrupt Link [APCL] enabled at IRQ 23

ehci_hcd 0000:00:02.1: PCI INT B -> Link[APCL] -> GSI 23 (level, low) -> IRQ 23

ehci_hcd 0000:00:02.1: setting latency timer to 64

ehci_hcd 0000:00:02.1: EHCI Host Controller

ehci_hcd 0000:00:02.1: new USB bus registered, assigned bus number 1

ehci_hcd 0000:00:02.1: debug port 1

ehci_hcd 0000:00:02.1: cache line size of 64 is not supported

ehci_hcd 0000:00:02.1: irq 23, io mem 0xfe02e000

ehci_hcd 0000:00:02.1: USB 2.0 started, EHCI 1.00, driver 10 Dec 2004

usb usb1: configuration #1 chosen from 1 choice

hub 1-0:1.0: USB hub found

hub 1-0:1.0: 10 ports detected

usb usb1: New USB device found, idVendor=1d6b, idProduct=0002

usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1

usb usb1: Product: EHCI Host Controller

usb usb1: Manufacturer: Linux 2.6.27.25-78.2.56.fc9.i686 ehci_hcd

usb usb1: SerialNumber: 0000:00:02.1

ohci_hcd: 2006 August 04 USB 1.1 'Open' Host Controller (OHCI) Driver

ACPI: PCI Interrupt Link [APCF] enabled at IRQ 22

ohci_hcd 0000:00:02.0: PCI INT A -> Link[APCF] -> GSI 22 (level, low) -> IRQ 22

ohci_hcd 0000:00:02.0: setting latency timer to 64

ohci_hcd 0000:00:02.0: OHCI Host Controller

ohci_hcd 0000:00:02.0: new USB bus registered, assigned bus number 2

ohci_hcd 0000:00:02.0: irq 22, io mem 0xfe02f000

usb usb2: configuration #1 chosen from 1 choice

hub 2-0:1.0: USB hub found

hub 2-0:1.0: 10 ports detected

usb usb2: New USB device found, idVendor=1d6b, idProduct=0001

usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1

usb usb2: Product: OHCI Host Controller

usb usb2: Manufacturer: Linux 2.6.27.25-78.2.56.fc9.i686 ohci_hcd

usb usb2: SerialNumber: 0000:00:02.0

USB Universal Host Controller Interface driver v3.0

SCSI subsystem initialized

Driver 'sd' needs updating - please use bus_type methods

libata version 3.00 loaded.

pata_amd 0000:00:06.0: version 0.3.10

pata_amd 0000:00:06.0: setting latency timer to 64

scsi0 : pata_amd

scsi1 : pata_amd

ata1: PATA max UDMA/133 cmd 0x1f0 ctl 0x3f6 bmdma 0xe800 irq 14

ata2: PATA max UDMA/133 cmd 0x170 ctl 0x376 bmdma 0xe808 irq 15

input: ImPS/2 Generic Wheel Mouse as /devices/platform/i8042/serio1/input/input4

ata1.00: ATA-7: ST3160215A, 3.AAC, max UDMA/100

ata1.00: 312581808 sectors, multi 16: LBA48

ata1: nv_mode_filter: 0x3f39f&0x39f->0x39f, BIOS=0x0 (0x0) ACPI=0x39f (120:600:0x12)

ata1.00: configured for MWDMA2

ata2.00: ATAPI: Teclast DHB16H, VER CB07, max UDMA/33

ata2: nv_mode_filter: 0x739f&0x39f->0x39f, BIOS=0x0 (0x0) ACPI=0x39f (120:600:0x12)

ata2.00: configured for MWDMA2

scsi 0:0:0:0: Direct-Access ATA ST3160215A 3.AA PQ: 0 ANSI: 5

sd 0:0:0:0: [sda] 312581808 512-byte hardware sectors (160042 MB)

sd 0:0:0:0: [sda] Write Protect is off

sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00

sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA

sd 0:0:0:0: [sda] 312581808 512-byte hardware sectors (160042 MB)

sd 0:0:0:0: [sda] Write Protect is off

sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00

sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA

sda: sda1 sda2 < sda5 sda6 sda7 sda8 sda9 >

sd 0:0:0:0: [sda] Attached SCSI disk

scsi 1:0:0:0: CD-ROM Teclast DHB16H CB07 PQ: 0 ANSI: 5

ACPI: PCI Interrupt Link [APSI] enabled at IRQ 21

pata_acpi 0000:00:07.0: PCI INT A -> Link[APSI] -> GSI 21 (level, low) -> IRQ 21

pata_acpi 0000:00:07.0: setting latency timer to 64

pata_acpi 0000:00:07.0: PCI INT A disabled

ACPI: PCI Interrupt Link [APSJ] enabled at IRQ 20

pata_acpi 0000:00:08.0: PCI INT A -> Link[APSJ] -> GSI 20 (level, low) -> IRQ 20

pata_acpi 0000:00:08.0: setting latency timer to 64

pata_acpi 0000:00:08.0: PCI INT A disabled

kjournald starting. Commit interval 5 seconds

EXT3-fs: mounted filesystem with ordered data mode.

type=1404 audit(1272470813.796:2): enforcing=1 old_enforcing=0 auid=4294967295 ses=4294967295

SELinux: 8192 avtab hash slots, 179450 rules.

SELinux: 8192 avtab hash slots, 179450 rules.

SELinux: 8 users, 12 roles, 2445 types, 119 bools, 1 sens, 1024 cats

SELinux: 73 classes, 179450 rules

SELinux: Completing initialization.

SELinux: Setting up existing superblocks.

SELinux: initialized (dev sda8, type ext3), uses xattr

SELinux: initialized (dev usbfs, type usbfs), uses genfs_contexts

SELinux: initialized (dev tmpfs, type tmpfs), uses transition SIDs

SELinux: initialized (dev selinuxfs, type selinuxfs), uses genfs_contexts

SELinux: initialized (dev mqueue, type mqueue), uses transition SIDs

SELinux: initialized (dev hugetlbfs, type hugetlbfs), uses genfs_contexts

SELinux: initialized (dev devpts, type devpts), uses transition SIDs

SELinux: initialized (dev inotifyfs, type inotifyfs), uses genfs_contexts

SELinux: initialized (dev tmpfs, type tmpfs), uses transition SIDs

SELinux: initialized (dev anon_inodefs, type anon_inodefs), uses genfs_contexts

SELinux: initialized (dev pipefs, type pipefs), uses task SIDs

SELinux: initialized (dev debugfs, type debugfs), uses genfs_contexts

SELinux: initialized (dev sockfs, type sockfs), uses task SIDs

SELinux: initialized (dev proc, type proc), uses genfs_contexts

SELinux: initialized (dev bdev, type bdev), uses genfs_contexts

SELinux: initialized (dev rootfs, type rootfs), uses genfs_contexts

SELinux: initialized (dev sysfs, type sysfs), uses genfs_contexts

type=1403 audit(1272470814.364:3): policy loaded auid=4294967295 ses=4294967295

sd 0:0:0:0: Attached scsi generic sg0 type 0

scsi 1:0:0:0: Attached scsi generic sg1 type 5

i2c-adapter i2c-0: nForce2 SMBus adapter at 0xf800

i2c-adapter i2c-1: nForce2 SMBus adapter at 0xf400

input: PC Speaker as /devices/platform/pcspkr/input/input5

r8169 Gigabit Ethernet driver 2.3LK-NAPI loaded

ACPI: PCI Interrupt Link [APC1] enabled at IRQ 16

r8169 0000:03:00.0: PCI INT A -> Link[APC1] -> GSI 16 (level, low) -> IRQ 16

r8169 0000:03:00.0: setting latency timer to 64

r8169 0000:03:00.0: no MSI. Back to INTx.

eth0: RTL8101e at 0xe08f0000, 00:04:61:8f:f2:c0, XID 34000000 IRQ 16

sata_nv 0000:00:07.0: version 3.5

sata_nv 0000:00:07.0: PCI INT A -> Link[APSI] -> GSI 21 (level, low) -> IRQ 21

sata_nv 0000:00:07.0: setting latency timer to 64

scsi2 : sata_nv

scsi3 : sata_nv

ata3: SATA max UDMA/133 cmd 0x9f0 ctl 0xbf0 bmdma 0xd400 irq 21

ata4: SATA max UDMA/133 cmd 0x970 ctl 0xb70 bmdma 0xd408 irq 21

FDC 0 is a post-1991 82077

Driver 'sr' needs updating - please use bus_type methods

sr0: scsi3-mmc drive: 4x/40x cd/rw xa/form2 cdda tray

Uniform CD-ROM driver Revision: 3.20

sr 1:0:0:0: Attached scsi CD-ROM sr0

parport_pc 00:09: reported by Plug and Play ACPI

parport0: PC-style at 0x378, irq 7 [PCSPP,TRISTATE]

ata3: SATA link down (SStatus 0 SControl 300)

nvidia: module license 'NVIDIA' taints kernel.

ata4: SATA link down (SStatus 0 SControl 300)

sata_nv 0000:00:08.0: PCI INT A -> Link[APSJ] -> GSI 20 (level, low) -> IRQ 20

sata_nv 0000:00:08.0: setting latency timer to 64

scsi4 : sata_nv

scsi5 : sata_nv

ata5: SATA max UDMA/133 cmd 0x9e0 ctl 0xbe0 bmdma 0xc000 irq 20

ata6: SATA max UDMA/133 cmd 0x960 ctl 0xb60 bmdma 0xc008 irq 20

ata5: SATA link down (SStatus 0 SControl 300)

ppdev: user-space parallel port driver

ata6: SATA link down (SStatus 0 SControl 300)

ACPI: PCI Interrupt Link [APCJ] enabled at IRQ 23

Intel ICH 0000:00:04.0: PCI INT A -> Link[APCJ] -> GSI 23 (level, low) -> IRQ 23

Intel ICH 0000:00:04.0: setting latency timer to 64

intel8x0_measure_ac97_clock: measured 50780 usecs

intel8x0: clocking to 46874

ACPI: PCI Interrupt Link [APC3] enabled at IRQ 18

nvidia 0000:05:00.0: PCI INT A -> Link[APC3] -> GSI 18 (level, low) -> IRQ 18

nvidia 0000:05:00.0: setting latency timer to 64

NVRM: loading NVIDIA UNIX x86 Kernel Module 173.14.15 Fri Oct 31 16:03:05 PST 2008

SELinux: initialized (dev ramfs, type ramfs), uses genfs_contexts

NET: Registered protocol family 10

lo: Disabled Privacy Extensions

device-mapper: uevent: version 1.0.3

device-mapper: ioctl: 4.14.0-ioctl (2008-04-23) initialised: dm-devel@redhat.com

device-mapper: multipath: version 1.0.5 loaded

EXT3 FS on sda8, internal journal

kjournald starting. Commit interval 5 seconds

EXT3 FS on sda7, internal journal

EXT3-fs: mounted filesystem with ordered data mode.

SELinux: initialized (dev sda7, type ext3), uses xattr

kjournald starting. Commit interval 5 seconds

EXT3 FS on sda6, internal journal

EXT3-fs: mounted filesystem with ordered data mode.

SELinux: initialized (dev sda6, type ext3), uses xattr

SELinux: initialized (dev tmpfs, type tmpfs), uses transition SIDs

SELinux: initialized (dev binfmt_misc, type binfmt_misc), uses genfs_contexts

powernow-k8: Found 1 AMD Athlon(tm) 64 Processor 3000+ processors (1 cpu cores) (version 2.20.00)

powernow-k8: BIOS error - no PSB or ACPI _PSS objects

ip6_tables: (C) 2000-2006 Netfilter Core Team

nf_conntrack version 0.5.0 (8192 buckets, 32768 max)

CONFIG_NF_CT_ACCT is deprecated and will be removed soon. Plase use

nf_conntrack.acct=1 kernel paramater, acct=1 nf_conntrack module option or

sysctl net.netfilter.nf_conntrack_acct=1 to enable it.

ip_tables: (C) 2000-2006 Netfilter Core Team

RPC: Registered udp transport module.

RPC: Registered tcp transport module.

SELinux: initialized (dev rpc_pipefs, type rpc_pipefs), uses genfs_contexts

warning: `dbus-daemon' uses deprecated v2 capabilities in a way that may be insecure.

vboxdrv: Trying to deactivate the NMI watchdog permanently...

vboxdrv: Successfully done.

vboxdrv: Found 1 processor cores.

vboxdrv: TSC mode is 'synchronous', kernel timer mode is 'normal'.

vboxdrv: Successfully loaded version 3.1.6 (interface 0x00100001).

Bluetooth: Core ver 2.13

NET: Registered protocol family 31

Bluetooth: HCI device and connection manager initialized

Bluetooth: HCI socket layer initialized

Bluetooth: L2CAP ver 2.11

Bluetooth: L2CAP socket layer initialized

Bluetooth: BNEP (Ethernet Emulation) ver 1.3

Bluetooth: BNEP filters: protocol multicast

Bridge firewalling registered

Bluetooth: RFCOMM socket layer initialized

Bluetooth: RFCOMM TTY layer initialized

Bluetooth: RFCOMM ver 1.10

r8169: eth0: link up

r8169: eth0: link up

eth0: no IPv6 routers present

fuse init (API version 7.9)

SELinux: initialized (dev fuse, type fuse), uses genfs_contexts

SELinux: initialized (dev sda1, type fuseblk), uses genfs_contexts

SELinux: initialized (dev sda5, type vfat), uses genfs_contexts

在配置内核时那些是有用的阿,内容太多了,英文不太好,希望能指点下。在查了很多网络资料,都说要知道硬件的芯片信息,但是这里好像看不出什么啊。

第三个问题:我从新编译的内核vmline有2.1m,我查看了一下以前版本的vmline也是2.1m,一点都没减小啊,还有initrd.img这个文件,好像还曾大了。是不是以下原因:

我在配置内核是,很多都是默认的,比如usb,network的设置,因为我根本不知道怎么去设置,那些是需要的,那些是不需要的。

嘿,说来惭愧,虽然编译的内核能用,但总感觉是一次失败的尝试,希望能得到有心人的帮助!

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值