你尝试下面两个方式:

1 开机启动看见grub时,对应的内核启动参数后面,加上

pci=routeirq

意思就是让PCI设备自己对中断路由进行判断,有些驱动不太规范,并不去调用内核中的中断路由申请

2 你在断网的同时,鼠标死掉? 这个时候重新插一下鼠标呢?



2008/9/9 zhihang wang <[EMAIL PROTECTED]>

> dmesg消息:现在鼠标死了。usb 2.0的
>
> Linux version 2.6.18-6-686 (Debian 2.6.18.dfsg.1-18etch3) (
> [EMAIL PROTECTED]) (gcc version 4.1.2 20061115 (prerelease) (Debian
> 4.1.1-21)) #1 SMP Thu Apr 24 08:33:59 UTC 2008
> BIOS-provided physical RAM map:
>  BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
>  BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)
>  BIOS-e820: 00000000000e0000 - 0000000000100000 (reserved)
>  BIOS-e820: 0000000000100000 - 0000000047fd0000 (usable)
>  BIOS-e820: 0000000047fd0000 - 0000000047fde000 (ACPI data)
>  BIOS-e820: 0000000047fde000 - 0000000048000000 (ACPI NVS)
>  BIOS-e820: 00000000fee00000 - 00000000fee01000 (reserved)
>  BIOS-e820: 00000000ffb80000 - 0000000100000000 (reserved)
> 255MB HIGHMEM available.
> 896MB LOWMEM available.
> On node 0 totalpages: 294864
>   DMA zone: 4096 pages, LIFO batch:0
>   Normal zone: 225280 pages, LIFO batch:31
>   HighMem zone: 65488 pages, LIFO batch:15
> DMI 2.3 present.
> ACPI: RSDP (v000 ACPIAM                                ) @ 0x000f85d0
> ACPI: RSDT (v001 A M I  OEMRSDT  0x02000606 MSFT 0x00000097) @ 0x47fd0000
> ACPI: FADT (v002 A M I  OEMFACP  0x02000606 MSFT 0x00000097) @ 0x47fd0200
> ACPI: MADT (v001 A M I  OEMAPIC  0x02000606 MSFT 0x00000097) @ 0x47fd0390
> ACPI: MCFG (v001 A M I  OEMMCFG  0x02000606 MSFT 0x00000097) @ 0x47fd03f0
> ACPI: BOOT (v001 A M I  OEMBOOT  0x02000606 MSFT 0x00000097) @ 0x47fd0430
> ACPI: OEMB (v001 A M I  AMI_OEM  0x02000606 MSFT 0x00000097) @ 0x47fde040
> ACPI: SSDT (v001 AMI     CPU_CST 0x00000001 INTL 0x02002026) @ 0x47fd6d00
> ACPI: DSDT (v001  AMJG_ AMJG_B32 0x00000b32 INTL 0x02002026) @ 0x00000000
> ATI board detected. Disabling timer routing over 8254.
> ACPI: PM-Timer IO Port: 0x808
> ACPI: Local APIC address 0xfee00000
> ACPI: LAPIC (acpi_id[0x01] lapic_id[0x00] enabled)
> Processor #0 6:13 APIC version 20
> ACPI: IOAPIC (id[0x01] address[0xfec00000] gsi_base[0])
> IOAPIC[0]: apic_id 1, version 33, 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 21 low level)
> ACPI: IRQ0 used by override.
> ACPI: IRQ2 used by override.
> Enabling APIC mode:  Flat.  Using 1 I/O APICs
> Using ACPI (MADT) for SMP configuration information
> Allocating PCI resources starting at 50000000 (gap: 48000000:b6e00000)
> Detected 1700.233 MHz processor.
> Built 1 zonelists.  Total pages: 294864
> Kernel command line: root=/dev/hda4 ro
> mapped APIC to ffffd000 (fee00000)
> mapped IOAPIC to ffffc000 (fec00000)
> Enabling fast FPU save and restore... done.
> Enabling unmasked SIMD FPU exception support... done.
> Initializing CPU#0
> PID hash table entries: 4096 (order: 12, 16384 bytes)
> 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: 1161492k/1179456k available (1541k kernel code, 17084k reserved,
> 580k data, 196k init, 261952k highmem)
> Checking if this processor honours the WP bit even in supervisor mode...
> Ok.
> Calibrating delay using timer specific routine.. 3404.02 BogoMIPS
> (lpj=6808041)
> Security Framework v1.0.0 initialized
> SELinux:  Disabled at boot.
> Capability LSM initialized
> Mount-cache hash table entries: 512
> CPU: After generic identify, caps: afe9fbff 00100000 00000000 00000000
> 00000000 00000000 00000000
> CPU: After vendor identify, caps: afe9fbff 00100000 00000000 00000000
> 00000000 00000000 00000000
> CPU: L1 I cache: 32K, L1 D cache: 32K
> CPU: L2 cache: 1024K
> CPU: After all inits, caps: afe9fbff 00100000 00000000 00000040 00000000
> 00000000 00000000
> Intel machine check architecture supported.
> Intel machine check reporting enabled on CPU#0.
> Compat vDSO mapped to ffffe000.
> Checking 'hlt' instruction... OK.
> SMP alternatives: switching to UP code
> Freeing SMP alternatives: 12k freed
> ACPI: Core revision 20060707
> CPU0: Intel(R) Celeron(R) M processor         1.70GHz stepping 08
> Total of 1 processors activated (3404.02 BogoMIPS).
> ENABLING IO-APIC IRQs
> ..TIMER: vector=0x31 apic1=0 pin1=2 apic2=-1 pin2=-1
> ..MP-BIOS bug: 8254 timer not connected to IO-APIC
> ...trying to set up timer (IRQ0) through the 8259A ...  failed.
> ...trying to set up timer as Virtual Wire IRQ... works.
> Brought up 1 CPUs
> migration_cost=0
> checking if image is initramfs... it is
> Freeing initrd memory: 4390k freed
> NET: Registered protocol family 16
> ACPI: bus type pci registered
> PCI: BIOS Bug: MCFG area at e0000000 is not E820-reserved
> PCI: Not using MMCONFIG.
> PCI: PCI BIOS revision 3.00 entry at 0xf0031, last bus=3
> PCI: Using configuration type 1
> Setting up standard PCI resources
> ACPI: Interpreter enabled
> ACPI: Using IOAPIC for interrupt routing
> ACPI: PCI Root Bridge [PCI0] (0000:00)
> PCI: Probing PCI hardware (bus 00)
> PCI: Ignoring BAR0-3 of IDE controller 0000:00:14.1
> Boot video device is 0000:01:05.0
> PCI: Transparent bridge - 0000:00:14.4
> PCI: Bus #03 (-#06) is hidden behind transparent bridge #02 (-#03) (try
> 'pci=assign-busses')
> Please report the result to linux-kernel to fix this permanently
> ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT]
> ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.P0P1._PRT]
> ACPI: Embedded Controller [EC0] (gpe 24) interrupt mode.
> ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.P0P9._PRT]
> ACPI: PCI Interrupt Link [LNKA] (IRQs 3 4 5 7 10 11 12 14 15) *0, disabled.
> ACPI: PCI Interrupt Link [LNKB] (IRQs 3 4 5 7 10 11 12 14 15) *0, disabled.
> ACPI: PCI Interrupt Link [LNKC] (IRQs 3 4 5 7 10 11 12 14 15) *0, disabled.
> ACPI: PCI Interrupt Link [LNKD] (IRQs 3 4 5 7 10 11 12 14 15) *0, disabled.
> ACPI: PCI Interrupt Link [LNKE] (IRQs 3 4 5 7 10 11 12 14 15) *0, disabled.
> ACPI: PCI Interrupt Link [LNKF] (IRQs 9) *0, disabled.
> ACPI: PCI Interrupt Link [LNKG] (IRQs 3 4 5 7 10 11 12 14 15) *0, disabled.
> ACPI: PCI Interrupt Link [LNKH] (IRQs 3 4 5 7 10 11 12 14 15) *0, disabled.
> ACPI: Power Resource [GFAN] (off)
> Linux Plug and Play Support v0.97 (c) Adam Belay
> pnp: PnP ACPI init
> pnp: PnP ACPI: found 14 devices
> PnPBIOS: Disabled by ACPI PNP
> PCI: Using ACPI for IRQ routing
> PCI: If a device doesn't work, try "pci=routeirq".  If it helps, post a
> report
> PCI: Cannot allocate resource region 3 of device 0000:00:00.0
> pnp: 00:07: ioport range 0xa00-0xa0f has been reserved
> PCI: Bridge: 0000:00:01.0
>   IO window: 9000-9fff
>   MEM window: fe100000-fe1fffff
>   PREFETCH window: bdf00000-ddefffff
> PCI: Bus 3, cardbus bridge: 0000:02:01.0
>   IO window: 0000a000-0000a0ff
>   IO window: 0000a400-0000a4ff
>   PREFETCH window: 52000000-53ffffff
>   MEM window: 54000000-55ffffff
> PCI: Bridge: 0000:00:14.4
>   IO window: a000-bfff
>   MEM window: fe200000-feafffff
>   PREFETCH window: ddf00000-dfefffff
> ACPI: PCI Interrupt 0000:02:01.0[A] -> GSI 16 (level, low) -> IRQ 177
> 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
> Simple Boot Flag at 0xff set to 0x1
> audit: initializing netlink socket (disabled)
> audit(1220951095.908:1): initialized
> highmem bounce pool size: 64 pages
> VFS: Disk quotas dquot_6.5.1
> Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
> Initializing Cryptographic API
> io scheduler noop registered
> io scheduler anticipatory registered
> io scheduler deadline registered
> io scheduler cfq registered (default)
> isapnp: Scanning for PnP cards...
> isapnp: No Plug & Play device found
> Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing enabled
> serial8250: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
> ACPI: PCI Interrupt 0000:00:14.6[B] -> GSI 17 (level, low) -> IRQ 185
> ACPI: PCI interrupt for device 0000:00:14.6 disabled
> RAMDISK driver initialized: 16 RAM disks of 8192K size 1024 blocksize
> PNP: PS/2 Controller [PNP0303:PS2K,PNP0f03:PS2M] at 0x60,0x64 irq 1,12
> i8042.c: Detected active multiplexing controller, rev 1.1.
> serio: i8042 AUX0 port at 0x60,0x64 irq 12
> serio: i8042 AUX1 port at 0x60,0x64 irq 12
> serio: i8042 AUX2 port at 0x60,0x64 irq 12
> serio: i8042 AUX3 port at 0x60,0x64 irq 12
> serio: i8042 KBD port at 0x60,0x64 irq 1
> mice: PS/2 mouse device common for all mice
> TCP bic registered
> NET: Registered protocol family 1
> NET: Registered protocol family 17
> NET: Registered protocol family 8
> NET: Registered protocol family 20
> Using IPI No-Shortcut mode
> ACPI: (supports S0 S1 S3 S4 S5)
> Time: tsc clocksource has been installed.
> Freeing unused kernel memory: 196k freed
> ACPI: Transitioning device [FN00] to D3
> ACPI: Transitioning device [FN00] to D3
> ACPI: Fan [FN00] (off)
> ACPI: CPU0 (power states: C1[C1] C2[C2])
> ACPI: Processor [CPU1] (supports 8 throttling states)
> ACPI: Thermal Zone [THRM] (42 C)
> input: AT Translated Set 2 keyboard as /class/input/input0
> usbcore: registered new driver usbfs
> usbcore: registered new driver hub
> Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
> ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
> ATIIXP: IDE controller at PCI slot 0000:00:14.1
> ACPI: PCI Interrupt 0000:00:14.1[A] -> GSI 16 (level, low) -> IRQ 177
> ATIIXP: chipset revision 0
> ATIIXP: not 100% native mode: will probe irqs later
>     ide0: BM-DMA at 0xff00-0xff07, BIOS settings: hda:DMA, hdb:pio
>     ide1: BM-DMA at 0xff08-0xff0f, BIOS settings: hdc:DMA, hdd:pio
> Probing IDE interface ide0...
> ohci_hcd: 2005 April 22 USB 1.1 'Open' Host Controller (OHCI) Driver (PCI)
> 8139too Fast Ethernet driver 0.9.27
> Time: acpi_pm clocksource has been installed.
> hda: HTS541060G9AT00, ATA DISK drive
> ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
> Probing IDE interface ide1...
> hdc: ASUS SCB-2424A, ATAPI CD/DVD-ROM drive
> ide1 at 0x170-0x177,0x376 on irq 15
> ACPI: PCI Interrupt 0000:00:13.0[A] -> GSI 19 (level, low) -> IRQ 193
> ohci_hcd 0000:00:13.0: OHCI Host Controller
> ohci_hcd 0000:00:13.0: new USB bus registered, assigned bus number 1
> ohci_hcd 0000:00:13.0: irq 193, io mem 0xfebff000
> usb usb1: configuration #1 chosen from 1 choice
> hub 1-0:1.0: USB hub found
> hub 1-0:1.0: 4 ports detected
> ACPI: PCI Interrupt 0000:00:13.1[A] -> GSI 19 (level, low) -> IRQ 193
> ohci_hcd 0000:00:13.1: OHCI Host Controller
> ohci_hcd 0000:00:13.1: new USB bus registered, assigned bus number 2
> ohci_hcd 0000:00:13.1: irq 193, io mem 0xfebfe000
> usb usb2: configuration #1 chosen from 1 choice
> hub 2-0:1.0: USB hub found
> hub 2-0:1.0: 4 ports detected
> ACPI: PCI Interrupt 0000:00:13.2[A] -> GSI 19 (level, low) -> IRQ 193
> ehci_hcd 0000:00:13.2: EHCI Host Controller
> ehci_hcd 0000:00:13.2: new USB bus registered, assigned bus number 3
> ehci_hcd 0000:00:13.2: irq 193, io mem 0xfebfd000
> ehci_hcd 0000:00:13.2: USB 2.0 started, EHCI 1.00, driver 10 Dec 2004
> usb usb3: configuration #1 chosen from 1 choice
> hub 3-0:1.0: USB hub found
> hub 3-0:1.0: 8 ports detected
> ACPI: PCI Interrupt 0000:02:00.0[A] -> GSI 20 (level, low) -> IRQ 201
> eth0: RealTek RTL8139 at 0xb800, 00:17:31:20:b5:81, IRQ 201
> eth0:  Identified 8139 chip type 'RTL-8100B/8139D'
> 8139cp: 10/100 PCI Ethernet driver v1.2 (Mar 22, 2004)
> hda: max request size: 512KiB
> hda: 117210240 sectors (60011 MB) w/7539KiB Cache, CHS=16383/255/63,
> UDMA(100)
> hda: cache flushes supported
>  hda: hda1 hda2 hda3 < hda5 > hda4
> hdc: ATAPI 24X DVD-ROM CD-R/RW drive, 2048kB Cache, UDMA(33)
> Uniform CD-ROM driver Revision: 3.20
> kjournald starting.  Commit interval 5 seconds
> EXT3-fs: mounted filesystem with ordered data mode.
> pci_hotplug: PCI Hot Plug PCI Core version: 0.5
> shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
> Linux agpgart interface v0.101 (c) Dave Jones
> piix4_smbus 0000:00:14.0: Found 0000:00:14.0 device
> Yenta: CardBus bridge found at 0000:02:01.0 [1043:1187]
> input: PC Speaker as /class/input/input1
> Real Time Clock Driver v1.12ac
> Yenta: ISA IRQ mask 0x06b8, PCI irq 177
> Socket status: 30000006
> Yenta: Raising subordinate bus# of parent bus (#02) from #03 to #06
> pcmcia: parent PCI bridge I/O window: 0xa000 - 0xbfff
> cs: IO port probe 0xa000-0xbfff: clean.
> pcmcia: parent PCI bridge Memory window: 0xfe200000 - 0xfeafffff
> pcmcia: parent PCI bridge Memory window: 0xddf00000 - 0xdfefffff
> sdhci: Secure Digital Host Controller Interface driver, 0.12
> sdhci: Copyright(c) Pierre Ossman
> sdhci: SDHCI controller found at 0000:02:01.1 [1180:0822] (rev 17)
> ACPI: PCI Interrupt 0000:02:01.1[C] -> GSI 18 (level, low) -> IRQ 209
> mmc0: SDHCI at 0xfeaff800 irq 209 DMA
> PCI: Enabling device 0000:00:14.6 (0110 -> 0112)
> ACPI: PCI Interrupt 0000:00:14.6[B] -> GSI 17 (level, low) -> IRQ 185
> parport: PnPBIOS parport detected.
> parport0: PC-style at 0x378, irq 7 [PCSPP,EPP]
> irda_init()
> NET: Registered protocol family 23
> MC'97 1 converters and GPIO not ready (0xff00)
> ACPI: PCI Interrupt 0000:00:14.5[B] -> GSI 17 (level, low) -> IRQ 185
> Synaptics Touchpad, model: 1, fw: 6.1, id: 0xa3a0b3, caps: 0xa04713/0x10008
> input: SynPS/2 Synaptics TouchPad as /class/input/input2
> ts: Compaq touchscreen protocol output
> EXT3 FS on hda4, internal journal
> loop: loaded (max 8 devices)
> device-mapper: ioctl: 4.7.0-ioctl (2006-06-24) initialised:
> [EMAIL PROTECTED]
> pcmcia: Detected deprecated PCMCIA ioctl usage from process: discover.
> pcmcia: This interface will soon be removed from the kernel; please expect
> breakage unless you upgrade to new tools.
> pcmcia: see
> http://www.kernel.org/pub/linux/utils/kernel/pcmcia/pcmcia.html for
> details.
> SCSI subsystem initialized
> libata version 2.00 loaded.
> eth0: link up, 100Mbps, full-duplex, lpa 0x45E1
> ACPI: Battery Slot [BAT0] (battery present)
> ACPI: AC Adapter [AC0] (on-line)
> ACPI: Power Button (FF) [PWRF]
> ACPI: Lid Switch [LID]
> ACPI: Sleep Button (CM) [SLPB]
> ACPI: Power Button (CM) [PWRB]
> lp0: using parport0 (interrupt-driven).
> ppdev: user-space parallel port driver
> Installing knfsd (copyright (C) 1996 [EMAIL PROTECTED]).
> NFSD: Using /var/lib/nfs/v4recovery as the NFSv4 state recovery directory
> NFSD: starting 90-second grace period
> kjournald starting.  Commit interval 5 seconds
> EXT3 FS on hda2, internal journal
> EXT3-fs: mounted filesystem with ordered data mode.
> ohci_hcd 0000:00:13.0: wakeup
> usb 1-2: new low speed USB device using ohci_hcd and address 2
> usb 1-2: configuration #1 chosen from 1 choice
> usbcore: registered new driver hiddev
> input: HID 413c:3010 as /class/input/input3
> input: USB HID v1.10 Mouse [HID 413c:3010] on usb-0000:00:13.0-2
> usbcore: registered new driver usbhid
> drivers/usb/input/hid-core.c: v2.6:USB HID core driver
> eth0: link up, 100Mbps, full-duplex, lpa 0x45E1
> NET: Registered protocol family 10
> lo: Disabled Privacy Extensions
> IPv6 over IPv4 tunneling driver
> eth0: no IPv6 routers present
> FAT: utf8 is not a recommended IO charset for FAT filesystems, filesystem
> will be case sensitive!
> usb 1-2: USB disconnect, address 2
> ohci_hcd 0000:00:13.0: IRQ INTR_SF lossage
> ohci_hcd 0000:00:13.0: bad entry 37786000
>
>
>
> 2008/9/8 zhihang wang <[EMAIL PROTECTED]>
>
>> 我的usb鼠标也经常用着用着死掉
>>
>> 2008/9/8 zhihang wang <[EMAIL PROTECTED]>
>>
>>> 我是有线。等断网了,我把dmesg发出来。我不知道怎样判断问题。使用dmesg可以找到问题么?
>>>
>>> 2008/9/8 teng zhaozhi <[EMAIL PROTECTED]>
>>>
>>> 有线还是无线?
>>>> dmesg的最后10多行信息?
>>>> 你的硬件是什么?
>>>>
>>>> 这些我们要了解了才能给你这个作一些初步判断....
>>>>
>>>> 2008/9/8 zhihang wang <[EMAIL PROTECTED]>
>>>>
>>>> 使用一段时间,大概1个多小时,网络就不通了,需要重新启动才可以。
>>>>> 我的是debian 4.0
>>>>>
>>>>> --
>>>>> Best Regards
>>>>> zhihang wang
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> 滕召智 (Ben teng)
>>>> Tel: (010) 51660659 - 809
>>>> Cell: 13381221392
>>>> Fax: (010) 59792018 (0512) 62533261
>>>> MSN: [EMAIL PROTECTED]
>>>> Skype: freet15
>>>>
>>>
>>>
>>>
>>> --
>>> Best Regards
>>> zhihang wang
>>>
>>
>>
>>
>> --
>> Best Regards
>> zhihang wang
>>
>
>
>
> --
> Best Regards
> zhihang wang
>



-- 
滕召智 (Ben teng)
Tel: (010) 51660659 - 809
Cell: 13381221392
Fax: (010) 59792018 (0512) 62533261
MSN: [EMAIL PROTECTED]
Skype: freet15

回复