Re: amd64 irq assigning related problem

From: Jung-uk Kim <jkim_at_niksun.com>
Date: Wed, 16 Mar 2005 11:54:03 -0500
On Wednesday 16 March 2005 04:39 am, Divacky Roman wrote:
> Hi,
>
> my amd64 box with nforce3 chipset doesnt boot with acpi enabled.
> when I boot with acpi disabled my atkbd (attached to ps/2) runs
> VERY slow (about 1cps), I think its caused by atkbdc not having irq
> assigned...

Turn on ACPI and do this from loader:

set debug.acpi.quirks=4

or add the following line in /boot/loader.conf:

debug.acpi.quirks=4

If you have 'hint.acpi.0.disabled=1' in the file, comment it out.

Please let me know what happens.

Thanks,

Jung-uk Kim

> with 5.3R it worked ok
>
> I attach dmesg + vmstat -i:
> Copyright (c) 1992-2005 The FreeBSD Project.
> Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993,
> 1994 The Regents of the University of California. All rights
> reserved. FreeBSD 6.0-CURRENT #4: Mon Mar 14 10:03:31 UTC 2005
>     root_at_sprava:/usr/obj/usr/src/sys/MYKERNEL
> Timecounter "i8254" frequency 1193182 Hz quality 0
> CPU: AMD Athlon(tm) 64 Processor 3000+ (1808.81-MHz K8-class CPU)
>   Origin = "AuthenticAMD"  Id = 0x10ff0  Stepping = 0
>  
> Features=0x78bfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR
>,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2> AMD
> Features=0xe2500800<SYSCALL,NX,MMX+,<b25>,LM,3DNow+,3DNow> real
> memory  = 268369920 (255 MB)
> avail memory = 251703296 (240 MB)
> cpu0 on motherboard
> pcib0: <Host to PCI bridge> pcibus 0 on motherboard
> pci0: <PCI bus> on pcib0
> isab0: <PCI-ISA bridge> at device 1.0 on pci0
> isa0: <ISA bus> on isab0
> pci0: <serial bus, SMBus> at device 1.1 (no driver attached)
> pci0: <serial bus, USB> at device 2.0 (no driver attached)
> pci0: <serial bus, USB> at device 2.1 (no driver attached)
> pci0: <serial bus, USB> at device 2.2 (no driver attached)
> atapci0: <nVidia nForce3 Pro UDMA133 controller> port
> 0xf000-0xf00f,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 8.0 on
> pci0 ata0: channel #0 on atapci0
> ata1: channel #1 on atapci0
> atapci1: <GENERIC ATA controller> port
> 0xdc00-0xdc0f,0xb60-0xb63,0x960-0x967,0xbe0-0xbe3,0x9e0-0x9e7 irq
> 15 at device 9.0 on pci0 ata2: channel #0 on atapci1
> ata3: channel #1 on atapci1
> pcib1: <PCI-PCI bridge> at device 11.0 on pci0
> pci1: <PCI bus> on pcib1
> pci1: <display, VGA> at device 0.0 (no driver attached)
> pcib2: <PCI-PCI bridge> at device 14.0 on pci0
> pci2: <PCI bus> on pcib2
> re0: <RealTek 8169S Single-chip Gigabit Ethernet> port
> 0xb000-0xb0ff mem 0xfb000000-0xfb0000ff irq 11 at device 13.0 on
> pci2 miibus0: <MII bus> on re0
> rgephy0: <RTL8169S/8110S media interface> on miibus0
> rgephy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX,
> 1000baseTX, 1000baseTX-FDX, auto re0: Ethernet address:
> 00:11:09:d9:b6:61
> orm0: <ISA Option ROMs> at iomem
> 0xd0000-0xd0fff,0xcc000-0xcffff,0xc0000-0xcbfff on isa0 atkbdc0:
> <Keyboard controller (i8042)> at port 0x64,0x60 on isa0 atkbd0: <AT
> Keyboard> flags 0x1 irq 1 on atkbdc0
> atkbd0: [GIANT-LOCKED]
> sc0: <System console> at flags 0x100 on isa0
> sc0: VGA <16 virtual consoles, flags=0x300>
> sio0: configured irq 4 not in bitmap of probed irqs 0
> sio0: port may not be enabled
> sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
> sio0: type 8250 or not responding
> sio1: configured irq 3 not in bitmap of probed irqs 0
> sio1: port may not be enabled
> vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff
> on isa0 Timecounter "TSC" frequency 1808811462 Hz quality 800
> Timecounters tick every 1.000 msec
> acd0: CDROM <ATAPI CDROM/V120N> at ata0-slave UDMA33
> ad4: 76319MB <ST380013AS/3.18> [155061/16/63] at ata2-master UDMA33
> Trying to mount root from ufs:/dev/ad4s2a
> re0: link state changed to UP
> stray irq7
> re0: link state changed to DOWN
> too many stray irq 7's: not logging anymore
> re0: link state changed to UP
> re0: link state changed to DOWN
> re0: link state changed to UP
> re0: link state changed to DOWN
> re0: link state changed to UP
> re0: link state changed to DOWN
> re0: link state changed to UP
> vmstat -1:
> interrupt                          total       rate
> irq0: clk                        1413020        999
> irq7:                                 11          0
> stray irq7                            11          0
> irq8: rtc                         180834        127
> irq11: re0                         21483         15
> irq14: ata0                           46          0
> irq15: ata1 atapci1                35074         24
> Total                            1650479       1167
>
> hope this will help
>
> roman
Received on Wed Mar 16 2005 - 15:54:15 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:30 UTC