All of lore.kernel.org
 help / color / mirror / Atom feed
* Vortex86SX: only works with irqpoll
@ 2009-11-19 21:11 Otavio Salvador
  2009-11-20 14:55 ` Alan Cox
                   ` (2 more replies)
  0 siblings, 3 replies; 18+ messages in thread
From: Otavio Salvador @ 2009-11-19 21:11 UTC (permalink / raw)
  To: linux-kernel

[-- Attachment #1: Type: text/plain, Size: 434 bytes --]

Hello,

I got this machine working booting it with "irqpoll" parameter however
it drops the performance a lot and I'd like to try to fix the root
problem of it.

Without 'irqpoll' the disk and network adaptor doesn't work.

Thanks in advance for any help,

-- 
Otavio Salvador                  O.S. Systems
E-mail: otavio@ossystems.com.br  http://www.ossystems.com.br
Mobile: +55 53 9981-7854         http://projetos.ossystems.com.br

[-- Attachment #2: dmesg.txt --]
[-- Type: text/plain, Size: 14672 bytes --]

.000000]   NSC Geode by NSC
[    0.000000]   Cyrix CyrixInstead
[    0.000000]   Centaur CentaurHauls
[    0.000000]   Transmeta GenuineTMx86
[    0.000000]   Transmeta TransmetaCPU
[    0.000000]   UMC UMC UMC UMC
[    0.000000] BIOS-provided physical RAM map:
[    0.000000]  BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
[    0.000000]  BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)
[    0.000000]  BIOS-e820: 00000000000e0000 - 0000000000100000 (reserved)
[    0.000000]  BIOS-e820: 0000000000100000 - 0000000008000000 (usable)
[    0.000000]  BIOS-e820: 00000000ff000000 - 0000000100000000 (reserved)
[    0.000000] DMI not present or invalid.
[    0.000000] last_pfn = 0x8000 max_arch_pfn = 0x100000
[    0.000000] initial memory mapped : 0 - 00800000
[    0.000000] init_memory_mapping: 0000000000000000-0000000008000000
[    0.000000]  0000000000 - 0008000000 page 4k
[    0.000000] kernel direct mapping tables up to 8000000 @ 7000-2a000
[    0.000000] RAMDISK: 07cd1000 - 07fdfc23
[    0.000000] ACPI Error: A valid RSDP was not found (20090903/tbxfroot-219)
[    0.000000] 128MB LOWMEM available.
[    0.000000]   mapped low ram: 0 - 08000000
[    0.000000]   low ram: 0 - 08000000
[    0.000000]   node 0 low ram: 00000000 - 08000000
[    0.000000]   node 0 bootmap 00001000 - 00002000
[    0.000000] (7 early reservations) ==> bootmem [0000000000 - 0008000000]
[    0.000000]   #0 [0000000000 - 0000001000]   BIOS data page ==> [0000000000 - 0000001000]
[    0.000000]   #1 [0000100000 - 000048386c]    TEXT DATA BSS ==> [0000100000 - 000048386c]
[    0.000000]   #2 [0007cd1000 - 0007fdfc23]          RAMDISK ==> [0007cd1000 - 0007fdfc23]
[    0.000000]   #3 [000009f800 - 0000100000]    BIOS reserved ==> [000009f800 - 0000100000]
[    0.000000]   #4 [0000484000 - 0000486000]              BRK ==> [0000484000 - 0000486000]
[    0.000000]   #5 [0000007000 - 0000025000]          PGTABLE ==> [0000007000 - 0000025000]
[    0.000000]   #6 [0000001000 - 0000002000]          BOOTMAP ==> [0000001000 - 0000002000]
[    0.000000] Zone PFN ranges:
[    0.000000]   DMA      0x00000000 -> 0x00001000
[    0.000000]   Normal   0x00001000 -> 0x00008000
[    0.000000] Movable zone start PFN for each node
[    0.000000] early_node_map[2] active PFN ranges
[    0.000000]     0: 0x00000000 -> 0x0000009f
[    0.000000]     0: 0x00000100 -> 0x00008000
[    0.000000] On node 0 totalpages: 32671
[    0.000000] free_area_init_node: node 0, pgdat c040e420, node_mem_map c1000000
[    0.000000]   DMA zone: 32 pages used for memmap
[    0.000000]   DMA zone: 0 pages reserved
[    0.000000]   DMA zone: 3967 pages, LIFO batch:0
[    0.000000]   Normal zone: 224 pages used for memmap
[    0.000000]   Normal zone: 28448 pages, LIFO batch:7
[    0.000000] Using APIC driver default
[    0.000000] No local APIC present or hardware disabled
[    0.000000] APIC: disable apic facility
[    0.000000] nr_irqs_gsi: 16
[    0.000000] Allocating PCI resources starting at 8000000 (gap: 8000000:f7000000)
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 32415
[    0.000000] Kernel command line: initrd=installer imageserver=http://192.168.254.251/osii shell BOOT_IMAGE=kernel 
[    0.000000] PID hash table entries: 512 (order: -1, 2048 bytes)
[    0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
[    0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
[    0.000000] Initializing CPU#0
[    0.000000] Memory: 122556k/131072k available (2581k kernel code, 7984k reserved, 557k data, 288k init, 0k highmem)
[    0.000000] virtual kernel memory layout:
[    0.000000]     fixmap  : 0xfffa3000 - 0xfffff000   ( 368 kB)
[    0.000000]     vmalloc : 0xc8800000 - 0xfffa1000   ( 887 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xc8000000   ( 128 MB)
[    0.000000]       .init : 0xc0411000 - 0xc0459000   ( 288 kB)
[    0.000000]       .data : 0xc03855a5 - 0xc0410b18   ( 557 kB)
[    0.000000]       .text : 0xc0100000 - 0xc03855a5   (2581 kB)
[    0.000000] Checking if this processor honours the WP bit even in supervisor mode...Ok.
[    0.000000] Hierarchical RCU implementation.
[    0.000000] NR_IRQS:288
[    0.000000] Console: colour VGA+ 80x25
[    0.000000] console [tty0] enabled
[    0.000000] Calibrating delay loop... 97.76 BogoMIPS (lpj=162816)
[    0.059999] Mount-cache hash table entries: 512
[    0.063333] CPU: Cyrix Cx486SLC
[    0.063333] Checking 'hlt' instruction... OK.
[    0.086666] NET: Registered protocol family 16
[    0.116666] PCI: Using configuration type 1 for base access
[    0.323333] bio: create slab <bio-0> at 0
[    0.326666] ACPI: Interpreter disabled.
[    0.339999] SCSI subsystem initialized
[    0.343333] libata version 3.00 loaded.
[    0.346666] usbcore: registered new interface driver usbfs
[    0.349999] usbcore: registered new interface driver hub
[    0.353333] usbcore: registered new device driver usb
[    0.359999] PCI: Probing PCI hardware
[    0.359999] PCI: Probing PCI hardware (bus 00)
[    0.363333] pci 0000:00:03.0: reg 10 32bit mmio pref: [0xf8000000-0xfbffffff]
[    0.363333] pci 0000:00:03.0: reg 14 32bit mmio: [0xfefc0000-0xfeffffff]
[    0.363333] pci 0000:00:03.0: reg 18 io port: [0xef80-0xefff]
[    0.363333] pci 0000:00:03.0: supports D1 D2
[    0.363333] pci 0000:00:08.0: reg 10 io port: [0xee00-0xeeff]
[    0.363333] pci 0000:00:08.0: reg 14 32bit mmio: [0xfefbb400-0xfefbb4ff]
[    0.366666] pci 0000:00:0a.0: reg 10 32bit mmio: [0x0e2000-0x0e2fff]
[    0.366666] pci 0000:00:0a.1: reg 10 32bit mmio: [0x0e3000-0x0e30ff]
[    0.366666] pci 0000:00:0b.0: reg 10 32bit mmio: [0x0e0000-0x0e0fff]
[    0.366666] pci 0000:00:0b.1: reg 10 32bit mmio: [0x0e1000-0x0e10ff]
[    0.366666] pci 0000:00:0c.0: reg 10 io port: [0x1f0-0x1f7]
[    0.366666] pci 0000:00:0c.0: reg 14 io port: [0x3f4-0x3f7]
[    0.366666] pci 0000:00:0c.0: reg 18 io port: [0x170-0x177]
[    0.366666] pci 0000:00:0c.0: reg 1c io port: [0x374-0x377]
[    0.366666] pci 0000:00:0c.0: reg 20 io port: [0xfff0-0xffff]
[    0.366666] pci 0000:00:0c.0: reg 30 32bit mmio pref: [0x000000-0x01ffff]
[    0.393333] pci 0000:00:07.0: default IRQ router [17f3:6031]
[    0.393333] pci 0000:00:0a.0: BAR 0: address space collision on of device [0x0e2000-0x0e2fff]
[    0.393333] pci 0000:00:0a.0: BAR 0: can't allocate resource
[    0.396666] pci 0000:00:0a.1: BAR 0: address space collision on of device [0x0e3000-0x0e30ff]
[    0.396666] pci 0000:00:0a.1: BAR 0: can't allocate resource
[    0.396666] pci 0000:00:0b.0: BAR 0: address space collision on of device [0x0e0000-0x0e0fff]
[    0.396666] pci 0000:00:0b.0: BAR 0: can't allocate resource
[    0.396666] pci 0000:00:0b.1: BAR 0: address space collision on of device [0x0e1000-0x0e10ff]
[    0.396666] pci 0000:00:0b.1: BAR 0: can't allocate resource
[    0.403333] Switching to clocksource pit
[    0.406666] pnp: PnP ACPI: disabled
[    0.429719] pci_bus 0000:00: resource 0 io:  [0x00-0xffff]
[    0.429719] pci_bus 0000:00: resource 1 mem: [0x000000-0xffffffff]
[    0.429719] NET: Registered protocol family 2
[    0.433038] IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.433038] TCP established hash table entries: 4096 (order: 3, 32768 bytes)
[    0.436377] TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
[    0.436377] TCP: Hash tables configured (established 4096 bind 4096)
[    0.436377] TCP reno registered
[    0.436377] NET: Registered protocol family 1
[    0.439705] Trying to unpack rootfs image as initramfs...
[    3.876352] Freeing initrd memory: 3131k freed
[    3.966367] platform rtc_cmos: registered platform RTC device (no PNP device found)
[    3.986521] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    3.986521] msgmni has been set to 245
[    3.986521] io scheduler noop registered
[    3.989816] io scheduler deadline registered (default)
[    4.193035] lp: driver loaded but no devices found
[    4.193035] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[    4.343037] brd: module loaded
[    4.399702] loop: module loaded
[    4.409706] scsi0 : pata_it821x
[    4.416364] scsi1 : pata_it821x
[    4.423034] ata1: PATA max MWDMA2 cmd 0x1f0 ctl 0x3f4 bmdma 0xfff0 irq 14
[    4.423034] ata2: PATA max MWDMA2 cmd 0x170 ctl 0x374 bmdma 0xfff8 irq 14
[    4.429698] ata1: ata_port_flush_task: EXIT
[    4.429698] <6>r6040: RDC R6040 NAPI net driver,version 0.25 (20Aug2009)
[    4.439716] PPP generic driver version 2.4.2
[    4.443040] PPP Deflate Compression module registered
[    4.446581] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    4.449705] ehci_hcd 0000:00:0a.1: EHCI Host Controller
[    4.449705] ehci_hcd 0000:00:0a.1: new USB bus registered, assigned bus number 1
[    4.473000] ehci_hcd 0000:00:0a.1: irq 9, io mem 0x08022000
[    4.482999] ehci_hcd 0000:00:0a.1: USB 2.0 started, EHCI 1.00
[    4.486680] usb usb1: configuration #1 chosen from 1 choice
[    4.493030] hub 1-0:1.0: USB hub found
[    4.493030] hub 1-0:1.0: 2 ports detected
[    4.496367] ehci_hcd 0000:00:0b.1: EHCI Host Controller
[    4.496367] ehci_hcd 0000:00:0b.1: new USB bus registered, assigned bus number 2
[    4.519667] ehci_hcd 0000:00:0b.1: irq 10, io mem 0x08022100
[    4.529665] ehci_hcd 0000:00:0b.1: USB 2.0 started, EHCI 1.00
[    4.533038] usb usb2: configuration #1 chosen from 1 choice
[    4.536367] hub 2-0:1.0: USB hub found
[    4.536367] hub 2-0:1.0: 2 ports detected
[    4.543032] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    4.543032] ohci_hcd 0000:00:0a.0: OHCI Host Controller
[    4.546398] ohci_hcd 0000:00:0a.0: new USB bus registered, assigned bus number 3
[    4.546398] ohci_hcd 0000:00:0a.0: irq 5, io mem 0x08020000
[    4.582999] ata2: ata_port_flush_task: EXIT
[    4.633035] usb usb3: configuration #1 chosen from 1 choice
[    4.636369] hub 3-0:1.0: USB hub found
[    4.636369] hub 3-0:1.0: 2 ports detected
[    4.639705] ohci_hcd 0000:00:0b.0: OHCI Host Controller
[    4.639705] ohci_hcd 0000:00:0b.0: new USB bus registered, assigned bus number 4
[    4.643316] ohci_hcd 0000:00:0b.0: irq 11, io mem 0x08021000
[    4.729702] usb usb4: configuration #1 chosen from 1 choice
[    4.733049] hub 4-0:1.0: USB hub found
[    4.733049] hub 4-0:1.0: 2 ports detected
[    4.736367] ata2.00: ata_dev_read_id: ENTER
[    4.736367] ata2: ata_dev_select: ENTER, device 0, wait 1
[    4.739702] ata2: ata_port_flush_task: EXIT
[    4.739702] ata2: ata_dev_select: ENTER, device 0, wait 1
[    4.739702] uhci_hcd: USB Universal Host Controller Interface driver
[    4.746564] usbcore: registered new interface driver cdc_acm
[    4.749820] cdc_acm: v0.26:USB Abstract Control Model driver for USB modems and ISDN adapters
[    4.749820] usbcore: registered new interface driver usblp
[    4.749820] Initializing USB Mass Storage driver...
[    4.753035] usbcore: registered new interface driver usb-storage
[    4.753035] USB Mass Storage support registered.
[    4.759702] usbcore: registered new interface driver usbserial
[    4.763041] USB Serial support registered for generic
[    4.799665] usbcore: registered new interface driver usbserial_generic
[    4.799665] usbserial: USB Serial Driver core
[    4.803034] USB Serial support registered for FTDI USB Serial Device
[    4.806372] usbcore: registered new interface driver ftdi_sio
[    4.806372] ftdi_sio: v1.5.0:USB FTDI Serial Converters Driver
[    4.809867] USB Serial support registered for GSM modem (1-port)
[    4.813037] usbcore: registered new interface driver option
[    4.813037] option: v0.7.2:USB Driver for GSM modems
[    4.816366] USB Serial support registered for pl2303
[    4.816366] usbcore: registered new interface driver pl2303
[    4.819945] pl2303: Prolific PL2303 USB to serial adaptor driver
[    4.826367] PNP: No PS/2 controller found. Probing ports directly.
[    4.833194] serio: i8042 KBD port at 0x60,0x64 irq 1
[    4.833194] serio: i8042 AUX port at 0x60,0x64 irq 12
[    4.849703] mice: PS/2 mouse device common for all mice
[    4.859707] usbcore: registered new interface driver usbtouchscreen
[    4.859707] cpuidle: using governor ladder
[    4.866371] usbcore: registered new interface driver usbhid
[    4.866371] usbhid: v2.6:USB HID core driver
[    4.869724] Advanced Linux Sound Architecture Driver Version 1.0.21.
[    4.886423] ALSA device list:
[    4.886423]   No soundcards found.
[    4.886423] TCP cubic registered
[    4.886423] NET: Registered protocol family 17
[    4.886423] Using IPI Shortcut mode
[    4.956333] usb 3-1: new low speed USB device using ohci_hcd and address 2
[    5.113033] usb 3-1: configuration #1 chosen from 1 choice
[    5.159700] input: HID Keyboard Device as /devices/pci0000:00/0000:00:0a.0/usb3/3-1/3-1:1.0/input/input0
[    5.163032] generic-usb 0003:0E6A:6001.0001: input: USB HID v1.10 Keyboard [HID Keyboard Device] on usb-0000:00:0a.0-1/input0
[    5.213036] input: HID Keyboard Device as /devices/pci0000:00/0000:00:0a.0/usb3/3-1/3-1:1.1/input/input1
[    5.219704] generic-usb 0003:0E6A:6001.0002: input: USB HID v1.10 Device [HID Keyboard Device] on usb-0000:00:0a.0-1/input1
[    5.342998] usb 4-2: new low speed USB device using ohci_hcd and address 2
[    5.493032] usb 4-2: configuration #1 chosen from 1 choice
[    5.533036] input: PIXART USB OPTICAL MOUSE as /devices/pci0000:00/0000:00:0b.0/usb4/4-2/4-2:1.0/input/input2
[    5.539699] generic-usb 0003:093A:2510.0003: input: USB HID v1.10 Mouse [PIXART USB OPTICAL MOUSE] on usb-0000:00:0b.0-2/input0
[    9.739663] ata2: ata_port_flush_task: EXIT
[    9.739663] ata2.00: qc timeout (cmd 0x91)
[    9.739663] ata2.00: failed to IDENTIFY (INIT_DEV_PARAMS failed, err_mask=0x4)
[    9.892999] ata2.00: ata_dev_read_id: ENTER
[    9.892999] ata2: ata_dev_select: ENTER, device 0, wait 1
[    9.892999] ata2: ata_port_flush_task: EXIT
[    9.892999] ata2: ata_dev_select: ENTER, device 0, wait 1
[   19.892999] ata2: ata_port_flush_task: EXIT
[   19.892999] ata2.00: qc timeout (cmd 0x91)
[   19.892999] ata2.00: failed to IDENTIFY (INIT_DEV_PARAMS failed, err_mask=0x4)
[   20.046332] ata2.00: ata_dev_read_id: ENTER
[   20.046332] ata2: ata_dev_select: ENTER, device 0, wait 1
[   20.052999] ata2: ata_port_flush_task: EXIT
[   20.052999] ata2: ata_dev_select: ENTER, device 0, wait 1
[   30.052998] ata2: ata_port_flush_task: EXIT
[   30.052998] ata2.00: qc timeout (cmd 0x91)
[   30.052998] ata2.00: failed to IDENTIFY (INIT_DEV_PARAMS failed, err_mask=0x4)
[   30.206331] Freeing unused kernel memory: 288k freed
[   30.213014] Write protecting the kernel text: 2584k
[   30.216543] Write protecting the kernel read-only data: 376k

[-- Attachment #3: lspci-vvv-q.txt --]
[-- Type: text/plain, Size: 4174 bytes --]

00:00.0 Class 0600: Device 17f3:6021
	Control: I/O- Mem+ BusMaster+ SpecCycle+ MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
	Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort+ >SERR- <PERR- INTx-
	Latency: 0

00:03.0 Class 0300: Device 18ca:0020
	Subsystem: Device 18ca:0020
	Control: I/O+ Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
	Status: Cap+ 66MHz+ UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	BIST result: 00
	Region 0: Memory at f8000000 (32-bit, prefetchable) [size=64M]
	Region 1: Memory at fefc0000 (32-bit, non-prefetchable) [size=256K]
	Region 2: I/O ports at ef80 [size=128]
	Capabilities: [40] Power Management version 2
		Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
		Status: D0 PME-Enable- DSel=0 DScale=0 PME-

00:07.0 Class 0601: Device 17f3:6031
	Control: I/O+ Mem+ BusMaster+ SpecCycle+ MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
	Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=?? >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 0

00:08.0 Class 0200: Device 17f3:6040
	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
	Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 64 (750ns min, 2000ns max)
	Interrupt: pin A routed to IRQ 14
	Region 0: I/O ports at ee00 [size=256]
	Region 1: Memory at fefbb400 (32-bit, non-prefetchable) [size=256]
	Kernel driver in use: r6040

00:0a.0 Class 0c03: Device 17f3:6060 (rev 10) (prog-if 10)
	Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx-
	Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 64, Cache Line Size: 32 bytes
	Interrupt: pin A routed to IRQ 5
	Region 0: Memory at 08020000 (32-bit, non-prefetchable) [size=4K]
	Kernel driver in use: ohci_hcd

00:0a.1 Class 0c03: Device 17f3:6061 (rev 01) (prog-if 20)
	Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx-
	Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 64, Cache Line Size: 32 bytes
	Interrupt: pin B routed to IRQ 9
	Region 0: Memory at 08022000 (32-bit, non-prefetchable) [size=256]
	Kernel driver in use: ehci_hcd

00:0b.0 Class 0c03: Device 17f3:6060 (rev 10) (prog-if 10)
	Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx-
	Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 64, Cache Line Size: 32 bytes
	Interrupt: pin A routed to IRQ 11
	Region 0: Memory at 08021000 (32-bit, non-prefetchable) [size=4K]
	Kernel driver in use: ohci_hcd

00:0b.1 Class 0c03: Device 17f3:6061 (rev 01) (prog-if 20)
	Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx-
	Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 64, Cache Line Size: 32 bytes
	Interrupt: pin B routed to IRQ 10
	Region 0: Memory at 08022100 (32-bit, non-prefetchable) [size=256]
	Kernel driver in use: ehci_hcd

00:0c.0 Class 0180: Device 17f3:1010 (rev 11)
	Subsystem: Device 17f3:1010
	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
	Status: Cap+ 66MHz+ UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 64 (2000ns min, 2000ns max)
	Interrupt: pin A routed to IRQ 14
	Region 0: I/O ports at 01f0 [size=8]
	Region 1: I/O ports at 03f4 [size=4]
	Region 2: I/O ports at 0170 [size=8]
	Region 3: I/O ports at 0374 [size=4]
	Region 4: I/O ports at fff0 [size=16]
	[virtual] Expansion ROM at 08000000 [disabled] [size=128K]
	Capabilities: [80] Power Management version 2
		Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
		Status: D0 PME-Enable- DSel=0 DScale=0 PME-
	Kernel driver in use: pata_it821x


^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: Vortex86SX: only works with irqpoll
  2009-11-19 21:11 Vortex86SX: only works with irqpoll Otavio Salvador
@ 2009-11-20 14:55 ` Alan Cox
  2009-11-23 21:40 ` Andrew Morton
  2009-11-24  9:32 ` Juergen Beisert
  2 siblings, 0 replies; 18+ messages in thread
From: Alan Cox @ 2009-11-20 14:55 UTC (permalink / raw)
  To: Otavio Salvador; +Cc: linux-kernel

On Thu, 19 Nov 2009 19:11:49 -0200
Otavio Salvador <otavio@ossystems.com.br> wrote:

> Hello,
> 
> I got this machine working booting it with "irqpoll" parameter however
> it drops the performance a lot and I'd like to try to fix the root
> problem of it.
> 
> Without 'irqpoll' the disk and network adaptor doesn't work.

That implies the IRQ routing is failing which usually but not always
means the tables in the firmware are wrong. The first step would probably
be to dump all the relevant PCI register space and the ACPI tables and
compare them with the IRQ routing documentation for the chipset.

Actually no - thats step 2, step 1 is asking the vendor if there is
updated firmware to fix IRQ delivery problems

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: Vortex86SX: only works with irqpoll
  2009-11-19 21:11 Vortex86SX: only works with irqpoll Otavio Salvador
  2009-11-20 14:55 ` Alan Cox
@ 2009-11-23 21:40 ` Andrew Morton
  2009-11-23 23:31   ` Robert Hancock
  2009-11-24  9:32 ` Juergen Beisert
  2 siblings, 1 reply; 18+ messages in thread
From: Andrew Morton @ 2009-11-23 21:40 UTC (permalink / raw)
  To: Otavio Salvador; +Cc: linux-kernel, linux-acpi

On Thu, 19 Nov 2009 19:11:49 -0200
Otavio Salvador <otavio@ossystems.com.br> wrote:

> 
> I got this machine working booting it with "irqpoll" parameter however
> it drops the performance a lot and I'd like to try to fix the root
> problem of it.
> 
> Without 'irqpoll' the disk and network adaptor doesn't work.
> 
> ...
>
> [    0.000000] ACPI Error: A valid RSDP was not found (20090903/tbxfroot-219)

No ACPI.

Please raise a report against acpi_bios@kernel-bugs.osdl.org at
bugzilla.kernel.org, thanks.

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: Vortex86SX: only works with irqpoll
  2009-11-23 21:40 ` Andrew Morton
@ 2009-11-23 23:31   ` Robert Hancock
  2009-11-24  0:01       ` Otavio Salvador
  0 siblings, 1 reply; 18+ messages in thread
From: Robert Hancock @ 2009-11-23 23:31 UTC (permalink / raw)
  To: Andrew Morton; +Cc: Otavio Salvador, linux-kernel, linux-acpi

On 11/23/2009 03:40 PM, Andrew Morton wrote:
> On Thu, 19 Nov 2009 19:11:49 -0200
> Otavio Salvador<otavio@ossystems.com.br>  wrote:
>
>>
>> I got this machine working booting it with "irqpoll" parameter however
>> it drops the performance a lot and I'd like to try to fix the root
>> problem of it.
>>
>> Without 'irqpoll' the disk and network adaptor doesn't work.
>>
>> ...
>>
>> [    0.000000] ACPI Error: A valid RSDP was not found (20090903/tbxfroot-219)
>
> No ACPI.
>
> Please raise a report against acpi_bios@kernel-bugs.osdl.org at
> bugzilla.kernel.org, thanks.
>

I believe that just means the machine doesn't support ACPI at all..

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: Vortex86SX: only works with irqpoll
  2009-11-23 23:31   ` Robert Hancock
@ 2009-11-24  0:01       ` Otavio Salvador
  0 siblings, 0 replies; 18+ messages in thread
From: Otavio Salvador @ 2009-11-24  0:01 UTC (permalink / raw)
  To: Robert Hancock; +Cc: Andrew Morton, linux-kernel, linux-acpi

Hello,

On Mon, Nov 23, 2009 at 9:31 PM, Robert Hancock <hancockrwd@gmail.com> wrote:
> On 11/23/2009 03:40 PM, Andrew Morton wrote:
>>> [    0.000000] ACPI Error: A valid RSDP was not found
>>> (20090903/tbxfroot-219)
>>
>> No ACPI.
>>
>> Please raise a report against acpi_bios@kernel-bugs.osdl.org at
>> bugzilla.kernel.org, thanks.
>
> I believe that just means the machine doesn't support ACPI at all..

Yes; same as me.

Andrew should I report it anyway?

From Alan message I understand that he believes it is a firmware
issue. I tried (without success) to contact DM&P about it asking for a
newer BIOS but nothing yet.

If I could workaround it, it would be nice since it could avoid issues
for users of those devices. I did research on Internet and found a lot
of users having the network adaptor not work and like and those
problems mostly looks like same issue I'm having.

-- 
Otavio Salvador                  O.S. Systems
E-mail: otavio@ossystems.com.br  http://www.ossystems.com.br
Mobile: +55 53 9981-7854         http://projetos.ossystems.com.br
--
To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: Vortex86SX: only works with irqpoll
@ 2009-11-24  0:01       ` Otavio Salvador
  0 siblings, 0 replies; 18+ messages in thread
From: Otavio Salvador @ 2009-11-24  0:01 UTC (permalink / raw)
  To: Robert Hancock; +Cc: Andrew Morton, linux-kernel, linux-acpi

Hello,

On Mon, Nov 23, 2009 at 9:31 PM, Robert Hancock <hancockrwd@gmail.com> wrote:
> On 11/23/2009 03:40 PM, Andrew Morton wrote:
>>> [    0.000000] ACPI Error: A valid RSDP was not found
>>> (20090903/tbxfroot-219)
>>
>> No ACPI.
>>
>> Please raise a report against acpi_bios@kernel-bugs.osdl.org at
>> bugzilla.kernel.org, thanks.
>
> I believe that just means the machine doesn't support ACPI at all..

Yes; same as me.

Andrew should I report it anyway?

>From Alan message I understand that he believes it is a firmware
issue. I tried (without success) to contact DM&P about it asking for a
newer BIOS but nothing yet.

If I could workaround it, it would be nice since it could avoid issues
for users of those devices. I did research on Internet and found a lot
of users having the network adaptor not work and like and those
problems mostly looks like same issue I'm having.

-- 
Otavio Salvador                  O.S. Systems
E-mail: otavio@ossystems.com.br  http://www.ossystems.com.br
Mobile: +55 53 9981-7854         http://projetos.ossystems.com.br

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: Vortex86SX: only works with irqpoll
  2009-11-24  0:01       ` Otavio Salvador
  (?)
@ 2009-11-24  1:29       ` Robert Hancock
  2009-11-24 11:29         ` Otavio Salvador
  -1 siblings, 1 reply; 18+ messages in thread
From: Robert Hancock @ 2009-11-24  1:29 UTC (permalink / raw)
  To: Otavio Salvador; +Cc: Andrew Morton, linux-kernel, linux-acpi

On 11/23/2009 06:01 PM, Otavio Salvador wrote:
> Hello,
>
> On Mon, Nov 23, 2009 at 9:31 PM, Robert Hancock<hancockrwd@gmail.com>  wrote:
>> On 11/23/2009 03:40 PM, Andrew Morton wrote:
>>>> [    0.000000] ACPI Error: A valid RSDP was not found
>>>> (20090903/tbxfroot-219)
>>>
>>> No ACPI.
>>>
>>> Please raise a report against acpi_bios@kernel-bugs.osdl.org at
>>> bugzilla.kernel.org, thanks.
>>
>> I believe that just means the machine doesn't support ACPI at all..
>
> Yes; same as me.
>
> Andrew should I report it anyway?
>
>  From Alan message I understand that he believes it is a firmware
> issue. I tried (without success) to contact DM&P about it asking for a
> newer BIOS but nothing yet.
>
> If I could workaround it, it would be nice since it could avoid issues
> for users of those devices. I did research on Internet and found a lot
> of users having the network adaptor not work and like and those
> problems mostly looks like same issue I'm having.

Looking at the BIOS manual on their web site:

ftp://download@ftp.dmp.com.tw/vortex86sx/Vortex86SX_BIOS_Manual.pdf

you can try toggling a few of the options: Try switching OnBoard IDE 
Operate Mode between Legacy Mode and Native Mode. If the kernel and the 
actual device disagree here, that could cause IRQ delivery problems. You 
can also try playing with the "Plug & Play OS" setting.

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: Vortex86SX: only works with irqpoll
  2009-11-24  0:01       ` Otavio Salvador
  (?)
  (?)
@ 2009-11-24  1:56       ` Len Brown
  -1 siblings, 0 replies; 18+ messages in thread
From: Len Brown @ 2009-11-24  1:56 UTC (permalink / raw)
  To: Otavio Salvador; +Cc: Robert Hancock, Andrew Morton, linux-kernel, linux-acpi

[-- Attachment #1: Type: TEXT/PLAIN, Size: 492 bytes --]

> >>> [    0.000000] ACPI Error: A valid RSDP was not found

Are there any BIOS SETUP options for enabling/disabling ACPI?

Does any other version of Linux, or any other OS find ACPI support?
does "acpidump" run as root output anything?

I couldn't follow your link to the BIOS manual, but if there
are some docs on this system that could tell us what the
hardware is and if it is supposed to suport ACPI or not,
that would be a clue.

thanks,
-Len Brown, Intel Open Source Technology Center

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: Vortex86SX: only works with irqpoll
  2009-11-19 21:11 Vortex86SX: only works with irqpoll Otavio Salvador
  2009-11-20 14:55 ` Alan Cox
  2009-11-23 21:40 ` Andrew Morton
@ 2009-11-24  9:32 ` Juergen Beisert
  2009-11-24 11:31   ` Otavio Salvador
  2 siblings, 1 reply; 18+ messages in thread
From: Juergen Beisert @ 2009-11-24  9:32 UTC (permalink / raw)
  To: linux-kernel; +Cc: Otavio Salvador

[-- Attachment #1: Type: text/plain, Size: 873 bytes --]

On Donnerstag, 19. November 2009, Otavio Salvador wrote:
> I got this machine working booting it with "irqpoll" parameter however
> it drops the performance a lot and I'd like to try to fix the root
> problem of it.
>
> Without 'irqpoll' the disk and network adaptor doesn't work.

What kernel revision do you are using?

We are using a Vortex86DX here and it works as expected. But I do not know the 
differences in the SoCs of Vortex86SX and Vortex86DX (okay, SX lacks the 
floating point unit). Find our dmesg output attached. Maybe it could help.

jbe

-- 
Pengutronix e.K.                              | Juergen Beisert             |
Linux Solutions for Science and Industry      | Phone: +49-8766-939 228     |
Vertretung Sued/Muenchen, Germany             | Fax:   +49-5121-206917-5555 |
Amtsgericht Hildesheim, HRA 2686              | http://www.pengutronix.de/  |

[-- Attachment #2: Vortex86DX.dmsg --]
[-- Type: text/plain, Size: 9271 bytes --]

Linux version 2.6.31.2 (mol@octopus) (gcc version 4.3.2 (OSELAS.Toolchain-1.99.3) ) #1 PREEMPT Wed Nov 11 23:54:42 CET 2009
KERNEL supported cpus:
  Intel GenuineIntel
  AMD AuthenticAMDs ext2fs, partition type 0x83
  NSC Geode by NSCage root=/dev/sda1 console=ttyS0,115200 vga=0x312 rootwait
  Cyrix CyrixInsteadetup=0x3000, size=0x1c1650]
  Centaur CentaurHauls
  Transmeta GenuineTMx86
  Transmeta TransmetaCPU
  UMC UMC UMC UMC
CPU: vendor_id 'Vortex86 SoC' unknown, using generic init.
CPU: Your system may be unstable.
BIOS-provided physical RAM map:
 BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
 BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)
 BIOS-e820: 00000000000e0000 - 0000000000100000 (reserved)
 BIOS-e820: 0000000000100000 - 0000000008000000 (usable)
 BIOS-e820: 00000000ff000000 - 0000000100000000 (reserved)
DMI not present or invalid.
last_pfn = 0x8000 max_arch_pfn = 0x100000
init_memory_mapping: 0000000000000000-0000000008000000
128MB LOWMEM available.
  mapped low ram: 0 - 08000000
  low ram: 0 - 08000000
  node 0 low ram: 00000000 - 08000000
  node 0 bootmap 00001000 - 00002000
(6 early reservations) ==> bootmem [0000000000 - 0008000000]
  #0 [0000000000 - 0000001000]   BIOS data page ==> [0000000000 - 0000001000]
  #1 [0000100000 - 000048b670]    TEXT DATA BSS ==> [0000100000 - 000048b670]
  #2 [000009fc00 - 0000100000]    BIOS reserved ==> [000009fc00 - 0000100000]
  #3 [000048c000 - 000048e000]              BRK ==> [000048c000 - 000048e000]
  #4 [0000007000 - 0000025000]          PGTABLE ==> [0000007000 - 0000025000]
  #5 [0000001000 - 0000002000]          BOOTMAP ==> [0000001000 - 0000002000]
Zone PFN ranges:
  DMA      0x00000000 -> 0x00001000
  Normal   0x00001000 -> 0x00008000
Movable zone start PFN for each node
early_node_map[2] active PFN ranges
    0: 0x00000000 -> 0x0000009f
    0: 0x00000100 -> 0x00008000
Allocating PCI resources starting at 8000000 (gap: 8000000:f7000000)
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 32415
Kernel command line: root=/dev/sda1 console=ttyS0,115200 vga=0x312 rootwait
PID hash table entries: 512 (order: 9, 2048 bytes)
Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
Initializing CPU#0
Memory: 125640k/131072k available (2483k kernel code, 4884k reserved, 825k data, 204k init, 0k highmem)
virtual kernel memory layout:
    fixmap  : 0xfffe5000 - 0xfffff000   ( 104 kB)
    vmalloc : 0xc8800000 - 0xfffe3000   ( 887 MB)
    lowmem  : 0xc0000000 - 0xc8000000   ( 128 MB)
      .init : 0xc043c000 - 0xc046f000   ( 204 kB)
      .data : 0xc036ce9d - 0xc043b69c   ( 825 kB)
      .text : 0xc0100000 - 0xc036ce9d   (2483 kB)
Checking if this processor honours the WP bit even in supervisor mode...Ok.
Preemptible RCU implementation.
NR_IRQS:16
Fast TSC calibration using PIT
Detected 800.057 MHz processor.
Console: colour dummy device 80x25
console [ttyS0] enabled
Calibrating delay loop (skipped), value calculated using timer frequency.. 1600.11 BogoMIPS (lpj=8000570)
Mount-cache hash table entries: 512
Performance Counters: CPU: Vortex86 SoC 05/02 stepping 02
Checking 'hlt' instruction... OK.
NET: Registered protocol family 16
PCI: PCI BIOS revision 3.00 entry at 0xf0031, last bus=0
PCI: Using configuration type 1 for base access
bio: create slab <bio-0> at 0
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
PCI: Probing PCI hardware
pci 0000:00:07.0: default IRQ router [17f3:6031]
pci 0000:00:0a.0: BAR 0: address space collision on of device [0x0e2000-0x0e2fff]
pci 0000:00:0a.0: BAR 0: can't allocate resource
pci 0000:00:0a.1: BAR 0: address space collision on of device [0x0e3000-0x0e30ff]
pci 0000:00:0a.1: BAR 0: can't allocate resource
pci 0000:00:0b.0: BAR 0: address space collision on of device [0x0e0000-0x0e0fff]
pci 0000:00:0b.0: BAR 0: can't allocate resource
pci 0000:00:0b.1: BAR 0: address space collision on of device [0x0e1000-0x0e10ff]
pci 0000:00:0b.1: BAR 0: can't allocate resource
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 4096 (order: 3, 32768 bytes)
TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
TCP: Hash tables configured (established 4096 bind 4096)
TCP reno registered
NET: Registered protocol family 1
platform rtc_cmos: registered platform RTC device (no PNP device found)
msgmni has been set to 245
alg: No test for stdrng (krng)
io scheduler noop registered (default)
vesafb: framebuffer at 0xf8000000, mapped to 0xc8880000, using 2400k, total 65472k
vesafb: mode is 640x480x32, linelength=2560, pages=5
vesafb: protected mode interface info at c000:791e
vesafb: pmi: set display start = c00c7958, set palette = c00c79ac
vesafb: scrolling: redraw
vesafb: Truecolor: size=8:8:8:8, shift=24:16:8:0
fb0: VESA VGA frame buffer device
Serial: 8250/16550 driver, 8 ports, IRQ sharing enabled
serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
serial8250: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
serial8250: ttyS2 at I/O 0x3e8 (irq = 4) is a 16550A
serial8250: ttyS3 at I/O 0x2e8 (irq = 3) is a 16550A
<6>r6040: RDC R6040 NAPI net driver,version 0.24 (08Jul2009)
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
ehci_hcd 0000:00:0a.1: EHCI Host Controller
ehci_hcd 0000:00:0a.1: new USB bus registered, assigned bus number 1
ehci_hcd 0000:00:0a.1: irq 9, io mem 0x08002000
ehci_hcd 0000:00:0a.1: USB 2.0 started, EHCI 1.00
usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
usb usb1: Product: EHCI Host Controller
usb usb1: Manufacturer: Linux 2.6.31.2 ehci_hcd
usb usb1: SerialNumber: 0000:00:0a.1
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 2 ports detected
ehci_hcd 0000:00:0b.1: EHCI Host Controller
ehci_hcd 0000:00:0b.1: new USB bus registered, assigned bus number 2
ehci_hcd 0000:00:0b.1: irq 10, io mem 0x08002100
ehci_hcd 0000:00:0b.1: USB 2.0 started, EHCI 1.00
usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
usb usb2: Product: EHCI Host Controller
usb usb2: Manufacturer: Linux 2.6.31.2 ehci_hcd
usb usb2: SerialNumber: 0000:00:0b.1
usb usb2: configuration #1 chosen from 1 choice
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 2 ports detected
ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
ohci_hcd 0000:00:0a.0: OHCI Host Controller
ohci_hcd 0000:00:0a.0: new USB bus registered, assigned bus number 3
ohci_hcd 0000:00:0a.0: irq 15, io mem 0x08000000
usb usb3: New USB device found, idVendor=1d6b, idProduct=0001
usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
usb usb3: Product: OHCI Host Controller
usb usb3: Manufacturer: Linux 2.6.31.2 ohci_hcd
usb usb3: SerialNumber: 0000:00:0a.0
usb usb3: configuration #1 chosen from 1 choice
hub 3-0:1.0: USB hub found
hub 3-0:1.0: 2 ports detected
ohci_hcd 0000:00:0b.0: OHCI Host Controller
ohci_hcd 0000:00:0b.0: new USB bus registered, assigned bus number 4
ohci_hcd 0000:00:0b.0: irq 11, io mem 0x08001000
usb usb4: New USB device found, idVendor=1d6b, idProduct=0001
usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
usb usb4: Product: OHCI Host Controller
usb usb4: Manufacturer: Linux 2.6.31.2 ohci_hcd
usb usb4: SerialNumber: 0000:00:0b.0
usb 1-1: new high speed USB device using ehci_hcd and address 2
usb usb4: configuration #1 chosen from 1 choice
hub 4-0:1.0: USB hub found
hub 4-0:1.0: 2 ports detected
Initializing USB Mass Storage driver...
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
PNP: No PS/2 controller found. Probing ports directly.
usb 1-1: New USB device found, idVendor=090c, idProduct=1000
usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
usb 1-1: Product: USB DISK
usb 1-1: Manufacturer: SMI Corporation
usb 1-1: SerialNumber: AA00000000002486
usb 1-1: configuration #1 chosen from 1 choice
scsi0 : SCSI emulation for USB Mass Storage devices
serio: i8042 KBD port at 0x60,0x64 irq 1
mice: PS/2 mouse device common for all mice
rtc_cmos rtc_cmos: rtc core: registered rtc_cmos as rtc0
rtc0: alarms up to one day, 114 bytes nvram
cpuidle: using governor ladder
cpuidle: using governor menu
TCP cubic registered
NET: Registered protocol family 10
IPv6 over IPv4 tunneling driver
NET: Registered protocol family 17
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
rtc_cmos rtc_cmos: setting system clock to 2009-11-19 15:08:27 UTC (1258643307)
Waiting for root device /dev/sda1...
scsi 0:0:0:0: Direct-Access     SMI      USB DISK         1100 PQ: 0 ANSI: 0 CCS
sd 0:0:0:0: [sda] 1981440 512-byte logical blocks: (1.01 GB/967 MiB)
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Assuming drive cache: write through
sd 0:0:0:0: [sda] Assuming drive cache: write through
 sda: sda1 sda2
sd 0:0:0:0: [sda] Assuming drive cache: write through
sd 0:0:0:0: [sda] Attached SCSI disk
VFS: Mounted root (ext2 filesystem) readonly on device 8:1.
Freeing unused kernel memory: 204k freed

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: Vortex86SX: only works with irqpoll
  2009-11-24  1:29       ` Robert Hancock
@ 2009-11-24 11:29         ` Otavio Salvador
  2009-11-24 23:42           ` Robert Hancock
  0 siblings, 1 reply; 18+ messages in thread
From: Otavio Salvador @ 2009-11-24 11:29 UTC (permalink / raw)
  To: Robert Hancock; +Cc: Andrew Morton, linux-kernel, linux-acpi

Hello Robert,

On Mon, Nov 23, 2009 at 11:29 PM, Robert Hancock <hancockrwd@gmail.com> wrote:
> Looking at the BIOS manual on their web site:
>
> ftp://download@ftp.dmp.com.tw/vortex86sx/Vortex86SX_BIOS_Manual.pdf
>
> you can try toggling a few of the options: Try switching OnBoard IDE Operate
> Mode between Legacy Mode and Native Mode. If the kernel and the actual
> device disagree here, that could cause IRQ delivery problems. You can also
> try playing with the "Plug & Play OS" setting.

The machine with me has no "OnBoard IDE Operate Mode" option. "Plug &
Play OS" has been tried with "Yes" and "No".

If the kernel and the actual device disagree, could it  also "break"
the ethernet adaptor? This also doesn't work.

-- 
Otavio Salvador                  O.S. Systems
E-mail: otavio@ossystems.com.br  http://www.ossystems.com.br
Mobile: +55 53 9981-7854         http://projetos.ossystems.com.br

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: Vortex86SX: only works with irqpoll
  2009-11-24  9:32 ` Juergen Beisert
@ 2009-11-24 11:31   ` Otavio Salvador
  2009-11-24 11:55     ` Otavio Salvador
  0 siblings, 1 reply; 18+ messages in thread
From: Otavio Salvador @ 2009-11-24 11:31 UTC (permalink / raw)
  To: Juergen Beisert; +Cc: linux-kernel

Hello Juergen,

On Tue, Nov 24, 2009 at 7:32 AM, Juergen Beisert <jbe@pengutronix.de> wrote:
> On Donnerstag, 19. November 2009, Otavio Salvador wrote:
>> I got this machine working booting it with "irqpoll" parameter however
>> it drops the performance a lot and I'd like to try to fix the root
>> problem of it.
>>
>> Without 'irqpoll' the disk and network adaptor doesn't work.
>
> What kernel revision do you are using?

I tested it with 2.6.31 and 2.6.32-rc7.

> We are using a Vortex86DX here and it works as expected. But I do not know the
> differences in the SoCs of Vortex86SX and Vortex86DX (okay, SX lacks the
> floating point unit). Find our dmesg output attached. Maybe it could help.

I'll take a look on the dmesg output and see if I see something interesting :-)

-- 
Otavio Salvador                  O.S. Systems
E-mail: otavio@ossystems.com.br  http://www.ossystems.com.br
Mobile: +55 53 9981-7854         http://projetos.ossystems.com.br

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: Vortex86SX: only works with irqpoll
  2009-11-24 11:31   ` Otavio Salvador
@ 2009-11-24 11:55     ` Otavio Salvador
  2009-11-24 12:41       ` Juergen Beisert
  2009-11-24 12:51       ` Juergen Beisert
  0 siblings, 2 replies; 18+ messages in thread
From: Otavio Salvador @ 2009-11-24 11:55 UTC (permalink / raw)
  To: Juergen Beisert; +Cc: linux-kernel

Hello Juergen,

On Tue, Nov 24, 2009 at 9:31 AM, Otavio Salvador
<otavio@ossystems.com.br> wrote:
> I'll take a look on the dmesg output and see if I see something interesting :-)

In fact I did find some interesting issues. First:

PCI: Probing PCI hardware
pci 0000:00:07.0: default IRQ router [17f3:6031]
pci 0000:00:0a.0: BAR 0: address space collision on of device
[0x0e2000-0x0e2fff]
pci 0000:00:0a.0: BAR 0: can't allocate resource
pci 0000:00:0a.1: BAR 0: address space collision on of device
[0x0e3000-0x0e30ff]
pci 0000:00:0a.1: BAR 0: can't allocate resource
pci 0000:00:0b.0: BAR 0: address space collision on of device
[0x0e0000-0x0e0fff]
pci 0000:00:0b.0: BAR 0: can't allocate resource
pci 0000:00:0b.1: BAR 0: address space collision on of device
[0x0e1000-0x0e10ff]
pci 0000:00:0b.1: BAR 0: can't allocate resource
NET: Registered protocol family 2

This is the same collision I have. Another interesting issue is that
your disk is using the USB bus while mine uses IT821x.

Is your network working? mine does not (inside of Linux but does for
tftp booting).

-- 
Otavio Salvador                  O.S. Systems
E-mail: otavio@ossystems.com.br  http://www.ossystems.com.br
Mobile: +55 53 9981-7854         http://projetos.ossystems.com.br

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: Vortex86SX: only works with irqpoll
  2009-11-24 11:55     ` Otavio Salvador
@ 2009-11-24 12:41       ` Juergen Beisert
  2009-11-24 12:51       ` Juergen Beisert
  1 sibling, 0 replies; 18+ messages in thread
From: Juergen Beisert @ 2009-11-24 12:41 UTC (permalink / raw)
  To: linux-kernel; +Cc: Otavio Salvador

On Dienstag, 24. November 2009, Otavio Salvador wrote:
> Hello Juergen,
>
> On Tue, Nov 24, 2009 at 9:31 AM, Otavio Salvador
>
> <otavio@ossystems.com.br> wrote:
> > I'll take a look on the dmesg output and see if I see something
> > interesting :-)
>
> In fact I did find some interesting issues. First:
>
> PCI: Probing PCI hardware
> pci 0000:00:07.0: default IRQ router [17f3:6031]
> pci 0000:00:0a.0: BAR 0: address space collision on of device
> [0x0e2000-0x0e2fff]
> pci 0000:00:0a.0: BAR 0: can't allocate resource
> pci 0000:00:0a.1: BAR 0: address space collision on of device
> [0x0e3000-0x0e30ff]
> pci 0000:00:0a.1: BAR 0: can't allocate resource
> pci 0000:00:0b.0: BAR 0: address space collision on of device
> [0x0e0000-0x0e0fff]
> pci 0000:00:0b.0: BAR 0: can't allocate resource
> pci 0000:00:0b.1: BAR 0: address space collision on of device
> [0x0e1000-0x0e10ff]
> pci 0000:00:0b.1: BAR 0: can't allocate resource
> NET: Registered protocol family 2
>
> This is the same collision I have. Another interesting issue is that
> your disk is using the USB bus while mine uses IT821x.

Yes, our system starts from a fixed soldered USB based disk.

> Is your network working? mine does not (inside of Linux but does for
> tftp booting).

Based on a "RDC R6040 Fast Ethernet Adapter" and the kernel states:

[...]
r6040: RDC R6040 NAPI net driver,version 0.24 (08Jul2009)
[...]

Runs with NFS and without any 'irqpoll' trick. (here the modul: 
http://www.ssv-comm.de/en/products/esom2586.php)

jbe

-- 
Pengutronix e.K.                              | Juergen Beisert             |
Linux Solutions for Science and Industry      | Phone: +49-8766-939 228     |
Vertretung Sued/Muenchen, Germany             | Fax:   +49-5121-206917-5555 |
Amtsgericht Hildesheim, HRA 2686              | http://www.pengutronix.de/  |

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: Vortex86SX: only works with irqpoll
  2009-11-24 11:55     ` Otavio Salvador
  2009-11-24 12:41       ` Juergen Beisert
@ 2009-11-24 12:51       ` Juergen Beisert
  2009-11-27 17:38         ` Otavio Salvador
  2009-11-27 17:38         ` Otavio Salvador
  1 sibling, 2 replies; 18+ messages in thread
From: Juergen Beisert @ 2009-11-24 12:51 UTC (permalink / raw)
  To: linux-kernel; +Cc: Otavio Salvador

Otavio Salvador wrote:
> On Tue, Nov 24, 2009 at 9:31 AM, Otavio Salvador
>
> <otavio@ossystems.com.br> wrote:
> > I'll take a look on the dmesg output and see if I see something
> > interesting :-)
>
> In fact I did find some interesting issues. First:
> [...]

Our kernel states:
CPU: Vortex86 SoC 05/02 stepping 02

Your kernel states:
CPU: Cyrix Cx486SLC

BTW: Try to enable the DEBUG macro in "arch/x86/include/asm/pci_x86.h" and 
boot again this kernel. On earlier kernels this increases the verbosity of 
the kernel when it tries to detect the IRQ routing.

jbe

-- 
Pengutronix e.K.                              | Juergen Beisert             |
Linux Solutions for Science and Industry      | Phone: +49-8766-939 228     |
Vertretung Sued/Muenchen, Germany             | Fax:   +49-5121-206917-5555 |
Amtsgericht Hildesheim, HRA 2686              | http://www.pengutronix.de/  |

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: Vortex86SX: only works with irqpoll
  2009-11-24 11:29         ` Otavio Salvador
@ 2009-11-24 23:42           ` Robert Hancock
  2009-11-27 16:30             ` Otavio Salvador
  0 siblings, 1 reply; 18+ messages in thread
From: Robert Hancock @ 2009-11-24 23:42 UTC (permalink / raw)
  To: Otavio Salvador; +Cc: Andrew Morton, linux-kernel, linux-acpi

On 11/24/2009 05:29 AM, Otavio Salvador wrote:
> Hello Robert,
>
> On Mon, Nov 23, 2009 at 11:29 PM, Robert Hancock<hancockrwd@gmail.com>  wrote:
>> Looking at the BIOS manual on their web site:
>>
>> ftp://download@ftp.dmp.com.tw/vortex86sx/Vortex86SX_BIOS_Manual.pdf
>>
>> you can try toggling a few of the options: Try switching OnBoard IDE Operate
>> Mode between Legacy Mode and Native Mode. If the kernel and the actual
>> device disagree here, that could cause IRQ delivery problems. You can also
>> try playing with the "Plug&  Play OS" setting.
>
> The machine with me has no "OnBoard IDE Operate Mode" option. "Plug&
> Play OS" has been tried with "Yes" and "No".
>
> If the kernel and the actual device disagree, could it  also "break"
> the ethernet adaptor? This also doesn't work.

Well, the ethernet adapter would likely be a different problem. Do you 
get any interrupts showing up in /proc/interrupts for either the disk or 
the network adapter?

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: Vortex86SX: only works with irqpoll
  2009-11-24 23:42           ` Robert Hancock
@ 2009-11-27 16:30             ` Otavio Salvador
  0 siblings, 0 replies; 18+ messages in thread
From: Otavio Salvador @ 2009-11-27 16:30 UTC (permalink / raw)
  To: Robert Hancock; +Cc: Andrew Morton, linux-kernel, linux-acpi

[-- Attachment #1: Type: text/plain, Size: 761 bytes --]

Hello,

On Tue, Nov 24, 2009 at 9:42 PM, Robert Hancock <hancockrwd@gmail.com> wrote:
> On 11/24/2009 05:29 AM, Otavio Salvador wrote:
> Well, the ethernet adapter would likely be a different problem. Do you get
> any interrupts showing up in /proc/interrupts for either the disk or the
> network adapter?

I guess I did the test with a mangled configuration file and then the
network didn't work. Now I tested it again and it has work fine.

What still fails is the disk. It still doesn't work et all.

I'm sending the /proc/interrupts. It got IRQ 14 for the disk adaptor.

Cheers,

-- 
Otavio Salvador                  O.S. Systems
E-mail: otavio@ossystems.com.br  http://www.ossystems.com.br
Mobile: +55 53 9981-7854         http://projetos.ossystems.com.br

[-- Attachment #2: interrupts --]
[-- Type: application/octet-stream, Size: 686 bytes --]

           CPU0       
  0:      49279    XT-PIC-XT        timer
  1:        620    XT-PIC-XT        i8042
  2:          0    XT-PIC-XT        cascade
  5:          0    XT-PIC-XT        ohci_hcd:usb3
  9:        182    XT-PIC-XT        ehci_hcd:usb1
 10:          2    XT-PIC-XT        ehci_hcd:usb2
 11:         26    XT-PIC-XT        ohci_hcd:usb4
 12:          4    XT-PIC-XT        i8042
 14:          0    XT-PIC-XT        pata_it821x
NMI:          0   Non-maskable interrupts
LOC:          0   Local timer interrupts
SPU:          0   Spurious interrupts
CNT:          0   Performance counter interrupts
PND:          0   Performance pending work
ERR:          0
MIS:          0

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: Vortex86SX: only works with irqpoll
  2009-11-24 12:51       ` Juergen Beisert
  2009-11-27 17:38         ` Otavio Salvador
@ 2009-11-27 17:38         ` Otavio Salvador
  1 sibling, 0 replies; 18+ messages in thread
From: Otavio Salvador @ 2009-11-27 17:38 UTC (permalink / raw)
  To: Juergen Beisert; +Cc: linux-kernel

[-- Attachment #1: Type: text/plain, Size: 908 bytes --]

Hello,

On Tue, Nov 24, 2009 at 10:51 AM, Juergen Beisert <jbe@pengutronix.de> wrote:
> Otavio Salvador wrote:
>> On Tue, Nov 24, 2009 at 9:31 AM, Otavio Salvador
>>
>> <otavio@ossystems.com.br> wrote:
>> > I'll take a look on the dmesg output and see if I see something
>> > interesting :-)
>>
>> In fact I did find some interesting issues. First:
>> [...]
>
> Our kernel states:
> CPU: Vortex86 SoC 05/02 stepping 02
>
> Your kernel states:
> CPU: Cyrix Cx486SLC
>
> BTW: Try to enable the DEBUG macro in "arch/x86/include/asm/pci_x86.h" and
> boot again this kernel. On earlier kernels this increases the verbosity of
> the kernel when it tries to detect the IRQ routing.

So I did. Here goes the dmesg with the debug enabled.

-- 
Otavio Salvador                  O.S. Systems
E-mail: otavio@ossystems.com.br  http://www.ossystems.com.br
Mobile: +55 53 9981-7854         http://projetos.ossystems.com.br

[-- Attachment #2: dmesg.out --]
[-- Type: application/octet-stream, Size: 10699 bytes --]

Linux version 2.6.31.6 (otavio@neumann) (gcc version 4.3.4 (Debian 4.3.4-6) ) #3 Fri Nov 27 15:12:51 BRST 2009
KERNEL supported cpus:
  Intel GenuineIntel
  AMD AuthenticAMD
  NSC Geode by NSC
  Cyrix CyrixInstead
  Centaur CentaurHauls
  Transmeta GenuineTMx86
  Transmeta TransmetaCPU
  UMC UMC UMC UMC
BIOS-provided physical RAM map:
 BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
 BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)
 BIOS-e820: 00000000000e0000 - 0000000000100000 (reserved)
 BIOS-e820: 0000000000100000 - 0000000008000000 (usable)
 BIOS-e820: 00000000ff000000 - 0000000100000000 (reserved)
DMI not present or invalid.
last_pfn = 0x8000 max_arch_pfn = 0x100000
initial memory mapped : 0 - 00800000
init_memory_mapping: 0000000000000000-0000000008000000
 0000000000 - 0008000000 page 4k
kernel direct mapping tables up to 8000000 @ 7000-2a000
RAMDISK: 07cd1000 - 07fdfcff
ACPI Error: A valid RSDP was not found 20090521 tbxfroot-219
128MB LOWMEM available.
  mapped low ram: 0 - 08000000
  low ram: 0 - 08000000
  node 0 low ram: 00000000 - 08000000
  node 0 bootmap 00001000 - 00002000
(7 early reservations) ==> bootmem [0000000000 - 0008000000]
  #0 [0000000000 - 0000001000]   BIOS data page ==> [0000000000 - 0000001000]
  #1 [0000100000 - 00004660d8]    TEXT DATA BSS ==> [0000100000 - 00004660d8]
  #2 [0007cd1000 - 0007fdfcff]          RAMDISK ==> [0007cd1000 - 0007fdfcff]
  #3 [000009f800 - 0000100000]    BIOS reserved ==> [000009f800 - 0000100000]
  #4 [0000467000 - 0000469000]              BRK ==> [0000467000 - 0000469000]
  #5 [0000007000 - 0000025000]          PGTABLE ==> [0000007000 - 0000025000]
  #6 [0000001000 - 0000002000]          BOOTMAP ==> [0000001000 - 0000002000]
Zone PFN ranges:
  DMA      0x00000000 -> 0x00001000
  Normal   0x00001000 -> 0x00008000
Movable zone start PFN for each node
early_node_map[2] active PFN ranges
    0: 0x00000000 -> 0x0000009f
    0: 0x00000100 -> 0x00008000
On node 0 totalpages: 32671
free_area_init_node: node 0, pgdat c03c8b34, node_mem_map c1000000
  DMA zone: 32 pages used for memmap
  DMA zone: 0 pages reserved
  DMA zone: 3967 pages, LIFO batch:0
  Normal zone: 224 pages used for memmap
  Normal zone: 28448 pages, LIFO batch:7
Using APIC driver default
No local APIC present or hardware disabled
APIC: disable apic facility
nr_irqs_gsi: 16
Allocating PCI resources starting at 8000000 (gap: 8000000:f7000000)
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 32415
Kernel command line: initrd=installer imageserver=http://192.168.254.251/osii shell debug BOOT_IMAGE=kernel 
PID hash table entries: 512 (order: 9, 2048 bytes)
Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
Initializing CPU#0
Memory: 122672k/131072k available (2104k kernel code, 7868k reserved, 756k data, 252k init, 0k highmem)
virtual kernel memory layout:
    fixmap  : 0xfffa3000 - 0xfffff000   ( 368 kB)
    vmalloc : 0xc8800000 - 0xfffa1000   ( 887 MB)
    lowmem  : 0xc0000000 - 0xc8000000   ( 128 MB)
      .init : 0xc03cc000 - 0xc040b000   ( 252 kB)
      .data : 0xc030e081 - 0xc03cb318   ( 756 kB)
      .text : 0xc0100000 - 0xc030e081   (2104 kB)
Checking if this processor honours the WP bit even in supervisor mode...Ok.
NR_IRQS:288
Console: colour VGA+ 80x25
console [tty0] enabled
Calibrating delay loop... 99.32 BogoMIPS (lpj=496640)
Mount-cache hash table entries: 512
CPU: Cyrix Cx486SLC
Checking 'hlt' instruction... OK.
NET: Registered protocol family 16
PCI: Using configuration type 1 for base access
bio: create slab <bio-0> at 0
ACPI: Interpreter disabled.
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: Probing PCI hardware
PCI: Probing PCI hardware (bus 00)
pci 0000:00:03.0: reg 10 32bit mmio: [0xf8000000-0xfbffffff]
pci 0000:00:03.0: reg 14 32bit mmio: [0xfefc0000-0xfeffffff]
pci 0000:00:03.0: reg 18 io port: [0xef80-0xefff]
pci 0000:00:03.0: supports D1 D2
pci 0000:00:08.0: reg 10 io port: [0xee00-0xeeff]
pci 0000:00:08.0: reg 14 32bit mmio: [0xfefbb400-0xfefbb4ff]
pci 0000:00:0a.0: reg 10 32bit mmio: [0x0e2000-0x0e2fff]
pci 0000:00:0a.1: reg 10 32bit mmio: [0x0e3000-0x0e30ff]
pci 0000:00:0b.0: reg 10 32bit mmio: [0x0e0000-0x0e0fff]
pci 0000:00:0b.1: reg 10 32bit mmio: [0x0e1000-0x0e10ff]
pci 0000:00:0c.0: reg 10 io port: [0x1f0-0x1f7]
pci 0000:00:0c.0: reg 14 io port: [0x3f4-0x3f7]
pci 0000:00:0c.0: reg 18 io port: [0x170-0x177]
pci 0000:00:0c.0: reg 1c io port: [0x374-0x377]
pci 0000:00:0c.0: reg 20 io port: [0xfff0-0xffff]
pci 0000:00:0c.0: reg 30 32bit mmio: [0x000000-0x01ffff]
PCI: IRQ init
PCI: Interrupt Routing Table found at 0xc00f3270
00:08 slot=00 0:05/def8 1:00/0000 2:00/0000 3:00/0000
00:0a slot=00 0:07/def8 1:08/def8 2:00/0000 3:00/0000
00:0b slot=00 0:09/def8 1:0a/def8 2:00/0000 3:00/0000
00:0c slot=00 0:0b/def8 1:00/0000 2:00/0000 3:00/0000
00:0f slot=00 0:0d/def8 1:00/0000 2:00/0000 3:00/0000
00:01 slot=01 0:01/def8 1:02/def8 2:03/def8 3:04/def8
00:02 slot=02 0:02/def8 1:03/def8 2:04/def8 3:01/def8
00:03 slot=03 0:03/def8 1:04/def8 2:01/def8 3:02/def8
00:04 slot=04 0:04/def8 1:01/def8 2:02/def8 3:03/def8
00:05 slot=05 0:01/def8 1:02/def8 2:03/def8 3:04/def8
00:06 slot=06 0:02/def8 1:03/def8 2:04/def8 3:01/def8
PCI: Attempting to find IRQ router for [17f3:6031]
pci 0000:00:07.0: default IRQ router [17f3:6031]
PCI: IRQ fixup
PCI: Allocating resources
pci 0000:00:0a.0: BAR 0: address space collision on of device [0x0e2000-0x0e2fff]
pci 0000:00:0a.0: BAR 0: can't allocate resource
pci 0000:00:0a.1: BAR 0: address space collision on of device [0x0e3000-0x0e30ff]
pci 0000:00:0a.1: BAR 0: can't allocate resource
pci 0000:00:0b.0: BAR 0: address space collision on of device [0x0e0000-0x0e0fff]
pci 0000:00:0b.0: BAR 0: can't allocate resource
pci 0000:00:0b.1: BAR 0: address space collision on of device [0x0e1000-0x0e10ff]
pci 0000:00:0b.1: BAR 0: can't allocate resource
pnp: PnP ACPI: disabled
pci_bus 0000:00: resource 0 io:  [0x00-0xffff]
pci_bus 0000:00: resource 1 mem: [0x000000-0xffffffff]
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 4096 (order: 3, 32768 bytes)
TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
TCP: Hash tables configured (established 4096 bind 4096)
TCP reno registered
NET: Registered protocol family 1
Trying to unpack rootfs image as initramfs...
Freeing initrd memory: 3131k freed
platform rtc_cmos: registered platform RTC device (no PNP device found)
squashfs: version 4.0 (2009/01/31) Phillip Lougher
aufs 2-31
msgmni has been set to 245
alg: No test for stdrng (krng)
io scheduler noop registered
io scheduler deadline registered (default)
pci 0000:00:03.0: Boot video device
lp: driver loaded but no devices found
Generic RTC Driver v1.07
Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
brd: module loaded
loop: module loaded
scsi0 : pata_it821x
scsi1 : pata_it821x
ata1: PATA max MWDMA2 cmd 0x1f0 ctl 0x3f4 bmdma 0xfff0 irq 14
ata2: PATA max MWDMA2 cmd 0x170 ctl 0x374 bmdma 0xfff8 irq 14
r6040: RDC R6040 NAPI net driver,version 0.24 (08Jul2009)
PPP generic driver version 2.4.2
PPP Deflate Compression module registered
console [netcon0] enabled
netconsole: network logging started
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
ehci_hcd 0000:00:0a.1: EHCI Host Controller
ehci_hcd 0000:00:0a.1: new USB bus registered, assigned bus number 1
ehci_hcd 0000:00:0a.1: irq 9, io mem 0x08022000
ehci_hcd 0000:00:0a.1: 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: 2 ports detected
ehci_hcd 0000:00:0b.1: EHCI Host Controller
ehci_hcd 0000:00:0b.1: new USB bus registered, assigned bus number 2
ehci_hcd 0000:00:0b.1: irq 10, io mem 0x08022100
ehci_hcd 0000:00:0b.1: 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: 2 ports detected
ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
ohci_hcd 0000:00:0a.0: OHCI Host Controller
ohci_hcd 0000:00:0a.0: new USB bus registered, assigned bus number 3
ohci_hcd 0000:00:0a.0: irq 5, io mem 0x08020000
usb usb3: configuration #1 chosen from 1 choice
hub 3-0:1.0: USB hub found
hub 3-0:1.0: 2 ports detected
ohci_hcd 0000:00:0b.0: OHCI Host Controller
ohci_hcd 0000:00:0b.0: new USB bus registered, assigned bus number 4
ohci_hcd 0000:00:0b.0: irq 11, io mem 0x08021000
usb usb4: configuration #1 chosen from 1 choice
hub 4-0:1.0: USB hub found
hub 4-0:1.0: 2 ports detected
usbcore: registered new interface driver cdc_acm
cdc_acm: v0.26:USB Abstract Control Model driver for USB modems and ISDN adapters
usbcore: registered new interface driver usblp
Initializing USB Mass Storage driver...
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
usbcore: registered new interface driver usbserial
USB Serial support registered for generic
usbcore: registered new interface driver usbserial_generic
usbserial: USB Serial Driver core
USB Serial support registered for GSM modem (1-port)
usbcore: registered new interface driver option
option: v0.7.2:USB Driver for GSM modems
USB Serial support registered for pl2303
usbcore: registered new interface driver pl2303
pl2303: Prolific PL2303 USB to serial adaptor driver
PNP: No PS/2 controller found. Probing ports directly.
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
cpuidle: using governor ladder
cpuidle: using governor menu
usbcore: registered new interface driver usbhid
usbhid: v2.6:USB HID core driver
Advanced Linux Sound Architecture Driver Version 1.0.20.
input: AT Translated Set 2 keyboard as /class/input/input0
ALSA device list:
  No soundcards found.
TCP cubic registered
NET: Registered protocol family 17
Using IPI Shortcut mode
usb 4-1: new low speed USB device using ohci_hcd and address 2
usb 4-1: configuration #1 chosen from 1 choice
input: PIXART USB OPTICAL MOUSE as /class/input/input1
generic-usb 0003:093A:2510.0001: input: USB HID v1.10 Mouse [PIXART USB OPTICAL MOUSE] on usb-0000:00:0b.0-1/input0
ata2.00: qc timeout (cmd 0x91)
ata2.00: failed to IDENTIFY (INIT_DEV_PARAMS failed, err_mask=0x4)
ata2.00: qc timeout (cmd 0x91)
ata2.00: failed to IDENTIFY (INIT_DEV_PARAMS failed, err_mask=0x4)
ata2.00: qc timeout (cmd 0x91)
ata2.00: failed to IDENTIFY (INIT_DEV_PARAMS failed, err_mask=0x4)
Freeing unused kernel memory: 252k freed
BFS CPU scheduler v0.310 by Con Kolivas.

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: Vortex86SX: only works with irqpoll
  2009-11-24 12:51       ` Juergen Beisert
@ 2009-11-27 17:38         ` Otavio Salvador
  2009-11-27 17:38         ` Otavio Salvador
  1 sibling, 0 replies; 18+ messages in thread
From: Otavio Salvador @ 2009-11-27 17:38 UTC (permalink / raw)
  To: Juergen Beisert; +Cc: linux-kernel

[-- Attachment #1: Type: text/plain, Size: 908 bytes --]

Hello,

On Tue, Nov 24, 2009 at 10:51 AM, Juergen Beisert <jbe@pengutronix.de> wrote:
> Otavio Salvador wrote:
>> On Tue, Nov 24, 2009 at 9:31 AM, Otavio Salvador
>>
>> <otavio@ossystems.com.br> wrote:
>> > I'll take a look on the dmesg output and see if I see something
>> > interesting :-)
>>
>> In fact I did find some interesting issues. First:
>> [...]
>
> Our kernel states:
> CPU: Vortex86 SoC 05/02 stepping 02
>
> Your kernel states:
> CPU: Cyrix Cx486SLC
>
> BTW: Try to enable the DEBUG macro in "arch/x86/include/asm/pci_x86.h" and
> boot again this kernel. On earlier kernels this increases the verbosity of
> the kernel when it tries to detect the IRQ routing.

So I did. Here goes the dmesg with the debug enabled.

-- 
Otavio Salvador                  O.S. Systems
E-mail: otavio@ossystems.com.br  http://www.ossystems.com.br
Mobile: +55 53 9981-7854         http://projetos.ossystems.com.br

[-- Attachment #2: dmesg.out --]
[-- Type: application/octet-stream, Size: 10699 bytes --]

Linux version 2.6.31.6 (otavio@neumann) (gcc version 4.3.4 (Debian 4.3.4-6) ) #3 Fri Nov 27 15:12:51 BRST 2009
KERNEL supported cpus:
  Intel GenuineIntel
  AMD AuthenticAMD
  NSC Geode by NSC
  Cyrix CyrixInstead
  Centaur CentaurHauls
  Transmeta GenuineTMx86
  Transmeta TransmetaCPU
  UMC UMC UMC UMC
BIOS-provided physical RAM map:
 BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
 BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)
 BIOS-e820: 00000000000e0000 - 0000000000100000 (reserved)
 BIOS-e820: 0000000000100000 - 0000000008000000 (usable)
 BIOS-e820: 00000000ff000000 - 0000000100000000 (reserved)
DMI not present or invalid.
last_pfn = 0x8000 max_arch_pfn = 0x100000
initial memory mapped : 0 - 00800000
init_memory_mapping: 0000000000000000-0000000008000000
 0000000000 - 0008000000 page 4k
kernel direct mapping tables up to 8000000 @ 7000-2a000
RAMDISK: 07cd1000 - 07fdfcff
ACPI Error: A valid RSDP was not found 20090521 tbxfroot-219
128MB LOWMEM available.
  mapped low ram: 0 - 08000000
  low ram: 0 - 08000000
  node 0 low ram: 00000000 - 08000000
  node 0 bootmap 00001000 - 00002000
(7 early reservations) ==> bootmem [0000000000 - 0008000000]
  #0 [0000000000 - 0000001000]   BIOS data page ==> [0000000000 - 0000001000]
  #1 [0000100000 - 00004660d8]    TEXT DATA BSS ==> [0000100000 - 00004660d8]
  #2 [0007cd1000 - 0007fdfcff]          RAMDISK ==> [0007cd1000 - 0007fdfcff]
  #3 [000009f800 - 0000100000]    BIOS reserved ==> [000009f800 - 0000100000]
  #4 [0000467000 - 0000469000]              BRK ==> [0000467000 - 0000469000]
  #5 [0000007000 - 0000025000]          PGTABLE ==> [0000007000 - 0000025000]
  #6 [0000001000 - 0000002000]          BOOTMAP ==> [0000001000 - 0000002000]
Zone PFN ranges:
  DMA      0x00000000 -> 0x00001000
  Normal   0x00001000 -> 0x00008000
Movable zone start PFN for each node
early_node_map[2] active PFN ranges
    0: 0x00000000 -> 0x0000009f
    0: 0x00000100 -> 0x00008000
On node 0 totalpages: 32671
free_area_init_node: node 0, pgdat c03c8b34, node_mem_map c1000000
  DMA zone: 32 pages used for memmap
  DMA zone: 0 pages reserved
  DMA zone: 3967 pages, LIFO batch:0
  Normal zone: 224 pages used for memmap
  Normal zone: 28448 pages, LIFO batch:7
Using APIC driver default
No local APIC present or hardware disabled
APIC: disable apic facility
nr_irqs_gsi: 16
Allocating PCI resources starting at 8000000 (gap: 8000000:f7000000)
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 32415
Kernel command line: initrd=installer imageserver=http://192.168.254.251/osii shell debug BOOT_IMAGE=kernel 
PID hash table entries: 512 (order: 9, 2048 bytes)
Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
Initializing CPU#0
Memory: 122672k/131072k available (2104k kernel code, 7868k reserved, 756k data, 252k init, 0k highmem)
virtual kernel memory layout:
    fixmap  : 0xfffa3000 - 0xfffff000   ( 368 kB)
    vmalloc : 0xc8800000 - 0xfffa1000   ( 887 MB)
    lowmem  : 0xc0000000 - 0xc8000000   ( 128 MB)
      .init : 0xc03cc000 - 0xc040b000   ( 252 kB)
      .data : 0xc030e081 - 0xc03cb318   ( 756 kB)
      .text : 0xc0100000 - 0xc030e081   (2104 kB)
Checking if this processor honours the WP bit even in supervisor mode...Ok.
NR_IRQS:288
Console: colour VGA+ 80x25
console [tty0] enabled
Calibrating delay loop... 99.32 BogoMIPS (lpj=496640)
Mount-cache hash table entries: 512
CPU: Cyrix Cx486SLC
Checking 'hlt' instruction... OK.
NET: Registered protocol family 16
PCI: Using configuration type 1 for base access
bio: create slab <bio-0> at 0
ACPI: Interpreter disabled.
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: Probing PCI hardware
PCI: Probing PCI hardware (bus 00)
pci 0000:00:03.0: reg 10 32bit mmio: [0xf8000000-0xfbffffff]
pci 0000:00:03.0: reg 14 32bit mmio: [0xfefc0000-0xfeffffff]
pci 0000:00:03.0: reg 18 io port: [0xef80-0xefff]
pci 0000:00:03.0: supports D1 D2
pci 0000:00:08.0: reg 10 io port: [0xee00-0xeeff]
pci 0000:00:08.0: reg 14 32bit mmio: [0xfefbb400-0xfefbb4ff]
pci 0000:00:0a.0: reg 10 32bit mmio: [0x0e2000-0x0e2fff]
pci 0000:00:0a.1: reg 10 32bit mmio: [0x0e3000-0x0e30ff]
pci 0000:00:0b.0: reg 10 32bit mmio: [0x0e0000-0x0e0fff]
pci 0000:00:0b.1: reg 10 32bit mmio: [0x0e1000-0x0e10ff]
pci 0000:00:0c.0: reg 10 io port: [0x1f0-0x1f7]
pci 0000:00:0c.0: reg 14 io port: [0x3f4-0x3f7]
pci 0000:00:0c.0: reg 18 io port: [0x170-0x177]
pci 0000:00:0c.0: reg 1c io port: [0x374-0x377]
pci 0000:00:0c.0: reg 20 io port: [0xfff0-0xffff]
pci 0000:00:0c.0: reg 30 32bit mmio: [0x000000-0x01ffff]
PCI: IRQ init
PCI: Interrupt Routing Table found at 0xc00f3270
00:08 slot=00 0:05/def8 1:00/0000 2:00/0000 3:00/0000
00:0a slot=00 0:07/def8 1:08/def8 2:00/0000 3:00/0000
00:0b slot=00 0:09/def8 1:0a/def8 2:00/0000 3:00/0000
00:0c slot=00 0:0b/def8 1:00/0000 2:00/0000 3:00/0000
00:0f slot=00 0:0d/def8 1:00/0000 2:00/0000 3:00/0000
00:01 slot=01 0:01/def8 1:02/def8 2:03/def8 3:04/def8
00:02 slot=02 0:02/def8 1:03/def8 2:04/def8 3:01/def8
00:03 slot=03 0:03/def8 1:04/def8 2:01/def8 3:02/def8
00:04 slot=04 0:04/def8 1:01/def8 2:02/def8 3:03/def8
00:05 slot=05 0:01/def8 1:02/def8 2:03/def8 3:04/def8
00:06 slot=06 0:02/def8 1:03/def8 2:04/def8 3:01/def8
PCI: Attempting to find IRQ router for [17f3:6031]
pci 0000:00:07.0: default IRQ router [17f3:6031]
PCI: IRQ fixup
PCI: Allocating resources
pci 0000:00:0a.0: BAR 0: address space collision on of device [0x0e2000-0x0e2fff]
pci 0000:00:0a.0: BAR 0: can't allocate resource
pci 0000:00:0a.1: BAR 0: address space collision on of device [0x0e3000-0x0e30ff]
pci 0000:00:0a.1: BAR 0: can't allocate resource
pci 0000:00:0b.0: BAR 0: address space collision on of device [0x0e0000-0x0e0fff]
pci 0000:00:0b.0: BAR 0: can't allocate resource
pci 0000:00:0b.1: BAR 0: address space collision on of device [0x0e1000-0x0e10ff]
pci 0000:00:0b.1: BAR 0: can't allocate resource
pnp: PnP ACPI: disabled
pci_bus 0000:00: resource 0 io:  [0x00-0xffff]
pci_bus 0000:00: resource 1 mem: [0x000000-0xffffffff]
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 4096 (order: 3, 32768 bytes)
TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
TCP: Hash tables configured (established 4096 bind 4096)
TCP reno registered
NET: Registered protocol family 1
Trying to unpack rootfs image as initramfs...
Freeing initrd memory: 3131k freed
platform rtc_cmos: registered platform RTC device (no PNP device found)
squashfs: version 4.0 (2009/01/31) Phillip Lougher
aufs 2-31
msgmni has been set to 245
alg: No test for stdrng (krng)
io scheduler noop registered
io scheduler deadline registered (default)
pci 0000:00:03.0: Boot video device
lp: driver loaded but no devices found
Generic RTC Driver v1.07
Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
brd: module loaded
loop: module loaded
scsi0 : pata_it821x
scsi1 : pata_it821x
ata1: PATA max MWDMA2 cmd 0x1f0 ctl 0x3f4 bmdma 0xfff0 irq 14
ata2: PATA max MWDMA2 cmd 0x170 ctl 0x374 bmdma 0xfff8 irq 14
r6040: RDC R6040 NAPI net driver,version 0.24 (08Jul2009)
PPP generic driver version 2.4.2
PPP Deflate Compression module registered
console [netcon0] enabled
netconsole: network logging started
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
ehci_hcd 0000:00:0a.1: EHCI Host Controller
ehci_hcd 0000:00:0a.1: new USB bus registered, assigned bus number 1
ehci_hcd 0000:00:0a.1: irq 9, io mem 0x08022000
ehci_hcd 0000:00:0a.1: 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: 2 ports detected
ehci_hcd 0000:00:0b.1: EHCI Host Controller
ehci_hcd 0000:00:0b.1: new USB bus registered, assigned bus number 2
ehci_hcd 0000:00:0b.1: irq 10, io mem 0x08022100
ehci_hcd 0000:00:0b.1: 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: 2 ports detected
ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
ohci_hcd 0000:00:0a.0: OHCI Host Controller
ohci_hcd 0000:00:0a.0: new USB bus registered, assigned bus number 3
ohci_hcd 0000:00:0a.0: irq 5, io mem 0x08020000
usb usb3: configuration #1 chosen from 1 choice
hub 3-0:1.0: USB hub found
hub 3-0:1.0: 2 ports detected
ohci_hcd 0000:00:0b.0: OHCI Host Controller
ohci_hcd 0000:00:0b.0: new USB bus registered, assigned bus number 4
ohci_hcd 0000:00:0b.0: irq 11, io mem 0x08021000
usb usb4: configuration #1 chosen from 1 choice
hub 4-0:1.0: USB hub found
hub 4-0:1.0: 2 ports detected
usbcore: registered new interface driver cdc_acm
cdc_acm: v0.26:USB Abstract Control Model driver for USB modems and ISDN adapters
usbcore: registered new interface driver usblp
Initializing USB Mass Storage driver...
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
usbcore: registered new interface driver usbserial
USB Serial support registered for generic
usbcore: registered new interface driver usbserial_generic
usbserial: USB Serial Driver core
USB Serial support registered for GSM modem (1-port)
usbcore: registered new interface driver option
option: v0.7.2:USB Driver for GSM modems
USB Serial support registered for pl2303
usbcore: registered new interface driver pl2303
pl2303: Prolific PL2303 USB to serial adaptor driver
PNP: No PS/2 controller found. Probing ports directly.
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
cpuidle: using governor ladder
cpuidle: using governor menu
usbcore: registered new interface driver usbhid
usbhid: v2.6:USB HID core driver
Advanced Linux Sound Architecture Driver Version 1.0.20.
input: AT Translated Set 2 keyboard as /class/input/input0
ALSA device list:
  No soundcards found.
TCP cubic registered
NET: Registered protocol family 17
Using IPI Shortcut mode
usb 4-1: new low speed USB device using ohci_hcd and address 2
usb 4-1: configuration #1 chosen from 1 choice
input: PIXART USB OPTICAL MOUSE as /class/input/input1
generic-usb 0003:093A:2510.0001: input: USB HID v1.10 Mouse [PIXART USB OPTICAL MOUSE] on usb-0000:00:0b.0-1/input0
ata2.00: qc timeout (cmd 0x91)
ata2.00: failed to IDENTIFY (INIT_DEV_PARAMS failed, err_mask=0x4)
ata2.00: qc timeout (cmd 0x91)
ata2.00: failed to IDENTIFY (INIT_DEV_PARAMS failed, err_mask=0x4)
ata2.00: qc timeout (cmd 0x91)
ata2.00: failed to IDENTIFY (INIT_DEV_PARAMS failed, err_mask=0x4)
Freeing unused kernel memory: 252k freed
BFS CPU scheduler v0.310 by Con Kolivas.

^ permalink raw reply	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2009-11-27 17:38 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-11-19 21:11 Vortex86SX: only works with irqpoll Otavio Salvador
2009-11-20 14:55 ` Alan Cox
2009-11-23 21:40 ` Andrew Morton
2009-11-23 23:31   ` Robert Hancock
2009-11-24  0:01     ` Otavio Salvador
2009-11-24  0:01       ` Otavio Salvador
2009-11-24  1:29       ` Robert Hancock
2009-11-24 11:29         ` Otavio Salvador
2009-11-24 23:42           ` Robert Hancock
2009-11-27 16:30             ` Otavio Salvador
2009-11-24  1:56       ` Len Brown
2009-11-24  9:32 ` Juergen Beisert
2009-11-24 11:31   ` Otavio Salvador
2009-11-24 11:55     ` Otavio Salvador
2009-11-24 12:41       ` Juergen Beisert
2009-11-24 12:51       ` Juergen Beisert
2009-11-27 17:38         ` Otavio Salvador
2009-11-27 17:38         ` Otavio Salvador

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.