[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: 2.6.0-test8 PCI (?) troubles



On Sun, 26 Oct 2003 14:34:27 +0100, Kjetil Kjernsmo wrote:
> 
> 
> Yeah, I just tried test9 too. I downloaded a vanilla test8 yesterday,
> patched it with test9 today. That stopped even earlier... It seems
> something was wrong with the framebuffers. It goes down to where the
> Matrox fb stuff is loaded, then I get back the first few lines where the
> kernel is loaded, and then everything halts.

If something went wrong with framebuffers: do not use it. In general if
nobody has a better idea (see post of pigeon) I would suggest the
following:

Try to build a vanilla kernel with only those features you will
need to boot:
- Disable framebuffers (from kernel config, no vga parameter on boot
prompt)
- Disable ACPI, APM
- Disable APIC
- Disabe USB
- Disable support for "special devices" like TV cards, ISDN cards etc.
(searching for them might (?) confuse the PCI bus)

Make sure you backup your old config so you know which options you wanted
to set.

> 
> However, I built these two kernels very differently. The test8-ruby I've
> built with make-kpkg, and starting out with Andreas' config for his
> kernel. With the test9, I've used make bzImage and friends, and I started
> out with my own 2.4.22 kernel config.

It should not make a difference but I always use the "make clean bzImage"
for a new kernel. make-kpkg should not do anything but ...

> 
>> Enabling fast FPU save and restore... done. Enabling unmasked SIMD FPU
>> exception support... done. Checking 'hlt' instruction... OK.
>> POSIX conformance testing by UNIFIX
>> NET: Registered protocol family 16
>> PCI: PCI BIOS revision 2.10 entry at 0xfdb51, last bus=1
> 
> OK, so this is where it stops with ACPI and APIC enabled. But I can't see
> anything suspecious...

OK, might be what Pigeon wrote: your BIOS uses an invalid APIC -> disable
it.


>> PCI: Using IRQ router default [1106/3074] at 0000:00:11.0
> 
> Is this an ISA bridge on your system...? 

It is.

> This resembles where I stop with
> ACPI and APIC disabled, but there is a lot less happening between the two
> in my case. I didn't write it down, but I would guess it looks more like
> 
> PCI: PCI BIOS revision 2.10 entry at 0xf0d40, last bus=1 PCI: Using
> configuration type 1
> mtrr: v2.0 (20020519)
> PCI: Probing PCI hardware
> PCI: Probing PCI hardware (bus 00)
> PCI: Using IRQ router VIA [1106/0686] at 00:04.0

This is caused by all those ACPI messages. Here is a boot log with acpi
disabled:

Linux version 2.6.0-test7 (root@mobil) (gcc version 3.3.2 20031005 (Debian prerelease)) #1 Thu Oct 9 14:17:31 CEST 2003
Video mode to be used for restore is 317
BIOS-provided physical RAM map:
 BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
 BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)
 BIOS-e820: 00000000000d0000 - 00000000000d4000 (reserved)
 BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)
 BIOS-e820: 0000000000100000 - 000000000fff0000 (usable)
 BIOS-e820: 000000000fff0000 - 000000000fff8000 (ACPI data)
 BIOS-e820: 000000000fff8000 - 0000000010000000 (ACPI NVS)
 BIOS-e820: 00000000fff80000 - 0000000100000000 (reserved)
user-defined physical RAM map:
 user: 0000000000000000 - 000000000009fc00 (usable)
 user: 000000000009fc00 - 00000000000a0000 (reserved)
 user: 00000000000d0000 - 00000000000d4000 (reserved)
 user: 00000000000f0000 - 0000000000100000 (reserved)
 user: 0000000000100000 - 000000000fff0000 (usable)
 user: 000000000fff0000 - 000000000fff8000 (ACPI data)
 user: 000000000fff8000 - 0000000010000000 (ACPI NVS)
 user: 00000000fff80000 - 0000000100000000 (reserved)
255MB LOWMEM available.
On node 0 totalpages: 65520
  DMA zone: 4096 pages, LIFO batch:1
  Normal zone: 61424 pages, LIFO batch:14
  HighMem zone: 0 pages, LIFO batch:1
