+ -
当前位置:首页 → 问答吧 → hal可自动挂在U盘, 如何让起自动挂载硬盘的其他分区 桌面KDE4

hal可自动挂在U盘, 如何让起自动挂载硬盘的其他分区 桌面KDE4

时间:2009-09-19

来源:互联网

如题,
lshal中可以看到其他分区的信息
引用:
block.device = '/dev/sda' (string)
linux.sysfs_path = '/sys/devices/pci0000:00/0000:00:1f.2/host0/target0:0:0/0:0:0:0/block/sda' (string)
block.device = '/dev/sda4' (string)
linux.sysfs_path = '/sys/devices/pci0000:00/0000:00:1f.2/host0/target0:0:0/0:0:0:0/block/sda/sda4' (string)
block.device = '/dev/sda9' (string)
linux.sysfs_path = '/sys/devices/pci0000:00/0000:00:1f.2/host0/target0:0:0/0:0:0:0/block/sda/sda9' (string)
block.device = '/dev/sda8' (string)
linux.sysfs_path = '/sys/devices/pci0000:00/0000:00:1f.2/host0/target0:0:0/0:0:0:0/block/sda/sda8' (string)
block.device = '/dev/sda7' (string)
linux.sysfs_path = '/sys/devices/pci0000:00/0000:00:1f.2/host0/target0:0:0/0:0:0:0/block/sda/sda7' (string)
block.device = '/dev/sda6' (string)
linux.sysfs_path = '/sys/devices/pci0000:00/0000:00:1f.2/host0/target0:0:0/0:0:0:0/block/sda/sda6' (string)
block.device = '/dev/sda5' (string)
linux.sysfs_path = '/sys/devices/pci0000:00/0000:00:1f.2/host0/target0:0:0/0:0:0:0/block/sda/sda5' (string)
block.device = '/dev/sda2' (string)
linux.sysfs_path = '/sys/devices/pci0000:00/0000:00:1f.2/host0/target0:0:0/0:0:0:0/block/sda/sda2' (string)
block.device = '/dev/sda3' (string)
linux.sysfs_path = '/sys/devices/pci0000:00/0000:00:1f.2/host0/target0:0:0/0:0:0:0/block/sda/sda3' (string)
block.device = '/dev/sda10' (string)
linux.sysfs_path = '/sys/devices/pci0000:00/0000:00:1f.2/host0/target0:0:0/0:0:0:0/block/sda/sda10' (string)
block.device = '/dev/sda1' (string)
linux.sysfs_path = '/sys/devices/pci0000:00/0000:00:1f.2/host0/target0:0:0/0:0:0:0/block/sda/sda1' (string)
99-storage-policy-fixed-drives.fdi这个文件我复制到了/etc/hal/fid/policy/下并且已改
引用:
<?xml version="1.0" encoding="UTF-8"?> <!-- -*- SGML -*- -->

<deviceinfo version="0.2">
<device>
<match key="@block.storage_device:storage.hotpluggable" bool="false">
<match key="@block.storage_device:storage.removable" bool="false">
<merge key="volume.ignore" type="bool">false</merge>
</match>
</match>
</device>
</deviceinfo>

作者: newsky_   发布时间: 2009-09-19

别忘了把自己加入plugdev组,安装hal的时候有提示。

作者: pxbfeiniao   发布时间: 2009-09-19

引用:
作者: pxbfeiniao
别忘了把自己加入plugdev组,安装hal的时候有提示。
已经加入了的

作者: newsky_   发布时间: 2009-09-19

为什么不用/etc/fstab?移动硬盘?

作者: Mie   发布时间: 2009-09-19

引用:
作者: Mie
为什么不用/etc/fstab?移动硬盘?
只是记得有天的某次hal自动挂载了,

移动硬盘也是可以自动挂载的,

应该是hal没有把他们当作活动分区,但是我明明改了99那个文件的

作者: newsky_   发布时间: 2009-09-19

看一看这篇文章吧,也许有些帮助:
《shortname以及自动挂载》

我也是用KDE4桌面,被U盘不能自动挂载的问题困扰着,目前还没有找到比较好的解决办法。

另:把dmesg和gzip -dc /proc/config.gz也贴出来看看。

作者: lophyxp   发布时间: 2009-09-20

我发现hal其实已经找到了, 只是没有自动挂载上,

在我这里插上一个U盘, 然后在dolphin左面列表会出来盘符, 右键显示全部,

就可以看到其它分区, 点一下就自动挂载上了....

作者: newsky_   发布时间: 2009-09-21

newsky_兄,还是麻烦把dmesg和gzip -dc /proc/config.gz贴一下吧,我好参照改一改。多谢,多谢。

作者: lophyxp   发布时间: 2009-09-21

dmesg
引用:
- 000007c96f]
#8 [000007d000 - 0000084000] BOOTMAP ==> [000007d000 - 0000084000]
Zone PFN ranges:
DMA 0x00000000 -> 0x00001000
Normal 0x00001000 -> 0x000377fe
HighMem 0x000377fe -> 0x00079c00
Movable zone start PFN for each node
early_node_map[5] active PFN ranges
0: 0x00000000 -> 0x0000009e
0: 0x00000100 -> 0x000796a1
0: 0x000796a7 -> 0x000797b7
0: 0x0007980f -> 0x000798c7
0: 0x00079bff -> 0x00079c00
On node 0 totalpages: 497672
free_area_init_node: node 0, pgdat c151e480, node_mem_map c15b1000
DMA zone: 32 pages used for memmap
DMA zone: 0 pages reserved
DMA zone: 3966 pages, LIFO batch:0
Normal zone: 1744 pages used for memmap
Normal zone: 221486 pages, LIFO batch:31
HighMem zone: 2121 pages used for memmap
HighMem zone: 268323 pages, LIFO batch:31
Using APIC driver default
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] enabled)
ACPI: LAPIC (acpi_id[0x02] lapic_id[0x02] disabled)
ACPI: LAPIC (acpi_id[0x03] lapic_id[0x03] disabled)
ACPI: LAPIC_NMI (acpi_id[0x00] high edge lint[0x1])
ACPI: LAPIC_NMI (acpi_id[0x01] high edge lint[0x1])
ACPI: IOAPIC (id[0x01] address[0xfec00000] gsi_base[0])
IOAPIC[0]: apic_id 1, version 32, address 0xfec00000, GSI 0-23
ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl)
ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 high level)
ACPI: IRQ0 used by override.
ACPI: IRQ2 used by override.
ACPI: IRQ9 used by override.
Enabling APIC mode: Flat. Using 1 I/O APICs
Using ACPI (MADT) for SMP configuration information
4 Processors exceeds NR_CPUS limit of 2
SMP: Allowing 2 CPUs, 0 hotplug CPUs
nr_irqs_gsi: 24
PM: Registered nosave memory: 000000000009e000 - 000000000009f000
PM: Registered nosave memory: 000000000009f000 - 00000000000a0000
PM: Registered nosave memory: 00000000000a0000 - 00000000000dc000
PM: Registered nosave memory: 00000000000dc000 - 0000000000100000
Allocating PCI resources starting at 7c000000 (gap: 7c000000:64000000)
NR_CPUS:2 nr_cpumask_bits:2 nr_cpu_ids:2 nr_node_ids:1
PERCPU: Embedded 12 pages at c24f3000, static data 28124 bytes
Built 1 zonelists in Zone order, mobility grouping on. Total pages: 493775
Kernel command line: root=/dev/sda9 acpi_sleep=s3_bios,s3_mode acpi_osi="Linux" thinkpad_acpi.fan_control=1 quiet video=uvesafb:1280x800-24@60,ywrap,mtrr:3 ramdisk=2048 splash=silent,fadein,theme:livecd-2007.0 console=tty1
ACPI: Added _OSI(Linux)
PID hash table entries: 4096 (order: 12, 16384 bytes)
Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Initializing CPU#0
Initializing HighMem for node 0 (000377fe:00079c00)
Memory: 1967044k/1994752k available (3787k kernel code, 22836k reserved, 1471k data, 328k init, 1081776k highmem)
virtual kernel memory layout:
fixmap : 0xfff91000 - 0xfffff000 ( 440 kB)
pkmap : 0xff800000 - 0xffc00000 (4096 kB)
vmalloc : 0xf7ffe000 - 0xff7fe000 ( 120 MB)
lowmem : 0xc0000000 - 0xf77fe000 ( 887 MB)
.init : 0xc1523000 - 0xc1575000 ( 328 kB)
.data : 0xc13b2d10 - 0xc1522a78 (1471 kB)
.text : 0xc1000000 - 0xc13b2d10 (3787 kB)
Checking if this processor honours the WP bit even in supervisor mode...Ok.
SLUB: Genslabs=13, HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
NR_IRQS:320
Extended CMOS year: 2000
Fast TSC calibration using PIT
Detected 2394.220 MHz processor.
Console: colour VGA+ 80x25
console [tty1] enabled
Calibrating delay loop (skipped), value calculated using timer frequency.. 4788.44 BogoMIPS (lpj=2394220)
Mount-cache hash table entries: 512
CPU: L1 I cache: 32K, L1 D cache: 32K
CPU: L2 cache: 3072K
CPU: Physical Processor ID: 0
CPU: Processor Core ID: 0
mce: CPU supports 6 MCE banks
using mwait in idle threads.
Performance Counters: Core2 events, Intel PMU driver.
... version: 2
... bit width: 40
... generic counters: 2
... value mask: 000000ffffffffff
... max period: 000000007fffffff
... fixed-purpose counters: 3
... counter mask: 0000000700000003
Checking 'hlt' instruction... OK.
ACPI: Core revision 20090521
..TIMER: vector=0x30 apic1=0 pin1=2 apic2=-1 pin2=-1
CPU0: Intel(R) Core(TM)2 Duo CPU P8600 @ 2.40GHz stepping 06
Booting processor 1 APIC 0x1 ip 0x6000
Initializing CPU#1
Calibrating delay using timer specific routine.. 4787.17 BogoMIPS (lpj=2393585)
CPU: L1 I cache: 32K, L1 D cache: 32K
CPU: L2 cache: 3072K
CPU: Physical Processor ID: 0
CPU: Processor Core ID: 1
mce: CPU supports 6 MCE banks
CPU1: Intel(R) Core(TM)2 Duo CPU P8600 @ 2.40GHz stepping 06
checking TSC synchronization [CPU#0 -> CPU#1]: passed.
Brought up 2 CPUs
Total of 2 processors activated (9575.61 BogoMIPS).
NET: Registered protocol family 16
ACPI FADT declares the system doesn't support PCIe ASPM, so disable it
ACPI: bus type pci registered
PCI: MCFG configuration 0: base e0000000 segment 0 buses 0 - 63
PCI: MCFG area at e0000000 reserved in E820
PCI: Using MMCONFIG for extended config space
PCI: Using configuration type 1 for base access
bio: create slab <bio-0> at 0
ACPI: EC: EC description table is found, configuring boot EC
ACPI: BIOS _OSI(Linux) query honored via cmdline
ACPI: EC: non-query interrupt received, switching to interrupt mode
ACPI: Interpreter enabled
ACPI: (supports S0 S3 S4 S5)
ACPI: Using IOAPIC for interrupt routing
ACPI: EC: GPE = 0x11, I/O: command/status = 0x66, data = 0x62
ACPI: EC: driver started in interrupt mode
ACPI: Power Resource [PUBS] (on)
ACPI: ACPI Dock Station Driver: 3 docks/bays found
ACPI: PCI Root Bridge [PCI0] (0000:00)
pci 0000:00:02.0: reg 10 64bit mmio: [0xf2000000-0xf23fffff]
pci 0000:00:02.0: reg 18 64bit mmio: [0xd0000000-0xdfffffff]
pci 0000:00:02.0: reg 20 io port: [0x1800-0x1807]
pci 0000:00:02.1: reg 10 64bit mmio: [0xf2400000-0xf24fffff]
pci 0000:00:03.0: reg 10 64bit mmio: [0xf2826800-0xf282680f]
pci 0000:00:03.0: PME# supported from D0 D3hot D3cold
pci 0000:00:03.0: PME# disabled
pci 0000:00:03.2: reg 10 io port: [0x1828-0x182f]
pci 0000:00:03.2: reg 14 io port: [0x180c-0x180f]
pci 0000:00:03.2: reg 18 io port: [0x1820-0x1827]
pci 0000:00:03.2: reg 1c io port: [0x1808-0x180b]
pci 0000:00:03.2: reg 20 io port: [0x1810-0x181f]
pci 0000:00:03.3: reg 10 io port: [0x1830-0x1837]
pci 0000:00:03.3: reg 14 32bit mmio: [0xf2624000-0xf2624fff]
pci 0000:00:19.0: reg 10 32bit mmio: [0xf2600000-0xf261ffff]
pci 0000:00:19.0: reg 14 32bit mmio: [0xf2625000-0xf2625fff]
pci 0000:00:19.0: reg 18 io port: [0x1840-0x185f]
pci 0000:00:19.0: PME# supported from D0 D3hot D3cold
pci 0000:00:19.0: PME# disabled
pci 0000:00:1a.0: reg 20 io port: [0x1860-0x187f]
pci 0000:00:1a.1: reg 20 io port: [0x1880-0x189f]
pci 0000:00:1a.2: reg 20 io port: [0x18a0-0x18bf]
pci 0000:00:1a.7: reg 10 32bit mmio: [0xf2826c00-0xf2826fff]
pci 0000:00:1a.7: PME# supported from D0 D3hot D3cold
pci 0000:00:1a.7: PME# disabled
pci 0000:00:1b.0: reg 10 64bit mmio: [0xf2620000-0xf2623fff]
pci 0000:00:1b.0: PME# supported from D0 D3hot D3cold
pci 0000:00:1b.0: PME# disabled
pci 0000:00:1c.0: PME# supported from D0 D3hot D3cold
pci 0000:00:1c.0: PME# disabled
pci 0000:00:1c.1: PME# supported from D0 D3hot D3cold
pci 0000:00:1c.1: PME# disabled
pci 0000:00:1c.3: PME# supported from D0 D3hot D3cold
pci 0000:00:1c.3: PME# disabled
pci 0000:00:1d.0: reg 20 io port: [0x18c0-0x18df]
pci 0000:00:1d.1: reg 20 io port: [0x18e0-0x18ff]
pci 0000:00:1d.2: reg 20 io port: [0x1c00-0x1c1f]
pci 0000:00:1d.7: reg 10 32bit mmio: [0xf2827000-0xf28273ff]
pci 0000:00:1d.7: PME# supported from D0 D3hot D3cold
pci 0000:00:1d.7: PME# disabled
pci 0000:00:1f.2: reg 10 io port: [0x1c48-0x1c4f]
pci 0000:00:1f.2: reg 14 io port: [0x183c-0x183f]
pci 0000:00:1f.2: reg 18 io port: [0x1c40-0x1c47]
pci 0000:00:1f.2: reg 1c io port: [0x1838-0x183b]
pci 0000:00:1f.2: reg 20 io port: [0x1c20-0x1c3f]
pci 0000:00:1f.2: reg 24 32bit mmio: [0xf2826000-0xf28267ff]
pci 0000:00:1f.2: PME# supported from D3hot
pci 0000:00:1f.2: PME# disabled
pci 0000:00:1f.3: reg 10 64bit mmio: [0xf2827400-0xf28274ff]
pci 0000:00:1f.3: reg 20 io port: [0x1c60-0x1c7f]
pci 0000:03:00.0: reg 10 64bit mmio: [0xf2500000-0xf2501fff]
pci 0000:03:00.0: PME# supported from D0 D3hot D3cold
pci 0000:03:00.0: PME# disabled
pci 0000:00:1c.1: bridge 32bit mmio: [0xf2500000-0xf25fffff]
pci 0000:00:1c.3: bridge io port: [0x2000-0x2fff]
pci 0000:00:1c.3: bridge 32bit mmio: [0xf0000000-0xf1ffffff]
pci 0000:00:1c.3: bridge 64bit mmio pref: [0xf2900000-0xf29fffff]
pci 0000:00:1e.0: transparent bridge
pci_bus 0000:00: on NUMA node 0
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT]
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.EXP0._PRT]
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.EXP1._PRT]
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.EXP3._PRT]
ACPI: PCI Interrupt Link [LNKA] (IRQs 3 4 5 6 7 9 10 *11)
ACPI: PCI Interrupt Link [LNKB] (IRQs 3 4 5 6 7 9 10 *11)
ACPI: PCI Interrupt Link [LNKC] (IRQs 3 4 5 6 7 9 10 *11)
ACPI: PCI Interrupt Link [LNKD] (IRQs 3 4 5 6 7 9 10 *11)
ACPI: PCI Interrupt Link [LNKE] (IRQs 3 4 5 6 7 9 10 *11)
ACPI: PCI Interrupt Link [LNKF] (IRQs 3 4 5 6 7 9 10 *11)
ACPI: PCI Interrupt Link [LNKG] (IRQs 3 4 5 6 7 9 10 *11)
ACPI: PCI Interrupt Link [LNKH] (IRQs 3 4 5 6 7 9 10 *11)
SCSI subsystem initialized
libata version 3.00 loaded.
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
PCI: Using ACPI for IRQ routing
cfg80211: Calling CRDA to update world regulatory domain
pnp: PnP ACPI init
ACPI: bus type pnp registered
pnp: PnP ACPI: found 10 devices
ACPI: ACPI bus type pnp unregistered
system 00:00: iomem range 0x0-0x9ffff could not be reserved
system 00:00: iomem range 0xc0000-0xc3fff could not be reserved
system 00:00: iomem range 0xc4000-0xc7fff could not be reserved
system 00:00: iomem range 0xc8000-0xcbfff has been reserved
system 00:00: iomem range 0xcc000-0xcffff has been reserved
system 00:00: iomem range 0xd0000-0xd3fff could not be reserved
system 00:00: iomem range 0xdc000-0xdffff could not be reserved
system 00:00: iomem range 0xe0000-0xe3fff could not be reserved
system 00:00: iomem range 0xe4000-0xe7fff could not be reserved
system 00:00: iomem range 0xe8000-0xebfff could not be reserved
system 00:00: iomem range 0xec000-0xeffff could not be reserved
system 00:00: iomem range 0xf0000-0xfffff could not be reserved
system 00:00: iomem range 0x100000-0x7bffffff could not be reserved
system 00:00: iomem range 0xfec00000-0xfed3ffff could not be reserved
system 00:00: iomem range 0xfed4c000-0xffffffff could not be reserved
system 00:02: ioport range 0x1000-0x107f has been reserved
system 00:02: ioport range 0x1180-0x11ff has been reserved
system 00:02: ioport range 0x800-0x80f has been reserved
system 00:02: ioport range 0x15e0-0x15ef has been reserved
system 00:02: ioport range 0x1600-0x167f has been reserved
system 00:02: ioport range 0x1680-0x169f has been reserved
system 00:02: iomem range 0xe0000000-0xefffffff has been reserved
system 00:02: iomem range 0xfed1c000-0xfed1ffff has been reserved
system 00:02: iomem range 0xfed10000-0xfed13fff has been reserved
system 00:02: iomem range 0xfed18000-0xfed18fff has been reserved
system 00:02: iomem range 0xfed19000-0xfed19fff has been reserved
system 00:02: iomem range 0xfed45000-0xfed4bfff has been reserved
pci 0000:00:1c.0: PCI bridge, secondary bus 0000:02
pci 0000:00:1c.0: IO window: disabled
pci 0000:00:1c.0: MEM window: disabled
pci 0000:00:1c.0: PREFETCH window: disabled
pci 0000:00:1c.1: PCI bridge, secondary bus 0000:03
pci 0000:00:1c.1: IO window: disabled
pci 0000:00:1c.1: MEM window: 0xf2500000-0xf25fffff
pci 0000:00:1c.1: PREFETCH window: disabled
pci 0000:00:1c.3: PCI bridge, secondary bus 0000:05
pci 0000:00:1c.3: IO window: 0x2000-0x2fff
pci 0000:00:1c.3: MEM window: 0xf0000000-0xf1ffffff
pci 0000:00:1c.3: PREFETCH window: 0x000000f2900000-0x000000f29fffff
pci 0000:00:1e.0: PCI bridge, secondary bus 0000:0d
pci 0000:00:1e.0: IO window: disabled
pci 0000:00:1e.0: MEM window: disabled
pci 0000:00:1e.0: PREFETCH window: disabled
pci 0000:00:1c.0: PCI INT A -> GSI 20 (level, low) -> IRQ 20
pci 0000:00:1c.0: setting latency timer to 64
pci 0000:00:1c.1: PCI INT B -> GSI 21 (level, low) -> IRQ 21
pci 0000:00:1c.1: setting latency timer to 64
pci 0000:00:1c.3: PCI INT D -> GSI 23 (level, low) -> IRQ 23
pci 0000:00:1c.3: setting latency timer to 64
pci 0000:00:1e.0: setting latency timer to 64
pci_bus 0000:00: resource 0 io: [0x00-0xffff]
pci_bus 0000:00: resource 1 mem: [0x000000-0xffffffff]
pci_bus 0000:03: resource 1 mem: [0xf2500000-0xf25fffff]
pci_bus 0000:05: resource 0 io: [0x2000-0x2fff]
pci_bus 0000:05: resource 1 mem: [0xf0000000-0xf1ffffff]
pci_bus 0000:05: resource 2 pref mem [0xf2900000-0xf29fffff]
pci_bus 0000:0d: resource 3 io: [0x00-0xffff]
pci_bus 0000:0d: resource 4 mem: [0x000000-0xffffffff]
NET: Registered protocol family 2
IP route cache hash table entries: 32768 (order: 5, 131072 bytes)
TCP established hash table entries: 131072 (order: 8, 1048576 bytes)
TCP bind hash table entries: 65536 (order: 7, 524288 bytes)
TCP: Hash tables configured (established 131072 bind 65536)
TCP reno registered
NET: Registered protocol family 1
Trying to unpack rootfs image as initramfs...
Freeing initrd memory: 466k freed
Simple Boot Flag at 0x35 set to 0x1
microcode: CPU0 sig=0x10676, pf=0x80, revision=0x60c
microcode: CPU1 sig=0x10676, pf=0x80, revision=0x60c
Microcode Update Driver: v2.00 <[email protected]>, Peter Oruba
highmem bounce pool size: 64 pages
NTFS driver 2.1.29 [Flags: R/W].
fuse init (API version 7.12)
msgmni has been set to 1731
alg: No test for stdrng (krng)
io scheduler noop registered
io scheduler cfq registered (default)
pci 0000:00:02.0: Boot video device
pcieport-driver 0000:00:1c.0: setting latency timer to 64
pcieport-driver 0000:00:1c.1: setting latency timer to 64
pcieport-driver 0000:00:1c.3: setting latency timer to 64
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
acpiphp: ACPI Hot Plug PCI Controller Driver version: 0.5
decode_hpp: Could not get hotplug parameters. Use defaults
acpiphp: Slot [1] registered
Non-volatile memory driver v1.3
Linux agpgart interface v0.103
agpgart-intel 0000:00:00.0: Intel Mobile Intel® GM45 Express Chipset
agpgart-intel 0000:00:00.0: detected 32764K stolen memory
agpgart-intel 0000:00:00.0: AGP aperture is 256M @ 0xd0000000
ACPI: AC Adapter [AC] (on-line)
input: Power Button as /devices/LNXSYSTM:00/LNXPWRBN:00/input/input0
ACPI: Power Button [PWRF]
input: Lid Switch as /devices/LNXSYSTM:00/device:00/PNP0C0D:00/input/input1
ACPI: Lid Switch [LID]
input: Sleep Button as /devices/LNXSYSTM:00/device:00/PNP0C0E:00/input/input2
ACPI: Sleep Button [SLPB]
ACPI: SSDT 798d7c20 002C8 (v01 PmRef Cpu0Ist 00003000 INTL 20050624)
ACPI: SSDT 798d5020 0087A (v01 PmRef Cpu0Cst 00003001 INTL 20050624)
Monitor-Mwait will be used to enter C-1 state
Monitor-Mwait will be used to enter C-2 state
Monitor-Mwait will be used to enter C-3 state
Marking TSC unstable due to TSC halts in idle
ACPI: CPU0 (power states: C1[C1] C2[C2] C3[C3])
processor LNXCPU:00: registered as cooling_device0
ACPI: Processor [CPU0] (supports 8 throttling states)
ACPI: SSDT 798d6ca0 001CF (v01 PmRef ApIst 00003000 INTL 20050624)
ACPI: SSDT 798d6f20 0008D (v01 PmRef ApCst 00003000 INTL 20050624)
Switched to NOHz mode on CPU #0
Switched to NOHz mode on CPU #1
ACPI: CPU1 (power states: C1[C1] C2[C2] C3[C3])
processor LNXCPU:01: registered as cooling_device1
ACPI: Processor [CPU1] (supports 8 throttling states)
thermal LNXTHERM:01: registered as thermal_zone0
ACPI: Thermal Zone [THM0] (50 C)
thermal LNXTHERM:02: registered as thermal_zone1
ACPI: Thermal Zone [THM1] (46 C)
[drm] Initialized drm 1.1.0 20060810
i915 0000:00:02.0: power state changed by ACPI to D0
i915 0000:00:02.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
i915 0000:00:02.0: setting latency timer to 64
[drm] MTRR allocation failed. Graphics performance may suffer.
ACPI: Battery Slot [BAT0] (battery present)
[drm:intel_dp_i2c_init] *ERROR* i2c_init DPDDC-B
[drm:intel_dp_i2c_init] *ERROR* i2c_init DPDDC-C
[drm:intel_dp_i2c_init] *ERROR* i2c_init DPDDC-D
i2c-adapter i2c-2: unable to read EDID block.
i915 0000:00:02.0: DVI-D-1: no EDID data
i2c-adapter i2c-4: unable to read EDID block.
i915 0000:00:02.0: DVI-D-2: no EDID data
[drm] LVDS-8: set mode 1280x800 c
Console: switching to colour frame buffer device 160x50
fbcondecor: console 0 using theme 'livecd-2007.0'
fbcondecor: switched decor state to 'on' on console 0
[drm] fb0: inteldrmfb frame buffer device
acpi device:03: registered as cooling_device2
input: Video Bus as /devices/LNXSYSTM:00/device:00/PNP0A08:00/device:02/input/input3
ACPI: Video Device [VID] (multi-head: yes rom: no post: no)
[drm] Initialized i915 1.6.0 20080730 for 0000:00:02.0 on minor 0
Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
serial 0000:00:03.3: PCI INT B -> GSI 17 (level, low) -> IRQ 17
0000:00:03.3: ttyS0 at I/O 0x1830 (irq = 17) is a 16550A
brd: module loaded
loop: module loaded
ahci 0000:00:1f.2: version 3.0
ahci 0000:00:1f.2: PCI INT B -> GSI 16 (level, low) -> IRQ 16
ahci: SSS flag set, parallel bus scan disabled
ahci 0000:00:1f.2: AHCI 0001.0200 32 slots 4 ports 3 Gbps 0x3 impl SATA mode
ahci 0000:00:1f.2: flags: 64bit ncq sntf stag pm led clo pio slum part
ahci 0000:00:1f.2: setting latency timer to 64
scsi0 : ahci
scsi1 : ahci
scsi2 : ahci
scsi3 : ahci
ata1: SATA max UDMA/133 abar m2048@0xf2826000 port 0xf2826100 irq 16
ata2: SATA max UDMA/133 abar m2048@0xf2826000 port 0xf2826180 irq 16
ata3: DUMMY
ata4: DUMMY
e1000e: Intel(R) PRO/1000 Network Driver - 1.0.2-k2
e1000e: Copyright (c) 1999-2008 Intel Corporation.
e1000e 0000:00:19.0: PCI INT A -> GSI 20 (level, low) -> IRQ 20
e1000e 0000:00:19.0: setting latency timer to 64
0000:00:19.0: 0000:00:19.0: Failed to initialize MSI interrupts. Falling back to legacy interrupts.
0000:00:19.0: eth0: (PCI Express:2.5GB/s:Width x1) 00:1f:16:16:e9:d3
0000:00:19.0: eth0: Intel(R) PRO/1000 Network Connection
0000:00:19.0: eth0: MAC: 7, PHY: 8, PBA No: 1008ff-0ff
iwlagn: Intel(R) Wireless WiFi Link AGN driver for Linux, 1.3.27ks
iwlagn: Copyright(c) 2003-2009 Intel Corporation
iwlagn 0000:03:00.0: PCI INT A -> GSI 17 (level, low) -> IRQ 17
iwlagn 0000:03:00.0: setting latency timer to 64
iwlagn 0000:03:00.0: Detected Intel Wireless WiFi Link 5100AGN REV=0x54
iwlagn 0000:03:00.0: Tunable channels: 13 802.11bg, 24 802.11a channels
phy0: Selected rate control algorithm 'iwl-agn-rs'
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
ehci_hcd 0000:00:1a.7: power state changed by ACPI to D0
ehci_hcd 0000:00:1a.7: PCI INT D -> GSI 23 (level, low) -> IRQ 23
ehci_hcd 0000:00:1a.7: setting latency timer to 64
ehci_hcd 0000:00:1a.7: EHCI Host Controller
ehci_hcd 0000:00:1a.7: new USB bus registered, assigned bus number 1
ehci_hcd 0000:00:1a.7: debug port 1
ehci_hcd 0000:00:1a.7: cache line size of 32 is not supported
ehci_hcd 0000:00:1a.7: irq 23, io mem 0xf2826c00
ehci_hcd 0000:00:1a.7: USB 2.0 started, EHCI 1.00
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 6 ports detected
ehci_hcd 0000:00:1d.7: power state changed by ACPI to D0
ehci_hcd 0000:00:1d.7: PCI INT D -> GSI 19 (level, low) -> IRQ 19
ehci_hcd 0000:00:1d.7: setting latency timer to 64
ehci_hcd 0000:00:1d.7: EHCI Host Controller
ehci_hcd 0000:00:1d.7: new USB bus registered, assigned bus number 2
ehci_hcd 0000:00:1d.7: debug port 1
ehci_hcd 0000:00:1d.7: cache line size of 32 is not supported
ehci_hcd 0000:00:1d.7: irq 19, io mem 0xf2827000
Monitor-Mwait will be used to enter C-3 state
ehci_hcd 0000:00:1d.7: USB 2.0 started, EHCI 1.00
usb usb2: configuration #1 chosen from 1 choice
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 6 ports detected
uhci_hcd: USB Universal Host Controller Interface driver
uhci_hcd 0000:00:1a.0: power state changed by ACPI to D0
uhci_hcd 0000:00:1a.0: PCI INT A -> GSI 20 (level, low) -> IRQ 20
uhci_hcd 0000:00:1a.0: setting latency timer to 64
uhci_hcd 0000:00:1a.0: UHCI Host Controller
uhci_hcd 0000:00:1a.0: new USB bus registered, assigned bus number 3
uhci_hcd 0000:00:1a.0: irq 20, io base 0x00001860
usb usb3: configuration #1 chosen from 1 choice
hub 3-0:1.0: USB hub found
hub 3-0:1.0: 2 ports detected
uhci_hcd 0000:00:1a.1: PCI INT B -> GSI 21 (level, low) -> IRQ 21
uhci_hcd 0000:00:1a.1: setting latency timer to 64
uhci_hcd 0000:00:1a.1: UHCI Host Controller
uhci_hcd 0000:00:1a.1: new USB bus registered, assigned bus number 4
uhci_hcd 0000:00:1a.1: irq 21, io base 0x00001880
usb usb4: configuration #1 chosen from 1 choice
hub 4-0:1.0: USB hub found
hub 4-0:1.0: 2 ports detected
uhci_hcd 0000:00:1a.2: power state changed by ACPI to D0
uhci_hcd 0000:00:1a.2: PCI INT C -> GSI 22 (level, low) -> IRQ 22
uhci_hcd 0000:00:1a.2: setting latency timer to 64
uhci_hcd 0000:00:1a.2: UHCI Host Controller
uhci_hcd 0000:00:1a.2: new USB bus registered, assigned bus number 5
uhci_hcd 0000:00:1a.2: irq 22, io base 0x000018a0
usb usb5: configuration #1 chosen from 1 choice
hub 5-0:1.0: USB hub found
hub 5-0:1.0: 2 ports detected
uhci_hcd 0000:00:1d.0: power state changed by ACPI to D0
uhci_hcd 0000:00:1d.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
uhci_hcd 0000:00:1d.0: setting latency timer to 64
uhci_hcd 0000:00:1d.0: UHCI Host Controller
uhci_hcd 0000:00:1d.0: new USB bus registered, assigned bus number 6
uhci_hcd 0000:00:1d.0: irq 16, io base 0x000018c0
usb usb6: configuration #1 chosen from 1 choice
hub 6-0:1.0: USB hub found
hub 6-0:1.0: 2 ports detected
uhci_hcd 0000:00:1d.1: PCI INT B -> GSI 17 (level, low) -> IRQ 17
uhci_hcd 0000:00:1d.1: setting latency timer to 64
uhci_hcd 0000:00:1d.1: UHCI Host Controller
uhci_hcd 0000:00:1d.1: new USB bus registered, assigned bus number 7
uhci_hcd 0000:00:1d.1: irq 17, io base 0x000018e0
usb usb7: configuration #1 chosen from 1 choice
hub 7-0:1.0: USB hub found
hub 7-0:1.0: 2 ports detected
uhci_hcd 0000:00:1d.2: PCI INT C -> GSI 18 (level, low) -> IRQ 18
uhci_hcd 0000:00:1d.2: setting latency timer to 64
uhci_hcd 0000:00:1d.2: UHCI Host Controller
uhci_hcd 0000:00:1d.2: new USB bus registered, assigned bus number 8
uhci_hcd 0000:00:1d.2: irq 18, io base 0x00001c00
usb usb8: configuration #1 chosen from 1 choice
hub 8-0:1.0: USB hub found
hub 8-0:1.0: 2 ports detected
Initializing USB Mass Storage driver...
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
PNP: PS/2 Controller [PNP0303:KBD,PNP0f13:MOU] 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:07: RTC can wake from S4
rtc_cmos 00:07: rtc core: registered rtc_cmos as rtc0
rtc0: alarms up to one month, y3k, 114 bytes nvram
i2c /dev entries driver
i801_smbus 0000:00:1f.3: PCI INT A -> GSI 23 (level, low) -> IRQ 23
input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/input4
cpuidle: using governor ladder
cpuidle: using governor menu
usbcore: registered new interface driver usbhid
usbhid: v2.6:USB HID core driver
thinkpad_acpi: ThinkPad ACPI Extras v0.23
thinkpad_acpi: http://ibm-acpi.sf.net/
thinkpad_acpi: ThinkPad BIOS 6DET53WW (3.03 ), EC 7XHT22WW-1.04
thinkpad_acpi: Lenovo ThinkPad X200, model 7458AJ7
thinkpad_acpi: radio switch found; radios are enabled
thinkpad_acpi: This ThinkPad has standard ACPI backlight brightness control, supported by the ACPI video driver
thinkpad_acpi: Disabling thinkpad-acpi brightness events by default...
Registered led device: tpacpi::thinklight
Registered led device: tpacpi:ower
Registered led device: tpacpi::standby
Registered led device: tpacpi::thinkvantage
thinkpad_acpi: Standard ACPI backlight interface available, not loading native one.
input: ThinkPad Extra Buttons as /devices/virtual/input/input5
Advanced Linux Sound Architecture Driver Version 1.0.20.
HDA Intel 0000:00:1b.0: PCI INT B -> GSI 17 (level, low) -> IRQ 17
HDA Intel 0000:00:1b.0: setting latency timer to 64
ALSA device list:
#0: HDA Intel at 0xf2620000 irq 17
TCP cubic registered
NET: Registered protocol family 17
lib80211: common routines for IEEE802.11 drivers
lib80211_crypt: registered algorithm 'NULL'
Using IPI No-Shortcut mode
ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
ata1.00: ACPI cmd ef/02:00:00:00:00:a0 succeeded
ata1.00: ACPI cmd f5/00:00:00:00:00:a0 filtered out
ata1.00: ACPI cmd ef/5f:00:00:00:00:a0 succeeded
ata1.00: ACPI cmd ef/10:03:00:00:00:a0 filtered out
ata1.00: ATA-8: WDC WD2500BEVS-08VAT1, 13.01A13, max UDMA/133
ata1.00: 488397168 sectors, multi 16: LBA48 NCQ (depth 31/32)
ata1.00: ACPI cmd ef/02:00:00:00:00:a0 succeeded
ata1.00: ACPI cmd f5/00:00:00:00:00:a0 filtered out
ata1.00: ACPI cmd ef/5f:00:00:00:00:a0 succeeded
ata1.00: ACPI cmd ef/10:03:00:00:00:a0 filtered out
ata1.00: configured for UDMA/133
ata1.00: configured for UDMA/133
ata1: EH complete
scsi 0:0:0:0: Direct-Access ATA WDC WD2500BEVS-0 13.0 PQ: 0 ANSI: 5
sd 0:0:0:0: [sda] 488397168 512-byte logical blocks: (250 GB/232 GiB)
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 sda3 sda4 < sda5 sda6 sda7 sda8 sda9 sda10 >
sd 0:0:0:0: [sda] Attached SCSI disk
usb 1-6: new high speed USB device using ehci_hcd and address 3
usb 1-6: configuration #1 chosen from 1 choice
IBM TrackPoint firmware: 0x0e, buttons: 3/3
input: TPPS/2 IBM TrackPoint as /devices/platform/i8042/serio1/input/input6
ata2: SATA link down (SStatus 0 SControl 300)
EXT2-fs: sda9: couldn't mount because of unsupported optional features (240).
EXT4-fs (sda9): barriers enabled
kjournald2 starting: pid 819, dev sda9:8, commit interval 5 seconds
EXT4-fs (sda9): delayed allocation enabled
EXT4-fs: file extents enabled
EXT4-fs: mballoc enabled
EXT4-fs (sda9): mounted filesystem with ordered data mode
VFS: Mounted root (ext4 filesystem) readonly on device 8:9.
Freeing unused kernel memory: 328k freed
usb 4-1: new full speed USB device using uhci_hcd and address 2
usb 4-1: configuration #1 chosen from 1 choice
usb 6-1: new low speed USB device using uhci_hcd and address 2
usb 6-1: configuration #1 chosen from 1 choice
input: HID 04b3:3107 as /devices/pci0000:00/0000:00:1d.0/usb6/6-1/6-1:1.0/input/input7
generic-usb 0003:04B3:3107.0001: input: USB HID v11.10 Mouse [HID 04b3:3107] on usb-0000:00:1d.0-1/input0
Clocksource tsc unstable (delta = -414338729 ns)
udev: starting version 145
EXT4-fs (sda9): internal journal on sda9:8
EXT4-fs (sda10): barriers enabled
kjournald2 starting: pid 1317, dev sda10:8, commit interval 5 seconds
EXT4-fs (sda10): internal journal on sda10:8
EXT4-fs (sda10): delayed allocation enabled
EXT4-fs: file extents enabled
EXT4-fs: mballoc enabled
EXT4-fs (sda10): mounted filesystem with ordered data mode
fbcondecor: console 1 using theme 'livecd-2007.0'
fbcondecor: switched decor state to 'on' on console 1
fbcondecor: console 2 using theme 'livecd-2007.0'
fbcondecor: switched decor state to 'on' on console 2
fbcondecor: console 3 using theme 'livecd-2007.0'
fbcondecor: switched decor state to 'on' on console 3
fbcondecor: console 4 using theme 'livecd-2007.0'
fbcondecor: switched decor state to 'on' on console 4
fbcondecor: console 5 using theme 'livecd-2007.0'
fbcondecor: switched decor state to 'on' on console 5
thinkpad_ec: thinkpad_ec 0.40 loaded.
tp_smapi 0.40 loading...
tp_smapi successfully loaded (smapi_port=0xb2).
hdaps: initial mode latch is 0x05
hdaps: setting ec_rate=250, filter_order=2
hdaps: device successfully initialized.
input: ThinkPad HDAPS joystick emulation as /devices/virtual/input/input8
input: ThinkPad HDAPS accelerometer data as /devices/virtual/input/input9
hdaps: driver successfully loaded.
thinkpad_acpi: procfs hotkey enable/disable: access by process with PID 2083
------------[ cut here ]------------
WARNING: at drivers/platform/x86/thinkpad_acpi.c:3312 hotkey_enabledisable_warn+0x4c/0x60()
Hardware name: 7458AJ7
thinkpad_acpi: hotkey enable/disable functionality has been removed from the driver. Hotkeys are always enabled
Modules linked in: hdaps tp_smapi thinkpad_ec
Pid: 2083, comm: runscript.sh Not tainted 2.6.31-gentoo #22
Call Trace:
[<c102780e>] ? warn_slowpath_common+0x6e/0xb0
[<c12fb0dc>] ? hotkey_enabledisable_warn+0x4c/0x60
[<c102789b>] ? warn_slowpath_fmt+0x2b/0x30
[<c12fb0dc>] ? hotkey_enabledisable_warn+0x4c/0x60
[<c12fb190>] ? hotkey_write+0xa0/0x1e0
[<c12fb53c>] ? dispatch_procfs_write+0x5c/0xc0
[<c12fb56a>] ? dispatch_procfs_write+0x8a/0xc0
[<c10c7166>] ? proc_file_write+0x56/0x80
[<c10c7110>] ? proc_file_write+0x0/0x80
[<c10c32fd>] ? proc_reg_write+0x5d/0x90
[<c10c32a0>] ? proc_reg_write+0x0/0x90
[<c10894d8>] ? vfs_write+0xa8/0x170
[<c1019b3c>] ? do_page_fault+0xec/0x2f0
[<c1089661>] ? sys_write+0x41/0x70
[<c1002e88>] ? sysenter_do_call+0x12/0x26
---[ end trace b95b0144789e1a21 ]---
i2c-adapter i2c-2: unable to read EDID block.
i915 0000:00:02.0: DVI-D-1: no EDID data
i2c-adapter i2c-2: unable to read EDID block.
i915 0000:00:02.0: DVI-D-1: no EDID data
i2c-adapter i2c-4: unable to read EDID block.
i915 0000:00:02.0: DVI-D-2: no EDID data
i2c-adapter i2c-4: unable to read EDID block.
i915 0000:00:02.0: DVI-D-2: no EDID data
i2c-adapter i2c-2: unable to read EDID block.
i915 0000:00:02.0: DVI-D-1: no EDID data
i2c-adapter i2c-2: unable to read EDID block.
i915 0000:00:02.0: DVI-D-1: no EDID data
i2c-adapter i2c-4: unable to read EDID block.
i915 0000:00:02.0: DVI-D-2: no EDID data
i2c-adapter i2c-4: unable to read EDID block.
i915 0000:00:02.0: DVI-D-2: no EDID data
e1000e: eth0 NIC Link is Up 100 Mbps Full Duplex, Flow Control: RX/TX
0000:00:19.0: eth0: 10/100 speed: disabling TSO
i2c-adapter i2c-2: unable to read EDID block.
i915 0000:00:02.0: DVI-D-1: no EDID data
i2c-adapter i2c-2: unable to read EDID block.
i915 0000:00:02.0: DVI-D-1: no EDID data
i2c-adapter i2c-4: unable to read EDID block.
i915 0000:00:02.0: DVI-D-2: no EDID data
i2c-adapter i2c-4: unable to read EDID block.
i915 0000:00:02.0: DVI-D-2: no EDID data
i2c-adapter i2c-2: unable to read EDID block.
i915 0000:00:02.0: DVI-D-1: no EDID data
i2c-adapter i2c-2: unable to read EDID block.
i915 0000:00:02.0: DVI-D-1: no EDID data
i2c-adapter i2c-4: unable to read EDID block.
i915 0000:00:02.0: DVI-D-2: no EDID data
i2c-adapter i2c-4: unable to read EDID block.
i915 0000:00:02.0: DVI-D-2: no EDID data
fbcondecor: console 0 using theme 'livecd-2007.0'
fbcondecor: switched decor state to 'on' on console 0
至于 config.gz 我内核中没开此项

作者: newsky_   发布时间: 2009-09-21

/usr/src/linux下面的.config也可以,感谢。

作者: lophyxp   发布时间: 2009-09-21

引用:
作者: lophyxp
/usr/src/linux下面的.config也可以,感谢。
在这里了,~~
上传的附件
config.txt (49.8 KB, 5 次查看)

作者: newsky_   发布时间: 2009-09-21

终于,我也搞定了U盘的自动挂载了。

以前挂载fat32格式的U盘的时候,老是失败。

原来是
代码:
CONFIG_FAT_DEFAULT_CODEPAGE=936
CONFIG_FAT_DEFAULT_IOCHARSET="utf8"
这两项不能为空,我在以前配置内核的时候,把CONFIG_FAT_DEFAULT_IOCHARSET=置空了。
如今,加上CONFIG_FAT_DEFAULT_IOCHARSET="cp936",重新genkernel就OK了。

貌似,随然mount的vfat的时候制定-o utf8会忽略codepage和iocharset的设置(我手工mount一个vfat试过,指定了iocharset以后,不指定utf8和指定utf8的挂在效果是不一样的,在utf8的locale下,前者是乱码,后者就显示正常的汉字了),但是却必须指定这两个参数。如果不指定的话,就会提示no found。

虽然可以在/etc/hal/fdi/policy/storage-vfat.fdi中merge key一个iocharset=cp936,但是KDE4的kdebase-runtime中的kioslave组件只能识别utf8挂载选项,不能识别iocharset和codepage。见《shortname以及自动挂载》,里面有源代码为证的。

所以如果kernel中,如果忽略了CONFIG_FAT_DEFAULT_CODEPAGE
和CONFIG_FAT_DEFAULT_IOCHARSET的设置,即是在hal中添加了,也导致KDE挂载U盘的时候失败,因为hal仅提供设备属性(lshal能看到对应设备出现了iocharset和codepage属性),真正的挂载动作还是KDE执行的,KDE的kioslave天生没有识别并指定iocharset和codepage的能力,在挂载的时候就永远不会指定iocharset和codepage挂载参数,导致挂载失败,其中内核配置的时候哪个没设置,就会在dmesg中提示哪个no found。

多谢newsky_老兄的大力支持,终于我走出迷宫了。

作者: lophyxp   发布时间: 2009-09-21

热门下载

更多