Re: skge error; hangs w/ hardware memory hole

2006-07-09 Thread Anthony DeRobertis
Andi Kleen wrote:

> Is that a board with VIA chipset?

Yep.

> 
> VIA doesn't seem to support PCI accesses with addresses >4GB and they also
> don't have a working GART IOMMU.
> 
> It will likely work with iommu=force

I'll give this a try I do get a line in dmesg which reads:

PCI-DMA: Disabling IOMMU.
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: skge error; hangs w/ hardware memory hole

2006-07-11 Thread Anthony DeRobertis
OK, here are the results with iommu=force. All of these are copied down
by hand, so please forgive any transcription errors:

2.6.12[1]: Last line displayed on screen is "ata1: dev 0 ATA max
UDMA/133 390721968 sectors, lba48". Then it sits there. Scrolling with
shift-pgup/pgdown works. Control-Alt-Del reboots the machine. According
to /var/log/dmesg, the next line --- which never appears --- should be
"ata1: dev 0 configured for UDMA/133"

2.6.17-1: The kernel panics with a null pointer dereference on loading
uhci_hcd. The addresses given are usb_kick_khud+7, usb_hc_died+106,
pcibios_set_master+30, etc. After the panic, it sits there (just like
2.6.12)

2.6.17-mm6: The last line displayed is "SATA link up 1.5 Gbps SStatus
113 Scontrol 300". It completely hangs: neither scrolling nor
control-alt-del work.


Honestly, should I chuck this board through the window of my nearest
ASUS and/or VIA office, and buy an NForce board?
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: skge error; hangs w/ hardware memory hole

2006-07-22 Thread Anthony DeRobertis
Andreas Kleen wrote:

> 
> You need to use iommu=soft swiotlb=force
> 
> The standard IOMMU is also broken on VIA, but forced swiotlb should
> work.

Didn't work :-(

Excepts from the log:

Bootdata ok (command line is BOOT_IMAGE=2.6.17-1-smp ro root=902
iommu=soft swiotlb=force single)
...
skge eth0: enabling interface
skge :00:0a.0: PCI error cmd=0x117 status=0x22b0
skge unable to clear error (so ignoring them)
skge eth0: Link is up at 1000 Mbps, full duplex, flow control tx and rx

And then the NIC didn't work. Attaching full dmesg.

Bootdata ok (command line is BOOT_IMAGE=2.6.17-1-smp ro root=902 iommu=soft 
swiotlb=force single)
Linux version 2.6.17-1-amd64-k8-smp (Debian 2.6.17-2) ([EMAIL PROTECTED]) (gcc 
version 4.1.2 20060613 (prerelease) (Debian 4.1.1-5)) #1 SMP Thu Jun 29 
23:03:09 CEST 2006
BIOS-provided physical RAM map:
 BIOS-e820:  - 0009fc00 (usable)
 BIOS-e820: 0009fc00 - 000a (reserved)
 BIOS-e820: 000e4000 - 0010 (reserved)
 BIOS-e820: 0010 - d7fb (usable)
 BIOS-e820: d7fb - d7fc (ACPI data)
 BIOS-e820: d7fc - d7ff (ACPI NVS)
 BIOS-e820: d7ff - d800 (reserved)
 BIOS-e820: ff78 - 0001 (reserved)
 BIOS-e820: 0001 - 00012400 (usable)
DMI 2.3 present.
ACPI: RSDP (v002 ACPIAM) @ 0x000fa7c0
ACPI: XSDT (v001 A M I  OEMXSDT  0x1506 MSFT 0x0097) @ 
0xd7fb0100
ACPI: FADT (v003 A M I  OEMFACP  0x1506 MSFT 0x0097) @ 
0xd7fb0290
ACPI: MADT (v001 A M I  OEMAPIC  0x1506 MSFT 0x0097) @ 
0xd7fb0390
ACPI: OEMB (v001 A M I  OEMBIOS  0x1506 MSFT 0x0097) @ 
0xd7fc0040
ACPI: DSDT (v001  A0036 A0036001 0x0001 MSFT 0x010d) @ 
0x
Scanning NUMA topology in Northbridge 24
Number of nodes 1
Node 0 MemBase  Limit 00012400
NUMA: Using 63 for the hash shift.
Using node hash shift of 63
Bootmem setup node 0 -00012400
On node 0 totalpages: 1014222
  DMA zone: 2502 pages, LIFO batch:0
  DMA32 zone: 866280 pages, LIFO batch:31
  Normal zone: 145440 pages, LIFO batch:31
