Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

updating from r231158 to 234465: mounting from ufs:/dev/ad4s1a failed with error 19

156 views
Skip to first unread message

Anton Shterenlikht

unread,
Apr 26, 2012, 6:44:17 PM4/26/12
to freebsd...@freebsd.org
I was updating from r231158 to 234465
(amd64 laptop Compaq 6715s),
and I think I must've messed someting
up in the kernel config. Now I get
build error, panic of a loader error,
depending on which kernel I build.

*********************************************************

If I build GENERIC, I get:

(transcribed by hand)

mountroot: waiting for device /dev/ad4s1a
Mounting from ufs:/dev/ad4s1a failed with error 19.

mountroot> ?

List of GEOM managed disk devices:

cd0

mountroot>


The device is certainly correct in r231158:

BUZI> df
Filesystem 512-blocks Used Avail Capacity Mounted on
/dev/ad4s1a 101554068 46474368 46955376 50% /
devfs 2 2 0 100% /dev
BUZI>

*********************************************************

If I add

device atadisk

to GENERIC, then I get this linking error:

linking kernel.debug
ata-disk.o: In function `ad_init':
/usr/src/sys/dev/ata/ata-disk.c:397: undefined reference to `ata_setmode'
/usr/src/sys/dev/ata/ata-disk.c:405: undefined reference to `ata_wc'
/usr/src/sys/dev/ata/ata-disk.c:406: undefined reference to `ata_controlcmd'
/usr/src/sys/dev/ata/ata-disk.c:408: undefined reference to `ata_controlcmd'
/usr/src/sys/dev/ata/ata-disk.c:401: undefined reference to `ata_controlcmd'
/usr/src/sys/dev/ata/ata-disk.c:415: undefined reference to `ata_controlcmd'
ata-disk.o: In function `ad_shutdown':
/usr/src/sys/dev/ata/ata-disk.c:204: undefined reference to `ata_controlcmd'
ata-disk.o: In function `ad_detach':
/usr/src/sys/dev/ata/ata-disk.c:190: undefined reference to `ata_fail_requests'
ata-disk.o: In function `ad_dump':
/usr/src/sys/dev/ata/ata-disk.c:370: undefined reference to `ata_drop_requests'
/usr/src/sys/dev/ata/ata-disk.c:378: undefined reference to `ata_controlcmd'
ata-disk.o: In function `ad_attach':
/usr/src/sys/dev/ata/ata-disk.c:115: undefined reference to `ata_setmax'
ata-disk.o: In function `ad_describe':
/usr/src/sys/dev/ata/ata-disk.c:555: undefined reference to `ata_satarev2str'
/usr/src/sys/dev/ata/ata-disk.c:555: undefined reference to `ata_unit2str'
ata-disk.o: In function `ad_set_geometry':
/usr/src/sys/dev/ata/ata-disk.c:492: undefined reference to `ata_queue_request'
/usr/src/sys/dev/ata/ata-disk.c:511: undefined reference to `ata_queue_request'
/usr/src/sys/dev/ata/ata-disk.c:516: undefined reference to `ata_getparam'
ata-disk.o: In function `ad_spindown':
/usr/src/sys/dev/ata/ata-disk.c:250: undefined reference to `ata_queue_request'
ata-disk.o: In function `ad_ioctl':
/usr/src/sys/dev/ata/ata-disk.c:354: undefined reference to `ata_device_ioctl'
ata-disk.o: In function `ad_strategy':
/usr/src/sys/dev/ata/ata-disk.c:335: undefined reference to `ata_queue_request'
atapi-cd.o: In function `acd_reinit':
/usr/src/sys/dev/ata/atapi-cd.c:166: undefined reference to `ata_setmode'
atapi-cd.o: In function `acd_shutdown':
/usr/src/sys/dev/ata/atapi-cd.c:152: undefined reference to `ata_controlcmd'
atapi-cd.o: In function `acd_geom_detach':
/usr/src/sys/dev/ata/atapi-cd.c:199: undefined reference to `ata_fail_requests'
atapi-cd.o: In function `acd_test_ready':
/usr/src/sys/dev/ata/atapi-cd.c:1693: undefined reference to `ata_atapicmd'
atapi-cd.o: In function `acd_mode_select':
/usr/src/sys/dev/ata/atapi-cd.c:1619: undefined reference to `ata_atapicmd'
atapi-cd.o: In function `acd_mode_sense':
/usr/src/sys/dev/ata/atapi-cd.c:1609: undefined reference to `ata_atapicmd'
atapi-cd.o: In function `acd_pause_resume':
/usr/src/sys/dev/ata/atapi-cd.c:1599: undefined reference to `ata_atapicmd'
atapi-cd.o: In function `acd_start_stop':
/usr/src/sys/dev/ata/atapi-cd.c:1590: undefined reference to `ata_atapicmd'
atapi-cd.o:/usr/src/sys/dev/ata/atapi-cd.c:1581: more undefined references to `ata_atapicmd' foll
atapi-cd.o: In function `acd_get_progress':
/usr/src/sys/dev/ata/atapi-cd.c:1236: undefined reference to `ata_queue_request'
atapi-cd.o: In function `acd_strategy':
/usr/src/sys/dev/ata/atapi-cd.c:889: undefined reference to `ata_queue_request'
atapi-cd.o: In function `acd_geom_access':
/usr/src/sys/dev/ata/atapi-cd.c:704: undefined reference to `ata_queue_request'
atapi-cd.o: In function `acd_read_format_caps':
/usr/src/sys/dev/ata/atapi-cd.c:1671: undefined reference to `ata_atapicmd'
atapi-cd.o: In function `acd_geom_ioctl':
/usr/src/sys/dev/ata/atapi-cd.c:680: undefined reference to `ata_device_ioctl'
atapi-cd.o: In function `acd_format':
/usr/src/sys/dev/ata/atapi-cd.c:1682: undefined reference to `ata_atapicmd'
atapi-cd.o: In function `acd_report_key':
/usr/src/sys/dev/ata/atapi-cd.c:1336: undefined reference to `ata_atapicmd'
atapi-cd.o: In function `acd_read_track_info':
/usr/src/sys/dev/ata/atapi-cd.c:1206: undefined reference to `ata_atapicmd'
atapi-cd.o: In function `acd_init_writer':
/usr/src/sys/dev/ata/atapi-cd.c:1056: undefined reference to `ata_atapicmd'
/usr/src/sys/dev/ata/atapi-cd.c:1059: undefined reference to `ata_atapicmd'
atapi-cd.o:/usr/src/sys/dev/ata/atapi-cd.c:1086: more undefined references to `ata_atapicmd' foll
atapi-cd.o: In function `acd_attach':
/usr/src/sys/dev/ata/atapi-cd.c:129: undefined reference to `ata_setmode'
/usr/src/sys/dev/ata/atapi-cd.c:130: undefined reference to `ata_controlcmd'
atapi-cd.o: In function `acd_describe':
/usr/src/sys/dev/ata/atapi-cd.c:1884: undefined reference to `ata_satarev2str'
/usr/src/sys/dev/ata/atapi-cd.c:1884: undefined reference to `ata_unit2str'
/usr/src/sys/dev/ata/atapi-cd.c:1706: undefined reference to `ata_unit2str'
/usr/src/sys/dev/ata/atapi-cd.c:1733: undefined reference to `ata_satarev2str'
*** Error code 1
1 error

*********************************************************

Finally, if I try build my old kernel config file
(which I might've modified by forgot to document),
I get this panic (the kernel config is below):

(transcribed by hand)

Memory modified after free 0xfffffe0001848800(504) val=802f1f20 @
0xfffffe00018488a8
panic: Most recently used by bus-sc

*skip very long backtrace, ending with*

bus_set_pass() at bus_set_pass+0x7a
configure() at configure+0xa
mi_startup() at mi_startup+0x77
btext() at btext+0x2c



The kernel config:


cpu HAMMER # buzi laptop
ident BUZI

makeoptions DEBUG=-g # Build kernel with gdb(1) debug symbols
makeoptions MODULES_OVERRIDE=

options ALT_BREAK_TO_DEBUGGER
options ATA_STATIC_ID # Static device numbering
options AUDIT # Security event auditing
options BREAK_TO_DEBUGGER
options CD9660
options COMPAT_43TTY # BSD 4.3 TTY compat (sgtty)
options COMPAT_FREEBSD32
options COMPAT_LINUX32
options DDB
#options EXCEPTION_TRACING
options FFS
options FLOWTABLE # per-cpu routing cache
options GDB
options GEOM_PART_GPT # GUID Partition Tables.
options GEOM_LABEL # Provides labelization
options HWPMC_HOOKS # Necessary kernel hooks for hwpmc(4)
options IEEE80211_DEBUG # enable debug msgs
options IEEE80211_AMPDU_AGE # age frames in AMPDU reorder q's
options IEEE80211_SUPPORT_MESH # enable 802.11s draft support
options INCLUDE_CONFIG_FILE # Include this file in kernel
options INET
options INET6
options INVARIANTS
options INVARIANT_SUPPORT
options IPFILTER
options IPFILTER_DEFAULT_BLOCK
options IPFILTER_LOG
#options IPI_PREEMPTION
options KDB
options KBD_INSTALL_CDEV # install a CDEV entry in /dev
#options KDTRACE_FRAME # Ensure frames are compiled in
#options KDTRACE_HOOKS # Kernel DTrace hooks
options KTRACE
#options MAC # TrustedBSD MAC Framework
options MD_ROOT
options MSDOSFS
options P1003_1B_SEMAPHORES
#options PREEMPTION
options PRINTF_BUFR_SIZE=128
options PROCFS
options PSEUDOFS
#options SCHED_4BSD
options SCHED_ULE
options SCSI_DELAY=5000 # Delay (in ms) before probing SCSI
options SCTP # Stream Control Transmission Protocol
options SMP # Symmetric MultiProcessor Kernel
options SOFTUPDATES
options STACK # stack(9) support
options SYSVMSG
options SYSVSEM
options SYSVSHM
options UFS_ACL # Support for access control lists
options UFS_DIRHASH
options UFS_GJOURNAL # Enable gjournal-based UFS journaling
#options UWX_TRACE_ENABLE
options WITNESS
#options WITNESS_KDB
options WITNESS_SKIPSPIN
options _KPOSIX_PRIORITY_SCHEDULING

device acpi
device ata
device atadisk # ATA disk drives
device atapicd # ATAPI CDROM drives
device atkbdc # AT keyboard controller
device atkbd # AT keyboard
device bge # Broadcom BCM570xx Gigabit Ethernet
device bpf # Berkeley packet filter
device cardbus # CardBus (32-bit) bus
device cbb # cardbus (yenta) bridge
device cpufreq
device da # Direct Access (disks)
device miibus # MII bus support
device pass # Passthrough device (direct SCSI access)
device pccard # PC Card (16-bit) bus
device pci
device psm # PS/2 mouse
device sc
device scbus # SCSI bus (required for SCSI)
device sound
device snd_hda
device uart # Generic UART driver
device vga # VGA video card driver

# Pseudo devices.
device ether # Ethernet support
device faith # IPv6-to-IPv4 relaying (translation)
#device firmware # firmware assist module
device gif # IPv6 and IPv4 tunneling
device loop # Network loopback
device md # Memory "disks"
device pty # BSD-style compatibility pseudo ttys
device random # Entropy device
device tun # Packet tunnel.
device vlan # 802.1Q VLAN support


Please advise

Many thanks

--
Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 331 5944
Fax: +44 (0)117 929 4423
_______________________________________________
freebsd...@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-curre...@freebsd.org"

John Baldwin

unread,
Apr 27, 2012, 9:43:02 AM4/27/12
to freebsd...@freebsd.org, Anton Shterenlikht
On Thursday, April 26, 2012 6:42:15 pm Anton Shterenlikht wrote:
> I was updating from r231158 to 234465
> (amd64 laptop Compaq 6715s),
> and I think I must've messed someting
> up in the kernel config. Now I get
> build error, panic of a loader error,
> depending on which kernel I build.
>
> *********************************************************
>
> If I build GENERIC, I get:
>
> (transcribed by hand)
>
> mountroot: waiting for device /dev/ad4s1a
> Mounting from ufs:/dev/ad4s1a failed with error 19.
>
> mountroot> ?
>
> List of GEOM managed disk devices:
>
> cd0
>
> mountroot>

Hmm, so GENERIC is not finding ad4. Can you look in the dmesg
(using scroll-lock) to see if GENERIC finds your ATA controller
ok?

> The device is certainly correct in r231158:
>
> BUZI> df
> Filesystem 512-blocks Used Avail Capacity Mounted on
> /dev/ad4s1a 101554068 46474368 46955376 50% /
> devfs 2 2 0 100% /dev
> BUZI>
>
> *********************************************************
>
> If I add
>
> device atadisk
>
> to GENERIC, then I get this linking error:

Yes, you aren't supposed to use 'atadisk' with ATA_CAM. See the UPDATING
entry 20110424 for more details on that.

However, can you obtain a verbose dmesg from your old kernel?

--
John Baldwin

Anton Shterenlikht

unread,
Apr 28, 2012, 1:21:38 PM4/28/12
to John Baldwin, freebsd...@freebsd.org, Anton Shterenlikht
On Fri, Apr 27, 2012 at 07:51:11AM -0400, John Baldwin wrote:
> On Thursday, April 26, 2012 6:42:15 pm Anton Shterenlikht wrote:
> > I was updating from r231158 to 234465
> > (amd64 laptop Compaq 6715s),
> > and I think I must've messed someting
> > up in the kernel config. Now I get
> > build error, panic of a loader error,
> > depending on which kernel I build.
> >
> > *********************************************************
> >
> > If I build GENERIC, I get:
> >
> > (transcribed by hand)
> >
> > mountroot: waiting for device /dev/ad4s1a
> > Mounting from ufs:/dev/ad4s1a failed with error 19.
> >
> > mountroot> ?
> >
> > List of GEOM managed disk devices:
> >
> > cd0
> >
> > mountroot>
>
> Hmm, so GENERIC is not finding ad4. Can you look in the dmesg
> (using scroll-lock) to see if GENERIC finds your ATA controller
> ok?

I see only one line:

ata0: <ATA channel> at channel 0 on atapci0

ata does not appear anywhere else.

>
> > The device is certainly correct in r231158:
> >
> > BUZI> df
> > Filesystem 512-blocks Used Avail Capacity Mounted on
> > /dev/ad4s1a 101554068 46474368 46955376 50% /
> > devfs 2 2 0 100% /dev
> > BUZI>
> >
> > *********************************************************
> >
> > If I add
> >
> > device atadisk
> >
> > to GENERIC, then I get this linking error:
>
> Yes, you aren't supposed to use 'atadisk' with ATA_CAM. See the UPDATING
> entry 20110424 for more details on that.
>
> However, can you obtain a verbose dmesg from your old kernel?

Amazingly (for me) I can't!

Twice I got a panic. The third time,
and thereafter, I get the same error as with GENERIC:

Mounting from ufs:/dev/ad4s1a failed with error 19.

I also see:

ata0: stat0=0x00 err=0x01 lsb=0x14 msb=0exb
ata0: stat1=0x00 err=0x00 lsb=0x00 msb=0x00
ata0: reset tp2 stat0=00 stat1=00 devices=0x10000

Thanks

--
Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 331 5944
Fax: +44 (0)117 929 4423

John Baldwin

unread,
Apr 30, 2012, 8:52:28 AM4/30/12
to Anton Shterenlikht, freebsd...@freebsd.org
Hmmm, I don't know how to grok these lines, but does your disk work at all now
with any kernel? It may be that your disk has died (or a cable, etc.) and it
just happened to coincide with your upgrade?

--
John Baldwin

Anton Shterenlikht

unread,
May 1, 2012, 7:36:53 AM5/1/12
to John Baldwin, freebsd...@freebsd.org, Anton Shterenlikht
On Mon, Apr 30, 2012 at 08:43:14AM -0400, John Baldwin wrote:
> >
> > I also see:
> >
> > ata0: stat0=0x00 err=0x01 lsb=0x14 msb=0exb
> > ata0: stat1=0x00 err=0x00 lsb=0x00 msb=0x00
> > ata0: reset tp2 stat0=00 stat1=00 devices=0x10000
>
> Hmmm, I don't know how to grok these lines, but does your disk work at all now
> with any kernel? It may be that your disk has died (or a cable, etc.) and it
> just happened to coincide with your upgrade?

I reverted back to r231158, built world and generic
kernel (minus all modules, i.e. "option MODULES_OVERRIDE=").
This works, see the verbose boot dmesg at the end.

I think I'll just do a binary search.

Many thanks

***********************************************

Table 'FACP' at 0xb7fc8084
Table 'SLIC' at 0xb7fc8220
Table 'EPTH' at 0xb7fc8398
Table 'APIC' at 0xb7fc83d0
APIC: Found table at 0xb7fc83d0
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-2012 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.9-CURRENT #9 r231158M: Tue May 1 12:13:45 BST 2012
root@:/usr/obj/usr/src/sys/GEN amd64
WARNING: WITNESS option enabled, expect reduced performance.
Preloaded elf kernel "/boot/kernel/kernel" at 0xffffffff81660000.
Calibrating TSC clock ... TSC clock: 1994986478 Hz
CPU: AMD Turion(tm) 64 X2 Mobile Technology TL-60 (1994.99-MHz K8-class CPU)
Origin = "AuthenticAMD" Id = 0x60f82 Family = f Model = 68 Stepping = 2
Features=0x178bfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2,HTT>
Features2=0x2001<SSE3,CX16>
AMD Features=0xea500800<SYSCALL,NX,MMX+,FFXSR,RDTSCP,LM,3DNow!+,3DNow!>
AMD Features2=0x11f<LAHF,CMP,SVM,ExtAPIC,CR8,Prefetch>
L1 2MB data TLB: 8 entries, fully associative
L1 2MB instruction TLB: 8 entries, fully associative
L1 4KB data TLB: 32 entries, fully associative
L1 4KB instruction TLB: 32 entries, fully associative
L1 data cache: 64 kbytes, 64 bytes/line, 1 lines/tag, 2-way associative
L1 instruction cache: 64 kbytes, 64 bytes/line, 1 lines/tag, 2-way associative
L2 2MB unified TLB: 0 entries, disabled/not present
L2 4KB data TLB: 512 entries, 4-way associative
L2 4KB instruction TLB: 512 entries, 4-way associative
L2 unified cache: 512 kbytes, 64 bytes/line, 1 lines/tag, 16-way associative
real memory = 3221225472 (3072 MB)
Physical memory chunk(s):
0x0000000000001000 - 0x000000000009bfff, 634880 bytes (155 pages)
0x0000000000100000 - 0x00000000001fffff, 1048576 bytes (256 pages)
0x000000000168f000 - 0x00000000b28ecfff, 2972049408 bytes (725598 pages)
avail memory = 2950324224 (2813 MB)
Event timer "LAPIC" quality 400
ACPI APIC Table: <HP 0944 >
INTR: Adding local APIC 1 as a target
FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
FreeBSD/SMP: 1 package(s) x 2 core(s)
cpu0 (BSP): APIC ID: 0
cpu1 (AP): APIC ID: 1
x86bios: IVT 0x000000-0x0004ff at 0xfffffe0000000000
x86bios: SSEG 0x001000-0x001fff at 0xffffff8000210000
x86bios: EBDA 0x09f000-0x09ffff at 0xfffffe000009f000
x86bios: ROM 0x0a0000-0x0fefff at 0xfffffe00000a0000
APIC: CPU 0 has ACPI ID 1
APIC: CPU 1 has ACPI ID 2
ULE: setup cpu 0
ULE: setup cpu 1
ACPI: RSDP 0xfe0b0 00024 (v02 HP )
ACPI: XSDT 0xb7fc81bc 00064 (v01 HPQOEM SLIC-MPC 00000001 HP 00000001)
ACPI: FACP 0xb7fc8084 000F4 (v04 HP 0944 00000003 HP 00000001)
ACPI Error: 32/64X address mismatch in Pm2ControlBlock: 0x00008800/0x0000000000008100, using 32 (20120111/tbfadt-471)
ACPI: DSDT 0xb7fc84a4 11437 (v01 HP SB400 00010000 MSFT 03000001)
ACPI: FACS 0xb7fe7d80 00040
ACPI: SLIC 0xb7fc8220 00176 (v01 HPQOEM SLIC-MPC 00000001 HP 00000001)
ACPI: EPTH 0xb7fc8398 00038 (v01 HP 0944 00000001 HP 00000001)
ACPI: APIC 0xb7fc83d0 00062 (v01 HP 0944 00000001 HP 00000001)
ACPI: MCFG 0xb7fc8434 0003C (v01 HP 0944 00000001 HP 00000001)
ACPI: TCPA 0xb7fc8470 00032 (v02 HP 0944 00000001 HP 00000001)
ACPI: SSDT 0xb7fd98db 00059 (v01 HP HPQNLP 00000001 MSFT 03000001)
ACPI: SSDT 0xb7fd9934 00206 (v01 HP PSSTBLID 00000001 HP 00000001)
MADT: Found IO APIC ID 2, Interrupt 0 at 0xfec00000
ioapic0: Changing APIC ID to 2
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: intpin 9 polarity: low
lapic0: Routing NMI -> LINT1
lapic0: LINT1 trigger: edge
lapic0: LINT1 polarity: high
ioapic0 <Version 2.1> irqs 0-23 on motherboard
cpu0 BSP:
ID: 0x00000000 VER: 0x80050010 LDR: 0x00000000 DFR: 0xffffffff
lint0: 0x00010700 lint1: 0x00000400 TPR: 0x00000000 SVR: 0x000001ff
timer: 0x000100ef therm: 0x00010000 err: 0x000000f0 pmc: 0x00010400
wlan: <802.11 Link Layer>
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
kbd: new array size 4
kbd1 at kbdmux0
mem: <memory>
nfslock: pseudo-device
null: <null device, zero device>
random: <entropy source, Software, Yarrow>
io: <I/O>
hptrr: RocketRAID 17xx/2xxx SATA controller driver v1.2
ctl: CAM Target Layer loaded
acpi0: <HPQOEM SLIC-MPC> on motherboard
PCIe: Memory Mapped configuration base @ 0xe0000000
ioapic0: routing intpin 9 (ISA IRQ 9) to lapic 0 vector 48
acpi0: Power Button (fixed)
unknown: I/O range not supported
acpi0: reservation of 0, 8000000 (3) failed
acpi0: reservation of 100000, fff00000 (3) failed
ACPI timer: 1/1 1/1 1/1 1/1 1/1 1/1 1/1 1/1 1/1 1/1 -> 10
Timecounter "ACPI-fast" frequency 3579545 Hz quality 900
acpi_timer0: <32-bit timer at 3.579545MHz> port 0x8008-0x800b on acpi0
cpu0: <ACPI CPU> on acpi0
cpu0: switching to generic Cx mode
cpu1: <ACPI CPU> on acpi0
acpi_ec0: <Embedded Controller: GPE 0x11> port 0x62,0x66 on acpi0
pci_link0: Index IRQ Rtd Ref IRQs
Initial Probe 0 255 N 0 10 11
Validation 0 255 N 0 10 11
After Disable 0 255 N 0 10 11
pci_link1: Index IRQ Rtd Ref IRQs
Initial Probe 0 255 N 0 10 11
Validation 0 255 N 0 10 11
After Disable 0 255 N 0 10 11
pci_link2: Index IRQ Rtd Ref IRQs
Initial Probe 0 255 N 0 10 11
Validation 0 255 N 0 10 11
After Disable 0 255 N 0 10 11
pci_link3: Index IRQ Rtd Ref IRQs
Initial Probe 0 255 N 0 10 11
Validation 0 255 N 0 10 11
After Disable 0 255 N 0 10 11
pci_link4: Index IRQ Rtd Ref IRQs
Initial Probe 0 255 N 0 10 11
Validation 0 255 N 0 10 11
After Disable 0 255 N 0 10 11
pci_link5: Index IRQ Rtd Ref IRQs
Initial Probe 0 255 N 0 9
Validation 0 255 N 0 9
After Disable 0 255 N 0 9
pci_link6: Index IRQ Rtd Ref IRQs
Initial Probe 0 255 N 0 10 11
Validation 0 255 N 0 10 11
After Disable 0 255 N 0 10 11
pci_link7: Index IRQ Rtd Ref IRQs
Initial Probe 0 255 N 0 10 11
Validation 0 255 N 0 10 11
After Disable 0 255 N 0 10 11
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pcib0: decoding 4 range 0-0xcf7
pcib0: decoding 4 range 0xd00-0xffff
pcib0: decoding 3 range 0xa0000-0xbffff
pcib0: decoding 3 range 0xc0000000-0xfedfffff
pcib0: Length mismatch for 3 range: 11ff000 vs 11fefff
pcib0: decoding 3 range 0xfee01000-0xffffffff
pcib0: decoding 3 range 0xd3000-0xdffff
pci0: <ACPI PCI bus> on pcib0
pci0: domain=0, physical bus=0
found-> vendor=0x1002, dev=0x7910, revid=0x00
domain=0, bus=0, slot=0, func=0
class=06-00-00, hdrtype=0x00, mfdev=0
cmdreg=0x0006, statreg=0x2220, cachelnsz=0 (dwords)
lattimer=0x40 (1920 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
found-> vendor=0x1002, dev=0x7912, revid=0x00
domain=0, bus=0, slot=1, func=0
class=06-04-00, hdrtype=0x01, mfdev=0
cmdreg=0x0007, statreg=0x0230, cachelnsz=0 (dwords)
lattimer=0x40 (1920 ns), mingnt=0x0c (3000 ns), maxlat=0x00 (0 ns)
found-> vendor=0x1002, dev=0x7914, revid=0x00
domain=0, bus=0, slot=4, func=0
class=06-04-00, hdrtype=0x01, mfdev=0
cmdreg=0x0007, statreg=0x0010, cachelnsz=16 (dwords)
lattimer=0x00 (0 ns), mingnt=0x04 (1000 ns), maxlat=0x00 (0 ns)
powerspec 3 supports D0 D3 current D0
MSI supports 1 message
found-> vendor=0x1002, dev=0x7915, revid=0x00
domain=0, bus=0, slot=5, func=0
class=06-04-00, hdrtype=0x01, mfdev=0
cmdreg=0x0007, statreg=0x0010, cachelnsz=16 (dwords)
lattimer=0x00 (0 ns), mingnt=0x04 (1000 ns), maxlat=0x00 (0 ns)
powerspec 3 supports D0 D3 current D0
MSI supports 1 message
found-> vendor=0x1002, dev=0x4380, revid=0x00
domain=0, bus=0, slot=18, func=0
class=01-01-8f, hdrtype=0x00, mfdev=0
cmdreg=0x0007, statreg=0x0230, cachelnsz=16 (dwords)
lattimer=0x40 (1920 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
intpin=a, irq=10
powerspec 2 supports D0 D3 current D0
map[10]: type I/O Port, range 32, base 0x9000, size 3, enabled
pcib0: allocated type 4 (0x9000-0x9007) for rid 10 of pci0:0:18:0
map[14]: type I/O Port, range 32, base 0x9008, size 2, enabled
pcib0: allocated type 4 (0x9008-0x900b) for rid 14 of pci0:0:18:0
map[18]: type I/O Port, range 32, base 0x9010, size 3, enabled
pcib0: allocated type 4 (0x9010-0x9017) for rid 18 of pci0:0:18:0
map[1c]: type I/O Port, range 32, base 0x5018, size 2, enabled
pcib0: allocated type 4 (0x5018-0x501b) for rid 1c of pci0:0:18:0
map[20]: type I/O Port, range 32, base 0x5020, size 4, enabled
pcib0: allocated type 4 (0x5020-0x502f) for rid 20 of pci0:0:18:0
map[24]: type Memory, range 32, base 0xcc409000, size 10, enabled
pcib0: allocated type 3 (0xcc409000-0xcc4093ff) for rid 24 of pci0:0:18:0
pcib0: matched entry for 0.18.INTA
pcib0: slot 18 INTA hardwired to IRQ 16
found-> vendor=0x1002, dev=0x4387, revid=0x00
domain=0, bus=0, slot=19, func=0
class=0c-03-10, hdrtype=0x00, mfdev=1
cmdreg=0x0007, statreg=0x02a0, cachelnsz=16 (dwords)
lattimer=0x40 (1920 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
intpin=a, irq=11
map[10]: type Memory, range 32, base 0xcc401000, size 12, enabled
pcib0: allocated type 3 (0xcc401000-0xcc401fff) for rid 10 of pci0:0:19:0
pcib0: matched entry for 0.19.INTA
pcib0: slot 19 INTA hardwired to IRQ 23
found-> vendor=0x1002, dev=0x4388, revid=0x00
domain=0, bus=0, slot=19, func=1
class=0c-03-10, hdrtype=0x00, mfdev=0
cmdreg=0x0007, statreg=0x02a0, cachelnsz=16 (dwords)
lattimer=0x40 (1920 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
intpin=b, irq=5
map[10]: type Memory, range 32, base 0xcc402000, size 12, enabled
pcib0: allocated type 3 (0xcc402000-0xcc402fff) for rid 10 of pci0:0:19:1
pcib0: matched entry for 0.19.INTB
pcib0: slot 19 INTB hardwired to IRQ 17
found-> vendor=0x1002, dev=0x4389, revid=0x00
domain=0, bus=0, slot=19, func=2
class=0c-03-10, hdrtype=0x00, mfdev=0
cmdreg=0x0007, statreg=0x02a0, cachelnsz=16 (dwords)
lattimer=0x40 (1920 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
intpin=c, irq=5
map[10]: type Memory, range 32, base 0xcc403000, size 12, enabled
pcib0: allocated type 3 (0xcc403000-0xcc403fff) for rid 10 of pci0:0:19:2
pcib0: matched entry for 0.19.INTC
pcib0: slot 19 INTC hardwired to IRQ 17
found-> vendor=0x1002, dev=0x438a, revid=0x00
domain=0, bus=0, slot=19, func=3
class=0c-03-10, hdrtype=0x00, mfdev=0
cmdreg=0x0007, statreg=0x02a0, cachelnsz=16 (dwords)
lattimer=0x40 (1920 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
intpin=b, irq=5
map[10]: type Memory, range 32, base 0xcc404000, size 12, enabled
pcib0: allocated type 3 (0xcc404000-0xcc404fff) for rid 10 of pci0:0:19:3
pcib0: matched entry for 0.19.INTB
pcib0: slot 19 INTB hardwired to IRQ 17
found-> vendor=0x1002, dev=0x438b, revid=0x00
domain=0, bus=0, slot=19, func=4
class=0c-03-10, hdrtype=0x00, mfdev=0
cmdreg=0x0007, statreg=0x02a0, cachelnsz=16 (dwords)
lattimer=0x40 (1920 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
intpin=c, irq=5
map[10]: type Memory, range 32, base 0xcc405000, size 12, enabled
pcib0: allocated type 3 (0xcc405000-0xcc405fff) for rid 10 of pci0:0:19:4
pcib0: matched entry for 0.19.INTC
pcib0: slot 19 INTC hardwired to IRQ 17
found-> vendor=0x1002, dev=0x4386, revid=0x00
domain=0, bus=0, slot=19, func=5
class=0c-03-20, hdrtype=0x00, mfdev=0
cmdreg=0x0007, statreg=0x02b0, cachelnsz=16 (dwords)
lattimer=0x40 (1920 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
intpin=d, irq=11
powerspec 2 supports D0 D1 D2 D3 current D0
map[10]: type Memory, range 32, base 0xcc406000, size 8, enabled
pcib0: allocated type 3 (0xcc406000-0xcc4060ff) for rid 10 of pci0:0:19:5
pcib0: matched entry for 0.19.INTD
pcib0: slot 19 INTD hardwired to IRQ 23
found-> vendor=0x1002, dev=0x4385, revid=0x14
domain=0, bus=0, slot=20, func=0
class=0c-05-00, hdrtype=0x00, mfdev=1
cmdreg=0x0003, statreg=0x0230, cachelnsz=0 (dwords)
lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
map[10]: type I/O Port, range 32, base 0x8200, size 4, enabled
pcib0: allocated type 4 (0x8200-0x820f) for rid 10 of pci0:0:20:0
found-> vendor=0x1002, dev=0x438c, revid=0x00
domain=0, bus=0, slot=20, func=1
class=01-01-82, hdrtype=0x00, mfdev=0
cmdreg=0x0005, statreg=0x0220, cachelnsz=16 (dwords)
lattimer=0x40 (1920 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
intpin=a, irq=10
pcib0: allocated type 4 (0x1f0-0x1f7) for rid 10 of pci0:0:20:1
pcib0: allocated type 4 (0x3f6-0x3f6) for rid 14 of pci0:0:20:1
pcib0: allocated type 4 (0x170-0x177) for rid 18 of pci0:0:20:1
pcib0: allocated type 4 (0x376-0x376) for rid 1c of pci0:0:20:1
map[20]: type I/O Port, range 32, base 0x5040, size 4, enabled
pcib0: allocated type 4 (0x5040-0x504f) for rid 20 of pci0:0:20:1
pcib0: matched entry for 0.20.INTA
pcib0: slot 20 INTA hardwired to IRQ 16
found-> vendor=0x1002, dev=0x4383, revid=0x00
domain=0, bus=0, slot=20, func=2
class=04-03-00, hdrtype=0x00, mfdev=0
cmdreg=0x0006, statreg=0x0410, cachelnsz=16 (dwords)
lattimer=0x40 (1920 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
intpin=a, irq=10
powerspec 2 supports D0 D3 current D0
map[10]: type Memory, range 64, base 0xcc408000, size 14, enabled
pcib0: matched entry for 0.20.INTA
pcib0: slot 20 INTA hardwired to IRQ 16
found-> vendor=0x1002, dev=0x438d, revid=0x00
domain=0, bus=0, slot=20, func=3
class=06-01-00, hdrtype=0x00, mfdev=1
cmdreg=0x000f, statreg=0x0220, cachelnsz=0 (dwords)
lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
found-> vendor=0x1002, dev=0x4384, revid=0x00
domain=0, bus=0, slot=20, func=4
class=06-04-01, hdrtype=0x01, mfdev=1
cmdreg=0x0027, statreg=0x02a0, cachelnsz=0 (dwords)
lattimer=0x40 (1920 ns), mingnt=0x04 (1000 ns), maxlat=0x00 (0 ns)
found-> vendor=0x1022, dev=0x1100, revid=0x00
domain=0, bus=0, slot=24, func=0
class=06-00-00, hdrtype=0x00, mfdev=1
cmdreg=0x0000, statreg=0x0010, cachelnsz=0 (dwords)
lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
found-> vendor=0x1022, dev=0x1101, revid=0x00
domain=0, bus=0, slot=24, func=1
class=06-00-00, hdrtype=0x00, mfdev=1
cmdreg=0x0000, statreg=0x0000, cachelnsz=0 (dwords)
lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
found-> vendor=0x1022, dev=0x1102, revid=0x00
domain=0, bus=0, slot=24, func=2
class=06-00-00, hdrtype=0x00, mfdev=1
cmdreg=0x0000, statreg=0x0000, cachelnsz=0 (dwords)
lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
found-> vendor=0x1022, dev=0x1103, revid=0x00
domain=0, bus=0, slot=24, func=3
class=06-00-00, hdrtype=0x00, mfdev=1
cmdreg=0x0000, statreg=0x0010, cachelnsz=0 (dwords)
lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
pcib1: <ACPI PCI-PCI bridge> at device 1.0 on pci0
pcib0: allocated type 4 (0x4000-0x4fff) for rid 1c of pcib1
pcib0: allocated type 3 (0xcc200000-0xcc3fffff) for rid 20 of pcib1
pcib0: allocated type 3 (0xc0000000-0xc7ffffff) for rid 24 of pcib1
pcib1: domain 0
pcib1: secondary bus 1
pcib1: subordinate bus 1
pcib1: I/O decode 0x4000-0x4fff
pcib1: memory decode 0xcc200000-0xcc3fffff
pcib1: prefetched decode 0xc0000000-0xc7ffffff
pci1: <ACPI PCI bus> on pcib1
pci1: domain=0, physical bus=1
found-> vendor=0x1002, dev=0x791f, revid=0x00
domain=0, bus=1, slot=5, func=0
class=03-00-00, hdrtype=0x00, mfdev=0
cmdreg=0x0007, statreg=0x0010, cachelnsz=16 (dwords)
lattimer=0x40 (1920 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
intpin=b, irq=11
powerspec 2 supports D0 D1 D2 D3 current D0
MSI supports 1 message, 64 bit
map[10]: type Prefetchable Memory, range 64, base 0xc0000000, size 27, enabled
pcib1: allocated prefetch range (0xc0000000-0xc7ffffff) for rid 10 of pci0:1:5:0
map[18]: type Memory, range 64, base 0xcc200000, size 16, enabled
pcib1: allocated memory range (0xcc200000-0xcc20ffff) for rid 18 of pci0:1:5:0
map[20]: type I/O Port, range 32, base 0x4000, size 8, enabled
pcib1: allocated I/O port range (0x4000-0x40ff) for rid 20 of pci0:1:5:0
map[24]: type Memory, range 32, base 0xcc300000, size 20, enabled
pcib1: allocated memory range (0xcc300000-0xcc3fffff) for rid 24 of pci0:1:5:0
pcib1: matched entry for 1.5.INTB
pcib1: slot 5 INTB hardwired to IRQ 19
vgapci0: <VGA-compatible display> port 0x4000-0x40ff mem 0xc0000000-0xc7ffffff,0xcc200000-0xcc20ffff,0xcc300000-0xcc3fffff irq 19 at device 5.0 on pci1
pcib2: <ACPI PCI-PCI bridge> at device 4.0 on pci0
pcib0: allocated type 3 (0xcc000000-0xcc0fffff) for rid 20 of pcib2
pcib2: domain 0
pcib2: secondary bus 16
pcib2: subordinate bus 16
pcib2: memory decode 0xcc000000-0xcc0fffff
pcib2: no prefetched decode
pcib2: could not get PCI interrupt routing table for \\_SB_.C08B.C24F - AE_NOT_FOUND
pci16: <ACPI PCI bus> on pcib2
pci16: domain=0, physical bus=16
found-> vendor=0x14e4, dev=0x1713, revid=0x02
domain=0, bus=16, slot=0, func=0
class=02-00-00, hdrtype=0x00, mfdev=0
cmdreg=0x0006, statreg=0x0010, cachelnsz=16 (dwords)
lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
intpin=a, irq=10
powerspec 3 supports D0 D3 current D0
MSI supports 1 message, 64 bit
map[10]: type Memory, range 64, base 0xcc000000, size 16, enabled
pcib2: allocated memory range (0xcc000000-0xcc00ffff) for rid 10 of pci0:16:0:0
pcib0: matched entry for 0.4.INTA
pcib0: slot 4 INTA hardwired to IRQ 16
pcib2: slot 0 INTA is routed to irq 16
bge0: <Broadcom BCM5906 A2, ASIC rev. 0x00c002> mem 0xcc000000-0xcc00ffff irq 16 at device 0.0 on pci16
bge0: CHIP ID 0x0000c002; ASIC REV 0x0c; CHIP REV 0xc0; PCI-E
miibus0: <MII bus> on bge0
brgphy0: <BCM5906 10/100baseTX media interface> PHY 1 on miibus0
brgphy0: OUI 0x0050ef, model 0x0004, rev. 0
brgphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto, auto-flow
bge0: bpf attached
bge0: Ethernet address: 00:1a:4b:89:4b:4e
ioapic0: routing intpin 16 (PCI IRQ 16) to lapic 0 vector 49
pcib3: <ACPI PCI-PCI bridge> at device 5.0 on pci0
pcib0: allocated type 4 (0x2000-0x3fff) for rid 1c of pcib3
pcib0: allocated type 3 (0xc8000000-0xcbffffff) for rid 20 of pcib3
pcib3: domain 0
pcib3: secondary bus 32
pcib3: subordinate bus 32
pcib3: I/O decode 0x2000-0x3fff
pcib3: memory decode 0xc8000000-0xcbffffff
pcib3: no prefetched decode
pcib3: could not get PCI interrupt routing table for \\_SB_.C08B.C254 - AE_NOT_FOUND
pci32: <ACPI PCI bus> on pcib3
pci32: domain=0, physical bus=32
ahci0: <ATI IXP600 AHCI SATA controller> port 0x9000-0x9007,0x9008-0x900b,0x9010-0x9017,0x5018-0x501b,0x5020-0x502f mem 0xcc409000-0xcc4093ff irq 16 at device 18.0 on pci0
ahci0: AHCI v1.10 with 4 3Gbps ports, Port Multiplier not supported
ahci0: Caps: 64bit NCQ SNTF MPS ALP AL CLO 3Gbps PMD SSC PSC 32cmd CCC 4ports
ahci0: Caps2:
ahcich0: <AHCI channel> at channel 0 on ahci0
ahcich0: Caps:
ahcich1: not probed (disabled)
ahcich2: not probed (disabled)
ahcich3: not probed (disabled)
ohci0: <OHCI (generic) USB controller> mem 0xcc401000-0xcc401fff irq 23 at device 19.0 on pci0
ioapic0: routing intpin 23 (PCI IRQ 23) to lapic 0 vector 50
usbus0: <OHCI (generic) USB controller> on ohci0
usbus0: bpf attached
ohci0: usbpf: Attached
ohci1: <OHCI (generic) USB controller> mem 0xcc402000-0xcc402fff irq 17 at device 19.1 on pci0
ioapic0: routing intpin 17 (PCI IRQ 17) to lapic 0 vector 51
usbus1: <OHCI (generic) USB controller> on ohci1
usbus1: bpf attached
ohci1: usbpf: Attached
ohci2: <OHCI (generic) USB controller> mem 0xcc403000-0xcc403fff irq 17 at device 19.2 on pci0
usbus2: <OHCI (generic) USB controller> on ohci2
usbus2: bpf attached
ohci2: usbpf: Attached
ohci3: <OHCI (generic) USB controller> mem 0xcc404000-0xcc404fff irq 17 at device 19.3 on pci0
usbus3: <OHCI (generic) USB controller> on ohci3
usbus3: bpf attached
ohci3: usbpf: Attached
ohci4: <OHCI (generic) USB controller> mem 0xcc405000-0xcc405fff irq 17 at device 19.4 on pci0
usbus4: <OHCI (generic) USB controller> on ohci4
usbus4: bpf attached
ohci4: usbpf: Attached
ehci0: <EHCI (generic) USB 2.0 controller> mem 0xcc406000-0xcc4060ff irq 23 at device 19.5 on pci0
ehci0: AMD SB600/700 quirk applied
ehci0: Dropped interrupts workaround enabled
usbus5: EHCI version 1.0
usbus5: <EHCI (generic) USB 2.0 controller> on ehci0
usbus5: bpf attached
ehci0: usbpf: Attached
pci0: <serial bus, SMBus> at device 20.0 (no driver attached)
atapci0: <ATI IXP600 UDMA133 controller> port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0x5040-0x504f irq 16 at device 20.1 on pci0
ata0: <ATA channel> at channel 0 on atapci0
ioapic0: routing intpin 14 (ISA IRQ 14) to lapic 0 vector 52
hdac0: <ATI SB600 HDA Controller> irq 16 at device 20.2 on pci0
hdac0: HDA Driver Revision: 20120126_0002
hdac0: Config options: on=0x00000000 off=0x00000000
pcib0: allocated type 3 (0xcc100000-0xcc103fff) for rid 10 of hdac0
hdac0: Lazy allocation of 0x4000 bytes rid 0x10 type 3 at 0xcc100000
hdac0: Caps: OSS 4, ISS 4, BSS 0, NSDO 1, 64bit, CORB 256, RIRB 256
isab0: <PCI-ISA bridge> at device 20.3 on pci0
isa0: <ISA bus> on isab0
pcib4: <ACPI PCI-PCI bridge> at device 20.4 on pci0
pcib4: failed to allocate initial memory window: 0xcc100000-0xcc1fffff
pcib4: domain 0
pcib4: secondary bus 2
pcib4: subordinate bus 3
pcib4: no prefetched decode
pcib4: Subtractively decoded bridge.
pci2: <ACPI PCI bus> on pcib4
pci2: domain=0, physical bus=2
found-> vendor=0x1180, dev=0x0476, revid=0xb6
domain=0, bus=2, slot=4, func=0
class=06-07-00, hdrtype=0x02, mfdev=1
cmdreg=0x0007, statreg=0x0210, cachelnsz=0 (dwords)
lattimer=0x40 (1920 ns), mingnt=0x80 (32000 ns), maxlat=0x07 (1750 ns)
intpin=a, irq=10
powerspec 2 supports D0 D1 D2 D3 current D0
map[10]: type Memory, range 32, base 0xcc100000, size 12, enabled
pcib4: failed to allocate initial memory window (0xcc100000-0xcc1fffff,0x100000)
pcib4: matched entry for 2.4.INTA
pcib4: slot 4 INTA hardwired to IRQ 20
cbb0: <RF5C476 PCI-CardBus Bridge> irq 20 at device 4.0 on pci2
pcib0: allocated type 3 (0xcc500000-0xcc5fffff) for rid 20 of pcib4
pcib4: allocated initial memory window of 0xcc500000-0xcc5fffff
pcib4: allocated memory range (0xcc500000-0xcc500fff) for rid 10 of cbb0
cbb0: Lazy allocation of 0x1000 bytes rid 0x10 type 3 at 0xcc500000
cardbus0: <CardBus bus> on cbb0
pccard0: <16-bit PCCard bus> on cbb0
ioapic0: routing intpin 20 (PCI IRQ 20) to lapic 0 vector 53
cbb0: PCI Configuration space:
0x00: 0x04761180 0x02100007 0x060700b6 0x00824000
0x10: 0xcc500000 0x020000dc 0x20030302 0xfffff000
0x20: 0x00000000 0xfffff000 0x00000000 0xfffffffc
0x30: 0x00000000 0xfffffffc 0x00000000 0x07000114
0x40: 0x30c2103c 0x00000001 0x00000000 0x00000000
0x50: 0x00000000 0x00000000 0x00000000 0x00000000
0x60: 0x00000000 0x00000000 0x00000000 0x00000000
0x70: 0x00000000 0x00000000 0x00000000 0x00000000
0x80: 0x30a00001 0x00000000 0x04630463 0x00000000
0x90: 0x00000000 0x00000000 0x00000000 0x00000000
0xa0: 0x00000008 0x00000000 0x00000000 0x00000000
0xb0: 0x00000000 0xbe000000 0x00003000 0x00000000
0xc0: 0x30c2103c 0x00000000 0x00000000 0x00000000
0xd0: 0x00000000 0x00000000 0x00000000 0xfe0a0001
0xe0: 0x24c04000 0x00000000 0x00000000 0x00000000
0xf0: 0x00000000 0x00000000 0x00000000 0x00000000
battery0: <ACPI Control Method Battery> on acpi0
battery1: <ACPI Control Method Battery> on acpi0
acpi_acad0: <AC Adapter> on acpi0
acpi_button0: <Sleep Button> on acpi0
acpi_lid0: <Control Method Lid Switch> on acpi0
acpi_tz0: <Thermal Zone> 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 54
Event timer "i8254" frequency 1193182 Hz quality 100
atrtc0: <AT realtime clock> port 0x70-0x71,0x72-0x73 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 55
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 56
atkbd0: [GIANT-LOCKED]
psm0: unable to allocate IRQ
psmcpnp0: <PS/2 mouse port> irq 12 on acpi0
psm0: current command byte:0065
psm0: <PS/2 Mouse> irq 12 on atkbdc0
ioapic0: routing intpin 12 (ISA IRQ 12) to lapic 0 vector 57
psm0: [GIANT-LOCKED]
psm0: model IntelliMouse, device ID 3-00, 3 buttons
psm0: config:00000000, flags:00000008, packet size:4
psm0: syncmask:08, syncbits:00
acpi0: wakeup code va 0xffffff80cd338000 pa 0x4000
ahc_isa_probe 0: ioport 0xc00 alloc failed
ahc_isa_probe 1: ioport 0x1c00 alloc failed
ahc_isa_probe 2: ioport 0x2c00 alloc failed
ahc_isa_probe 3: ioport 0x3c00 alloc failed
ahc_isa_probe 4: ioport 0x4c00 alloc failed
ahc_isa_probe 5: ioport 0x5c00 alloc failed
ahc_isa_probe 6: ioport 0x6c00 alloc failed
ahc_isa_probe 7: ioport 0x7c00 alloc failed
ahc_isa_probe 8: ioport 0x8c00 alloc failed
ahc_isa_probe 9: ioport 0x9c00 alloc failed
ahc_isa_probe 10: ioport 0xac00 alloc failed
ahc_isa_probe 11: ioport 0xbc00 alloc failed
ahc_isa_probe 12: ioport 0xcc00 alloc failed
ahc_isa_probe 13: ioport 0xdc00 alloc failed
ahc_isa_probe 14: ioport 0xec00 alloc failed
pcib0: allocated type 3 (0xa0000-0xa07ff) for rid 0 of orm0
pcib0: allocated type 3 (0xa0800-0xa0fff) for rid 0 of orm0
pcib0: allocated type 3 (0xa1000-0xa17ff) for rid 0 of orm0
pcib0: allocated type 3 (0xa1800-0xa1fff) for rid 0 of orm0
pcib0: allocated type 3 (0xa2000-0xa27ff) for rid 0 of orm0
pcib0: allocated type 3 (0xa2800-0xa2fff) for rid 0 of orm0
pcib0: allocated type 3 (0xa3000-0xa37ff) for rid 0 of orm0
pcib0: allocated type 3 (0xa3800-0xa3fff) for rid 0 of orm0
pcib0: allocated type 3 (0xa4000-0xa47ff) for rid 0 of orm0
pcib0: allocated type 3 (0xa4800-0xa4fff) for rid 0 of orm0
pcib0: allocated type 3 (0xa5000-0xa57ff) for rid 0 of orm0
pcib0: allocated type 3 (0xa5800-0xa5fff) for rid 0 of orm0
pcib0: allocated type 3 (0xa6000-0xa67ff) for rid 0 of orm0
pcib0: allocated type 3 (0xa6800-0xa6fff) for rid 0 of orm0
pcib0: allocated type 3 (0xa7000-0xa77ff) for rid 0 of orm0
pcib0: allocated type 3 (0xa7800-0xa7fff) for rid 0 of orm0
pcib0: allocated type 3 (0xa8000-0xa87ff) for rid 0 of orm0
pcib0: allocated type 3 (0xa8800-0xa8fff) for rid 0 of orm0
pcib0: allocated type 3 (0xa9000-0xa97ff) for rid 0 of orm0
pcib0: allocated type 3 (0xa9800-0xa9fff) for rid 0 of orm0
pcib0: allocated type 3 (0xaa000-0xaa7ff) for rid 0 of orm0
pcib0: allocated type 3 (0xaa800-0xaafff) for rid 0 of orm0
pcib0: allocated type 3 (0xab000-0xab7ff) for rid 0 of orm0
pcib0: allocated type 3 (0xab800-0xabfff) for rid 0 of orm0
pcib0: allocated type 3 (0xac000-0xac7ff) for rid 0 of orm0
pcib0: allocated type 3 (0xac800-0xacfff) for rid 0 of orm0
pcib0: allocated type 3 (0xad000-0xad7ff) for rid 0 of orm0
pcib0: allocated type 3 (0xad800-0xadfff) for rid 0 of orm0
pcib0: allocated type 3 (0xae000-0xae7ff) for rid 0 of orm0
pcib0: allocated type 3 (0xae800-0xaefff) for rid 0 of orm0
pcib0: allocated type 3 (0xaf000-0xaf7ff) for rid 0 of orm0
pcib0: allocated type 3 (0xaf800-0xaffff) for rid 0 of orm0
pcib0: allocated type 3 (0xb0000-0xb07ff) for rid 0 of orm0
pcib0: allocated type 3 (0xb0800-0xb0fff) for rid 0 of orm0
pcib0: allocated type 3 (0xb1000-0xb17ff) for rid 0 of orm0
pcib0: allocated type 3 (0xb1800-0xb1fff) for rid 0 of orm0
pcib0: allocated type 3 (0xb2000-0xb27ff) for rid 0 of orm0
pcib0: allocated type 3 (0xb2800-0xb2fff) for rid 0 of orm0
pcib0: allocated type 3 (0xb3000-0xb37ff) for rid 0 of orm0
pcib0: allocated type 3 (0xb3800-0xb3fff) for rid 0 of orm0
pcib0: allocated type 3 (0xb4000-0xb47ff) for rid 0 of orm0
pcib0: allocated type 3 (0xb4800-0xb4fff) for rid 0 of orm0
pcib0: allocated type 3 (0xb5000-0xb57ff) for rid 0 of orm0
pcib0: allocated type 3 (0xb5800-0xb5fff) for rid 0 of orm0
pcib0: allocated type 3 (0xb6000-0xb67ff) for rid 0 of orm0
pcib0: allocated type 3 (0xb6800-0xb6fff) for rid 0 of orm0
pcib0: allocated type 3 (0xb7000-0xb77ff) for rid 0 of orm0
pcib0: allocated type 3 (0xb7800-0xb7fff) for rid 0 of orm0
pcib0: allocated type 3 (0xb8000-0xb87ff) for rid 0 of orm0
pcib0: allocated type 3 (0xb8800-0xb8fff) for rid 0 of orm0
pcib0: allocated type 3 (0xb9000-0xb97ff) for rid 0 of orm0
pcib0: allocated type 3 (0xb9800-0xb9fff) for rid 0 of orm0
pcib0: allocated type 3 (0xba000-0xba7ff) for rid 0 of orm0
pcib0: allocated type 3 (0xba800-0xbafff) for rid 0 of orm0
pcib0: allocated type 3 (0xbb000-0xbb7ff) for rid 0 of orm0
pcib0: allocated type 3 (0xbb800-0xbbfff) for rid 0 of orm0
pcib0: allocated type 3 (0xbc000-0xbc7ff) for rid 0 of orm0
pcib0: allocated type 3 (0xbc800-0xbcfff) for rid 0 of orm0
pcib0: allocated type 3 (0xbd000-0xbd7ff) for rid 0 of orm0
pcib0: allocated type 3 (0xbd800-0xbdfff) for rid 0 of orm0
pcib0: allocated type 3 (0xbe000-0xbe7ff) for rid 0 of orm0
pcib0: allocated type 3 (0xbe800-0xbefff) for rid 0 of orm0
pcib0: allocated type 3 (0xbf000-0xbf7ff) for rid 0 of orm0
pcib0: allocated type 3 (0xbf800-0xbffff) for rid 0 of orm0
pcib0: allocated type 3 (0xd3000-0xd37ff) for rid 1 of orm0
pcib0: allocated type 3 (0xd3800-0xd3fff) for rid 1 of orm0
pcib0: allocated type 3 (0xd4000-0xd47ff) for rid 1 of orm0
pcib0: allocated type 3 (0xd4800-0xd4fff) for rid 1 of orm0
pcib0: allocated type 3 (0xd5000-0xd57ff) for rid 1 of orm0
pcib0: allocated type 3 (0xd5800-0xd5fff) for rid 1 of orm0
pcib0: allocated type 3 (0xd6000-0xd67ff) for rid 1 of orm0
pcib0: allocated type 3 (0xd6800-0xd6fff) for rid 1 of orm0
pcib0: allocated type 3 (0xd7000-0xd77ff) for rid 1 of orm0
pcib0: allocated type 3 (0xd7800-0xd7fff) for rid 1 of orm0
pcib0: allocated type 3 (0xd8000-0xd87ff) for rid 1 of orm0
pcib0: allocated type 3 (0xd8800-0xd8fff) for rid 1 of orm0
pcib0: allocated type 3 (0xd9000-0xd97ff) for rid 1 of orm0
pcib0: allocated type 3 (0xd9800-0xd9fff) for rid 1 of orm0
pcib0: allocated type 3 (0xda000-0xda7ff) for rid 1 of orm0
pcib0: allocated type 3 (0xda800-0xdafff) for rid 1 of orm0
pcib0: allocated type 3 (0xdb000-0xdb7ff) for rid 1 of orm0
pcib0: allocated type 3 (0xdb800-0xdbfff) for rid 1 of orm0
pcib0: allocated type 3 (0xdc000-0xdc7ff) for rid 1 of orm0
pcib0: allocated type 3 (0xdc800-0xdcfff) for rid 1 of orm0
pcib0: allocated type 3 (0xdd000-0xdd7ff) for rid 1 of orm0
pcib0: allocated type 3 (0xdd800-0xddfff) for rid 1 of orm0
pcib0: allocated type 3 (0xde000-0xde7ff) for rid 1 of orm0
pcib0: allocated type 3 (0xde800-0xdefff) for rid 1 of orm0
pcib0: allocated type 3 (0xdf000-0xdf7ff) for rid 1 of orm0
pcib0: allocated type 3 (0xdf800-0xdffff) for rid 1 of orm0
ex_isa_identify()
isa_probe_children: disabling PnP devices
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 0xd0000-0xd0fff 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
pcib0: allocated type 4 (0x3c0-0x3df) for rid 0 of vga0
pcib0: allocated type 3 (0xa0000-0xbffff) for rid 0 of vga0
pcib0: allocated type 4 (0x3f0-0x3f5) for rid 0 of fdc0
pcib0: allocated type 4 (0x3f7-0x3f7) for rid 1 of fdc0
fdc0 failed to probe at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0
ppc0: cannot reserve I/O port range
ppc0: <Parallel port> failed to probe at irq 7 on isa0
pcib0: allocated type 4 (0x3f8-0x3ff) for rid 0 of uart0
uart0: <ns8250> failed to probe at port 0x3f8-0x3ff irq 4 on isa0
pcib0: allocated type 4 (0x2f8-0x2ff) for rid 0 of uart1
uart1: <ns8250> failed to probe at port 0x2f8-0x2ff irq 3 on isa0
isa_probe_children: probing PnP devices
acpi_throttle0: <ACPI CPU Throttling> on cpu0
acpi_throttle0: P_CNT from P_BLK 0x8010
powernow0: <PowerNow! K8> on cpu0
acpi_throttle1: <ACPI CPU Throttling> on cpu1
acpi_throttle1: failed to attach P_CNT
device_attach: acpi_throttle1 attach returned 6
powernow1: <PowerNow! K8> on cpu1
Device configuration finished.
procfs registered
lapic: Divisor 2, Frequency 99750265 Hz
Timecounters tick every 1.000 msec
vlan: initialized, using hash tables with chaining
lo0: bpf attached
hptrr: no controller detected.
hdacc0: <Analog Devices AD1981HD HDA CODEC> at cad 0 on hdac0
hdacc0: Root Node at nid=0: 1 subnodes 1-1
hdaa0: <Analog Devices AD1981HD HDA CODEC Audio Function Group> at nid 1 on hdacc0
hdaa0: Audio Function Group at nid=1: 30 subnodes 2-31
hdaa0: NumGPIO=4 NumGPO=0 NumGPI=0 GPIWake=0 GPIUnsol=1
hdaa0: GPIO0: disabled
hdaa0: GPIO1: disabled
hdaa0: GPIO2: disabled
hdaa0: GPIO3: disabled
hdaa0: WARNING: nid=2 has cnid outside of the AFG range j=0 entnum=4 index=0 res=0x00000401
hdaa0: Original pins configuration:
hdaa0: nid 0x as seq device conn jack loc color misc
hdaa0: 5 92174110 1 0 Speaker Fixed Analog 0x12 Green 1
hdaa0: 6 0421201f 1 15 Headphones Jack 1/8 Right Grey 0
hdaa0: 7 410710f0 15 0 Line-out None Analog Rear Black 0
hdaa0: 8 04a12020 2 0 Mic Jack 1/8 Right Grey 0
hdaa0: 9 0181302e 2 14 Line-in Jack 1/8 Rear Blue 0
hdaa0: 10 4145f0f0 15 0 SPDIF-out None Optical Rear Other 0
hdaa0: 22 995711f0 15 0 Digital-out Fixed Analog Onboard Black 1
hdaa0: 23 5993e0f0 15 0 AUX None ATAPI Onboard White 0
hdaa0: 24 f0a79159 5 9 Mic Both Analog Other Pink 1
hdaa0: 25 593310f0 15 0 CD None ATAPI Onboard Black 0
hdaa0: Patched pins configuration:
hdaa0: nid 0x as seq device conn jack loc color misc
hdaa0: 5 92174110 1 0 Speaker Fixed Analog 0x12 Green 1
hdaa0: 6 0421201f 1 15 Headphones Jack 1/8 Right Grey 0
hdaa0: 7 410710f0 15 0 Line-out None Analog Rear Black 0 DISA
hdaa0: 8 04a12020 2 0 Mic Jack 1/8 Right Grey 0
hdaa0: 9 0181302e 2 14 Line-in Jack 1/8 Rear Blue 0
hdaa0: 10 4145f0f0 15 0 SPDIF-out None Optical Rear Other 0 DISA
hdaa0: 22 995711f0 15 0 Digital-out Fixed Analog Onboard Black 1
hdaa0: 23 5993e0f0 15 0 AUX None ATAPI Onboard White 0 DISA
hdaa0: 24 f0a79159 5 9 Mic Both Analog Other Pink 1
hdaa0: 25 593310f0 15 0 CD None ATAPI Onboard Black 0 DISA
hdaa0: 4 associations found:
hdaa0: Association 0 (1) out:
hdaa0: Pin nid=5 seq=0
hdaa0: Pin nid=6 seq=15
hdaa0: Association 1 (2) in:
hdaa0: Pin nid=8 seq=0
hdaa0: Pin nid=9 seq=14
hdaa0: Association 2 (5) in:
hdaa0: Pin nid=24 seq=9
hdaa0: Association 3 (15) out:
hdaa0: Pin nid=22 seq=0
hdaa0: Tracing association 0 (1)
hdaa0: Pin 5 traced to DAC 3
hdaa0: Pin 6 traced to DAC 3 and hpredir 0
hdaa0: Association 0 (1) trace succeeded
hdaa0: Tracing association 1 (2)
hdaa0: Pin 8 traced to ADC 4
hdaa0: Pin 9 traced to ADC 4
hdaa0: Association 1 (2) trace succeeded
hdaa0: Tracing association 2 (5)
hdaa0: Association 2 (5) trace failed
hdaa0: Tracing association 3 (15)
hdaa0: Unable to trace pin 22 seq 0 with min nid 0
hdaa0: Association 3 (15) trace failed
hdaa0: Looking for additional DAC for association 0 (1)
hdaa0: Looking for additional ADC for association 1 (2)
hdaa0: Tracing input monitor
hdaa0: Tracing nid 12 to out
hdaa0: Tracing other input monitors
hdaa0: Tracing nid 8 to out
hdaa0: nid 8 is input monitor
hdaa0: Tracing nid 9 to out
hdaa0: nid 9 is input monitor
hdaa0: Tracing beeper
hdaa0: nid 16 traced to out
hdaa0: Headphones redirection for association 0 nid=6 using unsolicited responses.
hdaa0: FG config/quirks: forcestereo ivref50 ivref80 ivref100 ivref
hdaa0:
hdaa0: +-------------------+
hdaa0: | DUMPING HDA NODES |
hdaa0: +-------------------+
hdaa0:
hdaa0: Default Parameter
hdaa0: -----------------
hdaa0: Stream cap: 0x00000001
hdaa0: PCM
hdaa0: PCM cap: 0x000e007f
hdaa0: 16 20 24 bits, 8 11 16 22 32 44 48 KHz
hdaa0: IN amp: 0x00270300
hdaa0: OUT amp: 0x80053f3d
hdaa0:
hdaa0: nid: 2 [DISABLED]
hdaa0: Name: audio output
hdaa0: Widget cap: 0x00030311
hdaa0: DIGITAL STEREO
hdaa0: Stream cap: 0x00000005
hdaa0: AC3 PCM
hdaa0: PCM cap: 0x00020060
hdaa0: 16 bits, 44 48 KHz
hdaa0: connections: 2
hdaa0: |
hdaa0: + [DISABLED] <- nid=1 [GHOST!] [UNKNOWN] (selected)
hdaa0: + <- nid=4 [audio input]
hdaa0:
hdaa0: nid: 3
hdaa0: Name: audio output
hdaa0: Widget cap: 0x00000441
hdaa0: PWR PROC STEREO
hdaa0: Association: 0 (0x00008001)
hdaa0: OSS: pcm (pcm)
hdaa0: Stream cap: 0x00000001
hdaa0: PCM
hdaa0: PCM cap: 0x000e007f
hdaa0: 16 20 24 bits, 8 11 16 22 32 44 48 KHz
hdaa0:
hdaa0: nid: 4
hdaa0: Name: audio input
hdaa0: Widget cap: 0x00100511
hdaa0: PWR STEREO
hdaa0: Association: 1 (0x00004001)
hdaa0: Stream cap: 0x00000001
hdaa0: PCM
hdaa0: PCM cap: 0x0006007f
hdaa0: 16 20 bits, 8 11 16 22 32 44 48 KHz
hdaa0: connections: 1
hdaa0: |
hdaa0: + <- nid=21 [audio selector]
hdaa0:
hdaa0: nid: 5
hdaa0: Name: pin: Speaker (Fixed)
hdaa0: Widget cap: 0x00400187
hdaa0: UNSOL STEREO
hdaa0: Association: 0 (0x00000001)
hdaa0: Pin cap: 0x0001173f
hdaa0: ISC TRQD PDC HP OUT IN VREF[ 50 80 GROUND HIZ ] EAPD
hdaa0: Pin config: 0x92174110
hdaa0: Pin control: 0x00000040 OUT
hdaa0: EAPD: 0x00000002
hdaa0: Output amp: 0x80053f3d
hdaa0: mute=1 step=63 size=5 offset=61
hdaa0: Input amp: 0x00270300
hdaa0: mute=0 step=3 size=39 offset=0
hdaa0: connections: 2
hdaa0: |
hdaa0: + [DISABLED] <- nid=3 [audio output]
hdaa0: + <- nid=14 [audio mixer] (selected)
hdaa0:
hdaa0: nid: 6
hdaa0: Name: pin: Headphones (Grey Jack)
hdaa0: Widget cap: 0x00400185
hdaa0: UNSOL STEREO
hdaa0: Association: 0 (0x00008000)
hdaa0: Pin cap: 0x0000001f
hdaa0: ISC TRQD PDC HP OUT
hdaa0: Pin config: 0x0421201f
hdaa0: Pin control: 0x000000c0 HP OUT
hdaa0: Output amp: 0x80053f3d
hdaa0: mute=1 step=63 size=5 offset=61
hdaa0: connections: 2
hdaa0: |
hdaa0: + [DISABLED] <- nid=3 [audio output]
hdaa0: + <- nid=14 [audio mixer] (selected)
hdaa0:
hdaa0: nid: 7 [DISABLED]
hdaa0: Name: pin: Line-out (None)
hdaa0: Widget cap: 0x00400104
hdaa0: Pin cap: 0x00000010
hdaa0: OUT
hdaa0: Pin config: 0x410710f0
hdaa0: Pin control: 0x00000000
hdaa0: Output amp: 0x80053f3d
hdaa0: mute=1 step=63 size=5 offset=61
hdaa0: connections: 1
hdaa0: |
hdaa0: + [DISABLED] <- nid=15 [audio mixer] [DISABLED]
hdaa0:
hdaa0: nid: 8
hdaa0: Name: pin: Mic (Grey Jack)
hdaa0: Widget cap: 0x00400083
hdaa0: UNSOL STEREO
hdaa0: Association: 1 (0x00000001)
hdaa0: OSS: mic (mic)
hdaa0: Pin cap: 0x00001727
hdaa0: ISC TRQD PDC IN VREF[ 50 80 GROUND HIZ ]
hdaa0: Pin config: 0x04a12020
hdaa0: Pin control: 0x00000024 IN VREFs
hdaa0: Input amp: 0x00270300
hdaa0: mute=0 step=3 size=39 offset=0
hdaa0:
hdaa0: nid: 9
hdaa0: Name: pin: Line-in (Blue Jack)
hdaa0: Widget cap: 0x00400187
hdaa0: UNSOL STEREO
hdaa0: Association: 1 (0x00004000)
hdaa0: OSS: line (line)
hdaa0: Pin cap: 0x00001737
hdaa0: ISC TRQD PDC OUT IN VREF[ 50 80 GROUND HIZ ]
hdaa0: Pin config: 0x0181302e
hdaa0: Pin control: 0x00000024 IN VREFs
hdaa0: Output amp: 0x80053f3d
hdaa0: mute=1 step=63 size=5 offset=61
hdaa0: Input amp: 0x00270300
hdaa0: mute=0 step=3 size=39 offset=0
hdaa0: connections: 2
hdaa0: |
hdaa0: + [DISABLED] <- nid=3 [audio output] (selected)
hdaa0: + [DISABLED] <- nid=14 [audio mixer]
hdaa0:
hdaa0: nid: 10 [DISABLED]
hdaa0: Name: pin: SPDIF-out (None)
hdaa0: Widget cap: 0x00400301
hdaa0: DIGITAL STEREO
hdaa0: Pin cap: 0x00000010
hdaa0: OUT
hdaa0: Pin config: 0x4145f0f0
hdaa0: Pin control: 0x00000000
hdaa0: connections: 1
hdaa0: |
hdaa0: + <- nid=2 [audio output] [DISABLED]
hdaa0:
hdaa0: nid: 11 [DISABLED]
hdaa0: Name: audio selector
hdaa0: Widget cap: 0x00300101
hdaa0: STEREO
hdaa0: connections: 6
hdaa0: |
hdaa0: + <- nid=3 [audio output] (selected)
hdaa0: + <- nid=12 [audio mixer]
hdaa0: + <- nid=9 [pin: Line-in (Blue Jack)]
hdaa0: + <- nid=14 [audio mixer]
hdaa0: + <- nid=5 [pin: Speaker (Fixed)]
hdaa0: + <- nid=24 [pin: Mic (Both)] [DISABLED]
hdaa0:
hdaa0: nid: 12
hdaa0: Name: audio mixer
hdaa0: Widget cap: 0x00200101
hdaa0: STEREO
hdaa0: Association: 1 (0x00000001)
hdaa0: OSS: mic
hdaa0: connections: 2
hdaa0: |
hdaa0: + <- nid=30 [audio selector]
hdaa0: + [DISABLED] <- nid=31 [audio selector] [DISABLED]
hdaa0:
hdaa0: nid: 13
hdaa0: Name: audio selector
hdaa0: Widget cap: 0x0030010c
hdaa0: Association: -2 (0x00000000)
hdaa0: OSS: speaker
hdaa0: Output amp: 0x800b0f0f
hdaa0: mute=1 step=15 size=11 offset=15
hdaa0: connections: 2
hdaa0: |
hdaa0: + <- nid=16 [beep widget] (selected)
hdaa0: + [DISABLED] <- nid=22 [pin: Digital-out (Fixed)] [DISABLED]
hdaa0:
hdaa0: nid: 14
hdaa0: Name: audio mixer
hdaa0: Widget cap: 0x00200101
hdaa0: STEREO
hdaa0: Association: 0 (0x00008001)
hdaa0: OSS: pcm, speaker, line, mic
hdaa0: connections: 8
hdaa0: |
hdaa0: + <- nid=13 [audio selector]
hdaa0: + <- nid=17 [audio selector]
hdaa0: + <- nid=18 [audio selector]
hdaa0: + <- nid=19 [audio selector]
hdaa0: + [DISABLED] <- nid=26 [audio selector] [DISABLED]
hdaa0: + [DISABLED] <- nid=27 [audio selector] [DISABLED]
hdaa0: + [DISABLED] <- nid=28 [audio selector] [DISABLED]
hdaa0: + [DISABLED] <- nid=29 [audio selector] [DISABLED]
hdaa0:
hdaa0: nid: 15 [DISABLED]
hdaa0: Name: audio mixer
hdaa0: Widget cap: 0x00200100
hdaa0: connections: 1
hdaa0: |
hdaa0: + <- nid=11 [audio selector] [DISABLED]
hdaa0:
hdaa0: nid: 16
hdaa0: Name: beep widget
hdaa0: Widget cap: 0x00700000
hdaa0: Association: -2 (0x00000000)
hdaa0: OSS: speaker (speaker)
hdaa0:
hdaa0: nid: 17
hdaa0: Name: audio selector
hdaa0: Widget cap: 0x0030010d
hdaa0: STEREO
hdaa0: Association: 0 (0x00008001)
hdaa0: OSS: pcm
hdaa0: Output amp: 0x80051f17
hdaa0: mute=1 step=31 size=5 offset=23
hdaa0: connections: 1
hdaa0: |
hdaa0: + <- nid=3 [audio output]
hdaa0:
hdaa0: nid: 18
hdaa0: Name: audio selector
hdaa0: Widget cap: 0x0030010d
hdaa0: STEREO
hdaa0: Association: -2 (0x00000000)
hdaa0: OSS: mic
hdaa0: Output amp: 0x80051f17
hdaa0: mute=1 step=31 size=5 offset=23
hdaa0: connections: 1
hdaa0: |
hdaa0: + <- nid=8 [pin: Mic (Grey Jack)]
hdaa0:
hdaa0: nid: 19
hdaa0: Name: audio selector
hdaa0: Widget cap: 0x0030010d
hdaa0: STEREO
hdaa0: Association: -2 (0x00000000)
hdaa0: OSS: line
hdaa0: Output amp: 0x80051f17
hdaa0: mute=1 step=31 size=5 offset=23
hdaa0: connections: 1
hdaa0: |
hdaa0: + <- nid=9 [pin: Line-in (Blue Jack)]
hdaa0:
hdaa0: nid: 20 [DISABLED]
hdaa0: Name: power widget
hdaa0: Widget cap: 0x00500500
hdaa0: PWR
hdaa0: connections: 13
hdaa0: |
hdaa0: + <- nid=13 [audio selector] (selected)
hdaa0: + <- nid=14 [audio mixer]
hdaa0: + <- nid=15 [audio mixer] [DISABLED]
hdaa0: + <- nid=16 [beep widget]
hdaa0: + <- nid=19 [audio selector]
hdaa0: + <- nid=20 [power widget] [DISABLED]
hdaa0: + <- nid=21 [audio selector]
hdaa0: + <- nid=22 [pin: Digital-out (Fixed)] [DISABLED]
hdaa0: + <- nid=23 [pin: AUX (None)] [DISABLED]
hdaa0: + <- nid=24 [pin: Mic (Both)] [DISABLED]
hdaa0: + <- nid=25 [pin: CD (None)] [DISABLED]
hdaa0: + <- nid=26 [audio selector] [DISABLED]
hdaa0: + <- nid=29 [audio selector] [DISABLED]
hdaa0:
hdaa0: nid: 21
hdaa0: Name: audio selector
hdaa0: Widget cap: 0x0030010d
hdaa0: STEREO
hdaa0: Association: 1 (0x00004001)
hdaa0: OSS: line, mic
hdaa0: Output amp: 0x80050f00
hdaa0: mute=1 step=15 size=5 offset=0
hdaa0: connections: 8
hdaa0: |
hdaa0: + <- nid=12 [audio mixer]
hdaa0: + <- nid=9 [pin: Line-in (Blue Jack)] (selected)
hdaa0: + [DISABLED] <- nid=14 [audio mixer]
hdaa0: + [DISABLED] <- nid=15 [audio mixer] [DISABLED]
hdaa0: + [DISABLED] <- nid=25 [pin: CD (None)] [DISABLED]
hdaa0: + [DISABLED] <- nid=5 [pin: Speaker (Fixed)]
hdaa0: + [DISABLED] <- nid=24 [pin: Mic (Both)] [DISABLED]
hdaa0: + [DISABLED] <- nid=23 [pin: AUX (None)] [DISABLED]
hdaa0:
hdaa0: nid: 22 [DISABLED]
hdaa0: Name: pin: Digital-out (Fixed)
hdaa0: Widget cap: 0x00400000
hdaa0: Pin cap: 0x00000020
hdaa0: IN
hdaa0: Pin config: 0x995711f0
hdaa0: Pin control: 0x00000000
hdaa0:
hdaa0: nid: 23 [DISABLED]
hdaa0: Name: pin: AUX (None)
hdaa0: Widget cap: 0x00400081
hdaa0: UNSOL STEREO
hdaa0: Pin cap: 0x00000027
hdaa0: ISC TRQD PDC IN
hdaa0: Pin config: 0x5993e0f0
hdaa0: Pin control: 0x00000000
hdaa0:
hdaa0: nid: 24 [DISABLED]
hdaa0: Name: pin: Mic (Both)
hdaa0: Widget cap: 0x00400187
hdaa0: UNSOL STEREO
hdaa0: Pin cap: 0x00001737
hdaa0: ISC TRQD PDC OUT IN VREF[ 50 80 GROUND HIZ ]
hdaa0: Pin config: 0xf0a79159
hdaa0: Pin control: 0x00000000
hdaa0: Output amp: 0x80053f3d
hdaa0: mute=1 step=63 size=5 offset=61
hdaa0: Input amp: 0x00270300
hdaa0: mute=0 step=3 size=39 offset=0
hdaa0: connections: 2
hdaa0: |
hdaa0: + [DISABLED] <- nid=3 [audio output] (selected)
hdaa0: + <- nid=14 [audio mixer]
hdaa0:
hdaa0: nid: 25 [DISABLED]
hdaa0: Name: pin: CD (None)
hdaa0: Widget cap: 0x00400001
hdaa0: STEREO
hdaa0: Pin cap: 0x00000020
hdaa0: IN
hdaa0: Pin config: 0x593310f0
hdaa0: Pin control: 0x00000000
hdaa0:
hdaa0: nid: 26 [DISABLED]
hdaa0: Name: audio selector
hdaa0: Widget cap: 0x0030010d
hdaa0: STEREO
hdaa0: Output amp: 0x80051f17
hdaa0: mute=1 step=31 size=5 offset=23
hdaa0: connections: 1
hdaa0: |
hdaa0: + <- nid=5 [pin: Speaker (Fixed)]
hdaa0:
hdaa0: nid: 27 [DISABLED]
hdaa0: Name: audio selector
hdaa0: Widget cap: 0x0030010d
hdaa0: STEREO
hdaa0: Output amp: 0x80051f17
hdaa0: mute=1 step=31 size=5 offset=23
hdaa0: connections: 1
hdaa0: |
hdaa0: + [DISABLED] <- nid=23 [pin: AUX (None)] [DISABLED]
hdaa0:
hdaa0: nid: 28 [DISABLED]
hdaa0: Name: audio selector
hdaa0: Widget cap: 0x0030010d
hdaa0: STEREO
hdaa0: Output amp: 0x80051f17
hdaa0: mute=1 step=31 size=5 offset=23
hdaa0: connections: 1
hdaa0: |
hdaa0: + <- nid=24 [pin: Mic (Both)] [DISABLED]
hdaa0:
hdaa0: nid: 29 [DISABLED]
hdaa0: Name: audio selector
hdaa0: Widget cap: 0x0030010d
hdaa0: STEREO
hdaa0: Output amp: 0x80051f17
hdaa0: mute=1 step=31 size=5 offset=23
hdaa0: connections: 1
hdaa0: |
hdaa0: + [DISABLED] <- nid=25 [pin: CD (None)] [DISABLED]
hdaa0:
hdaa0: nid: 30
hdaa0: Name: audio selector
hdaa0: Widget cap: 0x0030010d
hdaa0: STEREO
hdaa0: Association: 1 (0x00000001)
hdaa0: OSS: mic
hdaa0: Output amp: 0x80000000
hdaa0: mute=1 step=0 size=0 offset=0
hdaa0: connections: 1
hdaa0: |
hdaa0: + <- nid=8 [pin: Mic (Grey Jack)]
hdaa0:
hdaa0: nid: 31 [DISABLED]
hdaa0: Name: audio selector
hdaa0: Widget cap: 0x0030010d
hdaa0: STEREO
hdaa0: Output amp: 0x80000000
hdaa0: mute=1 step=0 size=0 offset=0
hdaa0: connections: 1
hdaa0: |
hdaa0: + <- nid=24 [pin: Mic (Both)] [DISABLED]
hdaa0:
pcm0: <Analog Devices AD1981HD HDA CODEC PCM (Analog 2.0+HP/2.0)> at nid 5,6 and 8,9 on hdaa0
pcm0: +--------------------------------------+
pcm0: | DUMPING PCM Playback/Record Channels |
pcm0: +--------------------------------------+
pcm0:
pcm0: Playback:
pcm0:
pcm0: Stream cap: 0x00000001
pcm0: PCM
pcm0: PCM cap: 0x000e007f
pcm0: 16 20 24 bits, 8 11 16 22 32 44 48 KHz
pcm0: DAC: 3
pcm0:
pcm0: Record:
pcm0:
pcm0: Stream cap: 0x00000001
pcm0: PCM
pcm0: PCM cap: 0x0006007f
pcm0: 16 20 bits, 8 11 16 22 32 44 48 KHz
pcm0: DAC: 4
pcm0:
pcm0: +-------------------------------+
pcm0: | DUMPING Playback/Record Paths |
pcm0: +-------------------------------+
pcm0:
pcm0: Playback:
pcm0:
pcm0: nid=5 [pin: Speaker (Fixed)]
pcm0: |
pcm0: + <- nid=14 [audio mixer] [src: pcm, speaker, line, mic]
pcm0: |
pcm0: + <- nid=13 [audio selector] [src: speaker]
pcm0: |
pcm0: + <- nid=16 [beep widget] [src: speaker]
pcm0: + <- nid=17 [audio selector] [src: pcm]
pcm0: |
pcm0: + <- nid=3 [audio output] [src: pcm]
pcm0: + <- nid=18 [audio selector] [src: mic]
pcm0: |
pcm0: + <- nid=8 [pin: Mic (Grey Jack)] [src: mic]
pcm0: + <- nid=19 [audio selector] [src: line]
pcm0: |
pcm0: + <- nid=9 [pin: Line-in (Blue Jack)] [src: line]
pcm0:
pcm0: nid=6 [pin: Headphones (Grey Jack)]
pcm0: |
pcm0: + <- nid=14 [audio mixer] [src: pcm, speaker, line, mic]
pcm0: |
pcm0: + <- nid=13 [audio selector] [src: speaker]
pcm0: |
pcm0: + <- nid=16 [beep widget] [src: speaker]
pcm0: + <- nid=17 [audio selector] [src: pcm]
pcm0: |
pcm0: + <- nid=3 [audio output] [src: pcm]
pcm0: + <- nid=18 [audio selector] [src: mic]
pcm0: |
pcm0: + <- nid=8 [pin: Mic (Grey Jack)] [src: mic]
pcm0: + <- nid=19 [audio selector] [src: line]
pcm0: |
pcm0: + <- nid=9 [pin: Line-in (Blue Jack)] [src: line]
pcm0:
pcm0: Record:
pcm0:
pcm0: nid=4 [audio input]
pcm0: |
pcm0: + <- nid=21 [audio selector] [src: line, mic]
pcm0: |
pcm0: + <- nid=12 [audio mixer] [src: mic]
pcm0: |
pcm0: + <- nid=30 [audio selector] [src: mic]
pcm0: |
pcm0: + <- nid=8 [pin: Mic (Grey Jack)] [src: mic]
pcm0: + <- nid=9 [pin: Line-in (Blue Jack)] [src: line]
pcm0:
pcm0: +-------------------------+
pcm0: | DUMPING Volume Controls |
pcm0: +-------------------------+
pcm0:
pcm0: Master Volume (OSS: vol): -91/3dB
pcm0: |
pcm0: +- ctl 1 (nid 5 in ): -91/3dB (64 steps) + mute
pcm0: +- ctl 3 (nid 6 in ): -91/3dB (64 steps) + mute
pcm0: +- ctl 8 (nid 13 out): -45/0dB (16 steps) + mute
pcm0: +- ctl 9 (nid 17 out): -34/12dB (32 steps) + mute
pcm0: +- ctl 10 (nid 18 out): -34/12dB (32 steps) + mute
pcm0: +- ctl 11 (nid 19 out): -34/12dB (32 steps) + mute
pcm0:
pcm0: PCM Volume (OSS: pcm): -34/12dB
pcm0: |
pcm0: +- ctl 9 (nid 17 out): -34/12dB (32 steps) + mute
pcm0:
pcm0: Microphone Volume (OSS: mic): 0/30dB
pcm0: |
pcm0: +- ctl 5 (nid 8 out): 0/30dB (4 steps)
pcm0: +- ctl 10 (nid 18 out): -34/12dB (32 steps) + mute
pcm0: +- ctl 12 (nid 21 out): 0/22dB (16 steps) + mute
pcm0: +- ctl 19 (nid 30 out): mute
pcm0:
pcm0: Line-in Volume (OSS: line): 0/30dB
pcm0: |
pcm0: +- ctl 7 (nid 9 out): 0/30dB (4 steps)
pcm0: +- ctl 11 (nid 19 out): -34/12dB (32 steps) + mute
pcm0: +- ctl 12 (nid 21 out): 0/22dB (16 steps) + mute
pcm0:
pcm0: Speaker/Beep Volume (OSS: speaker): -45/0dB
pcm0: |
pcm0: +- ctl 8 (nid 13 out): -45/0dB (16 steps) + mute
pcm0:
pcm0: Recording Level (OSS: rec): 0/22dB
pcm0: |
pcm0: +- ctl 12 (nid 21 out): 0/22dB (16 steps) + mute
pcm0: +- ctl 19 (nid 30 out): mute
pcm0:
pcm0: Input Monitoring Level (OSS: igain): -34/0dB
pcm0: |
pcm0: +- ctl 8 (nid 13 out): -45/0dB (16 steps) + mute
pcm0: +- ctl 10 (nid 18 out): -34/12dB (32 steps) + mute
pcm0: +- ctl 11 (nid 19 out): -34/12dB (32 steps) + mute
pcm0:
pcm0: Mixer "vol":
pcm0: Mixer "pcm":
pcm0: Mixer "speaker":
pcm0: Mixer "line":
pcm0: Mixer "mic":
pcm0: Mixer "rec":
pcm0: Mixer "igain":
pcm0: Mixer "ogain":
pcm0: clone manager: deadline=750ms flags=0x8000001e
pcm0: sndbuf_setmap 7a40000, 10000; 0xffffff80cd34b000 -> 7a40000
pcm0: sndbuf_setmap 7a80000, 10000; 0xffffff80cd38b000 -> 7a80000
hdacc1: <Lucent/Agere Systems (0x1040) HDA CODEC> at cad 1 on hdac0
hdacc1: Root Node at nid=0: 1 subnodes 1-1
unknown: <Lucent/Agere Systems (0x1040) HDA CODEC Modem Function Group> at nid 1 on hdacc1 (no driver attached)
usbus0: 12Mbps Full Speed USB v1.0
usbus1: 12Mbps Full Speed USB v1.0
usbus2: 12Mbps Full Speed USB v1.0
usbus3: 12Mbps Full Speed USB v1.0
usbus4: 12Mbps Full Speed USB v1.0
usbus5: 480Mbps High Speed USB v2.0
acpi_tz0: _AC3: temperature 71.0 >= setpoint 40.0
acpi_tz0: _AC2: temperature 71.0 >= setpoint 50.0
acpi_tz0: _AC1: temperature 71.0 >= setpoint 60.0
acpi_tz0: _AC0: temperature 71.0 >= setpoint 70.0
acpi_tz0: switched from NONE to _AC0: 71.0C
ugen0.1: <ATI> at usbus0
uhub0: <ATI OHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus0
ugen1.1: <ATI> at usbus1
uhub1: <ATI OHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus1
ugen2.1: <ATI> at usbus2
uhub2: <ATI OHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus2
ugen3.1: <ATI> at usbus3
uhub3: <ATI OHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus3
ugen4.1: <ATI> at usbus4
uhub4: <ATI OHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus4
ugen5.1: <ATI> at usbus5
uhub5: <ATI EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus5
ahcich0: AHCI reset...
ahcich0: SATA connect time=1800us status=00000113
ahcich0: AHCI reset: device found
ata0: reset tp1 mask=03 ostat0=50 ostat1=00
ahcich0: AHCI reset: device ready after 100ms
(aprobe0:ahcich0:0:0:0): SIGNATURE: 0000
ata0: stat0=0x00 err=0x01 lsb=0x14 msb=0xeb
ata0: stat1=0x00 err=0x00 lsb=0x00 msb=0x00
ata0: reset tp2 stat0=00 stat1=00 devices=0x10000
(aprobe1:ata0:0:0:0): SIGNATURE: eb14
battery0: battery initialization start
battery1: battery initialization start
acpi_acad0: acline initialization start
acpi_acad0: On Line
acpi_acad0: acline initialization done, tried 1 times
acpi_tz0: _AC3: temperature 71.0 >= setpoint 40.0
acpi_tz0: _AC2: temperature 71.0 >= setpoint 50.0
acpi_tz0: _AC1: temperature 71.0 >= setpoint 60.0
acpi_tz0: _AC3: temperature 71.0 >= setpoint 40.0
acpi_tz0: _AC2: temperature 71.0 >= setpoint 50.0
acpi_tz0: _AC1: temperature 71.0 >= setpoint 60.0
acpi_tz0: switched from _AC0 to _AC1: 71.0C
battery0: battery initialization done, tried 1 times
uhub0: 2 ports with 2 removable, self powered
uhub1: 2 ports with 2 removable, self powered
uhub2: 2 ports with 2 removable, self powered
uhub3: 2 ports with 2 removable, self powered
uhub4: 2 ports with 2 removable, self powered
(probe0:ctl2cam0:0:1:0): Error 6, Unretryable error
ada0 at ahcich0 bus 0 scbus0 target 0 lun 0
ada0: <ST9160821AS 3.BHE> ATA-7 SATA 1.x device
ada0: Serial Number 5MA83WKD
ada0: 150.000MB/s transfers (SATA 1.x, UDMA5, PIO 8192bytes)
ada0: 152627MB (312581808 512 byte sectors: 16H 63S/T 16383C)
GEOM: new disk ada0
ada0: Previously was known as ad4
pass0 at ahcich0 bus 0 scbus0 target 0 lun 0
pass0: <ST9160821AS 3.BHE> ATA-7 SATA 1.x device
pass0: Serial Number 5MA83WKD
pass0: 150.000MB/s transfers (SATA 1.x, UDMA5, PIO 8192bytes)
pass1 at ata0 bus 0 scbus1 target 0 lun 0
pass1: <MATSHITA DVD-RAM UJ-861H 1.50> Removable CD-ROM SCSI-0 device
pass1: Serial Number HE58 101390
pass1: 16.700MB/s transfers (WDMA2, ATAPI 12bytes, PIO 65534bytes)
(cd0:ata0:0:0:0): SCSI status error
(cd0:ata0:0:0:0): READ CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0
(cd0:ata0:0:0:0): CAM status: SCSI Status Error
(cd0:ata0:0:0:0): SCSI status: Check Condition
(cd0:ata0:0:0:0): SCSI sense: NOT READY asc:3a,1 (Medium not present - tray closed)
(cd0:ata0:0:0:0): Error 6, Unretryable error
cd0 at ata0 bus 0 scbus1 target 0 lun 0
cd0: <MATSHITA DVD-RAM UJ-861H 1.50> Removable CD-ROM SCSI-0 device
cd0: Serial Number HE58 101390
cd0: 16.700MB/s transfers (WDMA2, ATAPI 12bytes, PIO 65534bytes)
cd0: Attempt to query device size failed: NOT READY, Medium not present - tray closed
SMP: AP CPU #1 Launched!
cpu1 AP:
ID: 0x01000000 VER: 0x80050010 LDR: 0x00000000 DFR: 0xffffffff
lint0: 0x00010700 lint1: 0x00000400 TPR: 0x00000000 SVR: 0x000001ff
timer: 0x000100ef therm: 0x00010000 err: 0x000000f0 pmc: 0x00010400
TSC timecounter discards lower 7 bit(s)
Timecounter "TSC-low" frequency 15585831 Hz quality -100
WARNING: WITNESS option enabled, expect reduced performance.
GEOM: new disk cd0
(cd0:ata0:0:0:0): SCSI status error
(cd0:ata0:0:0:0): READ CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0
(cd0:ata0:0:0:0): CAM status: SCSI Status Error
(cd0:ata0:0:0:0): SCSI status: Check Condition
(cd0:ata0:0:0:0): SCSI sense: NOT READY asc:3a,1 (Medium not present - tray closed)
(cd0:ata0:0:0:0): Error 6, Unretryable error
(cd0:ata0:0:0:0): SCSI status error
(cd0:ata0:0:0:0): READ CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0
(cd0:ata0:0:0:0): CAM status: SCSI Status Error
(cd0:ata0:0:0:0): SCSI status: Check Condition
(cd0:ata0:0:0:0): SCSI sense: NOT READY asc:3a,1 (Medium not present - tray closed)
(cd0:ata0:0:0:0): Error 6, Unretryable error
(cd0:ata0:0:0:0): SCSI status error
(cd0:ata0:0:0:0): READ CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0
(cd0:ata0:0:0:0): CAM status: SCSI Status Error
(cd0:ata0:0:0:0): SCSI status: Check Condition
(cd0:ata0:0:0:0): SCSI sense: NOT READY asc:3a,1 (Medium not present - tray closed)
(cd0:ata0:0:0:0): Error 6, Unretryable error
Root mount waiting for: usbus5
uhub5: 10 ports with 10 removable, self powered
Trying to mount root from ufs:/dev/ad4s1a [rw]...
start_init: trying /sbin/init
bge0: link DOWN
acpi_tz0: _AC3: temperature 66.0 >= setpoint 40.0
acpi_tz0: _AC2: temperature 66.0 >= setpoint 50.0

--
Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 331 5944
Fax: +44 (0)117 929 4423

Anton Shterenlikht

unread,
May 3, 2012, 11:38:05 AM5/3/12
to John Baldwin, freebsd...@freebsd.org
On Tue, May 01, 2012 at 12:35:26PM +0100, Anton Shterenlikht wrote:
> On Mon, Apr 30, 2012 at 08:43:14AM -0400, John Baldwin wrote:
> > >
> > > I also see:
> > >
> > > ata0: stat0=0x00 err=0x01 lsb=0x14 msb=0exb
> > > ata0: stat1=0x00 err=0x00 lsb=0x00 msb=0x00
> > > ata0: reset tp2 stat0=00 stat1=00 devices=0x10000
> >
> > Hmmm, I don't know how to grok these lines, but does your disk work at all now
> > with any kernel? It may be that your disk has died (or a cable, etc.) and it
> > just happened to coincide with your upgrade?
>
> I reverted back to r231158, built world and generic
> kernel (minus all modules, i.e. "option MODULES_OVERRIDE=").
> This works, see the verbose boot dmesg at the end.
>
> I think I'll just do a binary search.

I traced it to r233677.
The only change from 233676 to 233677 is
in /sys/dev/pci/pci.c

My kernel is GENERIC with no modules
and with various bits removed, e.g. all raid devices
and PCI network devices, which I definitely
haven't got on this laptop.

Below is the verbose boot with r233676.
Apparently at the beginning there's also
the previous unsuccessful boot with r233677.
Is this a new feature? I didn't know the
previous dmesg is preserved after a reboot.
Anyway, you can see clearly the error with r233677.

I guess this is something to do with
ata -> ada change?

I probably need to change ad4 into
ada0 in /etc/fstab?

Many thanks




Copyright (c) 1992-2012 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.9-CURRENT #11 r233677M: Thu May 3 15:58:38 BST 2012
ro...@mech-aslap239.men.bris.ac.uk:/usr/obj/usr/src/sys/GEN2 amd64
WARNING: WITNESS option enabled, expect reduced performance.
CPU: AMD Turion(tm) 64 X2 Mobile Technology TL-60 (1995.05-MHz K8-class CPU)
Origin = "AuthenticAMD" Id = 0x60f82 Family = f Model = 68 Stepping = 2
Features=0x178bfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2,HTT>
Features2=0x2001<SSE3,CX16>
AMD Features=0xea500800<SYSCALL,NX,MMX+,FFXSR,RDTSCP,LM,3DNow!+,3DNow!>
AMD Features2=0x11f<LAHF,CMP,SVM,ExtAPIC,CR8,Prefetch>
real memory = 3221225472 (3072 MB)
avail memory = 2955333632 (2818 MB)
Event timer "LAPIC" quality 400
ACPI APIC Table: <HP 0944 >
FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
FreeBSD/SMP: 1 package(s) x 2 core(s)
cpu0 (BSP): APIC ID: 0
cpu1 (AP): APIC ID: 1
ACPI Error: 32/64X address mismatch in Pm2ControlBlock: 0x00008800/0x0000000000008100, using 32 (20120320/tbfadt-474)
ioapic0: Changing APIC ID to 2
ioapic0 <Version 2.1> irqs 0-23 on motherboard
kbd1 at kbdmux0
ctl: CAM Target Layer loaded
acpi0: <HPQOEM SLIC-MPC> on motherboard
acpi0: Power Button (fixed)
unknown: I/O range not supported
acpi0: reservation of 0, 8000000 (3) failed
acpi0: reservation of 100000, fff00000 (3) failed
cpu0: <ACPI CPU> on acpi0
cpu1: <ACPI CPU> 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,0x72-0x73 irq 8 on acpi0
Event timer "RTC" frequency 32768 Hz quality 0
Timecounter "ACPI-fast" frequency 3579545 Hz quality 900
acpi_timer0: <32-bit timer at 3.579545MHz> port 0x8008-0x800b on acpi0
acpi_ec0: <Embedded Controller: GPE 0x11> port 0x62,0x66 on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pcib0: Length mismatch for 3 range: 11ff000 vs 11fefff
pci0: <ACPI PCI bus> on pcib0
pcib1: <ACPI PCI-PCI bridge> at device 1.0 on pci0
pci1: <ACPI PCI bus> on pcib1
vgapci0: <VGA-compatible display> port 0x4000-0x40ff mem 0xc0000000-0xc7ffffff,0xcc200000-0xcc20ffff,0xcc300000-0xcc3fffff irq 19 at device 5.0 on pci1
pcib2: <ACPI PCI-PCI bridge> at device 4.0 on pci0
pci16: <ACPI PCI bus> on pcib2
bge0: <Broadcom BCM5906 A2, ASIC rev. 0x00c002> mem 0xcc000000-0xcc00ffff irq 16 at device 0.0 on pci16
bge0: CHIP ID 0x0000c002; ASIC REV 0x0c; CHIP REV 0xc0; PCI-E
miibus0: <MII bus> on bge0
brgphy0: <BCM5906 10/100baseTX media interface> PHY 1 on miibus0
brgphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto, auto-flow
bge0: Ethernet address: 00:1a:4b:89:4b:4e
pcib3: <ACPI PCI-PCI bridge> at device 5.0 on pci0
pci32: <ACPI PCI bus> on pcib3
ahci0: <ATI IXP600 AHCI SATA controller> port 0x9000-0x9007,0x9008-0x900b,0x9010-0x9017,0x5018-0x501b,0x5020-0x502f mem 0xcc409000-0xcc4093ff irq 16 at device 18.0 on pci0
ahci0: AHCI v0.00 with 1 ?Gbps ports, Port Multiplier not supported with FBS
ahcich0: <AHCI channel> at channel 0 on ahci0
ahcich1: <AHCI channel> at channel 1 on ahci0
ahcich7: <AHCI channel> at channel 7 on ahci0
device_attach: ahcich7 attach returned 6
ahcich8: <AHCI channel> at channel 8 on ahci0
device_attach: ahcich8 attach returned 6
ahcich9: <AHCI channel> at channel 9 on ahci0
device_attach: ahcich9 attach returned 6
ahcich10: <AHCI channel> at channel 10 on ahci0
device_attach: ahcich10 attach returned 6
ahcich11: <AHCI channel> at channel 11 on ahci0
device_attach: ahcich11 attach returned 6
ahcich12: <AHCI channel> at channel 12 on ahci0
device_attach: ahcich12 attach returned 6
ahcich13: <AHCI channel> at channel 13 on ahci0
device_attach: ahcich13 attach returned 6
ahcich14: <AHCI channel> at channel 14 on ahci0
device_attach: ahcich14 attach returned 6
ahcich15: <AHCI channel> at channel 15 on ahci0
device_attach: ahcich15 attach returned 6
ahcich21: <AHCI channel> at channel 21 on ahci0
device_attach: ahcich21 attach returned 6
ahcich24: <AHCI channel> at channel 24 on ahci0
device_attach: ahcich24 attach returned 6
ahcich25: <AHCI channel> at channel 25 on ahci0
device_attach: ahcich25 attach returned 6
ahcich26: <AHCI channel> at channel 26 on ahci0
device_attach: ahcich26 attach returned 6
ahcich28: <AHCI channel> at channel 28 on ahci0
device_attach: ahcich28 attach returned 6
ahcich29: <AHCI channel> at channel 29 on ahci0
device_attach: ahcich29 attach returned 6
ahcich30: <AHCI channel> at channel 30 on ahci0
device_attach: ahcich30 attach returned 6
ahcich31: <AHCI channel> at channel 31 on ahci0
device_attach: ahcich31 attach returned 6
ahcich32: <AHCI channel> at channel 32 on ahci0
device_attach: ahcich32 attach returned 6
ahcich33: <AHCI channel> at channel 33 on ahci0
device_attach: ahcich33 attach returned 6
ahcich39: <AHCI channel> at channel 39 on ahci0
device_attach: ahcich39 attach returned 6
ahcich40: <AHCI channel> at channel 40 on ahci0
device_attach: ahcich40 attach returned 6
ahcich41: <AHCI channel> at channel 41 on ahci0
device_attach: ahcich41 attach returned 6
ahcich42: <AHCI channel> at channel 42 on ahci0
device_attach: ahcich42 attach returned 6
ahcich43: <AHCI channel> at channel 43 on ahci0
device_attach: ahcich43 attach returned 6
ahcich44: <AHCI channel> at channel 44 on ahci0
device_attach: ahcich44 attach returned 6
ahcich45: <AHCI channel> at channel 45 on ahci0
device_attach: ahcich45 attach returned 6
ahcich46: <AHCI channel> at channel 46 on ahci0
device_attach: ahcich46 attach returned 6
ahcich47: <AHCI channel> at channel 47 on ahci0
device_attach: ahcich47 attach returned 6
ahcich53: <AHCI channel> at channel 53 on ahci0
device_attach: ahcich53 attach returned 6
ahcich56: <AHCI channel> at channel 56 on ahci0
device_attach: ahcich56 attach returned 6
ahcich57: <AHCI channel> at channel 57 on ahci0
device_attach: ahcich57 attach returned 6
ahcich58: <AHCI channel> at channel 58 on ahci0
device_attach: ahcich58 attach returned 6
ahcich60: <AHCI channel> at channel 60 on ahci0
device_attach: ahcich60 attach returned 6
ahcich61: <AHCI channel> at channel 61 on ahci0
device_attach: ahcich61 attach returned 6
ahcich62: <AHCI channel> at channel 62 on ahci0
device_attach: ahcich62 attach returned 6
ahcich63: <AHCI channel> at channel 63 on ahci0
device_attach: ahcich63 attach returned 6
ohci0: <OHCI (generic) USB controller> mem 0xcc401000-0xcc401fff irq 23 at device 19.0 on pci0
usbus0 on ohci0
ohci1: <OHCI (generic) USB controller> mem 0xcc402000-0xcc402fff irq 17 at device 19.1 on pci0
usbus1 on ohci1
ohci2: <OHCI (generic) USB controller> mem 0xcc403000-0xcc403fff irq 17 at device 19.2 on pci0
usbus2 on ohci2
ohci3: <OHCI (generic) USB controller> mem 0xcc404000-0xcc404fff irq 17 at device 19.3 on pci0
usbus3 on ohci3
ohci4: <OHCI (generic) USB controller> mem 0xcc405000-0xcc405fff irq 17 at device 19.4 on pci0
usbus4 on ohci4
ehci0: <EHCI (generic) USB 2.0 controller> mem 0xcc406000-0xcc4060ff irq 23 at device 19.5 on pci0
ehci0: AMD SB600/700 quirk applied
usbus5: EHCI version 1.0
usbus5 on ehci0
pci0: <serial bus, SMBus> at device 20.0 (no driver attached)
atapci0: <ATI IXP600 UDMA133 controller> port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0x5040-0x504f irq 16 at device 20.1 on pci0
ata0: <ATA channel> at channel 0 on atapci0
hdac0: <ATI SB600 HDA Controller> irq 16 at device 20.2 on pci0
isab0: <PCI-ISA bridge> at device 20.3 on pci0
isa0: <ISA bus> on isab0
pcib4: <ACPI PCI-PCI bridge> at device 20.4 on pci0
pcib4: failed to allocate initial memory window: 0xcc100000-0xcc1fffff
pci2: <ACPI PCI bus> on pcib4
cbb0: <RF5C476 PCI-CardBus Bridge> irq 20 at device 4.0 on pci2
cardbus0: <CardBus bus> on cbb0
pccard0: <16-bit PCCard bus> on cbb0
battery0: <ACPI Control Method Battery> on acpi0
battery1: <ACPI Control Method Battery> on acpi0
acpi_acad0: <AC Adapter> on acpi0
acpi_button0: <Sleep Button> on acpi0
acpi_lid0: <Control Method Lid Switch> on acpi0
acpi_tz0: <Thermal Zone> on acpi0
atkbdc0: <Keyboard controller (i8042)> port 0x60,0x64 irq 1 on acpi0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: [GIANT-LOCKED]
psm0: model IntelliMouse, device ID 3
orm0: <ISA Option ROM> at iomem 0xd0000-0xd0fff 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
acpi_throttle0: <ACPI CPU Throttling> on cpu0
powernow0: <PowerNow! K8> on cpu0
acpi_throttle1: <ACPI CPU Throttling> on cpu1
acpi_throttle1: failed to attach P_CNT
device_attach: acpi_throttle1 attach returned 6
powernow1: <PowerNow! K8> on cpu1
Timecounters tick every 1.000 msec
hdacc0: <Analog Devices AD1981HD HDA CODEC> at cad 0 on hdac0
hdaa0: <Analog Devices AD1981HD HDA CODEC Audio Function Group> at nid 1 on hdacc0
pcm0: <Analog Devices AD1981HD HDA CODEC PCM (Analog 2.0+HP/2.0)> at nid 5,6 and 8,9 on hdaa0
hdacc1: <Lucent/Agere Systems (0x1040) HDA CODEC> at cad 1 on hdac0
unknown: <Lucent/Agere Systems (0x1040) HDA CODEC Modem Function Group> at nid 1 on hdacc1 (no driver attached)
usbus0: 12Mbps Full Speed USB v1.0
usbus1: 12Mbps Full Speed USB v1.0
usbus2: 12Mbps Full Speed USB v1.0
usbus3: 12Mbps Full Speed USB v1.0
usbus4: 12Mbps Full Speed USB v1.0
usbus5: 480Mbps High Speed USB v2.0
ugen0.1: <ATI> at usbus0
uhub0: <ATI OHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus0
ugen1.1: <ATI> at usbus1
uhub1: <ATI OHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus1
ugen2.1: <ATI> at usbus2
uhub2: <ATI OHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus2
ugen3.1: <ATI> at usbus3
uhub3: <ATI OHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus3
ugen4.1: <ATI> at usbus4
uhub4: <ATI OHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus4
ugen5.1: <ATI> at usbus5
uhub5: <ATI EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus5
ahcich0: Poll timeout on slot 0 port 0
ahcich0: is 00000000 cs 00000001 ss 00000000 rs 00000001 tfd 150 serr 00000000 cmd 00002007
cd0 at ata0 bus 0 scbus2 target 0 lun 0
cd0: <MATSHITA DVD-RAM UJ-861H 1.50> Removable CD-ROM SCSI-0 device
cd0: 16.700MB/s transfers (WDMA2, ATAPI 12bytes, PIO 65534bytes)
cd0: Attempt to query device size failed: NOT READY, Medium not present - tray closed
SMP: AP CPU #1 Launched!
WARNING: WITNESS option enabled, expect reduced performance.
Root mount waiting for: usbus5 usbus4 usbus3 usbus2 usbus1 usbus0
uhub1: 2 ports with 2 removable, self powered
uhub0: 2 ports with 2 removable, self powered
uhub2: 2 ports with 2 removable, self powered
uhub4: 2 ports with 2 removable, self powered
uhub3: 2 ports with 2 removable, self powered
Root mount waiting for: usbus5
Root mount waiting for: usbus5
Root mount waiting for: usbus5
Root mount waiting for: usbus5
uhub5: 10 ports with 10 removable, self powered
Trying to mount root from ufs:/dev/ad4s1a [rw]...
mountroot: waiting for device /dev/ad4s1a ...
Mounting from ufs:/dev/ad4s1a failed with error 19.

Loader variables:
vfs.root.mountfrom=ufs:/dev/ad4s1a
vfs.root.mountfrom.options=rw

Manual root filesystem specification:
<fstype>:<device> [options]
Mount <device> using filesystem <fstype>
and with the specified (optional) option list.

eg. ufs:/dev/da0s1a
zfs:tank
cd9660:/dev/acd0 ro
(which is equivalent to: mount -t cd9660 -o ro /dev/acd0 /)

? List valid disk boot devices
. Yield 1 second (for background tasks)
<empty line> Abort manual input

mountroot>
List of GEOM managed disk devices:
cd0

mountroot> panic: mountroot: unable to (re-)mount root.
cpuid = 1
KDB: enter: panic
Table 'FACP' at 0xb7fc8084
Table 'SLIC' at 0xb7fc8220
Table 'EPTH' at 0xb7fc8398
Table 'APIC' at 0xb7fc83d0
APIC: Found table at 0xb7fc83d0
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-2012 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.9-CURRENT #9 r233676M: Thu May 3 15:30:08 BST 2012
ro...@mech-aslap239.men.bris.ac.uk:/usr/obj/usr/src/sys/GEN2 amd64
WARNING: WITNESS option enabled, expect reduced performance.
Preloaded elf kernel "/boot/kernel.old/kernel" at 0xffffffff811b3000.
Calibrating TSC clock ... TSC clock: 1995045302 Hz
CPU: AMD Turion(tm) 64 X2 Mobile Technology TL-60 (1995.05-MHz K8-class CPU)
Origin = "AuthenticAMD" Id = 0x60f82 Family = f Model = 68 Stepping = 2
Features=0x178bfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2,HTT>
Features2=0x2001<SSE3,CX16>
AMD Features=0xea500800<SYSCALL,NX,MMX+,FFXSR,RDTSCP,LM,3DNow!+,3DNow!>
AMD Features2=0x11f<LAHF,CMP,SVM,ExtAPIC,CR8,Prefetch>
L1 2MB data TLB: 8 entries, fully associative
L1 2MB instruction TLB: 8 entries, fully associative
L1 4KB data TLB: 32 entries, fully associative
L1 4KB instruction TLB: 32 entries, fully associative
L1 data cache: 64 kbytes, 64 bytes/line, 1 lines/tag, 2-way associative
L1 instruction cache: 64 kbytes, 64 bytes/line, 1 lines/tag, 2-way associative
L2 2MB unified TLB: 0 entries, disabled/not present
L2 4KB data TLB: 512 entries, 4-way associative
L2 4KB instruction TLB: 512 entries, 4-way associative
L2 unified cache: 512 kbytes, 64 bytes/line, 1 lines/tag, 16-way associative
real memory = 3221225472 (3072 MB)
Physical memory chunk(s):
0x0000000000010000 - 0x000000000009bfff, 573440 bytes (140 pages)
0x0000000000100000 - 0x00000000001fffff, 1048576 bytes (256 pages)
0x00000000011e2000 - 0x00000000b28ecfff, 2976952320 bytes (726795 pages)
avail memory = 2955333632 (2818 MB)
Event timer "LAPIC" quality 400
ACPI APIC Table: <HP 0944 >
INTR: Adding local APIC 1 as a target
FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
FreeBSD/SMP: 1 package(s) x 2 core(s)
cpu0 (BSP): APIC ID: 0
cpu1 (AP): APIC ID: 1
APIC: CPU 0 has ACPI ID 1
APIC: CPU 1 has ACPI ID 2
x86bios: IVT 0x000000-0x0004ff at 0xfffffe0000000000
x86bios: SSEG 0x098000-0x098fff at 0xffffff8000210000
x86bios: EBDA 0x09f000-0x09ffff at 0xfffffe000009f000
x86bios: ROM 0x0a0000-0x0fefff at 0xfffffe00000a0000
ULE: setup cpu 0
ULE: setup cpu 1
ACPI: RSDP 0xfe0b0 00024 (v02 HP )
ACPI: XSDT 0xb7fc81bc 00064 (v01 HPQOEM SLIC-MPC 00000001 HP 00000001)
ACPI: FACP 0xb7fc8084 000F4 (v04 HP 0944 00000003 HP 00000001)
ACPI Error: 32/64X address mismatch in Pm2ControlBlock: 0x00008800/0x0000000000008100, using 32 (20120320/tbfadt-474)
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
wlan: <802.11 Link Layer>
mem: <memory>
nfslock: pseudo-device
null: <null device, zero device>
random: <entropy source, Software, Yarrow>
io: <I/O>
kbd: new array size 4
kbd1 at kbdmux0
ctl: CAM Target Layer loaded
acpi0: <HPQOEM SLIC-MPC> on motherboard
PCIe: Memory Mapped configuration base @ 0xe0000000
ioapic0: routing intpin 9 (ISA IRQ 9) to lapic 0 vector 48
acpi0: Power Button (fixed)
unknown: I/O range not supported
acpi0: reservation of 0, 8000000 (3) failed
acpi0: reservation of 100000, fff00000 (3) failed
cpu0: <ACPI CPU> on acpi0
cpu0: switching to generic Cx mode
cpu1: <ACPI CPU> 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 49
Event timer "i8254" frequency 1193182 Hz quality 100
atrtc0: <AT realtime clock> port 0x70-0x71,0x72-0x73 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 50
Event timer "RTC" frequency 32768 Hz quality 0
ACPI timer: 1/1 1/1 1/1 1/1 1/1 1/1 1/1 1/1 1/1 1/1 -> 10
Timecounter "ACPI-fast" frequency 3579545 Hz quality 900
acpi_timer0: <32-bit timer at 3.579545MHz> port 0x8008-0x800b on acpi0
bge0: attempting to allocate 1 MSI vectors (1 supported)
msi: routing MSI IRQ 256 to local APIC 0 vector 51
bge0: using IRQ 256 for MSI
bge0: CHIP ID 0x0000c002; ASIC REV 0x0c; CHIP REV 0xc0; PCI-E
miibus0: <MII bus> on bge0
brgphy0: <BCM5906 10/100baseTX media interface> PHY 1 on miibus0
brgphy0: OUI 0x0050ef, model 0x0004, rev. 0
brgphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto, auto-flow
bge0: bpf attached
bge0: Ethernet address: 00:1a:4b:89:4b:4e
pcib3: <ACPI PCI-PCI bridge> at device 5.0 on pci0
pcib0: allocated type 4 (0x2000-0x3fff) for rid 1c of pcib3
pcib0: allocated type 3 (0xc8000000-0xcbffffff) for rid 20 of pcib3
pcib3: domain 0
pcib3: secondary bus 32
pcib3: subordinate bus 32
pcib3: I/O decode 0x2000-0x3fff
pcib3: memory decode 0xc8000000-0xcbffffff
pcib3: no prefetched decode
pcib3: could not get PCI interrupt routing table for \\_SB_.C08B.C254 - AE_NOT_FOUND
pci32: <ACPI PCI bus> on pcib3
pci32: domain=0, physical bus=32
ahci0: <ATI IXP600 AHCI SATA controller> port 0x9000-0x9007,0x9008-0x900b,0x9010-0x9017,0x5018-0x501b,0x5020-0x502f mem 0xcc409000-0xcc4093ff irq 16 at device 18.0 on pci0
ioapic0: routing intpin 16 (PCI IRQ 16) to lapic 0 vector 52
ahci0: AHCI v1.10 with 4 3Gbps ports, Port Multiplier not supported
ahci0: Caps: 64bit NCQ SNTF MPS ALP AL CLO 3Gbps PMD SSC PSC 32cmd CCC 4ports
ahci0: Caps2:
ahcich0: <AHCI channel> at channel 0 on ahci0
ahcich0: Caps:
ahcich1: not probed (disabled)
ahcich2: not probed (disabled)
ahcich3: not probed (disabled)
ohci0: <OHCI (generic) USB controller> mem 0xcc401000-0xcc401fff irq 23 at device 19.0 on pci0
ioapic0: routing intpin 23 (PCI IRQ 23) to lapic 0 vector 53
usbus0 on ohci0
usbus0: bpf attached
ohci0: usbpf: Attached
ohci1: <OHCI (generic) USB controller> mem 0xcc402000-0xcc402fff irq 17 at device 19.1 on pci0
ioapic0: routing intpin 17 (PCI IRQ 17) to lapic 0 vector 54
usbus1 on ohci1
usbus1: bpf attached
ohci1: usbpf: Attached
ohci2: <OHCI (generic) USB controller> mem 0xcc403000-0xcc403fff irq 17 at device 19.2 on pci0
usbus2 on ohci2
usbus2: bpf attached
ohci2: usbpf: Attached
ohci3: <OHCI (generic) USB controller> mem 0xcc404000-0xcc404fff irq 17 at device 19.3 on pci0
usbus3 on ohci3
usbus3: bpf attached
ohci3: usbpf: Attached
ohci4: <OHCI (generic) USB controller> mem 0xcc405000-0xcc405fff irq 17 at device 19.4 on pci0
usbus4 on ohci4
usbus4: bpf attached
ohci4: usbpf: Attached
ehci0: <EHCI (generic) USB 2.0 controller> mem 0xcc406000-0xcc4060ff irq 23 at device 19.5 on pci0
ehci0: AMD SB600/700 quirk applied
ehci0: Dropped interrupts workaround enabled
usbus5: EHCI version 1.0
usbus5 on ehci0
usbus5: bpf attached
ehci0: usbpf: Attached
pci0: <serial bus, SMBus> at device 20.0 (no driver attached)
atapci0: <ATI IXP600 UDMA133 controller> port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0x5040-0x504f irq 16 at device 20.1 on pci0
ata0: <ATA channel> at channel 0 on atapci0
ioapic0: routing intpin 14 (ISA IRQ 14) to lapic 0 vector 55
ioapic0: routing intpin 20 (PCI IRQ 20) to lapic 0 vector 56
cbb0: PCI Configuration space:
0x00: 0x04761180 0x02100007 0x060700b6 0x00824000
0x10: 0xcc500000 0x020000dc 0x20030302 0xfffff000
0x20: 0x00000000 0xfffff000 0x00000000 0xfffffffc
0x30: 0x00000000 0xfffffffc 0x00000000 0x07000114
0x40: 0x30c2103c 0x00000001 0x00000000 0x00000000
0x50: 0x00000000 0x00000000 0x00000000 0x00000000
0x60: 0x00000000 0x00000000 0x00000000 0x00000000
0x70: 0x00000000 0x00000000 0x00000000 0x00000000
0x80: 0x30a00001 0x00000000 0x04630463 0x00000000
0x90: 0x00000000 0x00000000 0x00000000 0x00000000
0xa0: 0x00000008 0x00000000 0x00000000 0x00000000
0xb0: 0x00000000 0xbe000000 0x00003000 0x00000000
0xc0: 0x30c2103c 0x00000000 0x00000000 0x00000000
0xd0: 0x00000000 0x00000000 0x00000000 0xfe0a0001
0xe0: 0x24c04000 0x00000000 0x00000000 0x00000000
0xf0: 0x00000000 0x00000000 0x00000000 0x00000000
battery0: <ACPI Control Method Battery> on acpi0
battery1: <ACPI Control Method Battery> on acpi0
acpi_acad0: <AC Adapter> on acpi0
acpi_button0: <Sleep Button> on acpi0
acpi_lid0: <Control Method Lid Switch> on acpi0
acpi_tz0: <Thermal Zone> on acpi0
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 57
atkbd0: [GIANT-LOCKED]
psm0: unable to allocate IRQ
psmcpnp0: <PS/2 mouse port> irq 12 on acpi0
psm0: current command byte:0065
psm0: <PS/2 Mouse> irq 12 on atkbdc0
ioapic0: routing intpin 12 (ISA IRQ 12) to lapic 0 vector 58
psm0: [GIANT-LOCKED]
psm0: model IntelliMouse, device ID 3-00, 3 buttons
psm0: config:00004000, flags:00000008, packet size:4
psm0: syncmask:08, syncbits:00
acpi0: wakeup code va 0xffffff80cd86b000 pa 0x90000
isa_probe_children: disabling PnP devices
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 0xd0000-0xd0fff 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
pcib0: allocated type 4 (0x3c0-0x3df) for rid 0 of vga0
pcib0: allocated type 3 (0xa0000-0xbffff) for rid 0 of vga0
fdc0 failed to probe at port 0x3f0 irq 6 drq 2 on isa0
ppc0 failed to probe at irq 7 on isa0
pcib0: allocated type 4 (0x3f8-0x3ff) for rid 0 of uart0
uart0 failed to probe at port 0x3f8-0x3ff irq 4 on isa0
pcib0: allocated type 4 (0x2f8-0x2ff) for rid 0 of uart1
uart1 failed to probe at port 0x2f8-0x2ff irq 3 on isa0
wbwd0 failed to probe on isa0
isa_probe_children: probing PnP devices
acpi_throttle0: <ACPI CPU Throttling> on cpu0
acpi_throttle0: P_CNT from P_BLK 0x8010
powernow0: <PowerNow! K8> on cpu0
acpi_throttle1: <ACPI CPU Throttling> on cpu1
acpi_throttle1: failed to attach P_CNT
device_attach: acpi_throttle1 attach returned 6
powernow1: <PowerNow! K8> on cpu1
Device configuration finished.
procfs registered
lapic: Divisor 2, Frequency 99750240 Hz
Timecounters tick every 1.000 msec
vlan: initialized, using hash tables with chaining
lo0: bpf attached
pcm0: sndbuf_setmap 6080000, 10000; 0xffffff80cd87e000 -> 6080000
pcm0: sndbuf_setmap 60c0000, 10000; 0xffffff80cd8be000 -> 60c0000
hdacc1: <Lucent/Agere Systems (0x1040) HDA CODEC> at cad 1 on hdac0
hdacc1: Root Node at nid=0: 1 subnodes 1-1
unknown: <Lucent/Agere Systems (0x1040) HDA CODEC Modem Function Group> at nid 1 on hdacc1 (no driver attached)
usbus0: 12Mbps Full Speed USB v1.0
usbus1: 12Mbps Full Speed USB v1.0
usbus2: 12Mbps Full Speed USB v1.0
usbus3: 12Mbps Full Speed USB v1.0
usbus4: 12Mbps Full Speed USB v1.0
usbus5: 480Mbps High Speed USB v2.0
acpi_tz0: _AC3: temperature 77.0 >= setpoint 40.0
acpi_tz0: _AC2: temperature 77.0 >= setpoint 50.0
acpi_tz0: _AC1: temperature 77.0 >= setpoint 60.0
acpi_tz0: _AC0: temperature 77.0 >= setpoint 70.0
acpi_tz0: switched from NONE to _AC0: 77.0C
acpi_tz0: _AC3: temperature 77.0 >= setpoint 40.0
acpi_tz0: _AC2: temperature 77.0 >= setpoint 50.0
acpi_tz0: _AC1: temperature 77.0 >= setpoint 60.0
acpi_tz0: _AC3: temperature 77.0 >= setpoint 40.0
acpi_tz0: _AC2: temperature 77.0 >= setpoint 50.0
acpi_tz0: _AC1: temperature 77.0 >= setpoint 60.0
battery0: battery initialization done, tried 1 times
uhub0: 2 ports with 2 removable, self powered
uhub1: 2 ports with 2 removable, self powered
uhub2: 2 ports with 2 removable, self powered
uhub3: 2 ports with 2 removable, self powered
uhub4: 2 ports with 2 removable, self powered
(probe0:ctl2cam0:0:1:0): Error 6, Unretryable error
pass0 at ahcich0 bus 0 scbus0 target 0 lun 0
pass0: GEOM: new disk cd0
<ST9160821AS 3.BHE> ATA-7 SATA 1.x device
pass0: Serial Number 5MA83WKD
pass0: 150.000MB/s transfers ((cd0:ata0:0:0:0): SCSI status error
(cd0:ata0:0:0:0): READ CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0
(cd0:ata0:0:0:0): CAM status: SCSI Status Error
(cd0:ata0:0:0:0): SCSI status: Check Condition
(cd0:ata0:0:0:0): SCSI sense: NOT READY asc:3a,1 (Medium not present - tray closed)
(cd0:ata0:0:0:0): Error 6, Unretryable error
cd0 at ata0 bus 0 scbus1 target 0 lun 0
cd0: <MATSHITA DVD-RAM UJ-861H 1.50> Removable CD-ROM SCSI-0 device
cd0: Serial Number HE58 101390
cd0: 16.700MB/s transfers (WDMA2, ATAPI 12bytes, PIO 65534bytes)
cd0: Attempt to query device size failed: NOT READY, Medium not present - tray closed
SATA 1.x, UDMA5, PIO 8192bytes)
pass1 at ata0 bus 0 scbus1 target 0 lun 0
pass1: <MATSHITA DVD-RAM UJ-861H 1.50> Removable CD-ROM SCSI-0 device
pass1: Serial Number HE58 101390
pass1: 16.700MB/s transfers (WDMA2, ATAPI 12bytes, PIO 65534bytes)
ada0 at ahcich0 bus 0 scbus0 target 0 lun 0
ada0: <ST9160821AS 3.BHE> ATA-7 SATA 1.x device
ada0: Serial Number 5MA83WKD
ada0: 150.000MB/s transfers (SATA 1.x, UDMA5, PIO 8192bytes)
ada0: 152627MB (312581808 512 byte sectors: 16H 63S/T 16383C)
ada0: Previously was known as ad4
(cd0:ata0:0:0:0): SCSI status error
(cd0:ata0:0:0:0): READ CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0
(cd0:ata0:0:0:0): CAM status: SCSI Status Error
(cd0:ata0:0:0:0): SCSI status: Check Condition
(cd0:ata0:0:0:0): SCSI sense: NOT READY asc:3a,1 (Medium not present - tray closed)
(cd0:ata0:0:0:0): Error 6, Unretryable error
SMP: AP CPU #1 Launched!
cpu1 AP:
ID: 0x01000000 VER: 0x80050010 LDR: 0x00000000 DFR: 0xffffffff
lint0: 0x00010700 lint1: 0x00000400 TPR: 0x00000000 SVR: 0x000001ff
timer: 0x000100ef therm: 0x00010000 err: 0x000000f0 pmc: 0x00010400
TSC timecounter discards lower 7 bit(s)
Timecounter "TSC-low" frequency 15586291 Hz quality -100
WARNING: WITNESS option enabled, expect reduced performance.
(cd0:ata0:0:0:0): SCSI status error
(cd0:ata0:0:0:0): READ CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0
(cd0:ata0:0:0:0): CAM status: SCSI Status Error
(cd0:ata0:0:0:0): SCSI status: Check Condition
(cd0:ata0:0:0:0): SCSI sense: NOT READY asc:3a,1 (Medium not present - tray closed)
(cd0:ata0:0:0:0): Error 6, Unretryable error
(cd0:ata0:0:0:0): SCSI status error
(cd0:ata0:0:0:0): READ CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0
(cd0:ata0:0:0:0): CAM status: SCSI Status Error
(cd0:ata0:0:0:0): SCSI status: Check Condition
(cd0:ata0:0:0:0): SCSI sense: NOT READY asc:3a,1 (Medium not present - tray closed)
(cd0:ata0:0:0:0): Error 6, Unretryable error
GEOM: new disk ada0
Root mount waiting for: usbus5
uhub5: 10 ports with 10 removable, self powered
Trying to mount root from ufs:/dev/ad4s1a [rw]...
start_init: trying /sbin/init
acpi_tz0: _AC3: temperature 71.0 >= setpoint 40.0
acpi_tz0: _AC2: temperature 71.0 >= setpoint 50.0
acpi_tz0: _AC1: temperature 71.0 >= setpoint 60.0

John Baldwin

unread,
May 3, 2012, 2:47:53 PM5/3/12
to Anton Shterenlikht, freebsd...@freebsd.org
I don't think so.

Please try just this change:

Index: pci.c
===================================================================
--- pci.c (revision 234928)
+++ pci.c (working copy)
@@ -2822,10 +2822,14 @@ pci_add_map(device_t bus, device_t dev, int reg, s
* from the parent.
*/
resource_list_delete(rl, type, reg);
- } else {
+ start = 0;
+ device_printf(bus,
+ "pci%d:%d:%d:%d bar %#x failed to allocate",
+ pci_get_domain(dev), pci_get_bus(dev), pci_get_slot(dev),
+ pci_get_function(dev), reg);
+ } else
start = rman_get_start(res);
- pci_write_bar(dev, pm, start);
- }
+ pci_write_bar(dev, pm, start);
return (barlen);
}


--
John Baldwin

Anton Shterenlikht

unread,
May 4, 2012, 7:52:57 AM5/4/12
to John Baldwin, freebsd...@freebsd.org, Anton Shterenlikht
That helped, thank you.

--
Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 331 5944
Fax: +44 (0)117 929 4423

John Baldwin

unread,
May 4, 2012, 11:36:16 AM5/4/12
to Anton Shterenlikht, freebsd...@freebsd.org
Bizarre, can you get a regular dmesg with that change applied?

--
John Baldwin

Anton Shterenlikht

unread,
May 4, 2012, 4:08:18 PM5/4/12
to John Baldwin, freebsd...@freebsd.org, Anton Shterenlikht
Copyright (c) 1992-2012 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.9-CURRENT #1 r234928M: Fri May 4 15:12:26 BST 2012
ro...@mech-aslap239.men.bris.ac.uk:/usr/obj/usr/src/sys/GEN4 amd64
WARNING: WITNESS option enabled, expect reduced performance.
CPU: AMD Turion(tm) 64 X2 Mobile Technology TL-60 (1994.95-MHz K8-class CPU)
Origin = "AuthenticAMD" Id = 0x60f82 Family = f Model = 68 Stepping = 2
Features=0x178bfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2,HTT>
Features2=0x2001<SSE3,CX16>
AMD Features=0xea500800<SYSCALL,NX,MMX+,FFXSR,RDTSCP,LM,3DNow!+,3DNow!>
AMD Features2=0x11f<LAHF,CMP,SVM,ExtAPIC,CR8,Prefetch>
real memory = 3221225472 (3072 MB)
avail memory = 2954690560 (2817 MB)
Event timer "LAPIC" quality 400
ACPI APIC Table: <HP 0944 >
FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
FreeBSD/SMP: 1 package(s) x 2 core(s)
cpu0 (BSP): APIC ID: 0
cpu1 (AP): APIC ID: 1
ACPI Error: 32/64X address mismatch in Pm2ControlBlock: 0x00008800/0x0000000000008100, using 32 (20120420/tbfadt-474)
ioapic0: Changing APIC ID to 2
ioapic0 <Version 2.1> irqs 0-23 on motherboard
kbd1 at kbdmux0
ctl: CAM Target Layer loaded
acpi0: <HPQOEM SLIC-MPC> on motherboard
acpi0: Power Button (fixed)
unknown: I/O range not supported
acpi0: reservation of 0, 8000000 (3) failed
acpi0: reservation of 100000, fff00000 (3) failed
cpu0: <ACPI CPU> on acpi0
cpu1: <ACPI CPU> 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,0x72-0x73 irq 8 on acpi0
Event timer "RTC" frequency 32768 Hz quality 0
Timecounter "ACPI-fast" frequency 3579545 Hz quality 900
acpi_timer0: <32-bit timer at 3.579545MHz> port 0x8008-0x800b on acpi0
acpi_ec0: <Embedded Controller: GPE 0x11> port 0x62,0x66 on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pcib0: Length mismatch for 3 range: 11ff000 vs 11fefff
pci0: <ACPI PCI bus> on pcib0
pci0: pci0:0:20:2 bar 0x10 failed to allocatepcib1: <ACPI PCI-PCI bridge> at device 1.0 on pci0
pci1: <ACPI PCI bus> on pcib1
vgapci0: <VGA-compatible display> port 0x4000-0x40ff mem 0xc0000000-0xc7ffffff,0xcc200000-0xcc20ffff,0xcc300000-0xcc3fffff irq 19 at device 5.0 on pci1
pcib2: <ACPI PCI-PCI bridge> at device 4.0 on pci0
pci16: <ACPI PCI bus> on pcib2
bge0: <Broadcom BCM5906 A2, ASIC rev. 0x00c002> mem 0xcc000000-0xcc00ffff irq 16 at device 0.0 on pci16
bge0: CHIP ID 0x0000c002; ASIC REV 0x0c; CHIP REV 0xc0; PCI-E
miibus0: <MII bus> on bge0
brgphy0: <BCM5906 10/100baseTX media interface> PHY 1 on miibus0
brgphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto, auto-flow
bge0: Ethernet address: 00:1a:4b:89:4b:4e
pcib3: <ACPI PCI-PCI bridge> at device 5.0 on pci0
pci32: <ACPI PCI bus> on pcib3
ahci0: <ATI IXP600 AHCI SATA controller> port 0x9000-0x9007,0x9008-0x900b,0x9010-0x9017,0x5018-0x501b,0x5020-0x502f mem 0xcc409000-0xcc4093ff irq 16 at device 18.0 on pci0
ahci0: AHCI v1.10 with 4 3Gbps ports, Port Multiplier not supported
ahcich0: <AHCI channel> at channel 0 on ahci0
ohci0: <OHCI (generic) USB controller> mem 0xcc401000-0xcc401fff irq 23 at device 19.0 on pci0
usbus0 on ohci0
ohci1: <OHCI (generic) USB controller> mem 0xcc402000-0xcc402fff irq 17 at device 19.1 on pci0
usbus1 on ohci1
ohci2: <OHCI (generic) USB controller> mem 0xcc403000-0xcc403fff irq 17 at device 19.2 on pci0
usbus2 on ohci2
ohci3: <OHCI (generic) USB controller> mem 0xcc404000-0xcc404fff irq 17 at device 19.3 on pci0
usbus3 on ohci3
ohci4: <OHCI (generic) USB controller> mem 0xcc405000-0xcc405fff irq 17 at device 19.4 on pci0
usbus4 on ohci4
ehci0: <EHCI (generic) USB 2.0 controller> mem 0xcc406000-0xcc4060ff irq 23 at device 19.5 on pci0
ehci0: AMD SB600/700 quirk applied
usbus5: EHCI version 1.0
usbus5 on ehci0
pci0: <serial bus, SMBus> at device 20.0 (no driver attached)
atapci0: <ATI IXP600 UDMA133 controller> port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0x5040-0x504f irq 16 at device 20.1 on pci0
ata0: <ATA channel> at channel 0 on atapci0
hdac0: <ATI SB600 HDA Controller> irq 16 at device 20.2 on pci0
isab0: <PCI-ISA bridge> at device 20.3 on pci0
isa0: <ISA bus> on isab0
pcib4: <ACPI PCI-PCI bridge> at device 20.4 on pci0
pcib4: failed to allocate initial memory window: 0xcc100000-0xcc1fffff
pci2: <ACPI PCI bus> on pcib4
pci2: pci0:2:4:0 bar 0x10 failed to allocatecbb0: <RF5C476 PCI-CardBus Bridge> irq 20 at device 4.0 on pci2
IP Filter: v4.1.28 initialized. Default = block all, Logging = enabled
hdacc0: <Analog Devices AD1981HD HDA CODEC> at cad 0 on hdac0
hdaa0: <Analog Devices AD1981HD HDA CODEC Audio Function Group> at nid 1 on hdacc0
pcm0: <Analog Devices AD1981HD HDA CODEC PCM (Analog 2.0+HP/2.0)> at nid 5,6 and 8,9 on hdaa0
hdacc1: <Lucent/Agere Systems (0x1040) HDA CODEC> at cad 1 on hdac0
unknown: <Lucent/Agere Systems (0x1040) HDA CODEC Modem Function Group> at nid 1 on hdacc1 (no driver attached)
usbus0: 12Mbps Full Speed USB v1.0
usbus1: 12Mbps Full Speed USB v1.0
usbus2: 12Mbps Full Speed USB v1.0
usbus3: 12Mbps Full Speed USB v1.0
usbus4: 12Mbps Full Speed USB v1.0
usbus5: 480Mbps High Speed USB v2.0
ugen0.1: <ATI> at usbus0
uhub0: <ATI OHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus0
ugen1.1: <ATI> at usbus1
uhub1: <ATI OHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus1
ugen2.1: <ATI> at usbus2
uhub2: <ATI OHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus2
ugen3.1: <ATI> at usbus3
uhub3: <ATI OHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus3
ugen4.1: <ATI> at usbus4
uhub4: <ATI OHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus4
ugen5.1: <ATI> at usbus5
uhub5: <ATI EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus5
uhub0: 2 ports with 2 removable, self powered
uhub1: 2 ports with 2 removable, self powered
uhub2: 2 ports with 2 removable, self powered
uhub3: 2 ports with 2 removable, self powered
uhub4: 2 ports with 2 removable, self powered
siba_bwn0: <Broadcom BCM4318 802.11b/g Wireless> mem 0xcc502000-0xcc503fff irq 20 at device 0.0 on cardbus0
bwn0 on siba_bwn0
bwn0: WLAN (chipid 0x4318 rev 9) PHY (analog 3 type 2 rev 7) RADIO (manuf 0x17f ver 0x2050 rev 8)
bwn0: DMA (32 bits)
ada0 at ahcich0 bus 0 scbus0 target 0 lun 0
ada0: <ST9160821AS 3.BHE> ATA-7 SATA 1.x device
ada0: 150.000MB/s transfers (SATA 1.x, UDMA5, PIO 8192bytes)
ada0: 152627MB (312581808 512 byte sectors: 16H 63S/T 16383C)
ada0: Previously was known as ad4
cd0 at ata0 bus 0 scbus1 target 0 lun 0
cd0: <MATSHITA DVD-RAM UJ-861H 1.50> Removable CD-ROM SCSI-0 device
cd0: 16.700MB/s transfers (WDMA2, ATAPI 12bytes, PIO 65534bytes)
cd0: Attempt to query device size failed: NOT READY, Medium not present - tray closed
SMP: AP CPU #1 Launched!
WARNING: WITNESS option enabled, expect reduced performance.
Root mount waiting for: usbus5
uhub5: 10 ports with 10 removable, self powered
Trying to mount root from ufs:/dev/ada0s1a [rw]...

--
Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 331 5944
Fax: +44 (0)117 929 4423

John Baldwin

unread,
May 7, 2012, 10:45:47 AM5/7/12
to Anton Shterenlikht, freebsd...@freebsd.org
Hmm, I missed a newline at the end. :) Looks like this happened twice.
I've added the relevant verbose boot messages from your earlier kernel
below each one:

> pci0: <ACPI PCI bus> on pcib0
> pci0: pci0:0:20:2 bar 0x10 failed to allocate
> pcib1: <ACPI PCI-PCI bridge> at device 1.0 on pci0

found-> vendor=0x1002, dev=0x4383, revid=0x00
domain=0, bus=0, slot=20, func=2
class=04-03-00, hdrtype=0x00, mfdev=0
cmdreg=0x0006, statreg=0x0410, cachelnsz=16 (dwords)
lattimer=0x40 (1920 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
intpin=a, irq=10
powerspec 2 supports D0 D3 current D0
map[10]: type Memory, range 64, base 0xcc408000, size 14, enabled
pcib0: matched entry for 0.20.INTA
pcib0: slot 20 INTA hardwired to IRQ 16

> pcib4: <ACPI PCI-PCI bridge> at device 20.4 on pci0
> pcib4: failed to allocate initial memory window: 0xcc100000-0xcc1fffff
> pci2: <ACPI PCI bus> on pcib4
> pci2: pci0:2:4:0 bar 0x10 failed to allocate
> cbb0: <RF5C476 PCI-CardBus Bridge> irq 20 at device 4.0 on pci2

found-> vendor=0x1180, dev=0x0476, revid=0xb6
domain=0, bus=2, slot=4, func=0
class=06-07-00, hdrtype=0x02, mfdev=1
cmdreg=0x0007, statreg=0x0210, cachelnsz=0 (dwords)
lattimer=0x40 (1920 ns), mingnt=0x80 (32000 ns), maxlat=0x07 (1750 ns)
intpin=a, irq=10
powerspec 2 supports D0 D1 D2 D3 current D0
map[10]: type Memory, range 32, base 0xcc100000, size 12, enabled
pcib4: failed to allocate initial memory window (0xcc100000-0xcc1fffff,0x100000)
pcib4: matched entry for 2.4.INTA
pcib4: slot 4 INTA hardwired to IRQ 20
cbb0: <RF5C476 PCI-CardBus Bridge> irq 20 at device 4.0 on pci2
pcib0: allocated type 3 (0xcc500000-0xcc5fffff) for rid 20 of pcib4
pcib4: allocated initial memory window of 0xcc500000-0xcc5fffff
pcib4: allocated memory range (0xcc500000-0xcc500fff) for rid 10 of cbb0
cbb0: Lazy allocation of 0x1000 bytes rid 0x10 type 3 at 0xcc500000

So the second case actually recovers and allocates a different range.

Can you try booting with 'debug.acpi.disabled=sysres' set in the loader?

Also, can you get the output of 'devinfo -rv' from a working kernel?

--
John Baldwin

Anton Shterenlikht

unread,
May 7, 2012, 5:26:25 PM5/7/12
to John Baldwin, freebsd...@freebsd.org, Anton Shterenlikht
You mean without the patch?

> Also, can you get the output of 'devinfo -rv' from a working kernel?

# devinfo -rv
nexus0
apic0
I/O memory addresses:
0xfec00000-0xfec0001f
0xfee00000-0xfee003ff
ram0
I/O memory addresses:
0x0-0x9fbff
0x100000-0xb7faffff
acpi0
Interrupt request lines:
9
I/O ports:
0x10-0x1f
0x22-0x23
0x2e-0x2f
0x4e-0x4f
0x92
0x40b
0x4d0-0x4d1
0x4d6
0x500-0x53f
0xc00-0xc01
0xc14
0xc50-0xc51
0xc52
0xc6c
0xc6f
0xcd0-0xcdf
0x8000-0x802f
0x8100-0x811f
I/O memory addresses:
0xcd400-0xcffff
0xd2a00-0xd2fff
0xe0000-0xfffff
cpu0 pnpinfo _HID=none _UID=0 at handle=\_PR_.C000
acpi_perf0
acpi_throttle0
ACPI I/O ports:
0x8010-0x8013
powernow0
cpufreq0
cpu1 pnpinfo _HID=none _UID=0 at handle=\_PR_.C001
acpi_perf1
acpi_throttle1
powernow1
cpufreq1
acpi_sysresource0 pnpinfo _HID=PNP0C01 _UID=0 at handle=\_SB_.C011
pcib0 pnpinfo _HID=PNP0A03 _UID=0 at handle=\_SB_.C08B
I/O ports:
0xcf8-0xcff
pci0
hostb0 pnpinfo vendor=0x1002 device=0x7910 subvendor=0x103c subdevice=0x30c2 class=0x060000 at slot=0 function=0
pcib1 pnpinfo vendor=0x1002 device=0x7912 subvendor=0x103c subdevice=0x30c2 class=0x060400 at slot=1 function=0 handle=\_SB_.C08B.C08C
I/O ports:
0x4000-0x4fff
I/O memory addresses:
0xc0000000-0xc7ffffff
0xcc200000-0xcc3fffff
pci1
vgapci0 pnpinfo vendor=0x1002 device=0x791f subvendor=0x103c subdevice=0x30c2 class=0x030000 at slot=5 function=0 handle=\_SB_.C08B.C08C.C08D
pcib1 I/O port window:
0x4000-0x40ff
pcib1 memory window:
0xcc200000-0xcc20ffff
0xcc300000-0xcc3fffff
pcib1 prefetch window:
0xc0000000-0xc7ffffff
vgapm0
drm0
pcib2 pnpinfo vendor=0x1002 device=0x7914 subvendor=0x103c subdevice=0x30c2 class=0x060400 at slot=4 function=0 handle=\_SB_.C08B.C24F
I/O memory addresses:
0xcc000000-0xcc0fffff
pci16
bge0 pnpinfo vendor=0x14e4 device=0x1713 subvendor=0x103c subdevice=0x30c2 class=0x020000 at slot=0 function=0 handle=\_SB_.C08B.C24F.C250
Interrupt request lines:
256
pcib2 memory window:
0xcc000000-0xcc00ffff
miibus0
brgphy0 pnpinfo oui=0x50ef model=0x4 rev=0x0 at phyno=1
pcib3 pnpinfo vendor=0x1002 device=0x7915 subvendor=0x103c subdevice=0x30c2 class=0x060400 at slot=5 function=0 handle=\_SB_.C08B.C254
I/O ports:
0x2000-0x3fff
I/O memory addresses:
0xc8000000-0xcbffffff
pci32
ahci0 pnpinfo vendor=0x1002 device=0x4380 subvendor=0x1002 subdevice=0x4380 class=0x01018f at slot=18 function=0 handle=\_SB_.C08B.C275
Interrupt request lines:
16
I/O ports:
0x5018-0x501b
0x5020-0x502f
0x9000-0x9007
0x9008-0x900b
0x9010-0x9017
I/O memory addresses:
0xcc409000-0xcc4093ff
ahcich0 at channel=0
I/O memory addresses:
0xcc409100-0xcc40917f
ahcich1 at channel=1
ahcich2 at channel=2
ahcich3 at channel=3
ohci0 pnpinfo vendor=0x1002 device=0x4387 subvendor=0x103c subdevice=0x30c2 class=0x0c0310 at slot=19 function=0 handle=\_SB_.C08B.C12D
Interrupt request lines:
23
I/O memory addresses:
0xcc401000-0xcc401fff
usbus0
uhub0
ohci1 pnpinfo vendor=0x1002 device=0x4388 subvendor=0x103c subdevice=0x30c2 class=0x0c0310 at slot=19 function=1 handle=\_SB_.C08B.C131
Interrupt request lines:
17
I/O memory addresses:
0xcc402000-0xcc402fff
usbus1
uhub1
ohci2 pnpinfo vendor=0x1002 device=0x4389 subvendor=0x103c subdevice=0x30c2 class=0x0c0310 at slot=19 function=2 handle=\_SB_.C08B.C134
Interrupt request lines:
17
I/O memory addresses:
0xcc403000-0xcc403fff
usbus2
uhub2
ohci3 pnpinfo vendor=0x1002 device=0x438a subvendor=0x103c subdevice=0x30c2 class=0x0c0310 at slot=19 function=3 handle=\_SB_.C08B.C137
Interrupt request lines:
17
I/O memory addresses:
0xcc404000-0xcc404fff
usbus3
uhub3
ohci4 pnpinfo vendor=0x1002 device=0x438b subvendor=0x103c subdevice=0x30c2 class=0x0c0310 at slot=19 function=4 handle=\_SB_.C08B.C13A
Interrupt request lines:
17
I/O memory addresses:
0xcc405000-0xcc405fff
usbus4
uhub4
ehci0 pnpinfo vendor=0x1002 device=0x4386 subvendor=0x103c subdevice=0x30c2 class=0x0c0320 at slot=19 function=5 handle=\_SB_.C08B.C13D
Interrupt request lines:
23
I/O memory addresses:
0xcc406000-0xcc4060ff
usbus5
uhub5
unknown pnpinfo vendor=0x1002 device=0x4385 subvendor=0x103c subdevice=0x30c2 class=0x0c0500 at slot=20 function=0 handle=\_SB_.C08B.C09F
I/O ports:
0x8200-0x820f
atapci0 pnpinfo vendor=0x1002 device=0x438c subvendor=0x103c subdevice=0x30c2 class=0x010182 at slot=20 function=1 handle=\_SB_.C08B.C10B
I/O ports:
0x170-0x177
0x1f0-0x1f7
0x376
0x3f6
0x5040-0x504f
ata0 at channel=0
Interrupt request lines:
14
hdac0 pnpinfo vendor=0x1002 device=0x4383 subvendor=0x103c subdevice=0x30c2 class=0x040300 at slot=20 function=2 handle=\_SB_.C08B.C0FD
Interrupt request lines:
16
I/O memory addresses:
0xcc100000-0xcc103fff
hdacc0 pnpinfo vendor=0x11d4 device=0x1981 revision=0x02 stepping=0x00 at cad=0
hdaa0 pnpinfo type=0x01 subsystem=0x103c30c2 at nid=1
pcm0 at nid=5,6,8,9
hdacc1 pnpinfo vendor=0x11c1 device=0x1040 revision=0x02 stepping=0x00 at cad=1
unknown pnpinfo type=0x02 subsystem=0x103c1378 at nid=1
isab0 pnpinfo vendor=0x1002 device=0x438d subvendor=0x103c subdevice=0x30c2 class=0x060100 at slot=20 function=3 handle=\_SB_.C08B.C0FE
isa0
sc0
vga0
I/O ports:
0x3c0-0x3df
I/O memory addresses:
0xa0000-0xbffff
orm0
I/O memory addresses:
0xd0000-0xd0fff
fdc0
ppc0
uart0
uart1
wbwd0
pcib4 pnpinfo vendor=0x1002 device=0x4384 subvendor=0x0000 subdevice=0x0000 class=0x060401 at slot=20 function=4 handle=\_SB_.C08B.C0FC
I/O memory addresses:
0xcc500000-0xcc5fffff
pci2
cbb0 pnpinfo vendor=0x1180 device=0x0476 subvendor=0x103c subdevice=0x30c2 class=0x060700 at slot=4 function=0
Interrupt request lines:
20
pcib4 memory window:
0xcc500000-0xcc500fff
cardbus0
siba_bwn0 pnpinfo vendor=0x14e4 device=0x4318 subvendor=0x16ec subdevice=0x0119 class=0x028000 at slot=0 function=0
Interrupt request lines:
20
pcib4 memory window:
0xcc502000-0xcc503fff
unknown
bwn0
unknown
unknown
pccard0
hostb1 pnpinfo vendor=0x1022 device=0x1100 subvendor=0x0000 subdevice=0x0000 class=0x060000 at slot=24 function=0
hostb2 pnpinfo vendor=0x1022 device=0x1101 subvendor=0x0000 subdevice=0x0000 class=0x060000 at slot=24 function=1
hostb3 pnpinfo vendor=0x1022 device=0x1102 subvendor=0x0000 subdevice=0x0000 class=0x060000 at slot=24 function=2
hostb4 pnpinfo vendor=0x1022 device=0x1103 subvendor=0x0000 subdevice=0x0000 class=0x060000 at slot=24 function=3
unknown pnpinfo _HID=none _UID=0 at handle=\_SB_.C08B.C0FD.C171
acpi_ec0 pnpinfo _HID=PNP0C09 _UID=0 at handle=\_SB_.C08B.C0FE.C172
I/O ports:
0x62
0x66
unknown pnpinfo _HID=PNP0A06 _UID=0 at handle=\_SB_.C08B.C0FE.C1F1
unknown pnpinfo _HID=PNP0501 _UID=0 at handle=\_SB_.C08B.C0FE.C1F1.C21F
unknown pnpinfo _HID=none _UID=0 at handle=\_SB_.C08B.C0FE.C1F1.C21F.C223
unknown pnpinfo _HID=PNP0400 _UID=0 at handle=\_SB_.C08B.C0FE.C1F1.C224
unknown pnpinfo _HID=none _UID=0 at handle=\_SB_.C08B.C0FE.C1F1.C224.C230
unknown pnpinfo _HID=IFX0102 _UID=0 at handle=\_SB_.C08B.C0FE.C231
fpupnp0 pnpinfo _HID=PNP0C04 _UID=0 at handle=\_SB_.C08B.C0FE.C241
I/O ports:
0xf0-0xff
attimer0 pnpinfo _HID=PNP0100 _UID=0 at handle=\_SB_.C08B.C0FE.C242
Interrupt request lines:
0
I/O ports:
0x40-0x43
atdma0 pnpinfo _HID=PNP0200 _UID=0 at handle=\_SB_.C08B.C0FE.C229
DMA request lines:
4
I/O ports:
0x0-0xf
0x80-0x8f
0xc0-0xdf
unknown pnpinfo _HID=PNP0800 _UID=0 at handle=\_SB_.C08B.C0FE.C243
I/O ports:
0x61
atrtc0 pnpinfo _HID=PNP0B00 _UID=0 at handle=\_SB_.C08B.C0FE.C244
Interrupt request lines:
8
I/O ports:
0x70-0x71
0x72-0x73
unknown pnpinfo _HID=PNP0103 _UID=0 at handle=\_SB_.C08B.C0FE.C245
atkbdc0 pnpinfo _HID=PNP0303 _UID=0 at handle=\_SB_.C08B.C0FE.C249
Interrupt request lines:
1
I/O ports:
0x60
0x64
atkbd0
psm0
Interrupt request lines:
12
psmcpnp0 pnpinfo _HID=SYN0131 _UID=0 at handle=\_SB_.C08B.C0FE.C24A
unknown pnpinfo _HID=none _UID=0 at handle=\_SB_.C08B.C0FE.C24A.C24C
unknown pnpinfo _HID=PNP0000 _UID=0 at handle=\_SB_.C08B.C0FE.C24E
I/O ports:
0x20-0x21
0xa0-0xa1
acpi_sysresource1 pnpinfo _HID=PNP0C02 _UID=2 at handle=\_SB_.C08B.C0FE.C37A
pci_link0 pnpinfo _HID=PNP0C0F _UID=96 at handle=\_SB_.C08B.C145
pci_link1 pnpinfo _HID=PNP0C0F _UID=97 at handle=\_SB_.C08B.C146
pci_link2 pnpinfo _HID=PNP0C0F _UID=98 at handle=\_SB_.C08B.C147
pci_link3 pnpinfo _HID=PNP0C0F _UID=99 at handle=\_SB_.C08B.C148
pci_link4 pnpinfo _HID=PNP0C0F _UID=104 at handle=\_SB_.C08B.C149
pci_link5 pnpinfo _HID=PNP0C0F _UID=105 at handle=\_SB_.C08B.C14A
pci_link6 pnpinfo _HID=PNP0C0F _UID=106 at handle=\_SB_.C08B.C14B
pci_link7 pnpinfo _HID=PNP0C0F _UID=107 at handle=\_SB_.C08B.C14C
unknown pnpinfo _HID=HPQ0004 _UID=0 at handle=\_SB_.C08B.ACEL
acpi_sysresource2 pnpinfo _HID=PNP0C02 _UID=1 at handle=\_SB_.C08B.C378
unknown pnpinfo _HID=HPQ0006 _UID=0 at handle=\_SB_.C24D
battery0 pnpinfo _HID=PNP0C0A _UID=1 at handle=\_SB_.C1ED
battery1 pnpinfo _HID=PNP0C0A _UID=2 at handle=\_SB_.C1EC
acpi_acad0 pnpinfo _HID=ACPI0003 _UID=0 at handle=\_SB_.C1EB
acpi_button0 pnpinfo _HID=PNP0C0E _UID=0 at handle=\_SB_.C28D
acpi_lid0 pnpinfo _HID=PNP0C0D _UID=0 at handle=\_SB_.C265
unknown pnpinfo _HID=PNP0C32 _UID=1 at handle=\_SB_.C1EE
unknown pnpinfo _HID=PNP0C14 _UID=0 at handle=\_SB_.C28A
acpi_sysresource3 pnpinfo _HID=PNP0C02 _UID=0 at handle=\_SB_.C35F
unknown pnpinfo _HID=none _UID=0 at handle=\_TZ_.C395
unknown pnpinfo _HID=none _UID=0 at handle=\_TZ_.C396
unknown pnpinfo _HID=none _UID=0 at handle=\_TZ_.C397
unknown pnpinfo _HID=none _UID=0 at handle=\_TZ_.C398
unknown pnpinfo _HID=PNP0C0B _UID=0 at handle=\_TZ_.C399
unknown pnpinfo _HID=PNP0C0B _UID=1 at handle=\_TZ_.C39A
unknown pnpinfo _HID=PNP0C0B _UID=2 at handle=\_TZ_.C39B
unknown pnpinfo _HID=PNP0C0B _UID=3 at handle=\_TZ_.C39C
acpi_tz0 pnpinfo _HID=none _UID=0 at handle=\_TZ_.TZ1_
acpi_timer0 pnpinfo unknown at unknown
ACPI I/O ports:
0x8008-0x800b

--
Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 331 5944
Fax: +44 (0)117 929 4423

John Baldwin

unread,
May 15, 2012, 1:07:11 PM5/15/12
to Anton Shterenlikht, freebsd...@freebsd.org
Either way.

> > Also, can you get the output of 'devinfo -rv' from a working kernel?

Oops, I meant to ask for devinfo -u, sorry. :(

Oh, I see it now. Your BIOS is broken.

The hdac0 device is assigned a resource that conflicts with pcib4, though
that is the one we recover from:

> hdac0 pnpinfo vendor=0x1002 device=0x4383 subvendor=0x103c subdevice=0x30c2 class=0x040300 at slot=20 function=2 handle=\_SB_.C08B.C0FD
> Interrupt request lines:
> 16
> I/O memory addresses:
> 0xcc100000-0xcc103fff

For the CardBus Bridge, the issue is this device:

> ahci0 pnpinfo vendor=0x1002 device=0x4380 subvendor=0x1002 subdevice=0x4380 class=0x01018f at slot=18 function=0 handle=\_SB_.C08B.C275
> Interrupt request lines:
> 16
> I/O ports:
> 0x5018-0x501b
> 0x5020-0x502f
> 0x9000-0x9007
> 0x9008-0x900b
> 0x9010-0x9017
> I/O memory addresses:
> 0xcc409000-0xcc4093ff

That last memory BAR conflicts with the desired range of 0xcc408000-0xcc40c000.

I'm not sure why BIOS writers are so grossly incompetent, but such is life.

Try this:

Index: pci.c
===================================================================
--- pci.c (revision 235475)
+++ pci.c (working copy)
@@ -2815,13 +2815,36 @@ pci_add_map(device_t bus, device_t dev, int reg, s
*/
res = resource_list_reserve(rl, bus, dev, type, &reg, start, end, count,
prefetch ? RF_PREFETCHABLE : 0);
+ if (res == NULL && (start != 0 || end != ~0ul)) {
+ /*
+ * If the allocation fails, try to allocate a resource for
+ * this BAR using any available range. The firmware felt
+ * it was important enough to assign a resource, so don't
+ * disable decoding if we can help it.
+ */
+ resource_list_delete(rl, type, reg);
+ start = 0;
+ end = ~0ul;
+ resource_list_add(rl, type, reg, 0, ~0ul, count);
+ resource_list_add(rl, type, reg, start, end, count);
+ res = resource_list_reserve(rl, bus, dev, type, &reg, 0, ~0ul,
+ count, prefetch ? RF_PREFETCHABLE : 0);
+ }
if (res == NULL) {
/*
* If the allocation fails, delete the resource list entry
- * to force pci_alloc_resource() to allocate resources
- * from the parent.
+ * and disable decoding for this device.
+ *
+ * If the driver requests this resource in the future,
+ * pci_reserve_map() will try to allocate fresh resources.
*/
resource_list_delete(rl, type, reg);
+ pci_disable_io(dev, type);
+ start = 0;
+ device_printf(bus,
+ "pci%d:%d:%d:%d bar %#x failed to allocate",
+ pci_get_domain(dev), pci_get_bus(dev), pci_get_slot(dev),
+ pci_get_function(dev), reg);
} else {
start = rman_get_start(res);
pci_write_bar(dev, pm, start);


--
John Baldwin

Anton Shterenlikht

unread,
May 16, 2012, 4:47:15 AM5/16/12
to John Baldwin, freebsd...@freebsd.org, Anton Shterenlikht
Below are (1) verbose boot dmesg and
(2) devinfo -u, with your patch
and with 'debug.acpi.disabled=sysres'
set in the loader.

Thank you

# dmesg
Table 'FACP' at 0xb7fc8084
Table 'SLIC' at 0xb7fc8220
Table 'EPTH' at 0xb7fc8398
Table 'APIC' at 0xb7fc83d0
APIC: Found table at 0xb7fc83d0
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-2012 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.9-CURRENT #1 r234928M: Tue May 8 16:10:50 BST 2012
ro...@mech-aslap239.men.bris.ac.uk:/usr/obj/usr/src/sys/GEN8 amd64
WARNING: WITNESS option enabled, expect reduced performance.
Preloaded elf kernel "/boot/kernel/kernel" at 0xffffffff80f07000.
Preloaded elf obj module "/boot/modules/bwn_v4_ucode.ko" at 0xffffffff80f07210.
Calibrating TSC clock ... TSC clock: 1995044869 Hz
CPU: AMD Turion(tm) 64 X2 Mobile Technology TL-60 (1995.04-MHz K8-class CPU)
Origin = "AuthenticAMD" Id = 0x60f82 Family = f Model = 68 Stepping = 2
Features=0x178bfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2,HTT>
Features2=0x2001<SSE3,CX16>
AMD Features=0xea500800<SYSCALL,NX,MMX+,FFXSR,RDTSCP,LM,3DNow!+,3DNow!>
AMD Features2=0x11f<LAHF,CMP,SVM,ExtAPIC,CR8,Prefetch>
L1 2MB data TLB: 8 entries, fully associative
L1 2MB instruction TLB: 8 entries, fully associative
L1 4KB data TLB: 32 entries, fully associative
L1 4KB instruction TLB: 32 entries, fully associative
L1 data cache: 64 kbytes, 64 bytes/line, 1 lines/tag, 2-way associative
L1 instruction cache: 64 kbytes, 64 bytes/line, 1 lines/tag, 2-way associative
L2 2MB unified TLB: 0 entries, disabled/not present
L2 4KB data TLB: 512 entries, 4-way associative
L2 4KB instruction TLB: 512 entries, 4-way associative
L2 unified cache: 512 kbytes, 64 bytes/line, 1 lines/tag, 16-way associative
real memory = 3221225472 (3072 MB)
Physical memory chunk(s):
0x0000000000010000 - 0x000000000009bfff, 573440 bytes (140 pages)
0x0000000000100000 - 0x00000000001fffff, 1048576 bytes (256 pages)
0x0000000000f36000 - 0x00000000b28ecfff, 2979753984 bytes (727479 pages)
avail memory = 2958528512 (2821 MB)
INTR: Adding local APIC 0 as a target
Event timer "LAPIC" quality 400
ACPI APIC Table: <HP 0944 >
INTR: Adding local APIC 0 as a target
INTR: Adding local APIC 1 as a target
FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
FreeBSD/SMP: 1 package(s) x 2 core(s)
cpu0 (BSP): APIC ID: 0
cpu1 (AP): APIC ID: 1
x86bios: IVT 0x000000-0x0004ff at 0xfffffe0000000000
x86bios: SSEG 0x098000-0x098fff at 0xffffff8000210000
x86bios: EBDA 0x09f000-0x09ffff at 0xfffffe000009f000
x86bios: ROM 0x0a0000-0x0fefff at 0xfffffe00000a0000
APIC: CPU 0 has ACPI ID 1
APIC: CPU 1 has ACPI ID 2
ULE: setup cpu 0
ULE: setup cpu 1
ACPI: RSDP 0xfe0b0 00024 (v02 HP )
ACPI: XSDT 0xb7fc81bc 00064 (v01 HPQOEM SLIC-MPC 00000001 HP 00000001)
ACPI: FACP 0xb7fc8084 000F4 (v04 HP 0944 00000003 HP 00000001)
ACPI Error: 32/64X address mismatch in Pm2ControlBlock: 0x00008800/0x0000000000008100, using 32 (20120420/tbfadt-474)
ACPI: DSDT 0xb7fc84a4 11437 (v01 HP SB400 00010000 MSFT 03000001)
ACPI: FACS 0xb7fe7d80 00040
ACPI: SLIC 0xb7fc8220 00176 (v01 HPQOEM SLIC-MPC 00000001 HP 00000001)
ACPI: EPTH 0xb7fc8398 00038 (v01 HP 0944 00000001 HP 00000001)
ACPI: APIC 0xb7fc83d0 00062 (v01 HP 0944 00000001 HP 00000001)
ACPI: MCFG 0xb7fc8434 0003C (v01 HP 0944 00000001 HP 00000001)
ACPI: TCPA 0xb7fc8470 00032 (v02 HP 0944 00000001 HP 00000001)
ACPI: SSDT 0xb7fd98db 00059 (v01 HP HPQNLP 00000001 MSFT 03000001)
ACPI: SSDT 0xb7fd9934 00206 (v01 HP PSSTBLID 00000001 HP 00000001)
MADT: Found IO APIC ID 2, Interrupt 0 at 0xfec00000
ioapic0: Changing APIC ID to 2
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: intpin 9 polarity: low
lapic0: Routing NMI -> LINT1
lapic0: LINT1 trigger: edge
lapic0: LINT1 polarity: high
ioapic0 <Version 2.1> irqs 0-23 on motherboard
cpu0 BSP:
ID: 0x00000000 VER: 0x80050010 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
wlan: <802.11 Link Layer>
firmware: 'bwn_v4_ucode' version 0: 0 bytes loaded at 0xffffffff80eda890
firmware: 'bwn_v4_ucode5' version 0: 22384 bytes loaded at 0xffffffff80eda890
firmware: 'bwn_v4_ucode11' version 0: 29864 bytes loaded at 0xffffffff80ee0000
firmware: 'bwn_v4_ucode13' version 0: 32232 bytes loaded at 0xffffffff80ee74a8
firmware: 'bwn_v4_ucode14' version 0: 31384 bytes loaded at 0xffffffff80eef290
firmware: 'bwn_v4_ucode15' version 0: 30488 bytes loaded at 0xffffffff80ef6d28
firmware: 'bwn_v4_pcm5' version 0: 1320 bytes loaded at 0xffffffff80efe440
firmware: 'bwn_v4_a0g1initvals5' version 0: 1840 bytes loaded at 0xffffffff80efe968
firmware: 'bwn_v4_a0g0initvals5' version 0: 1840 bytes loaded at 0xffffffff80eff098
firmware: 'bwn_v4_b0g0initvals5' version 0: 1840 bytes loaded at 0xffffffff80eff7c8
firmware: 'bwn_v4_b0g0initvals13' version 0: 2080 bytes loaded at 0xffffffff80effef8
firmware: 'bwn_v4_a0g1bsinitvals5' version 0: 158 bytes loaded at 0xffffffff80f00718
firmware: 'bwn_v4_a0g0bsinitvals5' version 0: 158 bytes loaded at 0xffffffff80f007b6
firmware: 'bwn_v4_b0g0bsinitvals5' version 0: 158 bytes loaded at 0xffffffff80f00854
firmware: 'bwn_v4_lp0initvals13' version 0: 3618 bytes loaded at 0xffffffff80f008f2
firmware: 'bwn_v4_lp0initvals14' version 0: 2064 bytes loaded at 0xffffffff80f01714
firmware: 'bwn_v4_lp0initvals15' version 0: 2052 bytes loaded at 0xffffffff80f01f24
firmware: 'bwn_v4_lp0bsinitvals13' version 0: 158 bytes loaded at 0xffffffff80f02728
firmware: 'bwn_v4_lp0bsinitvals14' version 0: 158 bytes loaded at 0xffffffff80f027c6
firmware: 'bwn_v4_lp0bsinitvals15' version 0: 158 bytes loaded at 0xffffffff80f02864
firmware: 'bwn_v4_n0bsinitvals11' version 0: 158 bytes loaded at 0xffffffff80f02902
kbd: new array size 4
kbd1 at kbdmux0
mem: <memory>
null: <null device, zero device>
io: <I/O>
random: <entropy source, Software, Yarrow>
acpi0: <HPQOEM SLIC-MPC> on motherboard
PCIe: Memory Mapped configuration base @ 0xe0000000
ioapic0: routing intpin 9 (ISA IRQ 9) to lapic 0 vector 48
acpi0: Power Button (fixed)
unknown: I/O range not supported
cpu0: <ACPI CPU> on acpi0
cpu0: switching to generic Cx mode
cpu1: <ACPI CPU> 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 49
Event timer "i8254" frequency 1193182 Hz quality 100
atrtc0: <AT realtime clock> port 0x70-0x71,0x72-0x73 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 50
Event timer "RTC" frequency 32768 Hz quality 0
ACPI timer: 1/1 1/1 1/1 1/1 1/1 1/1 1/1 1/1 1/1 1/1 -> 10
Timecounter "ACPI-fast" frequency 3579545 Hz quality 900
acpi_timer0: <32-bit timer at 3.579545MHz> port 0x8008-0x800b on acpi0
acpi_ec0: <Embedded Controller: GPE 0x11> port 0x62,0x66 on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pcib0: decoding 4 range 0-0xcf7
pcib0: decoding 4 range 0xd00-0xffff
pcib0: decoding 3 range 0xa0000-0xbffff
pcib0: decoding 3 range 0xc0000000-0xfedfffff
pcib0: Length mismatch for 3 range: 11ff000 vs 11fefff
pcib0: decoding 3 range 0xfee01000-0xffffffff
pcib0: decoding 3 range 0xd3000-0xdffff
pci0: <ACPI PCI bus> on pcib0
pci0: domain=0, physical bus=0
found-> vendor=0x1002, dev=0x7910, revid=0x00
domain=0, bus=0, slot=0, func=0
class=06-00-00, hdrtype=0x00, mfdev=0
cmdreg=0x0006, statreg=0x2220, cachelnsz=0 (dwords)
lattimer=0x40 (1920 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
found-> vendor=0x1002, dev=0x7912, revid=0x00
domain=0, bus=0, slot=1, func=0
class=06-04-00, hdrtype=0x01, mfdev=0
cmdreg=0x0007, statreg=0x0230, cachelnsz=0 (dwords)
lattimer=0x40 (1920 ns), mingnt=0x0c (3000 ns), maxlat=0x00 (0 ns)
found-> vendor=0x1002, dev=0x7914, revid=0x00
domain=0, bus=0, slot=4, func=0
class=06-04-00, hdrtype=0x01, mfdev=0
cmdreg=0x0007, statreg=0x0010, cachelnsz=16 (dwords)
lattimer=0x00 (0 ns), mingnt=0x04 (1000 ns), maxlat=0x00 (0 ns)
powerspec 3 supports D0 D3 current D0
MSI supports 1 message
found-> vendor=0x1002, dev=0x7915, revid=0x00
domain=0, bus=0, slot=5, func=0
class=06-04-00, hdrtype=0x01, mfdev=0
cmdreg=0x0007, statreg=0x0010, cachelnsz=16 (dwords)
lattimer=0x00 (0 ns), mingnt=0x04 (1000 ns), maxlat=0x00 (0 ns)
powerspec 3 supports D0 D3 current D0
MSI supports 1 message
found-> vendor=0x1002, dev=0x7916, revid=0x00
domain=0, bus=0, slot=6, func=0
class=06-04-00, hdrtype=0x01, mfdev=0
cmdreg=0x0007, statreg=0x0010, cachelnsz=16 (dwords)
lattimer=0x00 (0 ns), mingnt=0x04 (1000 ns), maxlat=0x00 (0 ns)
powerspec 3 supports D0 D3 current D0
MSI supports 1 message
found-> vendor=0x1002, dev=0x4380, revid=0x00
domain=0, bus=0, slot=18, func=0
class=01-01-8f, hdrtype=0x00, mfdev=0
cmdreg=0x0007, statreg=0x0230, cachelnsz=16 (dwords)
lattimer=0x40 (1920 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
intpin=a, irq=10
powerspec 2 supports D0 D3 current D0
map[10]: type I/O Port, range 32, base 0x9000, size 3, enabled
pcib0: allocated type 4 (0x9000-0x9007) for rid 10 of pci0:0:18:0
map[14]: type I/O Port, range 32, base 0x9008, size 2, enabled
pcib0: allocated type 4 (0x9008-0x900b) for rid 14 of pci0:0:18:0
map[18]: type I/O Port, range 32, base 0x9010, size 3, enabled
pcib0: allocated type 4 (0x9010-0x9017) for rid 18 of pci0:0:18:0
map[1c]: type I/O Port, range 32, base 0x5018, size 2, enabled
pcib0: allocated type 4 (0x5018-0x501b) for rid 1c of pci0:0:18:0
map[20]: type I/O Port, range 32, base 0x5020, size 4, enabled
pcib0: allocated type 4 (0x5020-0x502f) for rid 20 of pci0:0:18:0
map[24]: type Memory, range 32, base 0xd0409000, size 10, enabled
pcib0: allocated type 3 (0xd0409000-0xd04093ff) for rid 24 of pci0:0:18:0
pcib0: matched entry for 0.18.INTA
pcib0: slot 18 INTA hardwired to IRQ 16
found-> vendor=0x1002, dev=0x4387, revid=0x00
domain=0, bus=0, slot=19, func=0
class=0c-03-10, hdrtype=0x00, mfdev=1
cmdreg=0x0007, statreg=0x02a0, cachelnsz=16 (dwords)
lattimer=0x40 (1920 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
intpin=a, irq=11
map[10]: type Memory, range 32, base 0xd0401000, size 12, enabled
pcib0: allocated type 3 (0xd0401000-0xd0401fff) for rid 10 of pci0:0:19:0
pcib0: matched entry for 0.19.INTA
pcib0: slot 19 INTA hardwired to IRQ 23
found-> vendor=0x1002, dev=0x4388, revid=0x00
domain=0, bus=0, slot=19, func=1
class=0c-03-10, hdrtype=0x00, mfdev=0
cmdreg=0x0007, statreg=0x02a0, cachelnsz=16 (dwords)
lattimer=0x40 (1920 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
intpin=b, irq=5
map[10]: type Memory, range 32, base 0xd0402000, size 12, enabled
pcib0: allocated type 3 (0xd0402000-0xd0402fff) for rid 10 of pci0:0:19:1
pcib0: matched entry for 0.19.INTB
pcib0: slot 19 INTB hardwired to IRQ 17
found-> vendor=0x1002, dev=0x4389, revid=0x00
domain=0, bus=0, slot=19, func=2
class=0c-03-10, hdrtype=0x00, mfdev=0
cmdreg=0x0007, statreg=0x02a0, cachelnsz=16 (dwords)
lattimer=0x40 (1920 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
intpin=c, irq=5
map[10]: type Memory, range 32, base 0xd0403000, size 12, enabled
pcib0: allocated type 3 (0xd0403000-0xd0403fff) for rid 10 of pci0:0:19:2
pcib0: matched entry for 0.19.INTC
pcib0: slot 19 INTC hardwired to IRQ 17
found-> vendor=0x1002, dev=0x438a, revid=0x00
domain=0, bus=0, slot=19, func=3
class=0c-03-10, hdrtype=0x00, mfdev=0
cmdreg=0x0007, statreg=0x02a0, cachelnsz=16 (dwords)
lattimer=0x40 (1920 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
intpin=b, irq=5
map[10]: type Memory, range 32, base 0xd0404000, size 12, enabled
pcib0: allocated type 3 (0xd0404000-0xd0404fff) for rid 10 of pci0:0:19:3
pcib0: matched entry for 0.19.INTB
pcib0: slot 19 INTB hardwired to IRQ 17
found-> vendor=0x1002, dev=0x438b, revid=0x00
domain=0, bus=0, slot=19, func=4
class=0c-03-10, hdrtype=0x00, mfdev=0
cmdreg=0x0007, statreg=0x02a0, cachelnsz=16 (dwords)
lattimer=0x40 (1920 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
intpin=c, irq=5
map[10]: type Memory, range 32, base 0xd0405000, size 12, enabled
pcib0: allocated type 3 (0xd0405000-0xd0405fff) for rid 10 of pci0:0:19:4
pcib0: matched entry for 0.19.INTC
pcib0: slot 19 INTC hardwired to IRQ 17
found-> vendor=0x1002, dev=0x4386, revid=0x00
domain=0, bus=0, slot=19, func=5
class=0c-03-20, hdrtype=0x00, mfdev=0
cmdreg=0x0007, statreg=0x02b0, cachelnsz=16 (dwords)
lattimer=0x40 (1920 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
intpin=d, irq=11
powerspec 2 supports D0 D1 D2 D3 current D0
map[10]: type Memory, range 32, base 0xd0406000, size 8, enabled
pcib0: allocated type 3 (0xd0406000-0xd04060ff) for rid 10 of pci0:0:19:5
pcib0: matched entry for 0.19.INTD
pcib0: slot 19 INTD hardwired to IRQ 23
found-> vendor=0x1002, dev=0x4385, revid=0x14
domain=0, bus=0, slot=20, func=0
class=0c-05-00, hdrtype=0x00, mfdev=1
cmdreg=0x0003, statreg=0x0230, cachelnsz=0 (dwords)
lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
map[10]: type I/O Port, range 32, base 0x8200, size 4, enabled
pcib0: allocated type 4 (0x8200-0x820f) for rid 10 of pci0:0:20:0
found-> vendor=0x1002, dev=0x438c, revid=0x00
domain=0, bus=0, slot=20, func=1
class=01-01-82, hdrtype=0x00, mfdev=0
cmdreg=0x0005, statreg=0x0220, cachelnsz=16 (dwords)
lattimer=0x40 (1920 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
intpin=a, irq=10
pcib0: allocated type 4 (0x1f0-0x1f7) for rid 10 of pci0:0:20:1
pcib0: allocated type 4 (0x3f6-0x3f6) for rid 14 of pci0:0:20:1
pcib0: allocated type 4 (0x170-0x177) for rid 18 of pci0:0:20:1
pcib0: allocated type 4 (0x376-0x376) for rid 1c of pci0:0:20:1
map[20]: type I/O Port, range 32, base 0x5040, size 4, enabled
pcib0: allocated type 4 (0x5040-0x504f) for rid 20 of pci0:0:20:1
pcib0: matched entry for 0.20.INTA
pcib0: slot 20 INTA hardwired to IRQ 16
found-> vendor=0x1002, dev=0x4383, revid=0x00
domain=0, bus=0, slot=20, func=2
class=04-03-00, hdrtype=0x00, mfdev=0
cmdreg=0x0006, statreg=0x0410, cachelnsz=16 (dwords)
lattimer=0x40 (1920 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
intpin=a, irq=10
powerspec 2 supports D0 D3 current D0
map[10]: type Memory, range 64, base 0xd0408000, size 14, enabled
pci0: pci0:0:20:2 bar 0x10 failed to allocatepcib0: matched entry for 0.20.INTA
pcib0: slot 20 INTA hardwired to IRQ 16
lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
pcib1: <ACPI PCI-PCI bridge> at device 1.0 on pci0
pcib0: allocated type 4 (0x4000-0x4fff) for rid 1c of pcib1
pcib0: allocated type 3 (0xd0200000-0xd03fffff) for rid 20 of pcib1
pcib0: allocated type 3 (0xc0000000-0xc7ffffff) for rid 24 of pcib1
pcib1: domain 0
pcib1: secondary bus 1
pcib1: subordinate bus 1
pcib1: I/O decode 0x4000-0x4fff
pcib1: memory decode 0xd0200000-0xd03fffff
pcib1: prefetched decode 0xc0000000-0xc7ffffff
pci1: <ACPI PCI bus> on pcib1
pci1: domain=0, physical bus=1
found-> vendor=0x1002, dev=0x791f, revid=0x00
domain=0, bus=1, slot=5, func=0
class=03-00-00, hdrtype=0x00, mfdev=0
cmdreg=0x0007, statreg=0x0010, cachelnsz=16 (dwords)
lattimer=0x40 (1920 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
intpin=b, irq=11
powerspec 2 supports D0 D1 D2 D3 current D0
MSI supports 1 message, 64 bit
map[10]: type Prefetchable Memory, range 64, base 0xc0000000, size 27, enabled
pcib1: allocated prefetch range (0xc0000000-0xc7ffffff) for rid 10 of pci0:1:5:0
map[18]: type Memory, range 64, base 0xd0200000, size 16, enabled
pcib1: allocated memory range (0xd0200000-0xd020ffff) for rid 18 of pci0:1:5:0
map[20]: type I/O Port, range 32, base 0x4000, size 8, enabled
pcib1: allocated I/O port range (0x4000-0x40ff) for rid 20 of pci0:1:5:0
map[24]: type Memory, range 32, base 0xd0300000, size 20, enabled
pcib1: allocated memory range (0xd0300000-0xd03fffff) for rid 24 of pci0:1:5:0
pcib1: matched entry for 1.5.INTB
pcib1: slot 5 INTB hardwired to IRQ 19
vgapci0: <VGA-compatible display> port 0x4000-0x40ff mem 0xc0000000-0xc7ffffff,0xd0200000-0xd020ffff,0xd0300000-0xd03fffff irq 19 at device 5.0 on pci1
pcib2: <ACPI PCI-PCI bridge> at device 4.0 on pci0
pcib0: allocated type 3 (0xd0000000-0xd00fffff) for rid 20 of pcib2
pcib2: domain 0
pcib2: secondary bus 16
pcib2: subordinate bus 16
pcib2: memory decode 0xd0000000-0xd00fffff
pcib2: no prefetched decode
pcib2: could not get PCI interrupt routing table for \\_SB_.C08B.C24F - AE_NOT_FOUND
pci16: <ACPI PCI bus> on pcib2
pci16: domain=0, physical bus=16
found-> vendor=0x14e4, dev=0x1713, revid=0x02
domain=0, bus=16, slot=0, func=0
class=02-00-00, hdrtype=0x00, mfdev=0
cmdreg=0x0006, statreg=0x0010, cachelnsz=16 (dwords)
lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
intpin=a, irq=10
powerspec 3 supports D0 D3 current D0
MSI supports 1 message, 64 bit
map[10]: type Memory, range 64, base 0xd0000000, size 16, enabled
pcib2: allocated memory range (0xd0000000-0xd000ffff) for rid 10 of pci0:16:0:0
pcib0: matched entry for 0.4.INTA
pcib0: slot 4 INTA hardwired to IRQ 16
pcib2: slot 0 INTA is routed to irq 16
bge0: <Broadcom BCM5906 A2, ASIC rev. 0x00c002> mem 0xd0000000-0xd000ffff irq 16 at device 0.0 on pci16
bge0: attempting to allocate 1 MSI vectors (1 supported)
msi: routing MSI IRQ 256 to local APIC 0 vector 51
bge0: using IRQ 256 for MSI
bge0: CHIP ID 0x0000c002; ASIC REV 0x0c; CHIP REV 0xc0; PCI-E
miibus0: <MII bus> on bge0
brgphy0: <BCM5906 10/100baseTX media interface> PHY 1 on miibus0
brgphy0: OUI 0x0050ef, model 0x0004, rev. 0
brgphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto, auto-flow
bge0: bpf attached
bge0: Ethernet address: 00:1a:4b:89:4b:4e
pcib3: <ACPI PCI-PCI bridge> at device 5.0 on pci0
pcib0: allocated type 4 (0x2000-0x3fff) for rid 1c of pcib3
pcib0: allocated type 3 (0xcc000000-0xcfffffff) for rid 20 of pcib3
pcib3: domain 0
pcib3: secondary bus 32
pcib3: subordinate bus 32
pcib3: I/O decode 0x2000-0x3fff
pcib3: memory decode 0xcc000000-0xcfffffff
pcib3: no prefetched decode
pcib3: could not get PCI interrupt routing table for \\_SB_.C08B.C254 - AE_NOT_FOUND
pci32: <ACPI PCI bus> on pcib3
pci32: domain=0, physical bus=32
pcib4: <ACPI PCI-PCI bridge> at device 6.0 on pci0
pcib0: allocated type 3 (0xc8000000-0xc80fffff) for rid 20 of pcib4
pcib4: domain 0
pcib4: secondary bus 48
pcib4: subordinate bus 48
pcib4: memory decode 0xc8000000-0xc80fffff
pcib4: no prefetched decode
pcib4: could not get PCI interrupt routing table for \\_SB_.C08B.C25E - AE_NOT_FOUND
pci48: <ACPI PCI bus> on pcib4
pci48: domain=0, physical bus=48
found-> vendor=0x14e4, dev=0x4312, revid=0x02
domain=0, bus=48, slot=0, func=0
class=02-80-00, hdrtype=0x00, mfdev=0
cmdreg=0x0006, statreg=0x0010, cachelnsz=16 (dwords)
lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
intpin=a, irq=10
powerspec 3 supports D0 D1 D2 D3 current D0
MSI supports 1 message, 64 bit
map[10]: type Memory, range 64, base 0xc8000000, size 14, enabled
pcib4: allocated memory range (0xc8000000-0xc8003fff) for rid 10 of pci0:48:0:0
pcib0: matched entry for 0.6.INTA
pcib0: slot 6 INTA hardwired to IRQ 18
pcib4: slot 0 INTA is routed to irq 18
siba_bwn0: <Broadcom BCM4312 802.11a/b/g Wireless> mem 0xc8000000-0xc8003fff irq 18 at device 0.0 on pci48
siba_bwn0: unsupported coreid (USB 1.1 Host)
bwn0 on siba_bwn0
bwn0: WLAN (chipid 0x4311 rev 13) PHY (analog 4 type 2 rev 9) RADIO (manuf 0x17f ver 0x2050 rev 2)
bwn0: DMA (64 bits)
bwn0: MSI count : 1
siba_bwn0: attempting to allocate 1 MSI vectors (1 supported)
msi: routing MSI IRQ 257 to local APIC 0 vector 52
siba_bwn0: using IRQ 257 for MSI
bwn0: Using 1 MSI messages
bwn0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps
bwn0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
ahci0: <ATI IXP600 AHCI SATA controller> port 0x9000-0x9007,0x9008-0x900b,0x9010-0x9017,0x5018-0x501b,0x5020-0x502f mem 0xd0409000-0xd04093ff irq 16 at device 18.0 on pci0
ioapic0: routing intpin 16 (PCI IRQ 16) to lapic 0 vector 53
ahci0: AHCI v1.10 with 4 3Gbps ports, Port Multiplier not supported
ahci0: Caps: 64bit NCQ SNTF MPS ALP AL CLO 3Gbps PMD SSC PSC 32cmd CCC 4ports
ahci0: Caps2:
ahcich0: <AHCI channel> at channel 0 on ahci0
ahcich0: Caps:
ahcich1: not probed (disabled)
ahcich2: not probed (disabled)
ahcich3: not probed (disabled)
ohci0: <OHCI (generic) USB controller> mem 0xd0401000-0xd0401fff irq 23 at device 19.0 on pci0
ioapic0: routing intpin 23 (PCI IRQ 23) to lapic 0 vector 54
usbus0 on ohci0
usbus0: bpf attached
ohci0: usbpf: Attached
ohci1: <OHCI (generic) USB controller> mem 0xd0402000-0xd0402fff irq 17 at device 19.1 on pci0
ioapic0: routing intpin 17 (PCI IRQ 17) to lapic 0 vector 55
usbus1 on ohci1
usbus1: bpf attached
ohci1: usbpf: Attached
ohci2: <OHCI (generic) USB controller> mem 0xd0403000-0xd0403fff irq 17 at device 19.2 on pci0
usbus2 on ohci2
usbus2: bpf attached
ohci2: usbpf: Attached
ohci3: <OHCI (generic) USB controller> mem 0xd0404000-0xd0404fff irq 17 at device 19.3 on pci0
usbus3 on ohci3
usbus3: bpf attached
ohci3: usbpf: Attached
ohci4: <OHCI (generic) USB controller> mem 0xd0405000-0xd0405fff irq 17 at device 19.4 on pci0
usbus4 on ohci4
usbus4: bpf attached
ohci4: usbpf: Attached
ehci0: <EHCI (generic) USB 2.0 controller> mem 0xd0406000-0xd04060ff irq 23 at device 19.5 on pci0
ehci0: AMD SB600/700 quirk applied
ehci0: Dropped interrupts workaround enabled
usbus5: EHCI version 1.0
usbus5 on ehci0
usbus5: bpf attached
ehci0: usbpf: Attached
pci0: <serial bus, SMBus> at device 20.0 (no driver attached)
atapci0: <ATI IXP600 UDMA133 controller> port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0x5040-0x504f irq 16 at device 20.1 on pci0
ata0: <ATA channel> at channel 0 on atapci0
ioapic0: routing intpin 14 (ISA IRQ 14) to lapic 0 vector 56
hdac0: <ATI SB600 HDA Controller> irq 16 at device 20.2 on pci0
hdac0: HDA Driver Revision: 20120126_0002
hdac0: Config options: on=0x00000000 off=0x00000000
pcib0: allocated type 3 (0xc8100000-0xc8103fff) for rid 10 of hdac0
hdac0: Lazy allocation of 0x4000 bytes rid 0x10 type 3 at 0xc8100000
hdac0: Caps: OSS 4, ISS 4, BSS 0, NSDO 1, 64bit, CORB 256, RIRB 256
isab0: <PCI-ISA bridge> at device 20.3 on pci0
isa0: <ISA bus> on isab0
pcib5: <ACPI PCI-PCI bridge> at device 20.4 on pci0
pcib0: allocated type 3 (0xd0100000-0xd01fffff) for rid 20 of pcib5
pcib5: domain 0
pcib5: secondary bus 2
pcib5: subordinate bus 3
pcib5: memory decode 0xd0100000-0xd01fffff
pcib5: no prefetched decode
pcib5: Subtractively decoded bridge.
pci2: <ACPI PCI bus> on pcib5
pci2: domain=0, physical bus=2
found-> vendor=0x1180, dev=0x0476, revid=0xb6
domain=0, bus=2, slot=4, func=0
class=06-07-00, hdrtype=0x02, mfdev=1
cmdreg=0x0007, statreg=0x0210, cachelnsz=0 (dwords)
lattimer=0x40 (1920 ns), mingnt=0x80 (32000 ns), maxlat=0x07 (1750 ns)
intpin=a, irq=10
powerspec 2 supports D0 D1 D2 D3 current D0
map[10]: type Memory, range 32, base 0xd0100000, size 12, enabled
pcib5: allocated memory range (0xd0100000-0xd0100fff) for rid 10 of pci0:2:4:0
pcib5: matched entry for 2.4.INTA
pcib5: slot 4 INTA hardwired to IRQ 20
cbb0: <RF5C476 PCI-CardBus Bridge> mem 0xd0100000-0xd0100fff irq 20 at device 4.0 on pci2
cardbus0: <CardBus bus> on cbb0
pccard0: <16-bit PCCard bus> on cbb0
ioapic0: routing intpin 20 (PCI IRQ 20) to lapic 0 vector 57
cbb0: PCI Configuration space:
0x00: 0x04761180 0x02100007 0x060700b6 0x00824000
0x10: 0xd0100000 0x020000dc 0x20030302 0xfffff000
0x20: 0x00000000 0xfffff000 0x00000000 0xfffffffc
0x30: 0x00000000 0xfffffffc 0x00000000 0x07000114
0x40: 0x30c2103c 0x00000001 0x00000000 0x00000000
0x50: 0x00000000 0x00000000 0x00000000 0x00000000
0x60: 0x00000000 0x00000000 0x00000000 0x00000000
0x70: 0x00000000 0x00000000 0x00000000 0x00000000
0x80: 0x30a00001 0x00000000 0x04630463 0x00000000
0x90: 0x00000000 0x00000000 0x00000000 0x00000000
0xa0: 0x00000008 0x00000000 0x00000000 0x00000000
0xb0: 0x00000000 0xbe000000 0x00003000 0x00000000
0xc0: 0x30c2103c 0x00000000 0x00000000 0x00000000
0xd0: 0x00000000 0x00000000 0x00000000 0xfe0a0001
0xe0: 0x24c04000 0x00000000 0x00000000 0x00000000
0xf0: 0x00000000 0x00000000 0x00000000 0x00000000
battery0: <ACPI Control Method Battery> on acpi0
battery1: <ACPI Control Method Battery> on acpi0
acpi_acad0: <AC Adapter> on acpi0
acpi_button0: <Sleep Button> on acpi0
acpi_lid0: <Control Method Lid Switch> on acpi0
acpi_tz0: <Thermal Zone> on acpi0
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: <PS/2 Mouse> irq 12 on atkbdc0
ioapic0: routing intpin 12 (ISA IRQ 12) to lapic 0 vector 59
psm0: [GIANT-LOCKED]
psm0: model IntelliMouse, device ID 3-00, 3 buttons
psm0: config:00004000, flags:00000008, packet size:4
psm0: syncmask:08, syncbits:00
acpi0: wakeup code va 0xffffff80cdb77000 pa 0x90000
isa_probe_children: disabling PnP devices
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 0xd0000-0xd0fff 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
pcib0: allocated type 4 (0x3c0-0x3df) for rid 0 of vga0
pcib0: allocated type 3 (0xa0000-0xbffff) for rid 0 of vga0
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
wbwd0 failed to probe on isa0
isa_probe_children: probing PnP devices
ctl: CAM Target Layer loaded
powernow0: <PowerNow! K8> on cpu0
powernow1: <PowerNow! K8> on cpu1
Device configuration finished.
procfs registered
lapic: Divisor 2, Frequency 99750271 Hz
Timecounters tick every 1.000 msec
vlan: initialized, using hash tables with chaining
Linux ELF exec handler installed
IP Filter: v4.1.28 initialized. Default = block all, Logging = enabled
lo0: bpf attached
hdacc0: <Analog Devices AD1981HD HDA CODEC> at cad 0 on hdac0
hdacc0: Root Node at nid=0: 1 subnodes 1-1
hdaa0: <Analog Devices AD1981HD HDA CODEC Audio Function Group> at nid 1 on hdacc0
pcm0: <Analog Devices AD1981HD HDA CODEC PCM (Analog 2.0+HP/2.0)> at nid 5,6 and 8,9 on hdaa0
pcm0: sndbuf_setmap 4ac0000, 10000; 0xffffff80cdb94000 -> 4ac0000
pcm0: sndbuf_setmap 6b80000, 10000; 0xffffff80cdbd4000 -> 6b80000
hdacc1: <Lucent/Agere Systems (0x1040) HDA CODEC> at cad 1 on hdac0
hdacc1: Root Node at nid=0: 1 subnodes 1-1
unknown: <Lucent/Agere Systems (0x1040) HDA CODEC Modem Function Group> at nid 1 on hdacc1 (no driver attached)
usbus0: 12Mbps Full Speed USB v1.0
usbus1: 12Mbps Full Speed USB v1.0
usbus2: 12Mbps Full Speed USB v1.0
usbus3: 12Mbps Full Speed USB v1.0
usbus4: 12Mbps Full Speed USB v1.0
usbus5: 480Mbps High Speed USB v2.0
acpi_tz0: _AC3: temperature 56.0 >= setpoint 40.0
acpi_tz0: _AC2: temperature 56.0 >= setpoint 50.0
ugen0.1: <ATI> at usbus0
uhub0: <ATI OHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus0
ugen1.1: <ATI> at usbus1
uhub1: <ATI OHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus1
ugen2.1: <ATI> at usbus2
uhub2: <ATI OHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus2
ugen3.1: <ATI> at usbus3
uhub3: <ATI OHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus3
ugen4.1: <ATI> at usbus4
uhub4: <ATI OHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus4
ugen5.1: <ATI> at usbus5
uhub5: <ATI EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus5
acpi_tz0: switched from NONE to _AC2: 56.0C
ahcich0: AHCI reset...
ahcich0: SATA connect time=1800us status=00000113
ahcich0: AHCI reset: device found
ata0: reset tp1 mask=03 ostat0=50 ostat1=00
ahcich0: AHCI reset: device ready after 100ms
(aprobe0:ahcich0:0:0:0): SIGNATURE: 0000
ata0: stat0=0x00 err=0x01 lsb=0x14 msb=0xeb
ata0: stat1=0x00 err=0x00 lsb=0x00 msb=0x00
ata0: reset tp2 stat0=00 stat1=00 devices=0x10000
(aprobe1:ata0:0:0:0): SIGNATURE: eb14
battery0: battery initialization start
battery1: battery initialization start
acpi_acad0: acline initialization start
acpi_acad0: On Line
acpi_acad0: acline initialization done, tried 1 times
acpi_tz0: _AC3: temperature 56.0 >= setpoint 40.0
acpi_tz0: _AC3: temperature 56.0 >= setpoint 40.0
battery0: battery initialization done, tried 1 times
uhub0: 2 ports with 2 removable, self powered
uhub1: 2 ports with 2 removable, self powered
uhub2: 2 ports with 2 removable, self powered
uhub3: 2 ports with 2 removable, self powered
uhub4: 2 ports with 2 removable, self powered
(probe0:ctl2cam0:0:1:0): Error 6, Unretryable error
ada0 at ahcich0 bus 0 scbus0 target 0 lun 0
GEOM: new disk cd0
GEOM: new disk ada0
ada0: <ST9160821AS 3.BHE> ATA-7 SATA 1.x device
ada0: Serial Number 5MA83WKD
ada0: 150.000MB/s transfers (SATA 1.x, UDMA5, (cd0:ata0:0:0:0): SCSI status error
(cd0:ata0:0:0:0): READ CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0
(cd0:ata0:0:0:0): CAM status: SCSI Status Error
(cd0:ata0:0:0:0): SCSI status: Check Condition
(cd0:ata0:0:0:0): SCSI sense: NOT READY asc:3a,1 (Medium not present - tray closed)
(cd0:ata0:0:0:0): Error 6, Unretryable error
cd0 at ata0 bus 0 scbus1 target 0 lun 0
cd0: <MATSHITA DVD-RAM UJ-861H 1.50> Removable CD-ROM SCSI-0 device
cd0: Serial Number HE58 101390
cd0: 16.700MB/s transfers (WDMA2, ATAPI 12bytes, PIO 65534bytes)
cd0: Attempt to query device size failed: NOT READY, Medium not present - tray closed
PIO 8192bytes)
ada0: 152627MB (312581808 512 byte sectors: 16H 63S/T 16383C)
ada0: Previously was known as ad4
pass0 at ahcich0 bus 0 scbus0 target 0 lun 0
pass0: <ST9160821AS 3.BHE> ATA-7 SATA 1.x device
pass0: Serial Number 5MA83WKD
pass0: 150.000MB/s transfers (SATA 1.x, UDMA5, PIO 8192bytes)
pass1 at ata0 bus 0 scbus1 target 0 lun 0
pass1: <MATSHITA DVD-RAM UJ-861H 1.50> Removable CD-ROM SCSI-0 device
pass1: Serial Number HE58 101390
pass1: 16.700MB/s transfers (WDMA2, ATAPI 12bytes, PIO 65534bytes)
(cd0:ata0:0:0:0): SCSI status error
(cd0:ata0:0:0:0): READ CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0
(cd0:ata0:0:0:0): CAM status: SCSI Status Error
(cd0:ata0:0:0:0): SCSI status: Check Condition
(cd0:ata0:0:0:0): SCSI sense: NOT READY asc:3a,1 (Medium not present - tray closed)
(cd0:ata0:0:0:0): Error 6, Unretryable error
SMP: AP CPU #1 Launched!
cpu1 AP:
ID: 0x01000000 VER: 0x80050010 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 12 (ISA IRQ 12) 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
msi: Assigning MSI IRQ 256 to local APIC 1 vector 52
TSC timecounter discards lower 7 bit(s)
Timecounter "TSC-low" frequency 15586288 Hz quality -100
WARNING: WITNESS option enabled, expect reduced performance.
(cd0:ata0:0:0:0): SCSI status error
(cd0:ata0:0:0:0): READ CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0
(cd0:ata0:0:0:0): CAM status: SCSI Status Error
(cd0:ata0:0:0:0): SCSI status: Check Condition
(cd0:ata0:0:0:0): SCSI sense: NOT READY asc:3a,1 (Medium not present - tray closed)
(cd0:ata0:0:0:0): Error 6, Unretryable error
(cd0:ata0:0:0:0): SCSI status error
(cd0:ata0:0:0:0): READ CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0
(cd0:ata0:0:0:0): CAM status: SCSI Status Error
(cd0:ata0:0:0:0): SCSI status: Check Condition
(cd0:ata0:0:0:0): SCSI sense: NOT READY asc:3a,1 (Medium not present - tray closed)
(cd0:ata0:0:0:0): Error 6, Unretryable error
Root mount waiting for: usbus5
Root mount waiting for: usbus5
Root mount waiting for: usbus5
Root mount waiting for: usbus5
uhub5: 10 ports with 10 removable, self powered
Root mount waiting for: usbus5
Trying to mount root from ufs:/dev/ada0s1a [rw]...
start_init: trying /sbin/init
ugen0.2: <Broadcom Corp> at usbus0
ugen1.2: <vendor 0x0430> at usbus1
ums0: <vendor 0x0430 product 0x0100, class 0/0, rev 2.00/1.07, addr 2> on usbus1
ums0: 3 buttons and [XY] coordinates ID=0
acpi_tz0: _AC3: temperature 51.0 >= setpoint 40.0
wlan0: bpf attached
wlan0: bpf attached
wlan0: Ethernet address: 00:1a:73:e1:46:79
bwn0: firmware version (rev 410 patch 2160 date 0x751a time 0x7c0a)
bwn0: status of RF switch is changed to OFF
bwn0: please turn on the RF switch
bwn0: need multicast update callback
bwn0: RX decryption attempted (old 0 keyidx 0x2)
bwn0: need multicast update callback
bwn0: need multicast update callback
bwn0: RX decryption attempted (old 0 keyidx 0x2)


# devinfo -u
Interrupt request lines:
0 (attimer0)
1 (atkbdc0)
3-7 (root0)
8 (atrtc0)
9 (acpi0)
10-11 (root0)
12 (psm0)
13 (root0)
14 (ata0)
15 (root0)
16 (hdac0)
16 (ahci0)
17 (ohci4)
17 (ohci3)
17 (ohci2)
17 (ohci1)
18-19 (root0)
20 (cbb0)
21-22 (root0)
23 (ehci0)
23 (ohci0)
256 (bge0)
257 (siba_bwn0)
DMA request lines:
0-3 (root0)
4 (atdma0)
5-7 (root0)
I/O ports:
0x0-0xf (atdma0)
0x10-0x1f (root0)
0x20-0x21 ----
0x22-0x3f (root0)
0x40-0x43 (attimer0)
0x44-0x5f (root0)
0x60 (atkbdc0)
0x61 ----
0x62 (acpi_ec0)
0x63 (root0)
0x64 (atkbdc0)
0x65 (root0)
0x66 (acpi_ec0)
0x67-0x6f (root0)
0x70-0x71 (atrtc0)
0x72-0x73 (atrtc0)
0x74-0x7f (root0)
0x80-0x8f (atdma0)
0x90-0x9f (root0)
0xa0-0xa1 ----
0xa2-0xbf (root0)
0xc0-0xdf (atdma0)
0xe0-0xef (root0)
0xf0-0xff (fpupnp0)
0x100-0x16f (root0)
0x170-0x177 (atapci0)
0x178-0x1ef (root0)
0x1f0-0x1f7 (atapci0)
0x1f8-0x375 (root0)
0x376 (atapci0)
0x377-0x3bf (root0)
0x3c0-0x3df (vga0)
0x3e0-0x3f5 (root0)
0x3f6 (atapci0)
0x3f7-0xcf7 (root0)
0xcf8-0xcff (pcib0)
0xd00-0x1fff (root0)
0x2000-0x3fff (pcib3)
0x4000-0x4fff (pcib1)
0x5000-0x5017 (root0)
0x5018-0x501b (ahci0)
0x501c-0x501f (root0)
0x5020-0x502f (ahci0)
0x5030-0x503f (root0)
0x5040-0x504f (atapci0)
0x5050-0x8007 (root0)
0x8008-0x800b (acpi_timer0)
0x800c-0x81ff (root0)
0x8200-0x820f ----
0x8210-0x8fff (root0)
0x9000-0x9007 (ahci0)
0x9008-0x900b (ahci0)
0x900c-0x900f (root0)
0x9010-0x9017 (ahci0)
0x9018-0xffff (root0)
I/O memory addresses:
0x0-0x9fbff (ram0)
0x9fc00-0x9ffff (root0)
0xa0000-0xbffff (vga0)
0xc0000-0xcffff (root0)
0xd0000-0xd0fff (orm0)
0xd1000-0xfffff (root0)
0x100000-0xb7faffff (ram0)
0xb7fb0000-0xbfffffff (root0)
0xc0000000-0xc7ffffff (pcib1)
0xc8000000-0xc80fffff (pcib4)
0xc8100000-0xc8103fff (hdac0)
0xc8104000-0xcbffffff (root0)
0xcc000000-0xcfffffff (pcib3)
0xd0000000-0xd00fffff (pcib2)
0xd0100000-0xd01fffff (pcib5)
0xd0200000-0xd03fffff (pcib1)
0xd0400000-0xd0400fff (root0)
0xd0401000-0xd0401fff (ohci0)
0xd0402000-0xd0402fff (ohci1)
0xd0403000-0xd0403fff (ohci2)
0xd0404000-0xd0404fff (ohci3)
0xd0405000-0xd0405fff (ohci4)
0xd0406000-0xd04060ff (ehci0)
0xd0406100-0xd0408fff (root0)
0xd0409000-0xd04093ff (ahci0)
0xd0409400-0xfebfffff (root0)
0xfec00000-0xfec0001f (apic0)
0xfec00020-0xfedfffff (root0)
0xfee00000-0xfee003ff (apic0)
0xfee00400-0xffffffffffffffff (root0)
ACPI I/O ports:
ACPI I/O memory addresses:
pcib1 I/O port window:
0x4000-0x40ff (vgapci0)
0x4100-0x4fff (root0)
pcib1 memory window:
0xd0200000-0xd020ffff (vgapci0)
0xd0210000-0xd02fffff (root0)
0xd0300000-0xd03fffff (vgapci0)
pcib1 prefetch window:
0xc0000000-0xc7ffffff (vgapci0)
pcib2 I/O port window:
pcib2 memory window:
0xd0000000-0xd000ffff (bge0)
0xd0010000-0xd00fffff (root0)
pcib2 prefetch window:
pcib3 I/O port window:
0x2000-0x3fff (root0)
pcib3 memory window:
0xcc000000-0xcfffffff (root0)
pcib3 prefetch window:
pcib4 I/O port window:
pcib4 memory window:
0xc8000000-0xc8003fff (siba_bwn0)
0xc8004000-0xc80fffff (root0)
pcib4 prefetch window:
I/O memory addresses:
0xd0409000-0xd04090ff (root0)
0xd0409100-0xd040917f (ahcich0)
0xd0409180-0xd04093ff (root0)
pcib5 I/O port window:
pcib5 memory window:
0xd0100000-0xd0100fff (cbb0)
0xd0101000-0xd01fffff (root0)
pcib5 prefetch window:
--
Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 331 5944
Fax: +44 (0)117 929 4423

John Baldwin

unread,
May 16, 2012, 11:15:49 AM5/16/12
to Anton Shterenlikht, freebsd...@freebsd.org
Humm, so did the patch help at all? (Wasn't clear from your e-mail.)

It seems to have not helped given that the BAR still failed to allocate?

--
John Baldwin

Anton Shterenlikht

unread,
May 16, 2012, 11:31:52 AM5/16/12
to John Baldwin, freebsd...@freebsd.org, Anton Shterenlikht
er.. yes, of course it helped.

My problem was that I couldn't boot.
So, I presumed the very existence of dmesg.boot
showed that your patches (both of them) work fine.
But, sorry, I could've been more explicit.
All seems to work, including sound and wireless.

Thanks

--
Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 331 5944
Fax: +44 (0)117 929 4423

Anton Shterenlikht

unread,
May 20, 2012, 4:56:19 AM5/20/12
to John Baldwin, freebsd...@freebsd.org, Anton Shterenlikht
On Fri, May 18, 2012 at 10:48:52AM -0400, John Baldwin wrote:
> On Wednesday, May 16, 2012 11:30:19 am Anton Shterenlikht wrote:
> > er.. yes, of course it helped.
> >
> > My problem was that I couldn't boot.
> > So, I presumed the very existence of dmesg.boot
> > showed that your patches (both of them) work fine.
> > But, sorry, I could've been more explicit.
> > All seems to work, including sound and wireless.
>
> Hmm. Can you try one more thing. Can you boot an unmodified kernel (no
> patches) but set 'hw.pci.enable_io_modes=0' from the loader?

That works too, see dmesg.boot below.

So, are you really saying that HP folk
don't know how to write BIOS?

Many thanks


Table 'FACP' at 0xb7fc8084
Table 'SLIC' at 0xb7fc8220
Table 'EPTH' at 0xb7fc8398
Table 'APIC' at 0xb7fc83d0
APIC: Found table at 0xb7fc83d0
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-2012 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.9-CURRENT #1 r234928M: Tue May 8 16:10:50 BST 2012
ro...@mech-aslap239.men.bris.ac.uk:/usr/obj/usr/src/sys/GEN8 amd64
WARNING: WITNESS option enabled, expect reduced performance.
Preloaded elf kernel "/boot/kernel/kernel" at 0xffffffff80f07000.
Preloaded elf obj module "/boot/modules/bwn_v4_ucode.ko" at 0xffffffff80f07218.
Calibrating TSC clock ... TSC clock: 1995048439 Hz
CPU: AMD Turion(tm) 64 X2 Mobile Technology TL-60 (1995.05-MHz K8-class CPU)
pci0: <ACPI PCI bus> on pcib0
pci0: domain=0, physical bus=0
found-> vendor=0x1002, dev=0x7910, revid=0x00
domain=0, bus=0, slot=0, func=0
class=06-00-00, hdrtype=0x00, mfdev=0
cmdreg=0x0006, statreg=0x2220, cachelnsz=0 (dwords)
lattimer=0x40 (1920 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
cmdreg=0x0007, statreg=0x0230, cachelnsz=16 (dwords)
lattimer=0x40 (1920 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
intpin=a, irq=10
powerspec 2 supports D0 D3 current D0
map[10]: type I/O Port, range 32, base 0x9000, size 3, enabled
pcib0: allocated type 4 (0x9000-0x9007) for rid 10 of pci0:0:18:0
map[14]: type I/O Port, range 32, base 0x9008, size 2, enabled
pcib0: allocated type 4 (0x9008-0x900b) for rid 14 of pci0:0:18:0
map[18]: type I/O Port, range 32, base 0x9010, size 3, enabled
pcib0: allocated type 4 (0x9010-0x9017) for rid 18 of pci0:0:18:0
map[1c]: type I/O Port, range 32, base 0x5018, size 2, enabled
pcib0: allocated type 4 (0x5018-0x501b) for rid 1c of pci0:0:18:0
map[20]: type I/O Port, range 32, base 0x5020, size 4, enabled
pcib0: allocated type 4 (0x5020-0x502f) for rid 20 of pci0:0:18:0
map[24]: type Memory, range 32, base 0xd0409000, size 10, enabled
pcib0: allocated type 3 (0xd0409000-0xd04093ff) for rid 24 of pci0:0:18:0
pcib0: matched entry for 0.18.INTA
pcib0: slot 18 INTA hardwired to IRQ 16
found-> vendor=0x1002, dev=0x4387, revid=0x00
domain=0, bus=0, slot=19, func=0
class=0c-03-10, hdrtype=0x00, mfdev=1
cmdreg=0x0007, statreg=0x02a0, cachelnsz=16 (dwords)
lattimer=0x40 (1920 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
intpin=a, irq=11
map[10]: type Memory, range 32, base 0xd0401000, size 12, enabled
pcib0: allocated type 3 (0xd0401000-0xd0401fff) for rid 10 of pci0:0:19:0
pcib0: matched entry for 0.19.INTA
pcib0: slot 19 INTA hardwired to IRQ 23
found-> vendor=0x1002, dev=0x4388, revid=0x00
domain=0, bus=0, slot=19, func=1
class=0c-03-10, hdrtype=0x00, mfdev=0
cmdreg=0x0007, statreg=0x02a0, cachelnsz=16 (dwords)
lattimer=0x40 (1920 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
intpin=b, irq=5
map[10]: type Memory, range 32, base 0xd0402000, size 12, enabled
pcib0: allocated type 3 (0xd0402000-0xd0402fff) for rid 10 of pci0:0:19:1
pcib0: matched entry for 0.19.INTB
pcib0: slot 19 INTB hardwired to IRQ 17
found-> vendor=0x1002, dev=0x4389, revid=0x00
domain=0, bus=0, slot=19, func=2
class=0c-03-10, hdrtype=0x00, mfdev=0
cmdreg=0x0007, statreg=0x02a0, cachelnsz=16 (dwords)
lattimer=0x40 (1920 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
intpin=c, irq=5
map[10]: type Memory, range 32, base 0xd0403000, size 12, enabled
pcib0: allocated type 3 (0xd0403000-0xd0403fff) for rid 10 of pci0:0:19:2
pcib0: matched entry for 0.19.INTC
pcib0: slot 19 INTC hardwired to IRQ 17
found-> vendor=0x1002, dev=0x438a, revid=0x00
domain=0, bus=0, slot=19, func=3
class=0c-03-10, hdrtype=0x00, mfdev=0
cmdreg=0x0007, statreg=0x02a0, cachelnsz=16 (dwords)
lattimer=0x40 (1920 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
intpin=b, irq=5
map[10]: type Memory, range 32, base 0xd0404000, size 12, enabled
pcib0: allocated type 3 (0xd0404000-0xd0404fff) for rid 10 of pci0:0:19:3
pcib0: matched entry for 0.19.INTB
pcib0: slot 19 INTB hardwired to IRQ 17
found-> vendor=0x1002, dev=0x438b, revid=0x00
domain=0, bus=0, slot=19, func=4
class=0c-03-10, hdrtype=0x00, mfdev=0
cmdreg=0x0007, statreg=0x02a0, cachelnsz=16 (dwords)
lattimer=0x40 (1920 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
intpin=c, irq=5
map[10]: type Memory, range 32, base 0xd0405000, size 12, enabled
pcib0: allocated type 3 (0xd0405000-0xd0405fff) for rid 10 of pci0:0:19:4
pcib0: matched entry for 0.19.INTC
pcib0: slot 19 INTC hardwired to IRQ 17
found-> vendor=0x1002, dev=0x4386, revid=0x00
domain=0, bus=0, slot=19, func=5
class=0c-03-20, hdrtype=0x00, mfdev=0
cmdreg=0x0007, statreg=0x02b0, cachelnsz=16 (dwords)
lattimer=0x40 (1920 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
intpin=d, irq=11
powerspec 2 supports D0 D1 D2 D3 current D0
map[10]: type Memory, range 32, base 0xd0406000, size 8, enabled
pcib0: allocated type 3 (0xd0406000-0xd04060ff) for rid 10 of pci0:0:19:5
pcib0: matched entry for 0.19.INTD
pcib0: slot 19 INTD hardwired to IRQ 23
found-> vendor=0x1002, dev=0x4385, revid=0x14
domain=0, bus=0, slot=20, func=0
class=0c-05-00, hdrtype=0x00, mfdev=1
cmdreg=0x0003, statreg=0x0230, cachelnsz=0 (dwords)
lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
map[10]: type I/O Port, range 32, base 0x8200, size 4, enabled
pcib0: allocated type 4 (0x8200-0x820f) for rid 10 of pci0:0:20:0
found-> vendor=0x1002, dev=0x438c, revid=0x00
domain=0, bus=0, slot=20, func=1
class=01-01-82, hdrtype=0x00, mfdev=0
cmdreg=0x0005, statreg=0x0220, cachelnsz=16 (dwords)
lattimer=0x40 (1920 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
intpin=a, irq=10
pcib0: allocated type 4 (0x1f0-0x1f7) for rid 10 of pci0:0:20:1
pcib0: allocated type 4 (0x3f6-0x3f6) for rid 14 of pci0:0:20:1
pcib0: allocated type 4 (0x170-0x177) for rid 18 of pci0:0:20:1
pcib0: allocated type 4 (0x376-0x376) for rid 1c of pci0:0:20:1
map[20]: type I/O Port, range 32, base 0x5040, size 4, enabled
pcib0: allocated type 4 (0x5040-0x504f) for rid 20 of pci0:0:20:1
pcib0: matched entry for 0.20.INTA
pcib0: slot 20 INTA hardwired to IRQ 16
found-> vendor=0x1002, dev=0x4383, revid=0x00
domain=0, bus=0, slot=20, func=2
class=04-03-00, hdrtype=0x00, mfdev=0
cmdreg=0x0006, statreg=0x0410, cachelnsz=16 (dwords)
lattimer=0x40 (1920 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
intpin=a, irq=10
powerspec 2 supports D0 D3 current D0
map[10]: type Memory, range 64, base 0xd0408000, size 14, enabled
pci0: pci0:0:20:2 bar 0x10 failed to allocatepcib0: matched entry for 0.20.INTA
pcib0: slot 20 INTA hardwired to IRQ 16
lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
pcib1: <ACPI PCI-PCI bridge> at device 1.0 on pci0
pcib0: allocated type 4 (0x4000-0x4fff) for rid 1c of pcib1
pcib0: allocated type 3 (0xd0200000-0xd03fffff) for rid 20 of pcib1
pcib0: allocated type 3 (0xc0000000-0xc7ffffff) for rid 24 of pcib1
pcib1: domain 0
pcib1: secondary bus 1
pcib1: subordinate bus 1
pcib1: I/O decode 0x4000-0x4fff
pcib1: memory decode 0xd0200000-0xd03fffff
pcib1: prefetched decode 0xc0000000-0xc7ffffff
pci1: <ACPI PCI bus> on pcib1
pci1: domain=0, physical bus=1
found-> vendor=0x1002, dev=0x791f, revid=0x00
domain=0, bus=1, slot=5, func=0
class=03-00-00, hdrtype=0x00, mfdev=0
cmdreg=0x0007, statreg=0x0010, cachelnsz=16 (dwords)
lattimer=0x40 (1920 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
intpin=b, irq=11
powerspec 2 supports D0 D1 D2 D3 current D0
lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
intpin=a, irq=10
powerspec 3 supports D0 D3 current D0
MSI supports 1 message, 64 bit
lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
intpin=a, irq=10
powerspec 3 supports D0 D1 D2 D3 current D0
MSI supports 1 message, 64 bit
found-> vendor=0x1180, dev=0x0476, revid=0xb6
domain=0, bus=2, slot=4, func=0
class=06-07-00, hdrtype=0x02, mfdev=1
cmdreg=0x0007, statreg=0x0210, cachelnsz=0 (dwords)
lattimer=0x40 (1920 ns), mingnt=0x80 (32000 ns), maxlat=0x07 (1750 ns)
intpin=a, irq=10
powerspec 2 supports D0 D1 D2 D3 current D0
acpi_throttle0: <ACPI CPU Throttling> on cpu0
acpi_throttle0: P_CNT from P_BLK 0x8010
powernow0: <PowerNow! K8> on cpu0
acpi_throttle1: <ACPI CPU Throttling> on cpu1
acpi_throttle1: failed to attach P_CNT
device_attach: acpi_throttle1 attach returned 6
powernow1: <PowerNow! K8> on cpu1
Device configuration finished.
procfs registered
lapic: Divisor 2, Frequency 99750198 Hz
acpi_tz0: _AC3: temperature 55.0 >= setpoint 40.0
acpi_tz0: _AC2: temperature 55.0 >= setpoint 50.0
ugen0.1: <ATI> at usbus0
uhub0: <ATI OHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus0
ugen1.1: <ATI> at usbus1
uhub1: <ATI OHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus1
ugen2.1: <ATI> at usbus2
uhub2: <ATI OHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus2
ugen3.1: <ATI> at usbus3
uhub3: <ATI OHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus3
ugen4.1: <ATI> at usbus4
uhub4: <ATI OHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus4
ugen5.1: <ATI> at usbus5
uhub5: <ATI EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus5
acpi_tz0: switched from NONE to _AC2: 55.0C
ahcich0: AHCI reset...
ahcich0: SATA connect time=1800us status=00000113
ahcich0: AHCI reset: device found
ata0: reset tp1 mask=03 ostat0=50 ostat1=00
ahcich0: AHCI reset: device ready after 100ms
(aprobe0:ahcich0:0:0:0): SIGNATURE: 0000
ata0: stat0=0x00 err=0x01 lsb=0x14 msb=0xeb
ata0: stat1=0x00 err=0x00 lsb=0x00 msb=0x00
ata0: reset tp2 stat0=00 stat1=00 devices=0x10000
Timecounter "TSC-low" frequency 15586315 Hz quality -100
WARNING: WITNESS option enabled, expect reduced performance.
(cd0:ata0:0:0:0): SCSI status error
(cd0:ata0:0:0:0): READ CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0
(cd0:ata0:0:0:0): CAM status: SCSI Status Error
(cd0:ata0:0:0:0): SCSI status: Check Condition
(cd0:ata0:0:0:0): SCSI sense: NOT READY asc:3a,1 (Medium not present - tray closed)
(cd0:ata0:0:0:0): Error 6, Unretryable error
(cd0:ata0:0:0:0): SCSI status error
(cd0:ata0:0:0:0): READ CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0
(cd0:ata0:0:0:0): CAM status: SCSI Status Error
(cd0:ata0:0:0:0): SCSI status: Check Condition
(cd0:ata0:0:0:0): SCSI sense: NOT READY asc:3a,1 (Medium not present - tray closed)
(cd0:ata0:0:0:0): Error 6, Unretryable error
Root mount waiting for: usbus5
Root mount waiting for: usbus5
Root mount waiting for: usbus5
Root mount waiting for: usbus5
uhub5: 10 ports with 10 removable, self powered
Root mount waiting for: usbus5
Trying to mount root from ufs:/dev/ada0s1a [rw]...
start_init: trying /sbin/init
acpi_tz0: _AC3: temperature 49.0 >= setpoint 40.0
acpi_tz0: switched from _AC2 to _AC3: 49.0C
ugen0.2: <Broadcom Corp> at usbus0
ugen1.2: <vendor 0x0430> at usbus1
ums0: <vendor 0x0430 product 0x0100, class 0/0, rev 2.00/1.07, addr 2> on usbus1
ums0: 3 buttons and [XY] coordinates ID=0
wlan0: bpf attached
wlan0: bpf attached
wlan0: Ethernet address: 00:1a:73:e1:46:79
bwn0: firmware version (rev 410 patch 2160 date 0x751a time 0x7c0a)
bwn0: status of RF switch is changed to OFF
bwn0: please turn on the RF switch
bwn0: need multicast update callback
bwn0: need multicast update callback
bwn0: need multicast update callback
bwn0: RX decryption attempted (old 0 keyidx 0x2)
bwn0: RX decryption attempted (old 0 keyidx 0x2)

Anton Shterenlikht

unread,
May 21, 2012, 4:46:41 AM5/21/12
to John Baldwin, Anton Shterenlikht, freebsd...@freebsd.org
On Sun, May 20, 2012 at 09:54:51AM +0100, Anton Shterenlikht wrote:
> On Fri, May 18, 2012 at 10:48:52AM -0400, John Baldwin wrote:
> > On Wednesday, May 16, 2012 11:30:19 am Anton Shterenlikht wrote:
> > > er.. yes, of course it helped.
> > >
> > > My problem was that I couldn't boot.
> > > So, I presumed the very existence of dmesg.boot
> > > showed that your patches (both of them) work fine.
> > > But, sorry, I could've been more explicit.
> > > All seems to work, including sound and wireless.
> >
> > Hmm. Can you try one more thing. Can you boot an unmodified kernel (no
> > patches) but set 'hw.pci.enable_io_modes=0' from the loader?
>
> That works too, see dmesg.boot below.

I might have misled you on this,
or maybe it's because I updated to r235705,
but I can't boot in multi-user mode
without the patch.

If I build an unmodified kernel, and just
add 'hw.pci.enable_io_modes=0' to /boot/loader.conf
and try to boot in multi-user mode,
I still get error stated in the subject line.

I can boot in single user mode though,
without the patch.

Anton Shterenlikht

unread,
May 21, 2012, 5:47:27 AM5/21/12
to John Baldwin, Anton Shterenlikht, freebsd...@freebsd.org
On Mon, May 21, 2012 at 09:42:17AM +0100, Anton Shterenlikht wrote:
> On Sun, May 20, 2012 at 09:54:51AM +0100, Anton Shterenlikht wrote:
> > On Fri, May 18, 2012 at 10:48:52AM -0400, John Baldwin wrote:
> > > On Wednesday, May 16, 2012 11:30:19 am Anton Shterenlikht wrote:
> > > > er.. yes, of course it helped.
> > > >
> > > > My problem was that I couldn't boot.
> > > > So, I presumed the very existence of dmesg.boot
> > > > showed that your patches (both of them) work fine.
> > > > But, sorry, I could've been more explicit.
> > > > All seems to work, including sound and wireless.
> > >
> > > Hmm. Can you try one more thing. Can you boot an unmodified kernel (no
> > > patches) but set 'hw.pci.enable_io_modes=0' from the loader?
> >
> > That works too, see dmesg.boot below.
>
> I might have misled you on this,

Yes, sorry, looking at the dmesg I sent you,
I obviously booted the patched kernel.

So, no, 'hw.pci.enable_io_modes=0' in /boot/loader.conf
doesn't help to boot an unmodified kernel.

John Baldwin

unread,
May 21, 2012, 1:21:47 PM5/21/12
to Anton Shterenlikht, freebsd...@freebsd.org
On Monday, May 21, 2012 5:45:19 am Anton Shterenlikht wrote:
> On Mon, May 21, 2012 at 09:42:17AM +0100, Anton Shterenlikht wrote:
> > On Sun, May 20, 2012 at 09:54:51AM +0100, Anton Shterenlikht wrote:
> > > On Fri, May 18, 2012 at 10:48:52AM -0400, John Baldwin wrote:
> > > > On Wednesday, May 16, 2012 11:30:19 am Anton Shterenlikht wrote:
> > > > > er.. yes, of course it helped.
> > > > >
> > > > > My problem was that I couldn't boot.
> > > > > So, I presumed the very existence of dmesg.boot
> > > > > showed that your patches (both of them) work fine.
> > > > > But, sorry, I could've been more explicit.
> > > > > All seems to work, including sound and wireless.
> > > >
> > > > Hmm. Can you try one more thing. Can you boot an unmodified kernel
(no
> > > > patches) but set 'hw.pci.enable_io_modes=0' from the loader?
> > >
> > > That works too, see dmesg.boot below.
> >
> > I might have misled you on this,
>
> Yes, sorry, looking at the dmesg I sent you,
> I obviously booted the patched kernel.
>
> So, no, 'hw.pci.enable_io_modes=0' in /boot/loader.conf
> doesn't help to boot an unmodified kernel.

Ok, I'll work on getting this fix into the tree in some fashion.

And yes, BIOS writers often seem to have bugs.

--
John Baldwin

Anton Shterenlikht

unread,
May 29, 2012, 7:18:35 PM5/29/12
to John Baldwin, freebsd...@freebsd.org, Anton Shterenlikht
On Mon, May 21, 2012 at 01:08:24PM -0400, John Baldwin wrote:
> On Monday, May 21, 2012 5:45:19 am Anton Shterenlikht wrote:
> > On Mon, May 21, 2012 at 09:42:17AM +0100, Anton Shterenlikht wrote:
> > > On Sun, May 20, 2012 at 09:54:51AM +0100, Anton Shterenlikht wrote:
> > > > On Fri, May 18, 2012 at 10:48:52AM -0400, John Baldwin wrote:
> > > > > On Wednesday, May 16, 2012 11:30:19 am Anton Shterenlikht wrote:
> > > > > > er.. yes, of course it helped.
> > > > > >
> > > > > > My problem was that I couldn't boot.
> > > > > > So, I presumed the very existence of dmesg.boot
> > > > > > showed that your patches (both of them) work fine.
> > > > > > But, sorry, I could've been more explicit.
> > > > > > All seems to work, including sound and wireless.
> > > > >
> > > > > Hmm. Can you try one more thing. Can you boot an unmodified kernel
> (no
> > > > > patches) but set 'hw.pci.enable_io_modes=0' from the loader?
> > > >
> > > > That works too, see dmesg.boot below.
> > >
> > > I might have misled you on this,
> >
> > Yes, sorry, looking at the dmesg I sent you,
> > I obviously booted the patched kernel.
> >
> > So, no, 'hw.pci.enable_io_modes=0' in /boot/loader.conf
> > doesn't help to boot an unmodified kernel.
>
> Ok, I'll work on getting this fix into the tree in some fashion.

Just to let you know.
I'm on 2³6024 now, with your patch.

I've lost sound.

Commands like:

% ls > /dev/dsp0.0
% mixer vol 100

give lots of

hðãc0: ©ømmãnð timeøut øn ãððress 0
hðãc0: ©ømmãnð timeøut øn ãððress 0
hðãc0: ©ømmãnð timeøut øn ãððress 0

on the console.

Just wanted to check with you if you
think this has anything to do with the
patch, or whether you think it's a completely
different issue.

Many thanks

--
Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 331 5944
Fax: +44 (0)117 929 4423

Anton Shterenlikht

unread,
May 29, 2012, 7:25:54 PM5/29/12
to John Baldwin, Anton Shterenlikht, freebsd...@freebsd.org
On Wed, May 30, 2012 at 12:17:01AM +0100, Anton Shterenlikht wrote:
> > > > I might have misled you on this,
> > >
> > > Yes, sorry, looking at the dmesg I sent you,
> > > I obviously booted the patched kernel.
> > >
> > > So, no, 'hw.pci.enable_io_modes=0' in /boot/loader.conf
> > > doesn't help to boot an unmodified kernel.
> >
> > Ok, I'll work on getting this fix into the tree in some fashion.
>
> Just to let you know.
> I'm on 2�6024 now, with your patch.
>
> I've lost sound.
>
> Commands like:
>
> % ls > /dev/dsp0.0
> % mixer vol 100
>
> give lots of
>
> h��c0: ��mm�n� time�ut �n ���ress 0
> h��c0: ��mm�n� time�ut �n ���ress 0
> h��c0: ��mm�n� time�ut �n ���ress 0
>
> on the console.
>
> Just wanted to check with you if you
> think this has anything to do with the
> patch, or whether you think it's a completely
> different issue.
>
> Many thanks

It seems something went wrong with my encoding too..

I try again.
I get lots of

/var/log/messages:May 29 23:59:44 mech-aslap239 kernel: hdac0: Command timeout on address 0
/var/log/messages:May 30 00:11:04 mech-aslap239 kernel: hdac0: Command timeout on address 0
/var/log/messages:May 30 00:11:04 mech-aslap239 kernel: hdac0: Command timeout on address 0

and lots of:

/var/log/messages:May 29 23:58:09 mech-aslap239 kernel: hdac0: Unexpected unsolicited response from address 0: 0030010d
/var/log/messages:May 29 23:58:09 mech-aslap239 kernel: hdac0: Unexpected unsolicited response from address 0: 00000001
/var/log/messages:May 29 23:58:09 mech-aslap239 kernel: hdac0: Unexpected unsolicited response from address 0: 00000019
/var/log/messages:May 29 23:58:09 mech-aslap239 kernel: hdac0: Unexpected unsolicited response from address 0: 80051f17
/var/log/messages:May 29 23:58:09 mech-aslap239 kernel: hdac0: Unexpected unsolicited response from address 0: 0030010d
/var/log/messages:May 29 23:58:09 mech-aslap239 kernel: hdac0: Unexpected unsolicited response from address 0: 00000001
/var/log/messages:May 29 23:58:09 mech-aslap239 kernel: hdac0: Unexpected unsolicited response from address 0: 00000008

and occasional

/var/log/messages:May 29 23:58:09 mech-aslap239 kernel: hdac0: Reset setting timeout

this is now on r236024, with your patch.

John Baldwin

unread,
May 30, 2012, 3:38:58 PM5/30/12
to Anton Shterenlikht, freebsd...@freebsd.org
It could be related perhaps, though I thought on your system the only BAR that
was disabled was the VGA framebuffer.

--
John Baldwin

Anton Shterenlikht

unread,
Jun 1, 2012, 3:41:27 AM6/1/12
to John Baldwin, freebsd...@freebsd.org, Anton Shterenlikht
The situation with sould is more complex.

On reboot, I get sound, e.g.

# cat <file> > /dev/dsp

or

# dd if=/dev/cd0 of=/dev/dspcd bs=2352

It seems the hdac0 errors start when I launch
linux-flash from firefox:

hdac0: Unexpected unsolicited response from address 0: 00000000
hdac0: Unexpected unsolicited response from address 0: 00000000
hdac0: Command timeout on address 0
hdac0: Reset setting timeout
pcm0: chn_write(): pcm0:virtual:dsp0.vp0: play interrupt timeout, channel dead
hdac0: Command timeout on address 0

After that I can't get the sound back until I reboot.

I'll ask in ports as well.

Many thanks

--
Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 331 5944
Fax: +44 (0)117 929 4423
0 new messages