[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH] pci-ioapic-0502.patch
Arun Sharma wrote: I've applied this patch on my T41p and am using it right now. Here are the results so far:Move PCI device scanning to dom0. Enable ACPI in dom0. This should greatly reduce the complexity of xen and move the complexity of dealing with hardware bugs and workarounds etc to dom0. 1) Everything builds and loads properly, the ibm_acpi drivers enables most of the /proc/acpi/ibm entries it's supposed to and they seem to work. 2) I get an oops during startup (doing USB coldplug), dmesg is attached3) I don't seem to be getting proper battery status (it's always being reported as 0%) This work looks really promising. Thanks :-) Regards, Anthony Liguori s, LIFO batch:16 Normal zone: 0 pages, LIFO batch:1 HighMem zone: 0 pages, LIFO batch:1 DMI present. ACPI: RSDP (v002 IBM ) @ 0x000f6df0 ACPI: XSDT (v001 IBM TP-1R 0x00003140 LTP 0x00000000) @ 0x3ff6a6cd ACPI: FADT (v003 IBM TP-1R 0x00003140 IBM 0x00000001) @ 0x3ff6a800 ACPI: SSDT (v001 IBM TP-1R 0x00003140 MSFT 0x0100000e) @ 0x3ff6a9b4 ACPI: ECDT (v001 IBM TP-1R 0x00003140 IBM 0x00000001) @ 0x3ff76ebc ACPI: TCPA (v001 IBM TP-1R 0x00003140 PTL 0x00000001) @ 0x3ff76f0e ACPI: BOOT (v001 IBM TP-1R 0x00003140 LTP 0x00000001) @ 0x3ff76fd8 ACPI: DSDT (v001 IBM TP-1R 0x00003140 MSFT 0x0100000e) @ 0x00000000 IRQ lockup detection disabled Allocating PCI resources starting at 3ea00000 (gap: 3e960000:c16a0000) Built 1 zonelists Kernel command line: dolvm2 root=/dev/ram0 real_root=/dev/volumes/xen3-gentoo-dom0 init=/linuxrc Initializing CPU#0 PID hash table entries: 4096 (order: 12, 65536 bytes) Xen reported: 1694.537 MHz processor. Using tsc for high-res timesource Console: colour VGA+ 80x25 Dentry cache hash table entries: 131072 (order: 7, 524288 bytes) Inode-cache hash table entries: 65536 (order: 6, 262144 bytes) Memory: 897792k/917504k available (2885k kernel code, 19392k reserved, 961k data, 164k init, 0k highmem) Checking if this processor honours the WP bit even in supervisor mode... Ok. Calibrating delay loop... 3381.65 BogoMIPS (lpj=16908288) Mount-cache hash table entries: 512 (order: 0, 4096 bytes) CPU: After generic identify, caps: a7e9fbbf 00000000 00000000 00000000 00000180 00000000 00000000 CPU: After vendor identify, caps: a7e9fbbf 00000000 00000000 00000000 00000180 00000000 00000000 CPU: L1 I cache: 32K, L1 D cache: 32K CPU: L2 cache: 1024K CPU: After all inits, caps: a7e9d3b1 00000000 00000000 00000040 00000180 00000000 00000000 CPU: Intel(R) Pentium(R) M processor 1700MHz stepping 05 Enabling fast FPU save and restore... done. Enabling unmasked SIMD FPU exception support... done. Checking 'hlt' instruction... disabled ACPI: setting ELCR to 0200 (from 0800) checking if image is initramfs...it isn't (bad gzip magic numbers); looks like an initrd Freeing initrd memory: 5264k freed NET: Registered protocol family 16 PCI: Using configuration type 1 ACPI: Subsystem revision 20050211 ACPI: Found ECDT ACPI: Interpreter enabled ACPI: Using PIC for interrupt routing ACPI: PCI Interrupt Link [LNKA] (IRQs 3 4 5 6 7 9 10 *11) ACPI: PCI Interrupt Link [LNKB] (IRQs 3 4 5 6 7 9 10 *11) ACPI: PCI Interrupt Link [LNKC] (IRQs 3 4 5 6 7 9 10 *11) ACPI: PCI Interrupt Link [LNKD] (IRQs 3 4 5 6 7 9 10 *11) ACPI: PCI Interrupt Link [LNKE] (IRQs 3 4 5 6 7 9 10 11) *0, disabled. ACPI: PCI Interrupt Link [LNKF] (IRQs 3 4 5 6 7 9 10 11) *0, disabled. ACPI: PCI Interrupt Link [LNKG] (IRQs 3 4 5 6 7 9 10 11) *0, disabled. ACPI: PCI Interrupt Link [LNKH] (IRQs 3 4 5 6 7 9 10 *11) ACPI: PCI Root Bridge [PCI0] (00:00) PCI: Probing PCI hardware (bus 00) PCI: Ignoring BAR0-3 of IDE controller 0000:00:1f.1 PCI: Transparent bridge - 0000:00:1e.0 ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT] ACPI: Embedded Controller [EC] (gpe 28) ACPI: Power Resource [PUBS] (on) ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.AGP_._PRT] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.PCI1._PRT] xen_mem: Initialising balloon driver. SCSI subsystem initialized PCI: Using ACPI for IRQ routing ** PCI interrupts are no longer routed automatically. If this ** causes a device to stop working, it is probably because the ** driver failed to call pci_enable_device(). As a temporary ** workaround, the "pci=routeirq" argument restores the old ** behavior. If this argument makes the device work again, ** please email the output of "lspci" to bjorn.helgaas@xxxxxx ** so I can fix the driver. PCI: IRQ init Grant table initialized Simple Boot Flag at 0x35 set to 0x1 devfs: 2004-01-31 Richard Gooch (rgooch@xxxxxxxxxxxxx) devfs: boot_options: 0x0 Installing knfsd (copyright (C) 1996 okir@xxxxxxxxxxxx). SGI XFS with large block numbers, no debug enabled Initializing Cryptographic API Real Time Clock Driver v1.12 Non-volatile memory driver v1.2 hw_random: RNG not detected ACPI: PS/2 Keyboard Controller [KBD] at I/O 0x60, 0x64, irq 1 ACPI: PS/2 Mouse Controller [MOU] at irq 12 serio: i8042 AUX port at 0x60,0x64 irq 12 serio: i8042 KBD port at 0x60,0x64 irq 1 Serial: 8250/16550 driver $Revision: 1.90 $ 8 ports, IRQ sharing disabled ACPI: PCI Interrupt Link [LNKB] enabled at IRQ 11 ACPI: PCI interrupt 0000:00:1f.6[B] -> GSI 11 (level, low) -> IRQ 11 io scheduler noop registered io scheduler anticipatory registered io scheduler deadline registered io scheduler cfq registered Floppy drive(s): fd0 is 1.44M FDC 0 is a National Semiconductor PC87306 RAMDISK driver initialized: 16 RAM disks of 8192K size 1024 blocksize loop: loaded (max 8 devices) WARNING: Failed to register Xen virtual console driver as 'ttyS0' Event-channel device installed. Blkif backend is using grant tables. Initialising Xen netif backend Blkif frontend is using grant tables. Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2 ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx ICH4: IDE controller at PCI slot 0000:00:1f.1 PCI: Enabling device 0000:00:1f.1 (0005 -> 0007) ACPI: PCI Interrupt Link [LNKC] enabled at IRQ 11 ACPI: PCI interrupt 0000:00:1f.1[A] -> GSI 11 (level, low) -> IRQ 11 ICH4: chipset revision 1 ICH4: not 100% native mode: will probe irqs later ide0: BM-DMA at 0x1860-0x1867, BIOS settings: hda:DMA, hdb:pio ide1: BM-DMA at 0x1868-0x186f, BIOS settings: hdc:DMA, hdd:pio Probing IDE interface ide0... hda: FUJITSU MHT2080AH, ATA DISK drive ide0 at 0x1f0-0x1f7,0x3f6 on irq 14 Probing IDE interface ide1... hdc: UJDA755yDVD/CDRW, ATAPI CD/DVD-ROM drive ide1 at 0x170-0x177,0x376 on irq 15 Probing IDE interface ide2... Probing IDE interface ide3... Probing IDE interface ide4... Probing IDE interface ide5... hda: max request size: 128KiB hda: 156301488 sectors (80026 MB) w/8192KiB Cache, CHS=65535/16/63, UDMA(100) hda: cache flushes supported /dev/ide/host0/bus0/target0/lun0: p1 p2 hdc: ATAPI 24X DVD-ROM CD-R/RW drive, 2048kB Cache, UDMA(33) Uniform CD-ROM driver Revision: 3.20 st: Version 20041025, fixed bufsize 32768, s/g segs 256 mice: PS/2 mouse device common for all mice input: AT Translated Set 2 keyboard on isa0060/serio0 input: PS/2 Generic Mouse on isa0060/serio1 NET: Registered protocol family 2 IP: routing cache hash table of 8192 buckets, 64Kbytes TCP established hash table entries: 131072 (order: 8, 1048576 bytes) TCP bind hash table entries: 65536 (order: 6, 262144 bytes) TCP: Hash tables configured (established 131072 bind 65536) NET: Registered protocol family 1 NET: Registered protocol family 17 RAMDISK: ext2 filesystem found at block 0 RAMDISK: Loading 5264KiB [1 disk] into ram disk... |/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|done. VFS: Mounted root (ext2 filesystem). Freeing unused kernel memory: 164k freed usbcore: registered new driver usbfs usbcore: registered new driver hub ACPI: PCI Interrupt Link [LNKH] enabled at IRQ 11 ACPI: PCI interrupt 0000:00:1d.7[D] -> GSI 11 (level, low) -> IRQ 11 ehci_hcd 0000:00:1d.7: Intel Corp. 82801DB/DBM (ICH4/ICH4-M) USB 2.0 EHCI Controller PCI: Setting latency timer of device 0000:00:1d.7 to 64 ehci_hcd 0000:00:1d.7: irq 11, pci mem 0xc0000000 ehci_hcd 0000:00:1d.7: new USB bus registered, assigned bus number 1 PCI: cache line size of 32 is not supported by device 0000:00:1d.7 ehci_hcd 0000:00:1d.7: USB 2.0 initialized, EHCI 1.00, driver 10 Dec 2004 hub 1-0:1.0: USB hub found hub 1-0:1.0: 6 ports detected usbcore: registered new driver hiddev usbcore: registered new driver usbhid drivers/usb/input/hid-core.c: v2.0:USB HID core driver Initializing USB Mass Storage driver... usbcore: registered new driver usb-storage USB Mass Storage support registered. USB Universal Host Controller Interface driver v2.2 ACPI: PCI Interrupt Link [LNKA] enabled at IRQ 11 ACPI: PCI interrupt 0000:00:1d.0[A] -> GSI 11 (level, low) -> IRQ 11 uhci_hcd 0000:00:1d.0: Intel Corp. 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #1 PCI: Setting latency timer of device 0000:00:1d.0 to 64 uhci_hcd 0000:00:1d.0: irq 11, io base 0x1800 uhci_hcd 0000:00:1d.0: new USB bus registered, assigned bus number 2 hub 2-0:1.0: USB hub found hub 2-0:1.0: 2 ports detected ACPI: PCI Interrupt Link [LNKD] enabled at IRQ 11 ACPI: PCI interrupt 0000:00:1d.1[B] -> GSI 11 (level, low) -> IRQ 11 uhci_hcd 0000:00:1d.1: Intel Corp. 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #2 PCI: Setting latency timer of device 0000:00:1d.1 to 64 uhci_hcd 0000:00:1d.1: irq 11, io base 0x1820 uhci_hcd 0000:00:1d.1: new USB bus registered, assigned bus number 3 hub 3-0:1.0: USB hub found hub 3-0:1.0: 2 ports detected ACPI: PCI interrupt 0000:00:1d.2[C] -> GSI 11 (level, low) -> IRQ 11 uhci_hcd 0000:00:1d.2: Intel Corp. 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #3 PCI: Setting latency timer of device 0000:00:1d.2 to 64 uhci_hcd 0000:00:1d.2: irq 11, io base 0x1840 uhci_hcd 0000:00:1d.2: new USB bus registered, assigned bus number 4 hub 4-0:1.0: USB hub found hub 4-0:1.0: 2 ports detected ohci_hcd: 2004 Nov 08 USB 1.1 'Open' Host Controller (OHCI) Driver (PCI) sbp2: $Rev: 1219 $ Ben Collins <bcollins@xxxxxxxxxx> device-mapper: 4.4.0-ioctl (2005-01-12) initialised: dm-devel@xxxxxxxxxx libata version 1.10 loaded. cdrom: open failed. ReiserFS: dm-1: warning: sh-2021: reiserfs_fill_super: can not find reiserfs on dm-1 kjournald starting. Commit interval 5 seconds EXT3 FS on dm-1, internal journal EXT3-fs: mounted filesystem with ordered data mode. EXT3 FS on dm-1, internal journal ath_hal: version magic '2.6.11-xen0 PENTIUM4 gcc-3.3' should be '2.6.11-xen0 PENTIUM4 gcc-4.0' wlan: version magic '2.6.11-xen0 PENTIUM4 gcc-3.3' should be '2.6.11-xen0 PENTIUM4 gcc-4.0' wlan: version magic '2.6.11-xen0 PENTIUM4 gcc-3.3' should be '2.6.11-xen0 PENTIUM4 gcc-4.0' wlan_acl: version magic '2.6.11-xen0 PENTIUM4 gcc-3.3' should be '2.6.11-xen0 PENTIUM4 gcc-4.0' wlan: version magic '2.6.11-xen0 PENTIUM4 gcc-3.3' should be '2.6.11-xen0 PENTIUM4 gcc-4.0' wlan_ccmp: version magic '2.6.11-xen0 PENTIUM4 gcc-3.3' should be '2.6.11-xen0 PENTIUM4 gcc-4.0' wlan: version magic '2.6.11-xen0 PENTIUM4 gcc-3.3' should be '2.6.11-xen0 PENTIUM4 gcc-4.0' wlan_tkip: version magic '2.6.11-xen0 PENTIUM4 gcc-3.3' should be '2.6.11-xen0 PENTIUM4 gcc-4.0' wlan: version magic '2.6.11-xen0 PENTIUM4 gcc-3.3' should be '2.6.11-xen0 PENTIUM4 gcc-4.0' wlan_wep: version magic '2.6.11-xen0 PENTIUM4 gcc-3.3' should be '2.6.11-xen0 PENTIUM4 gcc-4.0' wlan: version magic '2.6.11-xen0 PENTIUM4 gcc-3.3' should be '2.6.11-xen0 PENTIUM4 gcc-4.0' wlan_xauth: version magic '2.6.11-xen0 PENTIUM4 gcc-3.3' should be '2.6.11-xen0 PENTIUM4 gcc-4.0' wlan: version magic '2.6.11-xen0 PENTIUM4 gcc-3.3' should be '2.6.11-xen0 PENTIUM4 gcc-4.0' ath_rate_amrr: version magic '2.6.11-xen0 PENTIUM4 gcc-3.3' should be '2.6.11-xen0 PENTIUM4 gcc-4.0' wlan: version magic '2.6.11-xen0 PENTIUM4 gcc-3.3' should be '2.6.11-xen0 PENTIUM4 gcc-4.0' ath_rate_onoe: version magic '2.6.11-xen0 PENTIUM4 gcc-3.3' should be '2.6.11-xen0 PENTIUM4 gcc-4.0' ath_hal: version magic '2.6.11-xen0 PENTIUM4 gcc-3.3' should be '2.6.11-xen0 PENTIUM4 gcc-4.0' wlan: version magic '2.6.11-xen0 PENTIUM4 gcc-3.3' should be '2.6.11-xen0 PENTIUM4 gcc-4.0' ath_rate_onoe: version magic '2.6.11-xen0 PENTIUM4 gcc-3.3' should be '2.6.11-xen0 PENTIUM4 gcc-4.0' ath_pci: version magic '2.6.11-xen0 PENTIUM4 gcc-3.3' should be '2.6.11-xen0 PENTIUM4 gcc-4.0' ibm_acpi: IBM ThinkPad ACPI Extras v0.8 ibm_acpi: http://ibm-acpi.sf.net/ ibm_acpi: dock device not present kjournald starting. Commit interval 5 seconds EXT3-fs warning: maximal mount count reached, running e2fsck is recommended EXT3 FS on dm-4, internal journal EXT3-fs: mounted filesystem with ordered data mode. Linux agpgart interface v0.100 (c) Dave Jones agpgart: Detected an Intel 855PM Chipset. agpgart: Maximum main memory to use for agp memory: 816M agpgart: AGP aperture is 256M @ 0xd0000000 ACPI: PCI interrupt 0000:00:1f.5[B] -> GSI 11 (level, low) -> IRQ 11 PCI: Setting latency timer of device 0000:00:1f.5 to 64 intel8x0_measure_ac97_clock: measured 49328 usecs intel8x0: clocking to 48000 Intel(R) PRO/1000 Network Driver - version 5.6.10.1-k2 Copyright (c) 1999-2004 Intel Corporation. ACPI: PCI interrupt 0000:02:01.0[A] -> GSI 11 (level, low) -> IRQ 11 e1000: eth0: e1000_probe: Intel(R) PRO/1000 Network Connection ath_hal: version magic '2.6.11-xen0 PENTIUM4 gcc-3.3' should be '2.6.11-xen0 PENTIUM4 gcc-4.0' wlan: version magic '2.6.11-xen0 PENTIUM4 gcc-3.3' should be '2.6.11-xen0 PENTIUM4 gcc-4.0' ath_rate_onoe: version magic '2.6.11-xen0 PENTIUM4 gcc-3.3' should be '2.6.11-xen0 PENTIUM4 gcc-4.0' ath_pci: version magic '2.6.11-xen0 PENTIUM4 gcc-3.3' should be '2.6.11-xen0 PENTIUM4 gcc-4.0' e1000: eth0: e1000_watchdog: NIC Link is Up 100 Mbps Full Duplex Unable to handle kernel paging request at virtual address 40ffedb8 printing eip: c011d609 *pde = ma 00000000 pa 55555000 [<c0140ef2>] vma_merge+0xd0/0x1ec [<c011d9f4>] proc_dointvec+0x47/0x4b [<c011d5ec>] do_proc_dointvec_conv+0x0/0x4b [<c011d2fa>] do_rw_proc+0x89/0x95 [<c011d386>] proc_writesys+0x2f/0x33 [<c014d428>] vfs_write+0x99/0x117 [<c014d565>] sys_write+0x4b/0x74 [<c01090cc>] syscall_call+0x7/0xb Oops: 0002 [#1] Modules linked in: e1000 snd_intel8x0 snd_ac97_codec intel_agp agpgart ibm_acpi snd_pcm_oss snd_pcm snd_timer snd_page_alloc snd_mixer_oss snd sata_via sata_svw sata_sil sata_promise libata dm_mod sbp2 ohci1394 ieee1394 ohci_hcd uhci_hcd usb_storage usbhid ehci_hcd usbcore CPU: 0 EIP: 0061:[<c011d609>] Not tainted VLI EFLAGS: 00010246 (2.6.11-xen0) EIP is at do_proc_dointvec_conv+0x1d/0x4b eax: 00000001 ebx: 40ffedb8 ecx: f6c09ef4 edx: f6c09ef8 esi: b7fe8001 edi: 00000001 ebp: 00000001 esp: f6c09eac ds: 007b es: 007b ss: 0069 Process runscript.sh (pid: 10216, threadinfo=f6c08000 task=f6eb2550) Stack: 00000000 c011d920 f6c09ef8 f6c09ef4 40ffedb8 00000001 00000000 40ffedb8 00000001 00000001 00000000 31b1afa0 f6debb00 c0140ef2 f76e4c24 f71ee4ec 00000006 f6c09edc 00000001 00000000 f740a380 f74140e0 00000001 f6c09fac Call Trace: [<c011d920>] do_proc_dointvec+0x2e9/0x376 [<c0140ef2>] vma_merge+0xd0/0x1ec [<c011d9f4>] proc_dointvec+0x47/0x4b [<c011d5ec>] do_proc_dointvec_conv+0x0/0x4b [<c011d2fa>] do_rw_proc+0x89/0x95 [<c011d386>] proc_writesys+0x2f/0x33 [<c014d428>] vfs_write+0x99/0x117 [<c014d565>] sys_write+0x4b/0x74 [<c01090cc>] syscall_call+0x7/0xb Code: e5 0f 00 00 89 c8 83 c4 18 5b 5e 5f 5d c3 53 8b 54 24 08 8b 4c 24 0c 8b 5c 24 10 8b 44 24 14 85 c0 74 0e 8b 02 85 c0 75 1a 8b 01 <89> 03 31 c0 5b c3 8b 03 85 c0 78 14 c7 02 00 00 00 00 89 01 31 <6>parport0: PC-style at 0x3bc [PCSPP,TRISTATE] lp0: using parport0 (polling). _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |