Re: pcib allocation failure

From: <deeptech71_at_gmail.com>
Date: Thu, 9 Jun 2011 20:07:31 +0200
On Thu, Jun 9, 2011 at 3:22 PM, John Baldwin <jhb_at_freebsd.org> wrote:
> Hmm, I would say 'progress' actually as it's getting better:
>
>
>>       map[10]: type Prefetchable Memory, range 32, base 0xe0000000, size 28, enabled
>> pcib1: attempting to grow prefetch window for (0xe0000000-0xefffffff,0x10000000)
>>       back candidate range: 0xe0000000-0xf0000000
>
> It at least attempts to grow it now.
>
> This patch is a slightly more correct fix for the same bug as above but also
> adds extra debugging so I can see why bus_adjust_resource() is failing to
> grow the window.  It won't fix it yet, but should output more debug info
> when it fails to grow the window:

see PS.

> Index: pci_pci.c
> ===================================================================
> --- pci_pci.c   (revision 222863)
> +++ pci_pci.c   (working copy)
> _at__at_ -916,7 +934,8 _at__at_ pcib_grow_window(struct pcib_softc *sc, struct pci
>
>                /* Move end_free down until it is properly aligned. */
>                end_free &= ~(align - 1);
> -               front = end_free - count;
> +               end_free--;
> +               front = end_free - (count - 1);
>
>                /*
>                 * The resource would now be allocated at (front,
> _at__at_ -944,7 +963,7 _at__at_ pcib_grow_window(struct pcib_softc *sc, struct pci
>
>                /* Move start_free up until it is properly aligned. */
>                start_free = roundup2(start_free, align);
> -               back = start_free + count;
> +               back = start_free + count - 1;
>
>                /*
>                 * The resource would now be allocated at (start_free,
> _at__at_ -957,7 +976,7 _at__at_ pcib_grow_window(struct pcib_softc *sc, struct pci
>                        if (bootverbose)
>                                printf("\tback candidate range: %#lx-%#lx\n",
>                                    start_free, back);
> -                       back = roundup2(back, w->step) - 1;
> +                       back = roundup2(back + 1, w->step) - 1;
>                        back -= rman_get_end(w->res);
>                } else
>                        back = 0;
> _at__at_ -976,6 +995,11 _at__at_ pcib_grow_window(struct pcib_softc *sc, struct pci
>                            rman_get_end(w->res));
>                        if (error == 0)
>                                break;
> +                       if (bootverbose)
> +                               device_printf(sc->dev,
> +                           "failed to grow %s window to %#lx-%#lx: %d\n",
> +                                   w->name, rman_get_start(w->res) - front,
> +                                   rman_get_end(w->res), error);
>                        front = 0;
>                } else {
>                        error = bus_adjust_resource(sc->dev, type, w->res,
> _at__at_ -983,6 +1007,11 _at__at_ pcib_grow_window(struct pcib_softc *sc, struct pci
>                            rman_get_end(w->res) + back);
>                        if (error == 0)
>                                break;
> +                       if (bootverbose)
> +                               device_printf(sc->dev,
> +                           "failed to grow %s window to %#lx-%#lx: %d\n",
> +                                   w->name, rman_get_start(w->res),
> +                                   rman_get_end(w->res) + back, error);
>                        back = 0;
>                }
>        }

========== dmesg begins ==========
Copyright (c) 1992-2011 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
	The Regents of the University of California. All rights reserved.
FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 9.0-CURRENT #0 r222709M: Sun Jun  5 20:01:55 CEST 2011
    devhc_at_:/usr/obj/usr/src/sys/HQ i386
CPU: Intel(R) Pentium(R) 4 CPU 2.80GHz (2798.72-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0xf29  Family = f  Model = 2  Stepping = 9
  Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
  Features2=0x4400<CNXT-ID,xTPR>
real memory  = 536870912 (512 MB)
avail memory = 513818624 (490 MB)
Event timer "LAPIC" quality 400
ACPI APIC Table: <A M I  OEMAPIC >
FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
FreeBSD/SMP: 2 package(s) x 1 core(s)
 cpu0 (BSP): APIC ID:  0
 cpu1 (AP): APIC ID:  1
ioapic0 <Version 2.0> irqs 0-23 on motherboard
kbd1 at kbdmux0
acpi0: <A M I OEMXSDT> on motherboard
acpi0: Power Button (fixed)
acpi0: reservation of 0, a0000 (3) failed
acpi0: reservation of 100000, 1fef0000 (3) failed
Timecounter "ACPI-fast" frequency 3579545 Hz quality 900
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x808-0x80b on acpi0
cpu0: <ACPI CPU> on acpi0
cpu1: <ACPI CPU> on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
agp0: <Intel 82865 host to AGP bridge> on hostb0
pcib1: <ACPI PCI-PCI bridge> at device 1.0 on pci0
pci1: <ACPI PCI bus> on pcib1
vgapci0: <VGA-compatible display> port 0xd000-0xd0ff mem
0xd0000000-0xdfffffff,0xf7ee0000-0xf7eeffff irq 16 at device 0.0 on
pci1
drm0: <ATI Radeon AP 9600> on vgapci0
info: [drm] AGP at 0xf8000000 64MB
info: [drm] Initialized radeon 1.31.0 20080613
vgapci1: <VGA-compatible display> mem
0xe0000000-0xefffffff,0xf7ef0000-0xf7efffff at device 0.1 on pci1
uhci0: <Intel 82801EB (ICH5) USB controller USB-A> port 0xc880-0xc89f
irq 16 at device 29.0 on pci0
usbus0: <Intel 82801EB (ICH5) USB controller USB-A> on uhci0
uhci1: <Intel 82801EB (ICH5) USB controller USB-B> port 0xcc00-0xcc1f
irq 19 at device 29.1 on pci0
usbus1: <Intel 82801EB (ICH5) USB controller USB-B> on uhci1
ehci0: <Intel 82801EB/R (ICH5) USB 2.0 controller> mem
0xf7dffc00-0xf7dfffff irq 23 at device 29.7 on pci0
usbus2: EHCI version 1.0
usbus2: <Intel 82801EB/R (ICH5) USB 2.0 controller> on ehci0
pcib2: <ACPI PCI-PCI bridge> at device 30.0 on pci0
pcib2: failed to allocate initial memory window: 0xf7f00000-0xfbffffff
pci2: <ACPI PCI bus> on pcib2
skc0: <3Com 3C940 Gigabit Ethernet> port 0xe800-0xe8ff mem
0xf7ffc000-0xf7ffffff irq 22 at device 5.0 on pci2
skc0: 3Com Gigabit LOM (3C940) rev. (0x1)
sk0: <Marvell Semiconductor, Inc. Yukon> on skc0
sk0: Ethernet address: 00:0e:a6:35:15:91
miibus0: <MII bus> on sk0
e1000phy0: <Marvell 88E1011 Gigabit PHY> PHY 0 on miibus0
e1000phy0:  none, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX,
1000baseT, 1000baseT-master, 1000baseT-FDX, 1000baseT-FDX-master, auto
pcm0: <Creative CT5880-E> port 0xec00-0xec3f irq 20 at device 12.0 on pci2
pcm0: <eMicro EM28028 AC97 Codec>
pcm0: <Playback: DAC1,DAC2 / Record: ADC>
isab0: <PCI-ISA bridge> at device 31.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel ICH5 UDMA100 controller> port
0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xfc00-0xfc0f at device 31.1 on
pci0
ata0: <ATA channel 0> on atapci0
ata1: <ATA channel 1> on atapci0
pci0: <serial bus, SMBus> at device 31.3 (no driver attached)
acpi_button0: <Power Button> on acpi0
attimer0: <AT timer> port 0x40-0x43 irq 0 on acpi0
Timecounter "i8254" frequency 1193182 Hz quality 0
Event timer "i8254" frequency 1193182 Hz quality 100
atrtc0: <AT realtime clock> port 0x70-0x71 irq 8 on acpi0
Event timer "RTC" frequency 32768 Hz quality 0
atkbdc0: <Keyboard controller (i8042)> port 0x60,0x64 irq 1 on acpi0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
pmtimer0 on isa0
orm0: <ISA Option ROM> at iomem 0xc0000-0xccfff pnpid ORM0000 on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
p4tcc0: <CPU Frequency Thermal Control> on cpu0
p4tcc1: <CPU Frequency Thermal Control> on cpu1
Timecounters tick every 1.000 msec
usbus0: 12Mbps Full Speed USB v1.0
usbus1: 12Mbps Full Speed USB v1.0
usbus2: 480Mbps High Speed USB v2.0
ugen0.1: <Intel> at usbus0
uhub0: <Intel UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus0
ugen1.1: <Intel> at usbus1
uhub1: <Intel UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus1
ugen2.1: <Intel> at usbus2
uhub2: <Intel EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus2
ata1: DMA limited to UDMA33, controller found non-ATA66 cable
ada0 at ata0 bus 0 scbus0 target 0 lun 0
ada0: <Maxtor 6Y080P0 YAR41BW0> ATA-7 device
ada0: 100.000MB/s transfers (UDMA5, PIO 8192bytes)
ada0: 78167MB (160086528 512 byte sectors: 16H 63S/T 16383C)
ada0: Previously was known as ad0
cd0 at ata1 bus 0 scbus1 target 0 lun 0
cd0: <SONY DVD RW DW-D26A JYS2> Removable CD-ROM SCSI-0 device
cd0: 33.300MB/s transfers (UDMA2, ATAPI 12bytes, PIO 65534bytes)
cd0: Attempt to query device size failed: NOT READY, Medium not present
SMP: AP CPU #1 Launched!
GEOM: ada0s1: geometry does not match label (255h,63s != 16h,63s).
Root mount waiting for: usbus2 usbus1 usbus0
uhub0: 2 ports with 2 removable, self powered
uhub1: 2 ports with 2 removable, self powered
Root mount waiting for: usbus2
uhub2: 4 ports with 4 removable, self powered
Root mount waiting for: usbus2
Trying to mount root from ufs:/dev/ada0s1a [rw,noatime]...
ugen1.2: <vendor 0x04fc> at usbus1
ums0: <vendor 0x04fc USB Multi-Smart Mouse, class 0/0, rev 2.00/16.11,
addr 2> on usbus1
ums0: 5 buttons and [XYZT] coordinates ID=1
info: [drm] Setting GART location based on new memory map
info: [drm] Loading R300 Microcode
info: [drm] Num pipes: 1
info: [drm] writeback test succeeded in 1 usecs
info: [drm] Num pipes: 1
info: [drm] Loading R300 Microcode
info: [drm] Num pipes: 1
info: [drm] Num pipes: 1
info: [drm] Loading R300 Microcode
info: [drm] Num pipes: 1
info: [drm] Num pipes: 1
Waiting (max 60 seconds) for system process `vnlru' to stop...done
Waiting (max 60 seconds) for system process `bufdaemon' to stop...done

Waiting (max 60 seconds) for system process `syncer' to stop...Syncing
disks, vnodes remaining...0 0 done
All buffers synced.
MP Configuration Table version 1.1 found at 0xc00f1280
Table 'FACP' at 0x1ff30290
Table 'APIC' at 0x1ff30390
APIC: Found table at 0x1ff30390
APIC: Using the MADT enumerator.
MADT: Found CPU APIC ID 0 ACPI ID 1: enabled
SMP: Added CPU 0 (AP)
MADT: Found CPU APIC ID 1 ACPI ID 2: enabled
SMP: Added CPU 1 (AP)
Copyright (c) 1992-2011 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
	The Regents of the University of California. All rights reserved.
FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 9.0-CURRENT #3 r222709M: Thu Jun  9 18:29:01 CEST 2011
    devhc_at_:/usr/obj/usr/src/sys/HQ i386
Table 'FACP' at 0x1ff30290
Table 'APIC' at 0x1ff30390
Table 'OEMB' at 0x1ff40040
ACPI: No SRAT table found
Preloaded elf kernel
"/boot/kernel.HQ.r222709.copyin2.opie.pcibhax6/kernel" at 0xc0b9e000.
Calibrating TSC clock ... TSC clock: 2798710268 Hz
CPU: Intel(R) Pentium(R) 4 CPU 2.80GHz (2798.71-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0xf29  Family = f  Model = 2  Stepping = 9
  Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
  Features2=0x4400<CNXT-ID,xTPR>

Instruction TLB: 4 KB, 2 MB or 4 MB pages, fully associative, 64 entries
Data TLB: 4 KB or 4 MB pages, fully associative, 64 entries
1st-level data cache: 8 KB, 4-way set associative, sectored cache, 64
byte line size
Trace cache: 12K-uops, 8-way set associative
2nd-level cache: 512 KB, 8-way set associative, sectored cache, 64
byte line size
real memory  = 536870912 (512 MB)
Physical memory chunk(s):
0x0000000000001000 - 0x000000000009efff, 647168 bytes (158 pages)
0x0000000000100000 - 0x00000000003fffff, 3145728 bytes (768 pages)
0x0000000000c26000 - 0x000000001f5dcfff, 513503232 bytes (125367 pages)
avail memory = 513818624 (490 MB)
Event timer "LAPIC" quality 400
ACPI APIC Table: <A M I  OEMAPIC >
INTR: Adding local APIC 1 as a target
FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
FreeBSD/SMP: 2 package(s) x 1 core(s)
 cpu0 (BSP): APIC ID:  0
 cpu1 (AP): APIC ID:  1
bios32: Found BIOS32 Service Directory header at 0xc00f0000
bios32: Entry = 0xf0010 (c00f0010)  Rev = 0  Len = 1
pcibios: PCI BIOS entry at 0xf0000+0x31
pnpbios: Found PnP BIOS data at 0xc00f5020
pnpbios: Entry = f0000:5c0a  Rev = 1.0
Other BIOS signatures found:
APIC: CPU 0 has ACPI ID 1
APIC: CPU 1 has ACPI ID 2
ULE: setup cpu 0
ULE: setup cpu 1
ACPI: RSDP 0xf9e30 00021 (v02 ACPIAM)
ACPI: XSDT 0x1ff30100 0003C (v01 A M I  OEMXSDT  10000414 MSFT 00000097)
ACPI: FACP 0x1ff30290 000F4 (v03 A M I  OEMFACP  10000414 MSFT 00000097)
ACPI: DSDT 0x1ff303f0 0382D (v01  P4P81 P4P81104 00000104 INTL 02002026)
ACPI: FACS 0x1ff40000 00040
ACPI: APIC 0x1ff30390 0005C (v01 A M I  OEMAPIC  10000414 MSFT 00000097)
ACPI: OEMB 0x1ff40040 0003F (v01 A M I  OEMBIOS  10000414 MSFT 00000097)
MADT: Found IO APIC ID 2, Interrupt 0 at 0xfec00000
ioapic0: Routing external 8259A's -> intpin 0
MADT: Interrupt override: source 0, irq 2
ioapic0: Routing IRQ 0 -> intpin 2
MADT: Interrupt override: source 9, irq 9
ioapic0: intpin 9 trigger: level
ioapic0 <Version 2.0> irqs 0-23 on motherboard
cpu0 BSP:
     ID: 0x00000000   VER: 0x00050014 LDR: 0x00000000 DFR: 0xffffffff
  lint0: 0x00010700 lint1: 0x00000400 TPR: 0x00000000 SVR: 0x000001ff
  timer: 0x000100ef therm: 0x00010000 err: 0x000000f0 pmc: 0x00010400
snd_unit_init() u=0x00ff8000 [512] d=0x00007c00 [32] c=0x000003ff [1024]
feeder_register: snd_unit=-1 snd_maxautovchans=16 latency=5
feeder_rate_min=1 feeder_rate_max=2016000 feeder_rate_round=25
null: <null device, zero device>
nfslock: pseudo-device
random: <entropy source, Software, Yarrow>
io: <I/O>
kbd: new array size 4
kbd1 at kbdmux0
mem: <memory>
Pentium Pro MTRR support enabled
acpi0: <A M I OEMXSDT> on motherboard
ioapic0: routing intpin 9 (ISA IRQ 9) to lapic 0 vector 48
ACPI: Executed 1 blocks of module-level executable AML code
acpi0: Power Button (fixed)
acpi0: wakeup code va 0xc26a4000 pa 0x1000
pci_open(1):	mode 1 addr port (0x0cf8) is 0x80000090
pci_open(1a):	mode1res=0x80000000 (0x80000000)
pci_cfgcheck:	device 0 [class=060000] [hdr=00] is there (id=25708086)
pcibios: BIOS version 2.10
acpi0: reservation of 0, a0000 (3) failed
acpi0: reservation of 100000, 1fef0000 (3) failed
ACPI timer: 1/0 1/0 1/0 1/0 1/0 1/0 1/0 1/0 1/0 1/0 -> 10
Timecounter "ACPI-fast" frequency 3579545 Hz quality 900
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x808-0x80b on acpi0
cpu0: <ACPI CPU> on acpi0
cpu0: switching to generic Cx mode
cpu1: <ACPI CPU> on acpi0
pci_link0:        Index  IRQ  Rtd  Ref  IRQs
  Initial Probe       0   10   N     0  3 4 5 6 7 10 11 12 14 15
  Validation          0   10   N     0  3 4 5 6 7 10 11 12 14 15
  After Disable       0  255   N     0  3 4 5 6 7 10 11 12 14 15
pci_link1:        Index  IRQ  Rtd  Ref  IRQs
  Initial Probe       0   10   N     0  3 4 5 6 7 10 11 12 14 15
  Validation          0   10   N     0  3 4 5 6 7 10 11 12 14 15
  After Disable       0  255   N     0  3 4 5 6 7 10 11 12 14 15
pci_link2:        Index  IRQ  Rtd  Ref  IRQs
  Initial Probe       0  255   N     0  3 4 5 6 7 10 11 12 14 15
  Validation          0  255   N     0  3 4 5 6 7 10 11 12 14 15
  After Disable       0  255   N     0  3 4 5 6 7 10 11 12 14 15
pci_link3:        Index  IRQ  Rtd  Ref  IRQs
  Initial Probe       0    5   N     0  3 4 5 6 7 10 11 12 14 15
  Validation          0    5   N     0  3 4 5 6 7 10 11 12 14 15
  After Disable       0  255   N     0  3 4 5 6 7 10 11 12 14 15
pci_link4:        Index  IRQ  Rtd  Ref  IRQs
  Initial Probe       0    7   N     0  3 4 5 6 7 10 11 12 14 15
  Validation          0    7   N     0  3 4 5 6 7 10 11 12 14 15
  After Disable       0  255   N     0  3 4 5 6 7 10 11 12 14 15
pci_link5:        Index  IRQ  Rtd  Ref  IRQs
  Initial Probe       0  255   N     0  3 4 5 6 7 10 11 12 14 15
  Validation          0  255   N     0  3 4 5 6 7 10 11 12 14 15
  After Disable       0  255   N     0  3 4 5 6 7 10 11 12 14 15
pci_link6:        Index  IRQ  Rtd  Ref  IRQs
  Initial Probe       0    3   N     0  3 4 5 6 7 10 11 12 14 15
  Validation          0    3   N     0  3 4 5 6 7 10 11 12 14 15
  After Disable       0  255   N     0  3 4 5 6 7 10 11 12 14 15
pci_link7:        Index  IRQ  Rtd  Ref  IRQs
  Initial Probe       0   11   N     0  3 4 5 6 7 10 11 12 14 15
  Validation          0   11   N     0  3 4 5 6 7 10 11 12 14 15
  After Disable       0  255   N     0  3 4 5 6 7 10 11 12 14 15
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
pci0: domain=0, physical bus=0
found->	vendor=0x8086, dev=0x2570, revid=0x02
	domain=0, bus=0, slot=0, func=0
	class=06-00-00, hdrtype=0x00, mfdev=0
	cmdreg=0x0006, statreg=0x2090, cachelnsz=0 (dwords)
	lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
	map[10]: type Prefetchable Memory, range 32, base 0xf0000000, size 27, enabled
found->	vendor=0x8086, dev=0x2571, revid=0x02
	domain=0, bus=0, slot=1, func=0
	class=06-04-00, hdrtype=0x01, mfdev=0
	cmdreg=0x0107, statreg=0x00a0, cachelnsz=0 (dwords)
	lattimer=0x40 (1920 ns), mingnt=0x08 (2000 ns), maxlat=0x00 (0 ns)
found->	vendor=0x8086, dev=0x24d2, revid=0x02
	domain=0, bus=0, slot=29, func=0
	class=0c-03-00, hdrtype=0x00, mfdev=1
	cmdreg=0x0005, statreg=0x0280, cachelnsz=0 (dwords)
	lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
	intpin=a, irq=10
	map[20]: type I/O Port, range 32, base 0xc880, size  5, enabled
pcib0: matched entry for 0.29.INTA
pcib0: slot 29 INTA hardwired to IRQ 16
found->	vendor=0x8086, dev=0x24d4, revid=0x02
	domain=0, bus=0, slot=29, func=1
	class=0c-03-00, hdrtype=0x00, mfdev=0
	cmdreg=0x0005, statreg=0x0280, cachelnsz=0 (dwords)
	lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
	intpin=b, irq=5
	map[20]: type I/O Port, range 32, base 0xcc00, size  5, enabled
pcib0: matched entry for 0.29.INTB
pcib0: slot 29 INTB hardwired to IRQ 19
found->	vendor=0x8086, dev=0x24dd, revid=0x02
	domain=0, bus=0, slot=29, func=7
	class=0c-03-20, hdrtype=0x00, mfdev=0
	cmdreg=0x0106, statreg=0x0290, cachelnsz=0 (dwords)
	lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
	intpin=d, irq=11
	powerspec 2  supports D0 D3  current D0
	map[10]: type Memory, range 32, base 0xfbdffc00, size 10, enabled
pcib0: matched entry for 0.29.INTD
pcib0: slot 29 INTD hardwired to IRQ 23
found->	vendor=0x8086, dev=0x244e, revid=0xc2
	domain=0, bus=0, slot=30, func=0
	class=06-04-00, hdrtype=0x01, mfdev=0
	cmdreg=0x0107, statreg=0x0080, cachelnsz=0 (dwords)
	lattimer=0x00 (0 ns), mingnt=0x06 (1500 ns), maxlat=0x00 (0 ns)
found->	vendor=0x8086, dev=0x24d0, revid=0x02
	domain=0, bus=0, slot=31, func=0
	class=06-01-00, hdrtype=0x00, mfdev=1
	cmdreg=0x000f, statreg=0x0280, cachelnsz=0 (dwords)
	lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
found->	vendor=0x8086, dev=0x24db, revid=0x02
	domain=0, bus=0, slot=31, func=1
	class=01-01-8a, hdrtype=0x00, mfdev=0
	cmdreg=0x0005, statreg=0x0280, cachelnsz=0 (dwords)
	lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
	intpin=a, irq=255
	map[20]: type I/O Port, range 32, base 0xfc00, size  4, enabled
	map[24]: type Memory, range 32, base 0, size 10, memory disabled
found->	vendor=0x8086, dev=0x24d3, revid=0x02
	domain=0, bus=0, slot=31, func=3
	class=0c-05-00, hdrtype=0x00, mfdev=0
	cmdreg=0x0001, statreg=0x0280, cachelnsz=0 (dwords)
	lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
	intpin=b, irq=10
	map[20]: type I/O Port, range 32, base 0x400, size  5, enabled
pcib0: matched entry for 0.31.INTB
pcib0: slot 31 INTB hardwired to IRQ 17
agp0: <Intel 82865 host to AGP bridge> on hostb0
agp0: allocating GATT for aperture of size 128M
pcib1: <ACPI PCI-PCI bridge> at device 1.0 on pci0
pcib1: failed to allocate initial prefetch window: 0xd0000000-0xfaffffff
pcib1:   domain            0
pcib1:   secondary bus     1
pcib1:   subordinate bus   1
pcib1:   I/O decode        0xd000-0xdfff
pcib1:   memory decode     0xfbe00000-0xfbefffff
pcib1:   no prefetched decode
pcib1: could not get PCI interrupt routing table for \\_SB_.PCI0.P0P1
- AE_NOT_FOUND
pci1: <ACPI PCI bus> on pcib1
pci1: domain=0, physical bus=1
found->	vendor=0x1002, dev=0x4150, revid=0x00
	domain=0, bus=1, slot=0, func=0
	class=03-00-00, hdrtype=0x00, mfdev=1
	cmdreg=0x0107, statreg=0x02b0, cachelnsz=4 (dwords)
	lattimer=0x40 (1920 ns), mingnt=0x08 (2000 ns), maxlat=0x00 (0 ns)
	intpin=a, irq=10
	powerspec 2  supports D0 D1 D2 D3  current D0
	map[10]: type Prefetchable Memory, range 32, base 0xd0000000, size 28, enabled
pcib1: allocated initial prefetch window of 0xd0000000-0xdfffffff
pcib1: allocated prefetch range (0xd0000000-0xdfffffff) for rid 10 of pci0:1:0:0
	map[14]: type I/O Port, range 32, base 0xd000, size  8, enabled
pcib1: allocated I/O port range (0xd000-0xd0ff) for rid 14 of pci0:1:0:0
	map[18]: type Memory, range 32, base 0xfbee0000, size 16, enabled
pcib1: allocated memory range (0xfbee0000-0xfbeeffff) for rid 18 of pci0:1:0:0
pcib0: matched entry for 0.1.INTA
pcib0: slot 1 INTA hardwired to IRQ 16
pcib1: slot 0 INTA is routed to irq 16
found->	vendor=0x1002, dev=0x4170, revid=0x00
	domain=0, bus=1, slot=0, func=1
	class=03-80-00, hdrtype=0x00, mfdev=0
	cmdreg=0x0007, statreg=0x02b0, cachelnsz=4 (dwords)
	lattimer=0x40 (1920 ns), mingnt=0x08 (2000 ns), maxlat=0x00 (0 ns)
	powerspec 2  supports D0 D1 D2 D3  current D0
	map[10]: type Prefetchable Memory, range 32, base 0xe0000000, size 28, enabled
pcib1: attempting to grow prefetch window for (0xe0000000-0xefffffff,0x10000000)
	back candidate range: 0xe0000000-0xefffffff
pcib1: failed to grow prefetch window to 0xd0000000-0xefffffff: 6
pcib1: attempting to grow memory window for (0xe0000000-0xefffffff,0x10000000)
	map[14]: type Memory, range 32, base 0xfbef0000, size 16, enabled
pcib1: allocated memory range (0xfbef0000-0xfbefffff) for rid 14 of pci0:1:0:1
vgapci0: <VGA-compatible display> port 0xd000-0xd0ff mem
0xd0000000-0xdfffffff,0xfbee0000-0xfbeeffff irq 16 at device 0.0 on
pci1
drm0: <ATI Radeon AP 9600> on vgapci0
info: [drm] AGP at 0xf0000000 128MB
info: [drm] Initialized radeon 1.31.0 20080613
vgapci1: <VGA-compatible display> mem 0xfbef0000-0xfbefffff at device
0.1 on pci1
uhci0: <Intel 82801EB (ICH5) USB controller USB-A> port 0xc880-0xc89f
irq 16 at device 29.0 on pci0
ioapic0: routing intpin 16 (PCI IRQ 16) to lapic 0 vector 49
usbus0: <Intel 82801EB (ICH5) USB controller USB-A> on uhci0
usbus0: bpf attached
uhci0: usbpf: Attached
uhci1: <Intel 82801EB (ICH5) USB controller USB-B> port 0xcc00-0xcc1f
irq 19 at device 29.1 on pci0
ioapic0: routing intpin 19 (PCI IRQ 19) to lapic 0 vector 50
usbus1: <Intel 82801EB (ICH5) USB controller USB-B> on uhci1
usbus1: bpf attached
uhci1: usbpf: Attached
ehci0: <Intel 82801EB/R (ICH5) USB 2.0 controller> mem
0xfbdffc00-0xfbdfffff irq 23 at device 29.7 on pci0
ioapic0: routing intpin 23 (PCI IRQ 23) to lapic 0 vector 51
usbus2: EHCI version 1.0
usbus2: <Intel 82801EB/R (ICH5) USB 2.0 controller> on ehci0
usbus2: bpf attached
ehci0: usbpf: Attached
pcib2: <ACPI PCI-PCI bridge> at device 30.0 on pci0
pcib2:   domain            0
pcib2:   secondary bus     2
pcib2:   subordinate bus   2
pcib2:   I/O decode        0xe000-0xefff
pcib2:   memory decode     0xfbf00000-0xfbffffff
pcib2:   no prefetched decode
pcib2:   Subtractively decoded bridge.
pci2: <ACPI PCI bus> on pcib2
pci2: domain=0, physical bus=2
found->	vendor=0x10b7, dev=0x1700, revid=0x12
	domain=0, bus=2, slot=5, func=0
	class=02-00-00, hdrtype=0x00, mfdev=0
	cmdreg=0x0117, statreg=0x02b0, cachelnsz=4 (dwords)
	lattimer=0x40 (1920 ns), mingnt=0x17 (5750 ns), maxlat=0x1f (7750 ns)
	intpin=a, irq=3
	powerspec 2  supports D0 D1 D2 D3  current D0
	map[10]: type Memory, range 32, base 0xfbffc000, size 14, enabled
pcib2: allocated memory range (0xfbffc000-0xfbffffff) for rid 10 of pci0:2:5:0
	map[14]: type I/O Port, range 32, base 0xe800, size  8, enabled
pcib2: allocated I/O port range (0xe800-0xe8ff) for rid 14 of pci0:2:5:0
pcib2: matched entry for 2.5.INTA
pcib2: slot 5 INTA hardwired to IRQ 22
found->	vendor=0x1274, dev=0x5880, revid=0x04
	domain=0, bus=2, slot=12, func=0
	class=04-01-00, hdrtype=0x00, mfdev=0
	cmdreg=0x0105, statreg=0x0410, cachelnsz=0 (dwords)
	lattimer=0x40 (1920 ns), mingnt=0x0c (3000 ns), maxlat=0x80 (32000 ns)
	intpin=a, irq=7
	powerspec 2  supports D0 D1 D2 D3  current D0
	map[10]: type I/O Port, range 32, base 0xec00, size  6, enabled
pcib2: allocated I/O port range (0xec00-0xec3f) for rid 10 of pci0:2:12:0
pcib2: matched entry for 2.12.INTA
pcib2: slot 12 INTA hardwired to IRQ 20
skc0: <3Com 3C940 Gigabit Ethernet> port 0xe800-0xe8ff mem
0xfbffc000-0xfbffffff irq 22 at device 5.0 on pci2
skc0: interrupt moderation is 100 us
skc0: 3Com Gigabit LOM (3C940) rev. (0x1)
skc0: chip ver  = 0xb0
skc0: chip rev  = 0x01
skc0: SK_EPROM0 = 0x00
skc0: SRAM size = 0x020000
sk0: <Marvell Semiconductor, Inc. Yukon> on skc0
sk0: bpf attached
sk0: Ethernet address: 00:0e:a6:35:15:91
miibus0: <MII bus> on sk0
e1000phy0: <Marvell 88E1011 Gigabit PHY> PHY 0 on miibus0
e1000phy0: OUI 0x000ac2, model 0x0002, rev. 3
e1000phy0:  none, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX,
1000baseT, 1000baseT-master, 1000baseT-FDX, 1000baseT-FDX-master, auto
ioapic0: routing intpin 22 (PCI IRQ 22) to lapic 0 vector 52
pcm0: <Creative CT5880-E> port 0xec00-0xec3f irq 20 at device 12.0 on pci2
pcm0: <eMicro EM28028 AC97 Codec (id = 0x454d4328)>
pcm0: Codec features 18 bit DAC, 18 bit ADC, 5 bit master volume, no
3D Stereo Enhancement
pcm0: Primary codec extended features surround DAC, AMAP
pcm0: ac97 codec dac ready count: 0
pcm0: Mixer "vol":
pcm0: Mixer "pcm":
pcm0: Mixer "speaker":
pcm0: Mixer "line":
pcm0: Mixer "mic":
pcm0: Mixer "cd":
pcm0: Mixer "rec":
pcm0: Mixer "igain":
pcm0: Mixer "ogain":
pcm0: Mixer "line1":
pcm0: Mixer "phin":
pcm0: Mixer "phout":
pcm0: Mixer "video":
ioapic0: routing intpin 20 (PCI IRQ 20) to lapic 0 vector 53
pcm0: clone manager: deadline=750ms flags=0x8000001e
pcm0: sndbuf_setmap 169d000, 1000; 0xc2a9d000 -> 169d000
pcm0: sndbuf_setmap 169b000, 1000; 0xc2a9b000 -> 169b000
pcm0: sndbuf_setmap 1699000, 1000; 0xc2a99000 -> 1699000
pcm0: <Playback: DAC1,DAC2 / Record: ADC>
isab0: <PCI-ISA bridge> at device 31.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel ICH5 UDMA100 controller> port
0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xfc00-0xfc0f at device 31.1 on
pci0
ata0: <ATA channel 0> on atapci0
ioapic0: routing intpin 14 (ISA IRQ 14) to lapic 0 vector 54
ata1: <ATA channel 1> on atapci0
ioapic0: routing intpin 15 (ISA IRQ 15) to lapic 0 vector 55
pci0: <serial bus, SMBus> at device 31.3 (no driver attached)
acpi_button0: <Power Button> on acpi0
attimer0: <AT timer> port 0x40-0x43 irq 0 on acpi0
Timecounter "i8254" frequency 1193182 Hz quality 0
ioapic0: routing intpin 2 (ISA IRQ 0) to lapic 0 vector 56
Event timer "i8254" frequency 1193182 Hz quality 100
atrtc0: <AT realtime clock> port 0x70-0x71 irq 8 on acpi0
atrtc0: registered as a time-of-day clock (resolution 1000000us,
adjustment 0.500000000s)
ioapic0: routing intpin 8 (ISA IRQ 8) to lapic 0 vector 57
Event timer "RTC" frequency 32768 Hz quality 0
atkbdc0: <Keyboard controller (i8042)> port 0x60,0x64 irq 1 on acpi0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
atkbd: the current kbd controller command byte 0065
atkbd: keyboard ID 0x41ab (2)
kbd0 at atkbd0
kbd0: atkbd0, AT 101/102 (2), config:0x0, flags:0x3d0000
ioapic0: routing intpin 1 (ISA IRQ 1) to lapic 0 vector 58
atkbd0: [GIANT-LOCKED]
psm0: unable to allocate IRQ
psmcpnp0: <PS/2 mouse port> irq 12 on acpi0
psm0: current command byte:0065
psm0: failed to reset the aux device.
pnp_identify: Trying Read_Port at 203
pnp_identify: Trying Read_Port at 243
pnp_identify: Trying Read_Port at 283
pnp_identify: Trying Read_Port at 2c3
pnp_identify: Trying Read_Port at 303
pnp_identify: Trying Read_Port at 343
pnp_identify: Trying Read_Port at 383
pnp_identify: Trying Read_Port at 3c3
PNP Identify complete
isa_probe_children: disabling PnP devices
pmtimer0 on isa0
ata: ata0 already exists; skipping it
ata: ata1 already exists; skipping it
atkbdc: atkbdc0 already exists; skipping it
atrtc: atrtc0 already exists; skipping it
attimer: attimer0 already exists; skipping it
sc: sc0 already exists; skipping it
isa_probe_children: probing non-PnP devices
orm0: <ISA Option ROM> at iomem 0xc0000-0xccfff pnpid ORM0000 on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
sc0: fb0, kbd1, terminal emulator: scteken (teken terminal)
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
fdc0 failed to probe at port 0x3f0 irq 6 drq 2 on isa0
ppc0 failed to probe at irq 7 on isa0
uart0 failed to probe at port 0x3f8 irq 4 on isa0
uart1 failed to probe at port 0x2f8 irq 3 on isa0
isa_probe_children: probing PnP devices
p4tcc0: <CPU Frequency Thermal Control> on cpu0
p4tcc1: <CPU Frequency Thermal Control> on cpu1
Device configuration finished.
lapic: Divisor 2, Frequency 99952364 Hz
Timecounters tick every 1.000 msec
lo0: bpf attached
usbus0: 12Mbps Full Speed USB v1.0
usbus1: 12Mbps Full Speed USB v1.0
usbus2: 480Mbps High Speed USB v2.0
ata0: reset tp1 mask=03 ostat0=50 ostat1=00
ata0: stat0=0x50 err=0x01 lsb=0x00 msb=0x00
ata0: stat1=0x00 err=0x01 lsb=0x00 msb=0x00
ata0: reset tp2 stat0=50 stat1=00 devices=0x1
(aprobe0:ata0:0:0:0): SIGNATURE: 0000
ugen0.1: <Intel> at usbus0
uhub0: <Intel UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus0
ugen1.1: <Intel> at usbus1
uhub1: <Intel UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus1
ugen2.1: <Intel> at usbus2
uhub2: <Intel EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus2
ata1: reset tp1 mask=03 ostat0=50 ostat1=00
ata1: stat0=0x00 err=0x01 lsb=0x14 msb=0xeb
ata1: stat1=0x00 err=0x00 lsb=0x00 msb=0x00
ata1: reset tp2 stat0=00 stat1=00 devices=0x10000
(aprobe0:ata1:0:0:0): SIGNATURE: eb14
ata1: DMA limited to UDMA33, controller found non-ATA66 cable
ada0 at ata0 bus 0 scbus0 target 0 lun 0
ada0: <Maxtor 6Y080P0 YAR41BW0> ATA-7 device
ada0: Serial Number Y2JPFJPE
ada0: 100.000MB/s transfers (UDMA5, PIO 8192bytes)
ada0: 78167MB (160086528 512 byte sectors: 16H 63S/T 16383C)
ada0: Previously was known as ad0
GEOM: new disk ada0
pass0 at ata0 bus 0 scbus0 target 0 lun 0
pass0: <Maxtor 6Y080P0 YAR41BW0> ATA-7 device
pass0: Serial Number Y2JPFJPE
(cd0:ata1:0:0:0): SCSI status error
(cd0:ata1:0:0:0): READ CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0
(cd0:ata1:0:0:0): CAM status: SCSI Status Error
(cd0:ata1:0:0:0): SCSI status: Check Condition
(cd0:ata1:0:0:0): SCSI sense: UNIT ATTENTION asc:29,0 (Power on,
reset, or bus device reset occurred)
(cd0:ata1:0:0:0): Retrying command (per sense data)
pass0: 100.000MB/s transfers (UDMA5, PIO 8192bytes)
pass1 at ata1 bus 0 scbus1 target 0 lun 0
pass1: <SONY DVD RW DW-D26A JYS2> Removable CD-ROM SCSI-0 device
pass1: 33.300MB/s transfers (UDMA2, ATAPI 12bytes, PIO 65534bytes)
(cd0:ata1:0:0:0): SCSI status error
(cd0:ata1:0:0:0): READ CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0
(cd0:ata1:0:0:0): CAM status: SCSI Status Error
(cd0:ata1:0:0:0): SCSI status: Check Condition
(cd0:ata1:0:0:0): SCSI sense: NOT READY asc:3a,0 (Medium not present)
(cd0:ata1:0:0:0): Error 6, Unretryable error
cd0 at ata1 bus 0 scbus1 target 0 lun 0
cd0: <SONY DVD RW DW-D26A JYS2> Removable CD-ROM SCSI-0 device
cd0: 33.300MB/s transfers (UDMA2, ATAPI 12bytes, PIO 65534bytes)
cd0: Attempt to query device size failed: NOT READY, Medium not present
SMP: AP CPU #1 Launched!
cpu1 AP:
     ID: 0x01000000   VER: 0x00050014 LDR: 0x00000000 DFR: 0xffffffff
  lint0: 0x00010700 lint1: 0x00000400 TPR: 0x00000000 SVR: 0x000001ff
  timer: 0x000100ef therm: 0x00010000 err: 0x000000f0 pmc: 0x00010400
ioapic0: routing intpin 1 (ISA IRQ 1) to lapic 1 vector 48
ioapic0: routing intpin 14 (ISA IRQ 14) to lapic 1 vector 49
ioapic0: routing intpin 16 (PCI IRQ 16) to lapic 1 vector 50
ioapic0: routing intpin 20 (PCI IRQ 20) to lapic 1 vector 51
ioapic0: routing intpin 23 (PCI IRQ 23) to lapic 1 vector 52
Timecounter "TSC" frequency 2798710268 Hz quality -100
GEOM: new disk cd0
GEOM: ada0s1: geometry does not match label (255h,63s != 16h,63s).
(cd0:ata1:0:0:0): SCSI status error
(cd0:ata1:0:0:0): READ CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0
(cd0:ata1:0:0:0): CAM status: SCSI Status Error
(cd0:ata1:0:0:0): SCSI status: Check Condition
(cd0:ata1:0:0:0): SCSI sense: NOT READY asc:3a,0 (Medium not present)
(cd0:ata1:0:0:0): Error 6, Unretryable error
(cd0:ata1:0:0:0): SCSI status error
(cd0:ata1:0:0:0): READ CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0
(cd0:ata1:0:0:0): CAM status: SCSI Status Error
(cd0:ata1:0:0:0): SCSI status: Check Condition
(cd0:ata1:0:0:0): SCSI sense: NOT READY asc:3a,0 (Medium not present)
(cd0:ata1:0:0:0): Error 6, Unretryable error
Root mount waiting for: usbus2 usbus1 usbus0
uhub0: 2 ports with 2 removable, self powered
uhub1: 2 ports with 2 removable, self powered
Root mount waiting for: usbus2
uhub2: 4 ports with 4 removable, self powered
Root mount waiting for: usbus2
Trying to mount root from ufs:/dev/ada0s1a [rw,noatime]...
start_init: trying /sbin/init
ugen1.2: <vendor 0x04fc> at usbus1
ums0: <vendor 0x04fc USB Multi-Smart Mouse, class 0/0, rev 2.00/16.11,
addr 2> on usbus1
ums0: 5 buttons and [XYZT] coordinates ID=1
procfs registered
Linux ELF exec handler installed
linprocfs registered
========== dmesg ends ==========

PS: u should learn to properly use backward references ("it") in ur sentences.
Received on Thu Jun 09 2011 - 16:07:33 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:14 UTC