Looks like a VIA chipset. Disabling IOMMU. Override with "iommu=allowed"
ACPI: PM-Timer IO Port: 0x808
ACPI: Local APIC address 0xfee0
ACPI: LAPIC (acpi_id[0x01] lapic_id[0x00] enabled)
Processor #0 15:3 APIC version 16
ACPI: LAPIC (acpi_id[0x02] lapic_id[0x01] enabled)
Processor #1 15:3 APIC version 16
ACPI: IOAPIC (id[0x02] address[0xfec0] gsi_base[0])
IOAPIC[0]: apic_id 2, version 3, address 0xfec0, GSI 0-23
ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl)
ACPI: IRQ0 used by override.
ACPI: IRQ2 used by override.
ACPI: IRQ9 used by override.
Setting APIC routing to physical flat
Using ACPI (MADT) for SMP configuration information
Allocating PCI resources starting at dc00 (gap: d800:2778)
SMP: Allowing 2 CPUs, 0 hotplug CPUs
Built 1 zonelists
Kernel command line: BOOT_IMAGE=2.6.17-1-smp ro root=902 iommu=soft 
swiotlb=force single
Initializing CPU#0
PID hash table entries: 4096 (order: 12, 32768 bytes)
Disabling vsyscall due to use of PM timer
time.c: Using 3.579545 MHz WALL PM GTOD PM timer.
time.c: Detected 2202.921 MHz processor.
Console: colour VGA+ 80x25
Dentry cache hash table entries: 524288 (order: 10, 4194304 bytes)
Inode-cache hash table entries: 262144 (order: 9, 2097152 bytes)
PCI-DMA: Using software bounce buffering for IO (SWIOTLB)
Placing software IO TLB between 0x163a000 - 0x563a000
Memory: 3984540k/4784128k available (1870k kernel code, 143520k reserved, 820k 
data, 172k init)
Calibrating delay using timer specific routine.. 4411.18 BogoMIPS (lpj=8822378)
Security Framework v1.0.0 initialized
SELinux:  Disabled at boot.
Capability LSM initialized
Mount-cache hash table entries: 256
CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)
CPU: L2 Cache: 1024K (64 bytes/line)
CPU 0/0(2) -> Node 0 -> Core 0
Using local APIC timer interrupts.
result 12516619
Detected 12.516 MHz APIC timer.
Booting processor 1/2 APIC 0x1
Initializing CPU#1
Calibrating delay using timer specific routine.. 4405.96 BogoMIPS (lpj=8811936)
CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)
CPU: L2 Cache: 1024K (64 bytes/line)
CPU 1/1(2) -> Node 0 -> Core 1
AMD Athlon(tm) 64 X2 Dual Core Processor 4400+ stepping 02
CPU 1: Syncing TSC to CPU 0.
CPU 1: synchronized TSC with CPU 0 (last diff -82 cycles, maxerr 637 cycles)
Brought up 2 CPUs
testing NMI watchdog ... OK.
migration_cost=632
checking if image is initramfs... it is
Freeing initrd memory: 1348k freed
NET: Registered protocol family 16
ACPI: bus type pci registered
PCI: Using configuration type 1
ACPI: Subsystem revision 20060127
ACPI: Interpreter enabled
ACPI: Using IOAPIC for interrupt routing
ACPI: PCI Root Bridge [PCI0] (:00)
PCI: Probing PCI hardware (bus 00)
PCI: Quirk