DMI 2.3 present.
Building zonelist for node : 0
Kernel command line: root=/dev/hda6 vga=791 acpi=off mem=262080K
No local APIC present or hardware disabled
Initializing CPU#0
PID hash table entries: 1024 (order 10: 8192 bytes)
Detected 1592.834 MHz processor.
Console: colour dummy device 80x25
Memory: 255488k/262080k available (2067k kernel code, 5872k reserved, 843k data, 152k init, 0k highmem)
Calibrating delay loop... 3129.34 BogoMIPS
Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
Mount-cache hash table entries: 512 (order: 0, 4096 bytes)
CPU:     After generic identify, caps: 3febf9ff 00000000 00000000 00000000
CPU:     After vendor identify, caps: 3febf9ff 00000000 00000000 00000000
CPU: Trace cache: 12K uops, L1 D cache: 8K
CPU: L2 cache: 512K
CPU:     After all inits, caps: 3febf9ff 00000000 00000000 00000080
Intel machine check architecture supported.
Intel machine check reporting enabled on CPU#0.
CPU#0: Intel P4/Xeon Extended MCE MSRs (12) available
CPU#0: Thermal monitoring enabled
CPU: Intel(R) Pentium(R) 4 CPU 1.60GHz stepping 04
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Checking 'hlt' instruction... OK.
POSIX conformance testing by UNIFIX
NET: Registered protocol family 16
PCI: PCI BIOS revision 2.10 entry at 0xfdb51, last bus=1
PCI: Using configuration type 1
mtrr: v2.0 (20020519)
ACPI: Subsystem revision 20030918
ACPI: Interpreter disabled.
Linux Plug and Play Support v0.97 (c) Adam Belay
PnPBIOS: Scanning system for PnP BIOS support...
PnPBIOS: Found PnP BIOS installation structure at 0xc00f82c0
PnPBIOS: PnP BIOS version 1.0, entry 0xf0000:0x729b, dseg 0xf0000
PnPBIOS: Unknown tag '0x82', length '25'.
PnPBIOS: 12 nodes reported by PnP BIOS; 12 recorded by driver
SCSI subsystem initialized
Linux Kernel Card Services
  options:  [pci] [cardbus] [pm]
ACPI: ACPI tables contain no PCI IRQ routing entries
PCI: Invalid ACPI-PCI IRQ routing table
PCI: Probing PCI hardware
PCI: Probing PCI hardware (bus 00)
PCI: Using IRQ router default [1106/3074] at 0000:00:11.0
PCI: IRQ 0 for device 0000:00:03.0 doesn't match PIRQ mask - try pci=usepirqmask
PCI: IRQ 0 for device 0000:00:11.1 doesn't match PIRQ mask - try pci=usepirqmask
PCI: Hardcoded IRQ 14 for device 0000:00:11.1
vesafb: framebuffer at 0xd8000000, mapped to 0xd0800000, size 16384k
vesafb: mode is 1024x768x16, linelength=2048, pages=1
vesafb: protected mode interface info at c000:f470
vesafb: scrolling: redraw
vesafb: directcolor: size=0:5:6:5, shift=0:11:5:0
fb0: VESA VGA frame buffer device
Machine check exception polling timer started.
Console: switching to colour frame buffer device 128x48
Real Time Clock Driver v1.12
RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
loop: loaded (max 8 devices)
via-rhine.c:v1.10-LK1.1.19-2.5  July-12-2003  Written by Donald Becker
  http://www.scyld.com/network/via-rhine.html
eth0: VIA VT6102 Rhine-II at 0xd000, 00:40:45:07:d4:d3, IRQ 10.
eth0: MII PHY found at address 1, status 0x7869 advertising 05e1 Link 0021.
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
VP_IDE: IDE controller at PCI slot 0000:00:11.1
PCI: Hardcoded IRQ 14 for device 0000:00:11.1
VP_IDE: chipset revision 6
VP_IDE: not 100% native mode: will probe irqs later
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
VP_IDE: VIA vt8233 (rev 00) IDE UDMA100 controller on pci0000:00:11.1
    ide0: BM-DMA at 0xfc00-0xfc07, BIOS settings: hda:DMA, hdb:pio
    ide1: BM-DMA at 0xfc08-0xfc0f, BIOS settings: hdc:DMA, hdd:pio
hda: FUJITSU MHR2030AT, ATA DISK drive
Using anticipatory io scheduler
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
hdc: QSI CD-RW/DVD-ROM SBW-081, ATAPI CD/DVD-ROM drive
ide1 at 0x170-0x177,0x376 on irq 15
hda: max request size: 1024KiB
hda: 58605120 sectors (30005 MB) w/2048KiB Cache, CHS=16383/255/63, UDMA(100)
 hda: hda1 hda2 hda3 hda4 < hda5 hda6 >
scsi0 : SCSI host adapter emulation for IDE ATAPI devices
  Vendor: QSI       Model: DVD/CDRW SBW-081  Rev: NXA5
  Type:   CD-ROM                             ANSI SCSI revision: 02
sr0: scsi3-mmc drive: 24x/24x writer cd/rw xa/form2 cdda tray
Uniform CD-ROM driver Revision: 3.12
Attached scsi CD-ROM sr0 at scsi0, channel 0, id 0, lun 0
Attached scsi generic sg0 at scsi0, channel 0, id 0, lun 0,  type 5
Console: switching to colour frame buffer device 128x48
PCI: IRQ 0 for device 0000:00:03.0 doesn't match PIRQ mask - try pci=usepirqmask
PCI: No IRQ known for interrupt pin A of device 0000:00:03.0. Please try using pci=biosirq.
Yenta: CardBus bridge found at 0000:00:03.0 [14ff:0603]
Yenta: adjusting diagnostic: 61 -> 01
Yenta: Enabling burst memory read transactions
Yenta: Using INTVAL to route CSC interrupts to PCI
Yenta: Routing CardBus interrupts to ISA
Yenta: ISA IRQ list 02c8, PCI irq0
Socket status: 30000006
mice: PS/2 mouse device common for all mice
Synaptics Touchpad, model: 1
 Firmware: 5.1
 180 degree mounted touchpad
 Sensor: 15
 new absolute packet format
 Touchpad has extended capability bits
 -> four buttons
 -> multifinger detection
 -> palm detection
