[Asterisk-Users] ztdummy inaccuracy on linux-2.6

Tamas jalsot at gmail.com
Mon Jan 16 14:30:21 MST 2006


Hello Steven!

Thanks for answers and suggestions!
I will check the bios again tomorrow. I found some interesting things in
/var/log/dmesg:
...
CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)
CPU: L2 Cache: 512K (64 bytes/line)
mtrr: v2.0 (20020519)
CPU: AMD Athlon(tm) 64 Processor 3000+ stepping 02
Using IO-APIC 2
..MP-BIOS bug: 8254 timer not connected to IO-APIC
works.
Using local APIC timer interrupts.
Detected 12.557 MHz APIC timer.
testing NMI watchdog ... OK.
...
PCI: Probing PCI hardware
PCI: Probing PCI hardware (bus 00)
Boot video device is 0000:01:05.0
PCI: Transparent bridge - 0000:00:09.0
PCI->APIC IRQ transform: 0000:00:01.1[A] -> IRQ 5
PCI->APIC IRQ transform: 0000:00:02.0[A] -> IRQ 10
PCI->APIC IRQ transform: 0000:00:02.1[B] -> IRQ 11
PCI->APIC IRQ transform: 0000:00:0a.0[A] -> IRQ 7
PCI->APIC IRQ transform: 0000:01:05.0[A] -> IRQ 10
PCI->APIC IRQ transform: 0000:01:06.0[A] -> IRQ 11
PCI->APIC IRQ transform: 0000:01:07.0[A] -> IRQ 5
PCI->APIC IRQ transform: 0000:01:08.0[A] -> IRQ 10
PCI->APIC IRQ transform: 0000:01:09.0[A] -> IRQ 11
PCI->APIC IRQ transform: 0000:04:00.0[A] -> IRQ 10
...
0000:00:02.1 EHCI: early BIOS handoff failed (BIOS bug ?)
PCI: Setting latency timer of device 0000:00:0b.0 to 64
pcie_portdrv_probe->Dev[005d:10de] has invalid IRQ. Check vendor BIOS
assign_interrupt_mode Found MSI capability
Allocate Port Service[pcie00]
PCI: Setting latency timer of device 0000:00:0c.0 to 64
pcie_portdrv_probe->Dev[005d:10de] has invalid IRQ. Check vendor BIOS
assign_interrupt_mode Found MSI capability
Allocate Port Service[pcie00]
PCI: Setting latency timer of device 0000:00:0d.0 to 64
pcie_portdrv_probe->Dev[005d:10de] has invalid IRQ. Check vendor BIOS
assign_interrupt_mode Found MSI capability
Allocate Port Service[pcie00]
PCI: Setting latency timer of device 0000:00:0e.0 to 64
pcie_portdrv_probe->Dev[005d:10de] has invalid IRQ. Check vendor BIOS
assign_interrupt_mode Found MSI capability
Allocate Port Service[pcie00]
Real Time Clock Driver v1.12
...

Maybe this says somehting...

Regards,
	Tamas

Steven Ringwald wrote:
> On Mon, 2006-01-16 at 21:51 +0100, Tamas wrote:
> 
>> cat /proc/interrupts
>>            CPU0
>>   0:    6645053    IO-APIC-edge  timer
>>   1:          8    IO-APIC-edge  i8042
>>   2:          0          XT-PIC  cascade
>>   5:       3309   IO-APIC-level  eth1
>>   7:     679362   IO-APIC-level  eth0
>>   8:    8338011    IO-APIC-edge  rtc
>>  10:        204   IO-APIC-level  eth2, HFC PCI
>>  11:      20559   IO-APIC-level  3w-xxxx
>> NMI:        404
>> LOC:    6644437
>> ERR:          0
>> MIS:          0
>>
>> eth2 is not use currently. This box is in preparation for production. I
>> don't know how can the HFC PCI card (Billion 1xBRI) get the same IRQ as
>> eth2 [onboard Broadcom NIC]. Probably because it's on different bus:
>> 0000:04:00.0 Ethernet controller: Broadcom Corporation NetXtreme BCM5721
>> Gigabit Ethernet PCI Express (rev 11)
>>         Subsystem: Broadcom Corporation NetXtreme BCM5721 Gigabit
>> Ethernet PCI Express
>>         Flags: bus master, fast devsel, latency 0, IRQ 10
>>         Memory at fe5f0000 (64-bit, non-prefetchable) [size=64K]
>>         Capabilities: [48] Power Management version 2
>>         Capabilities: [50] Vital Product Data
>>         Capabilities: [58] Message Signalled Interrupts: 64bit+
>> Queue=0/3 Enable-
>>         Capabilities: [d0] #10 [0001]
>>
>> 0000:01:08.0 Network controller: Cologne Chip Designs GmbH ISDN network
>> controller [HFC-PCI] (rev 02)
>>         Subsystem: Cologne Chip Designs GmbH ISDN Board
>>         Flags: bus master, medium devsel, latency 16, IRQ 10
>>         I/O ports at d000 [disabled] [size=8]
>>         Memory at fdffc000 (32-bit, non-prefetchable) [size=256]
>>         Capabilities: [40] Power Management version 1
>>
>> Anything else to take a look for?
> 
> Ok. That looks like it *should* be working correctly. It is interesting
> that your cascade interrupt is still XT-PIC, and the highest interrupt
> listed is 11. I have attached the output from my /proc/interrupts for
> comparison. Does the bios have any mention of APIC/legacy or anything???
> The board I am using is an Asus K8S-mx with a Sempron64 2800+ in it... 
> 
> Steve
> 
> 
> 
> ------------------------------------------------------------------------
> 
>            CPU0       
>   0:     488733    IO-APIC-edge  timer
>   1:        266    IO-APIC-edge  i8042
>   4:       4175    IO-APIC-edge  serial
>   8:          0    IO-APIC-edge  rtc
>   9:          0   IO-APIC-level  acpi
> 169:    1853920   IO-APIC-level  libata, wct2xxp
> 177:        492   IO-APIC-level  eth0
> 185:          0   IO-APIC-level  SiS SI7012
> 193:       9869   IO-APIC-level  ehci_hcd:usb1
> 201:          0   IO-APIC-level  ohci_hcd:usb2
> 209:          0   IO-APIC-level  ohci_hcd:usb3
> 217:          0   IO-APIC-level  ohci_hcd:usb4
> 225:    1850310   IO-APIC-level  wcte11xp
> NMI:        144 
> LOC:     488707 
> ERR:          0
> MIS:          0




More information about the asterisk-users mailing list