Re: mss.c pcm fix to ' attach returned 6 ' load failure for v5.x acpi and up

From: Harry Coin <harrycoin_at_qconline.com>
Date: Mon, 11 Jul 2005 14:03:56 -0500
John,

Here are the results you asked for.  You will seein the acpi boot the 
isa_get_logicalid(dev) returns 0 for a probe call to the non-pnp routine 
mss_probe

dmesg excerpt ...
mss_probe: bus acpi0 is probing device pcm0
mss_probe: isa_get_logicalid() returned 0!
mss_probe: no address given, try 0x530
mss_detect - chip revision 0x0a
mss_detect() - Detected CS4236
pcm0: <CS4236> port 0x530-0x537 on acpi0
device_attach: pcm0 attach returned 6
mss_probe: bus acpi0 is probing device pcm1
...

Here are the changes I made for debugging output to the two probe routines 
in mss.c

static int
mss_probe(device_t dev)
{
         u_char tmp, tmpx;
         int flags, irq, drq, result = ENXIO, setres = 0;
         struct mss_info *mss;
printf("mss_probe: bus %s is probing device 
%s\n",device_get_nameunit(device_get_parent(dev)),device_get_nameunit(dev));
//      result = ISA_PNP_PROBE(device_get_parent(dev), dev, mss_ids);
//      if (result!=ENOENT) return ENXIO; /* only continue if the device is 
not pnp */
         /* old way- not so good for ACPI: */
         if (isa_get_logicalid(dev)) return ENXIO;
printf("mss_probe: isa_get_logicalid() returned 0!\n");
....

and

static int
pnpmss_probe(device_t dev)
{
         u_int32_t lid, vid;
         int result;
         lid = isa_get_logicalid(dev);
         vid = isa_get_vendorid(dev);
printf("pnpmss_probe: bus %s is probing device %s lid %lxh, vid 
%lxh\n",device_get_nameunit(device_get_parent(dev)),device_get_nameunit(dev),lid,vid);
         if (lid == 0x01000000 && vid != 0x0100a90d) /* CMI0001 */
                 return ENXIO;
         result = ISA_PNP_PROBE(device_get_parent(dev), dev, pnpmss_ids);
         if (result == 0) {
             if ((lid == 0x630e) && ((vid&0xff000000) == 0x35000000)) {
               device_set_desc(dev, "CS4236B");
             }
         }
printf("pnpmss_probe result %d\n",result);
         return result;
}


Here is the verbose dmesg with acpi on in the bios.  I appended to it a cat 
/dev/sndstat.  Note it has loaded the sound driver as pcm3

Copyright (c) 1992-2005 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 5.4-RELEASE #21: Sun May 29 15:06:21 CDT 2005
     root_at_server1.quietfountain.com:/usr/obj/usr/src/sys/DISKLESS
Preloaded elf kernel "/boot/kernel/kernel" at 0xc07af000.
Preloaded elf module "/boot/kernel/snd_mss.ko" at 0xc07af1a4.
Preloaded elf module "/boot/kernel/acpi.ko" at 0xc07af250.
Calibrating clock(s) ... i8254 clock: 1193157 Hz
CLK_USE_I8254_CALIBRATION not specified - using default frequency
Timecounter "i8254" frequency 1193182 Hz quality 0
Calibrating TSC clock ... TSC clock: 331109954 Hz
CPU: Pentium II/Pentium II Xeon/Celeron (331.11-MHz 686-class CPU)
   Origin = "GenuineIntel"  Id = 0x650  Stepping = 0
   Features=0x183f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR>
real memory  = 134209536 (127 MB)
Physical memory chunk(s):
0x0000000000001000 - 0x000000000009ffff, 651264 bytes (159 pages)
0x0000000000100000 - 0x00000000003fffff, 3145728 bytes (768 pages)
0x0000000000825000 - 0x0000000007d8dfff, 123113472 bytes (30057 pages)
avail memory = 125865984 (120 MB)
bios32: Found BIOS32 Service Directory header at 0xc00ffe80
bios32: Entry = 0xffe90 (c00ffe90)  Rev = 0  Len = 1
pcibios: PCI BIOS entry at 0xf0000+0xcf4e
pnpbios: Found PnP BIOS data at 0xc00fe2d0
pnpbios: Entry = f0000:e2f4  Rev = 1.0
Other BIOS signatures found:
mem: <memory>
Pentium Pro MTRR support enabled
null: <null device, zero device>
io: <I/O>
random: <entropy source, Software, Yarrow>
npx0: [FAST]
npx0: <math processor> on motherboard
npx0: INT 16 interface
acpi0: <DELL GXa    > on motherboard
acpi0: [MPSAFE]
pci_open(1):    mode 1 addr port (0x0cf8) is 0x80000064
pci_open(1a):   mode1res=0x80000000 (0x80000000)
pci_cfgcheck:   device 0 [class=060000] [hdr=00] is there (id=71808086)
pcibios: BIOS version 2.10
Found $PIR table, 8 entries at 0xc00fcaf0
PCI-Only Interrupts: none
Location  Bus Device Pin  Link  IRQs
embedded    0    7    A   0x64  14
embedded    0    7    B   0x65  15
embedded    0    7    D   0x63  3 4 5 6 7 9 10 11 12 14 15
embedded    0    0    A   0x60  3 4 5 6 7 9 10 11 12 14 15
embedded    0    0    B   0x61  3 4 5 6 7 9 10 11 12 14 15
embedded    0    0    C   0x62  3 4 5 6 7 9 10 11 12 14 15
embedded    0    0    D   0x63  3 4 5 6 7 9 10 11 12 14 15
embedded    0   17    A   0x63  3 4 5 6 7 9 10 11 12 14 15
slot 1      0   14    A   0x62  3 4 5 6 7 9 10 11 12 14 15
slot 1      0   14    B   0x63  3 4 5 6 7 9 10 11 12 14 15
slot 1      0   14    C   0x61  3 4 5 6 7 9 10 11 12 14 15
slot 1      0   14    D   0x60  3 4 5 6 7 9 10 11 12 14 15
slot 2      0   13    A   0x61  3 4 5 6 7 9 10 11 12 14 15
slot 2      0   13    B   0x60  3 4 5 6 7 9 10 11 12 14 15
slot 2      0   13    C   0x62  3 4 5 6 7 9 10 11 12 14 15
slot 2      0   13    D   0x63  3 4 5 6 7 9 10 11 12 14 15
slot 3      2    9    A   0x60  3 4 5 6 7 9 10 11 12 14 15
slot 3      2    9    B   0x61  3 4 5 6 7 9 10 11 12 14 15
slot 3      2    9    C   0x62  3 4 5 6 7 9 10 11 12 14 15
slot 3      2    9    D   0x63  3 4 5 6 7 9 10 11 12 14 15
slot 4      2   10    A   0x63  3 4 5 6 7 9 10 11 12 14 15
slot 4      2   10    B   0x61  3 4 5 6 7 9 10 11 12 14 15
slot 4      2   10    C   0x60  3 4 5 6 7 9 10 11 12 14 15
slot 4      2   10    D   0x62  3 4 5 6 7 9 10 11 12 14 15
slot 5      2   11    A   0x60  3 4 5 6 7 9 10 11 12 14 15
slot 5      2   11    B   0x62  3 4 5 6 7 9 10 11 12 14 15
slot 5      2   11    C   0x63  3 4 5 6 7 9 10 11 12 14 15
slot 5      2   11    D   0x61  3 4 5 6 7 9 10 11 12 14 15
acpi_bus_number: root bus has no _BBN, assuming 0
AcpiOsDerivePciId: bus 0 dev 7 func 0
acpi0: Power Button (fixed)
atpic: Programming IRQ9 as level/low
mss_probe: bus acpi0 is probing device pcm0
pnpmss_probe: bus acpi0 is probing device pcm0 lid 10cd041h, vid ffffffffh
pnpmss_probe result 6
mss_probe: bus acpi0 is probing device pcm0
pnpmss_probe: bus acpi0 is probing device pcm0 lid 10cd041h, vid ffffffffh
pnpmss_probe result 6
ACPI timer: 0/6 0/4 0/5 0/6 0/6 0/4 0/6 0/6 0/6 0/5 -> 0
Timecounter "ACPI-safe" frequency 3579545 Hz quality 1000
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x808-0x80b on acpi0
mss_probe: bus acpi0 is probing device pcm0
mss_probe: isa_get_logicalid() returned 0!
mss_probe: no address given, try 0x530
mss_detect - chip revision 0x0a
mss_detect() - Detected CS4236
pcm0: <CS4236> port 0x530-0x537 on acpi0
device_attach: pcm0 attach returned 6
mss_probe: bus acpi0 is probing device pcm1
pnpmss_probe: bus acpi0 is probing device pcm1 lid 30ad041h, vid ffffffffh
pnpmss_probe result 6
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
ACPI PCI link initial configuration:
\\_SB_.LNKA irq  0: [ 3  4  5  6  7  9 10 11 12 15]  0+ low,level,sharable 
0.1.0
\\_SB_.LNKB irq  0: [ 3  4  5  6  7  9 10 11 12 15]  0+ low,level,sharable 
0.1.1
\\_SB_.LNKC irq  0: [ 3  4  5  6  7  9 10 11 12 15] 10+ low,level,sharable 
0.1.2
\\_SB_.LNKD irq  0: [ 3  4  5  6  7  9 10 11 12 15] 11+ low,level,sharable 
0.1.3
\\_SB_.LNKD irq  0: [ 3  4  5  6  7  9 10 11 12 15] 11+ low,level,sharable 
0.7.3
\\_SB_.LNKD irq  0: [ 3  4  5  6  7  9 10 11 12 15] 11+ low,level,sharable 
0.17.0
\\_SB_.LNKC irq  0: [ 3  4  5  6  7  9 10 11 12 15] 10+ low,level,sharable 
0.14.0
\\_SB_.LNKD irq  0: [ 3  4  5  6  7  9 10 11 12 15] 11+ low,level,sharable 
0.14.1
\\_SB_.LNKB irq  0: [ 3  4  5  6  7  9 10 11 12 15]  0+ low,level,sharable 
0.14.2
\\_SB_.LNKA irq  0: [ 3  4  5  6  7  9 10 11 12 15]  0+ low,level,sharable 
0.14.3
\\_SB_.LNKB irq  0: [ 3  4  5  6  7  9 10 11 12 15]  0+ low,level,sharable 
0.13.0
\\_SB_.LNKA irq  0: [ 3  4  5  6  7  9 10 11 12 15]  0+ low,level,sharable 
0.13.1
\\_SB_.LNKC irq  0: [ 3  4  5  6  7  9 10 11 12 15] 10+ low,level,sharable 
0.13.2
\\_SB_.LNKD irq  0: [ 3  4  5  6  7  9 10 11 12 15] 11+ low,level,sharable 
0.13.3
pci0: <ACPI PCI bus> on pcib0
pci0: physical bus=0
         map[10]: type 3, range 32, base f4000000, size 26, enabled
found-> vendor=0x8086, dev=0x7180, revid=0x03
         bus=0, slot=0, func=0
         class=06-00-00, hdrtype=0x00, mfdev=0
         cmdreg=0x0106, statreg=0x2290, cachelnsz=0 (dwords)
         lattimer=0x20 (960 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
found-> vendor=0x8086, dev=0x7181, revid=0x03
         bus=0, slot=1, func=0
         class=06-04-00, hdrtype=0x01, mfdev=0
         cmdreg=0x010f, statreg=0x02a0, cachelnsz=0 (dwords)
         lattimer=0x20 (960 ns), mingnt=0x0a (2500 ns), maxlat=0x00 (0 ns)
found-> vendor=0x8086, dev=0x7110, revid=0x01
         bus=0, slot=7, func=0
         class=06-01-00, hdrtype=0x00, mfdev=1
         cmdreg=0x000f, statreg=0x0280, cachelnsz=0 (dwords)
         lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
         map[20]: type 4, range 32, base 0000ffa0, size  4, enabled
found-> vendor=0x8086, dev=0x7111, revid=0x01
         bus=0, slot=7, func=1
         class=01-01-80, hdrtype=0x00, mfdev=0
         cmdreg=0x0005, statreg=0x0280, cachelnsz=0 (dwords)
         lattimer=0x20 (960 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
         map[20]: type 4, range 32, base 0000dce0, size  5, enabled
pcib0: matched entry for 0.7.INTD (src \\_SB_.LNKD)
pcib0: possible interrupts:  3  4  5  6  7  9 10 11 12 15
ACPI PCI link arbitrated settings:
\\_SB_.LNKD (references 5, priority 38295):
         interrupts:         11    10     5     9    12     7     6     4 
   3    15
         penalty:           140   140   190   280  5140  5140  5140  5140 
5140 50140
\\_SB_.LNKA (references 3, priority 22977):
         interrupts:         11    10     5     9    12     7     6     4 
   3    15
         penalty:           140   140   190   280  5140  5140  5140  5140 
5140 50140
\\_SB_.LNKB (references 3, priority 22977):
         interrupts:         11    10     5     9    12     7     6     4 
   3    15
         penalty:           140   140   190   280  5140  5140  5140  5140 
5140 50140
\\_SB_.LNKC (references 3, priority 22977):
         interrupts:         11    10     5     9    12     7     6     4 
   3    15
         penalty:           140   140   190   280  5140  5140  5140  5140 
5140 50140
pcib0: slot 7 INTD routed to irq 11 via \\_SB_.LNKD
found-> vendor=0x8086, dev=0x7112, revid=0x01
         bus=0, slot=7, func=2
         class=0c-03-00, hdrtype=0x00, mfdev=0
         cmdreg=0x0005, statreg=0x0280, cachelnsz=0 (dwords)
         lattimer=0x20 (960 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
         intpin=d, irq=11
         map[90]: type 4, range 32, base 00000850, size  4, enabled
found-> vendor=0x8086, dev=0x7113, revid=0x01
         bus=0, slot=7, func=3
         class=06-80-00, hdrtype=0x00, mfdev=0
         cmdreg=0x0001, statreg=0x0280, cachelnsz=0 (dwords)
         lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
         map[10]: type 3, range 32, base fa000000, size 12, enabled
         map[14]: type 4, range 32, base 0000dcc0, size  5, enabled
         map[18]: type 1, range 32, base ff000000, size 20, enabled
pcib0: matched entry for 0.14.INTA (src \\_SB_.LNKC)
pcib0: possible interrupts:  3  4  5  6  7  9 10 11 12 15
ACPI PCI link arbitrated settings:
\\_SB_.LNKA (references 3, priority 23454):
         interrupts:         10    11     5     9    12     7     6     4 
   3    15
         penalty:           280   330   330   560  5280  5280  5280  5280 
5280 50280
\\_SB_.LNKB (references 3, priority 23454):
         interrupts:         10    11     5     9    12     7     6     4 
   3    15
         penalty:           280   330   330   560  5280  5280  5280  5280 
5280 50280
\\_SB_.LNKC (references 3, priority 23454):
         interrupts:         10    11     5     9    12     7     6     4 
   3    15
         penalty:           280   330   330   560  5280  5280  5280  5280 
5280 50280
pcib0: slot 14 INTA routed to irq 10 via \\_SB_.LNKC
found-> vendor=0x8086, dev=0x1229, revid=0x05
         bus=0, slot=14, func=0
         class=02-00-00, hdrtype=0x00, mfdev=0
         cmdreg=0x0117, statreg=0x0290, cachelnsz=8 (dwords)
         lattimer=0x20 (960 ns), mingnt=0x08 (2000 ns), maxlat=0x38 (14000 ns)
         intpin=a, irq=10
         powerspec 1  supports D0 D1 D2 D3  current D0
found-> vendor=0x1011, dev=0x0024, revid=0x03
         bus=0, slot=15, func=0
         class=06-04-00, hdrtype=0x01, mfdev=0
         cmdreg=0x0107, statreg=0x0290, cachelnsz=8 (dwords)
         lattimer=0x20 (960 ns), mingnt=0x02 (500 ns), maxlat=0x00 (0 ns)
agp0: <Intel 82443LX (440 LX) host to PCI bridge> mem 0xf4000000-0xf7ffffff 
at device 0.0 on pci0
agp0: Reserved 0x4000000 bytes for rid 0x10 type 3 at 0xf4000000
agp0: allocating GATT for aperture of size 64M
pcib1: <PCI-PCI bridge> at device 1.0 on pci0
pcib1:   secondary bus     1
pcib1:   subordinate bus   1
pcib1:   I/O decode        0xe000-0xefff
pcib1:   memory decode     0xfc000000-0xfeffffff
pcib1:   prefetched decode 0xf9000000-0xf9ffffff
pci1: <PCI bus> on pcib1
pci1: physical bus=1
         map[10]: type 1, range 32, base fd000000, size 24, enabled
pcib1: device (null) requested decoded memory range 0xfd000000-0xfdffffff
         map[14]: type 4, range 32, base 0000ec00, size  8, enabled
pcib1: device (null) requested decoded I/O range 0xec00-0xecff
         map[18]: type 1, range 32, base fcfff000, size 12, enabled
pcib1: device (null) requested decoded memory range 0xfcfff000-0xfcffffff
found-> vendor=0x1002, dev=0x4744, revid=0x5c
         bus=1, slot=0, func=0
         class=03-00-00, hdrtype=0x00, mfdev=0
         cmdreg=0x0083, statreg=0x0290, cachelnsz=8 (dwords)
         lattimer=0x20 (960 ns), mingnt=0x08 (2000 ns), maxlat=0x00 (0 ns)
pci1: <display, VGA> at device 0.0 (no driver attached)
isab0: <PCI-ISA bridge> at device 7.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel PIIX4 UDMA33 controller> port 
0xffa0-0xffaf,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 7.1 on pci0
atapci0: Reserved 0x10 bytes for rid 0x20 type 4 at 0xffa0
ata0: channel #0 on atapci0
atapci0: Reserved 0x8 bytes for rid 0x10 type 4 at 0x1f0
atapci0: Reserved 0x1 bytes for rid 0x14 type 4 at 0x3f6
ata0: reset tp1 mask=00 ostat0=ff ostat1=ff
ata0: [MPSAFE]
ata1: channel #1 on atapci0
atapci0: Reserved 0x8 bytes for rid 0x18 type 4 at 0x170
atapci0: Reserved 0x1 bytes for rid 0x1c type 4 at 0x376
ata1: reset tp1 mask=01 ostat0=00 ostat1=ff
ata1-master: stat=0x00 err=0x01 lsb=0x14 msb=0xeb
ata1: reset tp2 stat0=00 stat1=00 devices=0x4<ATAPI_MASTER>
ata1: [MPSAFE]
uhci0: <Intel 82371AB/EB (PIIX4) USB controller> port 0xdce0-0xdcff irq 11 
at device 7.2 on pci0
uhci0: Reserved 0x20 bytes for rid 0x20 type 4 at 0xdce0
uhci0: [GIANT-LOCKED]
usb0: <Intel 82371AB/EB (PIIX4) USB controller> on uhci0
usb0: USB revision 1.0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
pci0: <bridge> at device 7.3 (no driver attached)
fxp0: <Intel 82558 Pro/100 Ethernet> port 0xdcc0-0xdcdf mem 
0xff000000-0xff0fffff,0xfa000000-0xfa000fff irq 10 at device 14.0 on pci0
fxp0: Reserved 0x1000 bytes for rid 0x10 type 3 at 0xfa000000
fxp0: using memory space register mapping
fxp0: PCI IDs: 8086 1229 8086 000a 0005
fxp0: Dynamic Standby mode is disabled
miibus0: <MII bus> on fxp0
inphy0: <i82555 10/100 media interface> on miibus0
inphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
fxp0: bpf attached
fxp0: Ethernet address: 00:a0:c9:af:3e:51
fxp0: [MPSAFE]
pcib2: <ACPI PCI-PCI bridge> at device 15.0 on pci0
pcib2:   secondary bus     2
pcib2:   subordinate bus   2
pcib2:   I/O decode        0xf000-0xfff
pcib2:   memory decode     0xfff00000-0xfffff
pcib2:   prefetched decode 0xfff00000-0xfffff
ACPI PCI link initial configuration:
\\_SB_.LNKA irq  0: [ 3  4  5  6  7  9 10 11 12 15]  0+ low,level,sharable 
2.9.0
\\_SB_.LNKB irq  0: [ 3  4  5  6  7  9 10 11 12 15]  0+ low,level,sharable 
2.9.1
\\_SB_.LNKC irq*10: [ 3  4  5  6  7  9 10 11 12 15] 10+ low,level,sharable 
2.9.2
\\_SB_.LNKD irq*11: [ 3  4  5  6  7  9 10 11 12 15] 11+ low,level,sharable 
2.9.3
\\_SB_.LNKD irq*11: [ 3  4  5  6  7  9 10 11 12 15] 11+ low,level,sharable 
2.10.0
\\_SB_.LNKB irq  0: [ 3  4  5  6  7  9 10 11 12 15]  0+ low,level,sharable 
2.10.1
\\_SB_.LNKA irq  0: [ 3  4  5  6  7  9 10 11 12 15]  0+ low,level,sharable 
2.10.2
\\_SB_.LNKC irq*10: [ 3  4  5  6  7  9 10 11 12 15] 10+ low,level,sharable 
2.10.3
\\_SB_.LNKA irq  0: [ 3  4  5  6  7  9 10 11 12 15]  0+ low,level,sharable 
2.11.0
\\_SB_.LNKC irq*10: [ 3  4  5  6  7  9 10 11 12 15] 10+ low,level,sharable 
2.11.1
\\_SB_.LNKD irq*11: [ 3  4  5  6  7  9 10 11 12 15] 11+ low,level,sharable 
2.11.2
\\_SB_.LNKB irq  0: [ 3  4  5  6  7  9 10 11 12 15]  0+ low,level,sharable 
2.11.3
pci2: <ACPI PCI bus> on pcib2
pci2: physical bus=2
mss_probe: bus acpi0 is probing device pcm1
pnpmss_probe: bus acpi0 is probing device pcm1 lid f0cd041h, vid ffffffffh
pnpmss_probe result 6
mss_probe: bus acpi0 is probing device pcm1
pnpmss_probe: bus acpi0 is probing device pcm1 lid f0cd041h, vid ffffffffh
pnpmss_probe result 6
mss_probe: bus acpi0 is probing device pcm1
pnpmss_probe: bus acpi0 is probing device pcm1 lid f0cd041h, vid ffffffffh
pnpmss_probe result 6
mss_probe: bus acpi0 is probing device pcm1
pnpmss_probe: bus acpi0 is probing device pcm1 lid f0cd041h, vid ffffffffh
pnpmss_probe result 6
mss_probe: bus acpi0 is probing device pcm1
mss_probe: isa_get_logicalid() returned 0!
mss_probe: no address given, try 0x530
mss_detect - chip revision 0x0a
mss_detect() - Detected CS4236
pcm1: <CS4236> port 0x530-0x537 on acpi0
device_attach: pcm1 attach returned 6
mss_probe: bus acpi0 is probing device pcm2
mss_probe: isa_get_logicalid() returned 0!
mss_probe: no address given, try 0x530
mss_detect - chip revision 0x0a
mss_detect() - Detected CS4236
pcm2: <CS4236> port 0x530-0x537 on acpi0
device_attach: pcm2 attach returned 6
mss_probe: bus acpi0 is probing device pcm3
pnpmss_probe: bus acpi0 is probing device pcm3 lid 8d041h, vid ffffffffh
pnpmss_probe result 6
fdc0: <floppy drive controller> port 0x3f7,0x3f0-0x3f5 irq 6 drq 2 on acpi0
fdc0: ic_type 90 part_id 73
fdc0: [MPSAFE]
fdc0: [FAST]
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
atkbdc0: <Keyboard controller (i8042)> port 0x64,0x60 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
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
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
sio0: irq maps: 0x1 0x11 0x1 0x1
sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0
sio0: type 16550A
sio1: irq maps: 0x1 0x9 0x1 0x1
sio1: <16550A-compatible COM port> port 0x2f8-0x2ff irq 3 on acpi0
sio1: type 16550A
ppc0: using extended I/O port range
ppc0: ECP SPP ECP+EPP SPP
ppc0: <ECP parallel printer port> port 0x778-0x77f,0x378-0x37f irq 7 on acpi0
ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
ppc0: FIFO with 16/16/8 bytes threshold
ppbus0: <Parallel port bus> on ppc0
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
ppi0: <Parallel I/O> on ppbus0
mss_probe: bus acpi0 is probing device pcm0
mss_probe: isa_get_logicalid() returned 0!
mss_detect - chip revision 0x0a
mss_detect() - Detected CS4236
pcm0: <CS4236> port 0x530-0x537 on acpi0
device_attach: pcm0 attach returned 6
mss_probe: bus acpi0 is probing device pcm3
pnpmss_probe: bus acpi0 is probing device pcm3 lid f0cd041h, vid ffffffffh
pnpmss_probe result 6
mss_probe: bus acpi0 is probing device pcm3
pnpmss_probe: bus acpi0 is probing device pcm3 lid f0cd041h, vid ffffffffh
pnpmss_probe result 6
mss_probe: bus acpi0 is probing device pcm3
pnpmss_probe: bus acpi0 is probing device pcm3 lid f0cd041h, vid ffffffffh
pnpmss_probe result 6
mss_probe: bus acpi0 is probing device pcm3
pnpmss_probe: bus acpi0 is probing device pcm3 lid f0cd041h, vid ffffffffh
pnpmss_probe result 6
mss_probe: bus acpi0 is probing device pcm1
mss_probe: isa_get_logicalid() returned 0!
mss_detect - chip revision 0x0a
mss_detect() - Detected CS4236
pcm1: <CS4236> port 0x530-0x537 on acpi0
device_attach: pcm1 attach returned 6
mss_probe: bus acpi0 is probing device pcm2
mss_probe: isa_get_logicalid() returned 0!
mss_detect - chip revision 0x0a
mss_detect() - Detected CS4236
pcm2: <CS4236> port 0x530-0x537 on acpi0
device_attach: pcm2 attach returned 6
mss_probe: bus acpi0 is probing device pcm3
pnpmss_probe: bus acpi0 is probing device pcm3 lid 8d041h, vid ffffffffh
pnpmss_probe result 6
ata: ata0 already exists; skipping it
ata: ata1 already exists; skipping it
atkbdc: atkbdc0 already exists; skipping it
fdc: fdc0 already exists; skipping it
ppc: ppc0 already exists; skipping it
sio: sio0 already exists; skipping it
sio: sio1 already exists; skipping it
Trying Read_Port at 203
CSC0000: start dependent (0)
CSC0000: adding dma mask 0xa
CSC0000: adding dma mask 0xb
CSC0000: adding irq mask 0x2a0
CSC0000: adding io range 0x534-0x60b, size=0x4, align=0xd4
CSC0000: adding io range 0x388-0x38b, size=0x4, align=0x8
CSC0000: adding io range 0x220-0x24f, size=0x10, align=0x20
CSC0000: start dependent (1)
CSC0000: adding dma mask 0xb
CSC0000: adding irq mask 0x9aa0
CSC0000: adding io range 0x534-0xfff, size=0x4, align=0x4
CSC0000: adding io range 0x388-0x3f3, size=0x4, align=0x8
CSC0000: adding io range 0x220-0x26f, size=0x10, align=0x10
CSC0000: end dependent
CSC000f: start dependent (0)
CSC000f: adding io range 0x3a0-0x3ff, size=0x8, align=0x8
CSC000f: end dependent
CSC0010: adding io range 0xf00-0xfef, size=0x8, align=0x8
CSC0003: start dependent (0)
CSC0003: adding io range 0x330-0x3f1, size=0x2, align=0x8
CSC0003: end dependent
sc: sc0 already exists; skipping it
vga: vga0 already exists; skipping it
isa_probe_children: disabling PnP devices
isa_probe_children: probing non-PnP devices
orm0: <ISA Option ROMs> at iomem 0xc8000-0xc87ff,0xc0000-0xc7fff on isa0
pmtimer0 on isa0
adv0: not probed (disabled)
aha0: not probed (disabled)
aic0: not probed (disabled)
bt0: not probed (disabled)
cs0: not probed (disabled)
ed0: not probed (disabled)
fe0: not probed (disabled)
ie0: not probed (disabled)
lnc0: not probed (disabled)
pcic0 failed to probe at port 0x3e0 iomem 0xd0000 on isa0
pcic1: not probed (disabled)
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
sc0: fb0, kbd0, terminal emulator: sc (syscons terminal)
sio2: not probed (disabled)
sio3: not probed (disabled)
sn0: not probed (disabled)
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
fb0: vga0, vga, type:VGA (5), flags:0x7007f
fb0: port:0x3c0-0x3df, crtc:0x3d4, mem:0xa0000 0x20000
fb0: init mode:24, bios mode:3, current mode:24
fb0: window:0xc00b8000 size:32k gran:32k, buf:0 size:32k
VGA parameters upon power-up
50 18 10 00 00 00 03 00 02 67 5f 4f 50 82 55 81
bf 1f 00 4f 0d 0e 00 00 07 80 9c 8e 8f 28 1f 96
b9 a3 ff 00 01 02 03 04 05 14 07 38 39 3a 3b 3c
3d 3e 3f 0c 00 0f 08 00 00 00 00 00 10 0e 00 ff
VGA parameters in BIOS for mode 24
50 18 10 00 10 00 03 00 02 67 5f 4f 50 82 55 81
bf 1f 00 4f 0d 0e 00 00 00 00 9c 8e 8f 28 1f 96
b9 a3 ff 00 01 02 03 04 05 14 07 38 39 3a 3b 3c
3d 3e 3f 0c 00 0f 08 00 00 00 00 00 10 0e 00 ff
EGA/VGA parameters to be used for mode 24
50 18 10 00 10 00 03 00 02 67 5f 4f 50 82 55 81
bf 1f 00 4f 0d 0e 00 00 00 00 9c 8e 8f 28 1f 96
b9 a3 ff 00 01 02 03 04 05 14 07 38 39 3a 3b 3c
3d 3e 3f 0c 00 0f 08 00 00 00 00 00 10 0e 00 ff
vt0: not probed (disabled)
isa_probe_children: probing PnP devices
mss_probe: bus isa0 is probing device pcm3
pnpmss_probe: bus isa0 is probing device pcm3 lid 630eh, vid 3568630eh
pnpmss_probe result 0
pcm3: <CS4236B> at port 0x220-0x22f,0x388-0x38b,0x534-0x537 irq 5 drq 0,1 
on isa0
CS4236B X25 reg: ebh
pcm3: [GIANT-LOCKED]
pcm3: sndbuf_setmap ff4000, 1000; 0xcc14e000 -> ff4000
pcm3: sndbuf_setmap ff3000, 1000; 0xcc14f000 -> ff3000
mss_probe: bus isa0 is probing device pcm4
pnpmss_probe: bus isa0 is probing device pcm4 lid f00630eh, vid 3568630eh
pnpmss_probe result 6
unknown: <Game> failed to probe at port 0x3a0-0x3a7 on isa0
mss_probe: bus isa0 is probing device pcm4
pnpmss_probe: bus isa0 is probing device pcm4 lid 1000630eh, vid 3568630eh
pnpmss_probe result 6
unknown: <Ctrl> failed to probe at port 0xf00-0xf07 on isa0
mss_probe: bus isa0 is probing device pcm4
pnpmss_probe: bus isa0 is probing device pcm4 lid 300630eh, vid 3568630eh
pnpmss_probe result 6
unknown: <MPU> failed to probe at port 0x330-0x331 on isa0
Device configuration finished.
procfs registered
Timecounter "TSC" frequency 331109954 Hz quality 800
Timecounters tick every 10.000 msec
lo0: bpf attached
ata1-master: pio=0x0c wdma=0x22 udma=0xffffffff cable=40pin
ata1-master: setting PIO4 on Intel PIIX4 chip
acd0: <TOSHIBA CD-ROM XM-6202B/1108> CDROM drive at ata1 as master
acd0: read 5512KB/s (5512KB/s), 256KB buffer, PIO4
acd0: Reads: CDR, CDRW, CDDA stream
acd0: Writes:
acd0: Audio: play, 255 volume levels
acd0: Mechanism: ejectable tray, unlocked
acd0: Medium: no/blank disc
...
Linux ELF exec handler installed
/dev/sndstat contains:
FreeBSD Audio Driver (newpcm)
Installed devices:
pcm3: <CS4236B> at io 0x534 irq 5 drq 1:0 bufsz 4096 (1p/1r/0v channels duplex)



Here follows the same info but with ACPI disabled in the BIOS

Copyright (c) 1992-2005 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 5.4-RELEASE #21: Sun May 29 15:06:21 CDT 2005
     root_at_server1.quietfountain.com:/usr/obj/usr/src/sys/DISKLESS
Preloaded elf kernel "/boot/kernel/kernel" at 0xc0758000.
Preloaded elf module "/boot/kernel/snd_mss.ko" at 0xc075817c.
Calibrating clock(s) ... i8254 clock: 1193160 Hz
CLK_USE_I8254_CALIBRATION not specified - using default frequency
Timecounter "i8254" frequency 1193182 Hz quality 0
Calibrating TSC clock ... TSC clock: 331109196 Hz
CPU: Pentium II/Pentium II Xeon/Celeron (331.11-MHz 686-class CPU)
   Origin = "GenuineIntel"  Id = 0x650  Stepping = 0
   Features=0x183f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR>
real memory  = 134217728 (128 MB)
Physical memory chunk(s):
0x0000000000001000 - 0x000000000009ffff, 651264 bytes (159 pages)
0x0000000000100000 - 0x00000000003fffff, 3145728 bytes (768 pages)
0x0000000000825000 - 0x0000000007d8ffff, 123121664 bytes (30059 pages)
avail memory = 125890560 (120 MB)
bios32: Found BIOS32 Service Directory header at 0xc00ffe80
bios32: Entry = 0xffe90 (c00ffe90)  Rev = 0  Len = 1
pcibios: PCI BIOS entry at 0xf0000+0xcf4e
pnpbios: Found PnP BIOS data at 0xc00fe2d0
pnpbios: Entry = f0000:e2f4  Rev = 1.0
Other BIOS signatures found:
random: <entropy source, Software, Yarrow>
mem: <memory>
Pentium Pro MTRR support enabled
null: <null device, zero device>
io: <I/O>
npx0: [FAST]
npx0: <math processor> on motherboard
npx0: INT 16 interface
cpu0 on motherboard
pci_open(1):    mode 1 addr port (0x0cf8) is 0x80000064
pci_open(1a):   mode1res=0x80000000 (0x80000000)
pci_cfgcheck:   device 0 [class=060000] [hdr=00] is there (id=71808086)
pcibios: BIOS version 2.10
Found $PIR table, 8 entries at 0xc00fcaf0
PCI-Only Interrupts: none
Location  Bus Device Pin  Link  IRQs
embedded    0    7    A   0x64  14
embedded    0    7    B   0x65  15
embedded    0    7    D   0x63  3 4 5 6 7 9 10 11 12 14 15
embedded    0    0    A   0x60  3 4 5 6 7 9 10 11 12 14 15
embedded    0    0    B   0x61  3 4 5 6 7 9 10 11 12 14 15
embedded    0    0    C   0x62  3 4 5 6 7 9 10 11 12 14 15
embedded    0    0    D   0x63  3 4 5 6 7 9 10 11 12 14 15
embedded    0   17    A   0x63  3 4 5 6 7 9 10 11 12 14 15
slot 1      0   14    A   0x62  3 4 5 6 7 9 10 11 12 14 15
slot 1      0   14    B   0x63  3 4 5 6 7 9 10 11 12 14 15
slot 1      0   14    C   0x61  3 4 5 6 7 9 10 11 12 14 15
slot 1      0   14    D   0x60  3 4 5 6 7 9 10 11 12 14 15
slot 2      0   13    A   0x61  3 4 5 6 7 9 10 11 12 14 15
slot 2      0   13    B   0x60  3 4 5 6 7 9 10 11 12 14 15
slot 2      0   13    C   0x62  3 4 5 6 7 9 10 11 12 14 15
slot 2      0   13    D   0x63  3 4 5 6 7 9 10 11 12 14 15
slot 3      2    9    A   0x60  3 4 5 6 7 9 10 11 12 14 15
slot 3      2    9    B   0x61  3 4 5 6 7 9 10 11 12 14 15
slot 3      2    9    C   0x62  3 4 5 6 7 9 10 11 12 14 15
slot 3      2    9    D   0x63  3 4 5 6 7 9 10 11 12 14 15
slot 4      2   10    A   0x63  3 4 5 6 7 9 10 11 12 14 15
slot 4      2   10    B   0x61  3 4 5 6 7 9 10 11 12 14 15
slot 4      2   10    C   0x60  3 4 5 6 7 9 10 11 12 14 15
slot 4      2   10    D   0x62  3 4 5 6 7 9 10 11 12 14 15
slot 5      2   11    A   0x60  3 4 5 6 7 9 10 11 12 14 15
slot 5      2   11    B   0x62  3 4 5 6 7 9 10 11 12 14 15
slot 5      2   11    C   0x63  3 4 5 6 7 9 10 11 12 14 15
slot 5      2   11    D   0x61  3 4 5 6 7 9 10 11 12 14 15
pcib0: <Intel 82443LX (440 LX) host to PCI bridge> pcibus 0 on motherboard
pir0: <PCI Interrupt Routing Table: 8 Entries> on motherboard
$PIR: Links after initial probe:
Link  IRQ  Rtd  Ref  IRQs
0x64  255   N     1  14
0x65  255   N     1  15
0x63  255   N     8  3 4 5 6 7 9 10 11 12 14 15
0x60  255   N     6  3 4 5 6 7 9 10 11 12 14 15
0x61  255   N     6  3 4 5 6 7 9 10 11 12 14 15
0x62  255   N     6  3 4 5 6 7 9 10 11 12 14 15
$PIR: Found matching pin for 0.7.INTD at func 2: 11
$PIR: Found matching pin for 0.14.INTA at func 0: 10
$PIR: Links after initial IRQ discovery:
Link  IRQ  Rtd  Ref  IRQs
0x64   14   N     1  14
0x65   15   N     1  15
0x63   11   Y     8  3 4 5 6 7 9 10 11 12 14 15
0x60  255   N     6  3 4 5 6 7 9 10 11 12 14 15
0x61  255   N     6  3 4 5 6 7 9 10 11 12 14 15
0x62   10   Y     6  3 4 5 6 7 9 10 11 12 14 15
$PIR: IRQs used by BIOS: 10 11 14 15
$PIR: Interrupt Weights:
[    0   1   2   3   4   5   6   7   8   9  10  11  12  13  14  15 ]
[    0   0   0   0   0   0   0   0   0   0   6   8   0   0   1   1 ]
pci0: <PCI bus> on pcib0
pci0: physical bus=0
         map[10]: type 3, range 32, base f4000000, size 26, enabled
found-> vendor=0x8086, dev=0x7180, revid=0x03
         bus=0, slot=0, func=0
         class=06-00-00, hdrtype=0x00, mfdev=0
         cmdreg=0x0106, statreg=0x2290, cachelnsz=0 (dwords)
         lattimer=0x20 (960 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
found-> vendor=0x8086, dev=0x7181, revid=0x03
         bus=0, slot=1, func=0
         class=06-04-00, hdrtype=0x01, mfdev=0
         cmdreg=0x010f, statreg=0x02a0, cachelnsz=0 (dwords)
         lattimer=0x20 (960 ns), mingnt=0x0a (2500 ns), maxlat=0x00 (0 ns)
found-> vendor=0x8086, dev=0x7110, revid=0x01
         bus=0, slot=7, func=0
         class=06-01-00, hdrtype=0x00, mfdev=1
         cmdreg=0x000f, statreg=0x0280, cachelnsz=0 (dwords)
         lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
         map[20]: type 4, range 32, base 0000ffa0, size  4, enabled
found-> vendor=0x8086, dev=0x7111, revid=0x01
         bus=0, slot=7, func=1
         class=01-01-80, hdrtype=0x00, mfdev=0
         cmdreg=0x0005, statreg=0x0280, cachelnsz=0 (dwords)
         lattimer=0x20 (960 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
         map[20]: type 4, range 32, base 0000dce0, size  5, enabled
$PIR: 0:7 INTD routed to irq 11
found-> vendor=0x8086, dev=0x7112, revid=0x01
         bus=0, slot=7, func=2
         class=0c-03-00, hdrtype=0x00, mfdev=0
         cmdreg=0x0005, statreg=0x0280, cachelnsz=0 (dwords)
         lattimer=0x20 (960 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
         intpin=d, irq=11
         map[90]: type 4, range 32, base 00000850, size  4, enabled
found-> vendor=0x8086, dev=0x7113, revid=0x01
         bus=0, slot=7, func=3
         class=06-80-00, hdrtype=0x00, mfdev=0
         cmdreg=0x0001, statreg=0x0280, cachelnsz=0 (dwords)
         lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
         map[10]: type 3, range 32, base fa000000, size 12, enabled
         map[14]: type 4, range 32, base 0000dcc0, size  5, enabled
         map[18]: type 1, range 32, base ff000000, size 20, enabled
$PIR: 0:14 INTA routed to irq 10
found-> vendor=0x8086, dev=0x1229, revid=0x05
         bus=0, slot=14, func=0
         class=02-00-00, hdrtype=0x00, mfdev=0
         cmdreg=0x0117, statreg=0x0290, cachelnsz=8 (dwords)
         lattimer=0x20 (960 ns), mingnt=0x08 (2000 ns), maxlat=0x38 (14000 ns)
         intpin=a, irq=10
         powerspec 1  supports D0 D1 D2 D3  current D0
found-> vendor=0x1011, dev=0x0024, revid=0x03
         bus=0, slot=15, func=0
         class=06-04-00, hdrtype=0x01, mfdev=0
         cmdreg=0x0107, statreg=0x0290, cachelnsz=8 (dwords)
         lattimer=0x20 (960 ns), mingnt=0x02 (500 ns), maxlat=0x00 (0 ns)
agp0: <Intel 82443LX (440 LX) host to PCI bridge> mem 0xf4000000-0xf7ffffff 
at device 0.0 on pci0
agp0: Reserved 0x4000000 bytes for rid 0x10 type 3 at 0xf4000000
agp0: allocating GATT for aperture of size 64M
pcib1: <PCI-PCI bridge> at device 1.0 on pci0
pcib1:   secondary bus     1
pcib1:   subordinate bus   1
pcib1:   I/O decode        0xe000-0xefff
pcib1:   memory decode     0xfc000000-0xfeffffff
pcib1:   prefetched decode 0xf9000000-0xf9ffffff
pci1: <PCI bus> on pcib1
pci1: physical bus=1
         map[10]: type 1, range 32, base fd000000, size 24, enabled
pcib1: device (null) requested decoded memory range 0xfd000000-0xfdffffff
         map[14]: type 4, range 32, base 0000ec00, size  8, enabled
pcib1: device (null) requested decoded I/O range 0xec00-0xecff
         map[18]: type 1, range 32, base fcfff000, size 12, enabled
pcib1: device (null) requested decoded memory range 0xfcfff000-0xfcffffff
found-> vendor=0x1002, dev=0x4744, revid=0x5c
         bus=1, slot=0, func=0
         class=03-00-00, hdrtype=0x00, mfdev=0
         cmdreg=0x0083, statreg=0x0290, cachelnsz=8 (dwords)
         lattimer=0x20 (960 ns), mingnt=0x08 (2000 ns), maxlat=0x00 (0 ns)
pci1: <display, VGA> at device 0.0 (no driver attached)
isab0: <PCI-ISA bridge> at device 7.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel PIIX4 UDMA33 controller> port 
0xffa0-0xffaf,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 7.1 on pci0
atapci0: Reserved 0x10 bytes for rid 0x20 type 4 at 0xffa0
ata0: channel #0 on atapci0
atapci0: Reserved 0x8 bytes for rid 0x10 type 4 at 0x1f0
atapci0: Reserved 0x1 bytes for rid 0x14 type 4 at 0x3f6
ata0: reset tp1 mask=00 ostat0=ff ostat1=ff
ata0: [MPSAFE]
ata1: channel #1 on atapci0
atapci0: Reserved 0x8 bytes for rid 0x18 type 4 at 0x170
atapci0: Reserved 0x1 bytes for rid 0x1c type 4 at 0x376
ata1: reset tp1 mask=01 ostat0=00 ostat1=ff
ata1-master: stat=0x00 err=0x01 lsb=0x14 msb=0xeb
ata1: reset tp2 stat0=00 stat1=00 devices=0x4<ATAPI_MASTER>
ata1: [MPSAFE]
uhci0: <Intel 82371AB/EB (PIIX4) USB controller> port 0xdce0-0xdcff irq 11 
at device 7.2 on pci0
uhci0: Reserved 0x20 bytes for rid 0x20 type 4 at 0xdce0
uhci0: [GIANT-LOCKED]
usb0: <Intel 82371AB/EB (PIIX4) USB controller> on uhci0
usb0: USB revision 1.0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
pci0: <bridge> at device 7.3 (no driver attached)
fxp0: <Intel 82558 Pro/100 Ethernet> port 0xdcc0-0xdcdf mem 
0xff000000-0xff0fffff,0xfa000000-0xfa000fff irq 10 at device 14.0 on pci0
fxp0: Reserved 0x1000 bytes for rid 0x10 type 3 at 0xfa000000
fxp0: using memory space register mapping
fxp0: PCI IDs: 8086 1229 8086 000a 0005
fxp0: Dynamic Standby mode is disabled
miibus0: <MII bus> on fxp0
inphy0: <i82555 10/100 media interface> on miibus0
inphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
fxp0: bpf attached
fxp0: Ethernet address: 00:a0:c9:af:3e:51
fxp0: [MPSAFE]
pcib2: <PCIBIOS PCI-PCI bridge> at device 15.0 on pci0
pcib2:   secondary bus     2
pcib2:   subordinate bus   2
pcib2:   I/O decode        0xf000-0xfff
pcib2:   memory decode     0xfff00000-0xfffff
pcib2:   prefetched decode 0xfff00000-0xfffff
pci2: <PCI bus> on pcib2
pci2: physical bus=2
ata: ata0 already exists; skipping it
ata: ata1 already exists; skipping it
Trying Read_Port at 203
CSC0000: start dependent (0)
CSC0000: adding dma mask 0xa
CSC0000: adding dma mask 0xb
CSC0000: adding irq mask 0x2a0
CSC0000: adding io range 0x534-0x60b, size=0x4, align=0xd4
CSC0000: adding io range 0x388-0x38b, size=0x4, align=0x8
CSC0000: adding io range 0x220-0x24f, size=0x10, align=0x20
CSC0000: start dependent (1)
CSC0000: adding dma mask 0xb
CSC0000: adding irq mask 0x9aa0
CSC0000: adding io range 0x534-0xfff, size=0x4, align=0x4
CSC0000: adding io range 0x388-0x3f3, size=0x4, align=0x8
CSC0000: adding io range 0x220-0x26f, size=0x10, align=0x10
CSC0000: end dependent
CSC000f: start dependent (0)
CSC000f: adding io range 0x3a0-0x3ff, size=0x8, align=0x8
CSC000f: end dependent
CSC0010: adding io range 0xf00-0xfef, size=0x8, align=0x8
CSC0003: start dependent (0)
CSC0003: adding io range 0x330-0x3f1, size=0x2, align=0x8
CSC0003: end dependent
pnpbios: 14 devices, largest 248 bytes
PNP0c01: adding fixed memory32 range 0-0x9ffff, size=0xa0000
PNP0c01: adding fixed memory32 range 0x100000-0x7ffffff, size=0x7f00000
PNP0c01: adding fixed memory32 range 0xffe00000-0xffffffff, size=0x200000
PNP0c01: adding fixed memory32 range 0xf0000-0xfffff, size=0x10000
PNP0c01: adding io range 0x800-0x83f, size=0x40, align=0x1
PNP0c01: adding io range 0x850-0x85f, size=0x10, align=0x1
PNP0c01: adding io range 0x62-0x63, size=0x2, align=0x1
PNP0c01: adding io range 0x65-0x6f, size=0xb, align=0x1
PNP0c01: adding io range 0xe0-0xef, size=0x10, align=0x1
pnpbios: handle 0 device ID PNP0c01 (010cd041)
PNP0501: adding irq mask 0x10
PNP0501: adding io range 0x3f8-0x3ff, size=0x8, align=0x8
pnpbios: handle 1 device ID PNP0501 (0105d041)
PNP0501: adding irq mask 0x8
PNP0501: adding io range 0x2f8-0x2ff, size=0x8, align=0x8
pnpbios: handle 2 device ID PNP0501 (0105d041)
PNP0401: adding irq mask 0x80
PNP0401: adding io range 0x378-0x37f, size=0x8, align=0x8
PNP0401: adding io range 0x778-0x77b, size=0x4, align=0x8
pnpbios: handle 3 device ID PNP0401 (0104d041)
PNP0700: adding irq mask 0x40
PNP0700: adding io range 0x3f0-0x3f5, size=0x6, align=0x8
PNP0700: adding dma mask 0x4
pnpbios: handle 4 device ID PNP0700 (0007d041)
PNP0f13: adding irq mask 0x1000
pnpbios: handle 5 device ID PNP0f13 (130fd041)
PNP0a03: adding io range 0xcf8-0xcff, size=0x8, align=0x1
pnpbios: handle 6 device ID PNP0a03 (030ad041)
PNP0100: adding irq mask 0x1
PNP0100: adding io range 0x40-0x5f, size=0x20, align=0x1
pnpbios: handle 9 device ID PNP0100 (0001d041)
PNP0200: adding io range 0x80-0x9f, size=0x20, align=0x1
PNP0200: adding io range 0-0x1f, size=0x20, align=0x1
PNP0200: adding io range 0xc0-0xdf, size=0x20, align=0x1
PNP0200: adding dma mask 0x10
pnpbios: handle 10 device ID PNP0200 (0002d041)
PNP0303: adding irq mask 0x2
PNP0303: adding io range 0x60-0x60, size=0x1, align=0x1
PNP0303: adding io range 0x64-0x64, size=0x1, align=0x1
pnpbios: handle 11 device ID PNP0303 (0303d041)
PNP0800: adding io range 0x61-0x61, size=0x1, align=0x1
pnpbios: handle 12 device ID PNP0800 (0008d041)
PNP0b00: adding irq mask 0x100
PNP0b00: adding io range 0x70-0x7f, size=0x10, align=0x1
pnpbios: handle 13 device ID PNP0b00 (000bd041)
PNP0c04: adding irq mask 0x2000
PNP0c04: adding io range 0xf0-0xff, size=0x10, align=0x1
pnpbios: handle 14 device ID PNP0c04 (040cd041)
sc: sc0 already exists; skipping it
vga: vga0 already exists; skipping it
isa_probe_children: disabling PnP devices
isa_probe_children: probing non-PnP devices
orm0: <ISA Option ROMs> at iomem 0xc8000-0xc87ff,0xc0000-0xc7fff on isa0
pmtimer0 on isa0
adv0: not probed (disabled)
aha0: not probed (disabled)
aic0: not probed (disabled)
atkbdc0: <Keyboard controller (i8042)> at port 0x64,0x60 on isa0
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
atkbd0: [GIANT-LOCKED]
psm0: current command byte:0065
psm0: <PS/2 Mouse> irq 12 on atkbdc0
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
bt0: not probed (disabled)
cs0: not probed (disabled)
ed0: not probed (disabled)
fdc0: ic_type 90 part_id 73
fdc0: <Enhanced floppy controller> at port 0x3f0-0x3f5 irq 6 drq 2 on isa0
fdc0: ic_type 90 part_id 73
fdc0: [MPSAFE]
fdc0: [FAST]
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
fe0: not probed (disabled)
ie0: not probed (disabled)
lnc0: not probed (disabled)
pcic0 failed to probe at port 0x3e0 iomem 0xd0000 on isa0
pcic1: not probed (disabled)
ppc0: parallel port found at 0x378
ppc0: using extended I/O port range
ppc0: ECP SPP ECP+EPP SPP
ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0
ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
ppc0: FIFO with 16/16/8 bytes threshold
ppbus0: <Parallel port bus> on ppc0
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
ppi0: <Parallel I/O> on ppbus0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
sc0: fb0, kbd0, terminal emulator: sc (syscons terminal)
sio0: irq maps: 0x21 0x31 0x21 0x21
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A
sio1: irq maps: 0x21 0x29 0x21 0x21
sio1 at port 0x2f8-0x2ff irq 3 on isa0
sio1: type 16550A
sio2: not probed (disabled)
sio3: not probed (disabled)
sn0: not probed (disabled)
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
fb0: vga0, vga, type:VGA (5), flags:0x7007f
fb0: port:0x3c0-0x3df, crtc:0x3d4, mem:0xa0000 0x20000
fb0: init mode:24, bios mode:3, current mode:24
fb0: window:0xc00b8000 size:32k gran:32k, buf:0 size:32k
VGA parameters upon power-up
50 18 10 00 00 00 03 00 02 67 5f 4f 50 82 55 81
bf 1f 00 4f 0d 0e 00 00 07 80 9c 8e 8f 28 1f 96
b9 a3 ff 00 01 02 03 04 05 14 07 38 39 3a 3b 3c
3d 3e 3f 0c 00 0f 08 00 00 00 00 00 10 0e 00 ff
VGA parameters in BIOS for mode 24
50 18 10 00 10 00 03 00 02 67 5f 4f 50 82 55 81
bf 1f 00 4f 0d 0e 00 00 00 00 9c 8e 8f 28 1f 96
b9 a3 ff 00 01 02 03 04 05 14 07 38 39 3a 3b 3c
3d 3e 3f 0c 00 0f 08 00 00 00 00 00 10 0e 00 ff
EGA/VGA parameters to be used for mode 24
50 18 10 00 10 00 03 00 02 67 5f 4f 50 82 55 81
bf 1f 00 4f 0d 0e 00 00 00 00 9c 8e 8f 28 1f 96
b9 a3 ff 00 01 02 03 04 05 14 07 38 39 3a 3b 3c
3d 3e 3f 0c 00 0f 08 00 00 00 00 00 10 0e 00 ff
vt0: not probed (disabled)
isa_probe_children: probing PnP devices
mss_probe: bus isa0 is probing device pcm0
pnpmss_probe: bus isa0 is probing device pcm0 lid 630eh, vid 3568630eh
pnpmss_probe result 0
pcm0: <CS4236B> at port 0x220-0x22f,0x388-0x38b,0x534-0x537 irq 5 drq 0,1 
on isa0
CS4236B X25 reg: ebh
pcm0: [GIANT-LOCKED]
pcm0: sndbuf_setmap ff4000, 1000; 0xcc14a000 -> ff4000
pcm0: sndbuf_setmap ff3000, 1000; 0xcc14b000 -> ff3000
mss_probe: bus isa0 is probing device pcm1
pnpmss_probe: bus isa0 is probing device pcm1 lid f00630eh, vid 3568630eh
pnpmss_probe result 6
unknown: <Game> failed to probe at port 0x3a0-0x3a7 on isa0
mss_probe: bus isa0 is probing device pcm1
pnpmss_probe: bus isa0 is probing device pcm1 lid 1000630eh, vid 3568630eh
pnpmss_probe result 6
unknown: <Ctrl> failed to probe at port 0xf00-0xf07 on isa0
mss_probe: bus isa0 is probing device pcm1
pnpmss_probe: bus isa0 is probing device pcm1 lid 300630eh, vid 3568630eh
pnpmss_probe result 6
unknown: <MPU> failed to probe at port 0x330-0x331 on isa0
unknown: <PNP0c01> can't assign resources (port)
unknown: <PNP0c01> at port 0x850-0x85f,0x800-0x83f iomem 
0xf0000-0xfffff,0xffe00000-0xffffffff,0x100000-0x7ffffff,0-0x9ffff on isa0
unknown: <PNP0501> can't assign resources (port)
unknown: <PNP0501> at port 0x3f8-0x3ff on isa0
unknown: <PNP0501> can't assign resources (port)
unknown: <PNP0501> at port 0x2f8-0x2ff on isa0
unknown: <PNP0401> can't assign resources (port)
unknown: <PNP0401> at port 0x378-0x37f on isa0
unknown: <PNP0700> can't assign resources (port)
unknown: <PNP0700> at port 0x3f0-0x3f5 on isa0
unknown: <PNP0f13> can't assign resources (irq)
unknown: <PNP0f13> at irq 12 on isa0
unknown: <PNP0303> can't assign resources (port)
unknown: <PNP0303> at port 0x60 on isa0
mss_probe: bus isa0 is probing device pcm1
pnpmss_probe: bus isa0 is probing device pcm1 lid 8d041h, vid 8d041h
pnpmss_probe result 6
unknown: <PNP0800> failed to probe at port 0x61 on isa0
Device configuration finished.
procfs registered
Timecounter "TSC" frequency 331109196 Hz quality 800
Timecounters tick every 10.000 msec
lo0: bpf attached
ata1-master: pio=0x0c wdma=0x22 udma=0xffffffff cable=40pin
ata1-master: setting PIO4 on Intel PIIX4 chip
acd0: <TOSHIBA CD-ROM XM-6202B/1108> CDROM drive at ata1 as master
acd0: read 5512KB/s (5512KB/s), 256KB buffer, PIO4
acd0: Reads: CDR, CDRW, CDDA stream
acd0: Writes:
acd0: Audio: play, 255 volume levels
acd0: Mechanism: ejectable tray, unlocked
acd0: Medium: no/blank disc
...DHCP stuff deleted
Linux ELF exec handler installed

cat of /dev/sndstat

FreeBSD Audio Driver (newpcm)
Installed devices:
pcm0: <CS4236B> at io 0x534 irq 5 drq 1:0 bufsz 4096 (1p/1r/0v channels 
duplex default)

Hope this helps

Harry




At 01:58 PM 7/11/2005 -0400, John Baldwin wrote:
>On Monday 11 July 2005 01:30 pm, Harry Coin wrote:
> > John,
> >
> > The verbose dmesg doesn't tell you enough.  What was needed was debug
> > writes in the pnp and non pnp  mss.c probe routines that displayed the
> > parent device id and the probed device id.  That solved it because there
> > you could see the acpi parent calling the non-pnp isa mss probe routine
> > (mss_probe) which would _accept_ the probe, wrongly, on a few various
> > attempts, only to have the non pnp mss_attach fail for lack of resources.
>
>Well, that would be helpful to see as well. :)  It would be helpful to dump
>the name of the parent device via device_get_nameunit(device_get_parent(dev))
>if you aren't already.
>
> > I haven't looked into the newbus logic enough to know for sure but my hunch
> > is that the current mss.c call to detect pnp and so avoid to use the non
> > pnp probe code (isa_get_logicalid) didn't get mapped through the
> > acpi_isa_xxx but instead the isa routine directly-- which returned a zero
> > in the context of an ACPI parent bus-- signaling not-a-pnp device -- while
> > the acpi version would not have done.  Hence the directive in the manual to
> > use the ISA_PNP_PROBE even on non-PNP probe routines.
>
>Well, isa_get_logicalid() just asks the parent device for the ISA logical ID
>IVAR which maps to a call to bus_read_ivar().  For the non-ACPI case, it is
>implemented by returning the id read by the PnP code in in isa_read_ivar() in
>sys/isa/isa_common.c.  However, for devices that are children of acpi0, they
>call acpi_read_ivar() which does end up calling acpi_isa_get_logicalid():
>
>static int
>acpi_read_ivar(device_t dev, device_t child, int index, uintptr_t *result)
>{
>     ...
>     case ISA_IVAR_LOGICALID:
>         *(int *)result = acpi_isa_get_logicalid(child);
>         break;
>     ...
>     return (0);
>}
>
>So, you see, isa_get_logicalid() should work fine, and it's actually 
>something
>that many ISA device drivers use to avoid probing PnP devices, so the root
>problem needs to be fixed if acpi_isa_get_logicalid() has a bug.
>
>--
>John Baldwin <jhb_at_FreeBSD.org>  <><  http://www.FreeBSD.org/~jhb/
>"Power Users Use the Power to Serve"  =  http://www.FreeBSD.org
Received on Mon Jul 11 2005 - 17:04:05 UTC

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