input: SynPS/2 Synaptics TouchPad on isa0060/serio1
serio: i8042 AUX port at 0x60,0x64 irq 12
input: AT Translated Set 2 keyboard on isa0060/serio0
serio: i8042 KBD port at 0x60,0x64 irq 1
Advanced Linux Sound Architecture Driver Version 0.9.7 (Thu Sep 25 19:16:36 2003 UTC).
ALSA device list:
  No soundcards found.
NET: Registered protocol family 2
IP: routing cache hash table of 2048 buckets, 16Kbytes
TCP: Hash tables configured (established 16384 bind 32768)
NET: Registered protocol family 1
NET: Registered protocol family 15
found reiserfs format "3.6" with standard journal
Reiserfs journal params: device hda6, size 8192, journal first block 18, max trans len 1024, max batch 900, max commit age 30, max trans age 30
reiserfs: checking transaction log (hda6) for (hda6)
Using r5 hash to sort names
VFS: Mounted root (reiserfs filesystem) readonly.
Freeing unused kernel memory: 152k freed
Serial: 8250/16550 driver $Revision: 1.90 $ 8 ports, IRQ sharing disabled
ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
Adding 409648k swap on /dev/hda2.  Priority:-1 extents:1
drivers/usb/core/usb.c: registered new driver usbfs
drivers/usb/core/usb.c: registered new driver hub
drivers/usb/host/uhci-hcd.c: USB Universal Host Controller Interface driver v2.1
uhci-hcd 0000:00:07.0: UHCI Host Controller
uhci-hcd 0000:00:07.0: irq 10, io base 0000e800
uhci-hcd 0000:00:07.0: new USB bus registered, assigned bus number 1
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 2 ports detected
uhci-hcd 0000:00:07.1: UHCI Host Controller
uhci-hcd 0000:00:07.1: irq 10, io base 0000ec00
uhci-hcd 0000:00:07.1: new USB bus registered, assigned bus number 2
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 2 ports detected
uhci-hcd 0000:00:11.2: UHCI Host Controller
uhci-hcd 0000:00:11.2: irq 10, io base 0000d400
uhci-hcd 0000:00:11.2: new USB bus registered, assigned bus number 3
hub 3-0:1.0: USB hub found
hub 3-0:1.0: 2 ports detected
uhci-hcd 0000:00:11.3: UHCI Host Controller
uhci-hcd 0000:00:11.3: irq 10, io base 0000d800
uhci-hcd 0000:00:11.3: new USB bus registered, assigned bus number 4
hub 1-0:1.0: new USB device on port 1, assigned address 2
hub 4-0:1.0: USB hub found
hub 4-0:1.0: 2 ports detected
ehci_hcd 0000:00:07.2: EHCI Host Controller
ehci_hcd 0000:00:07.2: irq 10, pci mem d190bf00
drivers/usb/core/usb.c: registered new driver hiddev
ehci_hcd 0000:00:07.2: new USB bus registered, assigned bus number 5
ehci_hcd 0000:00:07.2: USB 2.0 enabled, EHCI 0.95, driver 2003-Jun-13
hid: probe of 1-1:1.0 failed with error -5
drivers/usb/core/usb.c: registered new driver hid
drivers/usb/input/hid-core.c: v2.0:USB HID core driver
usb 1-1: USB disconnect, address 2
hub 5-0:1.0: USB hub found
hub 5-0:1.0: 4 ports detected
Via 686a/8233/8235 audio driver 1.9.1-ac3-2.5
via82cxxx: Six channel audio available
PCI: Setting latency timer of device 0000:00:11.5 to 64
ac97_codec: AC97 Audio codec, id: VIA97 (Unknown)
via82cxxx: board #1 at 0xDC00, IRQ 5
nvidia: module license 'NVIDIA' taints kernel.
0: nvidia: loading NVIDIA Linux x86 nvidia.o Kernel Module  1.0-4363  Sat Apr 19 17:46:46 PDT 2003
hub 1-0:1.0: new USB device on port 1, assigned address 3
input: USB HID v1.10 Mouse [Logitech USB Mouse] on usb-0000:00:07.0-1
ip_tables: (C) 2000-2002 Netfilter core team
ip_conntrack version 2.1 (2047 buckets, 16376 max) - 300 bytes per conntrack
irda_init()
NET: Registered protocol family 23
cs: IO port probe 0x0c00-0x0cff: excluding 0xc00-0xc7f
cs: IO port probe 0x0800-0x08ff: excluding 0x800-0x87f
cs: IO port probe 0x0100-0x04ff: excluding 0x400-0x40f 0x4d0-0x4d7
cs: IO port probe 0x0a00-0x0aff: clean.





Reply to: