From nobody@FreeBSD.org  Sat Aug  4 23:28:35 2001
Return-Path: <nobody@FreeBSD.org>
Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21])
	by hub.freebsd.org (Postfix) with ESMTP id 6F28237B401
	for <freebsd-gnats-submit@FreeBSD.org>; Sat,  4 Aug 2001 23:28:35 -0700 (PDT)
	(envelope-from nobody@FreeBSD.org)
Received: (from nobody@localhost)
	by freefall.freebsd.org (8.11.4/8.11.4) id f756SZ751325;
	Sat, 4 Aug 2001 23:28:35 -0700 (PDT)
	(envelope-from nobody)
Message-Id: <200108050628.f756SZ751325@freefall.freebsd.org>
Date: Sat, 4 Aug 2001 23:28:35 -0700 (PDT)
From: Tomohiro Ishihara <sho@sfc.wide.ad.jp>
To: freebsd-gnats-submit@FreeBSD.org
Subject: Can't probe NeoMagic 256AX audio chip.
X-Send-Pr-Version: www-1.0

>Number:         29465
>Category:       kern
>Synopsis:       [sound] Can't probe NeoMagic 256AX audio chip.
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-multimedia
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Aug 04 23:30:00 PDT 2001
>Closed-Date:    Sun Sep 11 17:31:23 GMT 2005
>Last-Modified:  Sun Sep 11 17:31:23 GMT 2005
>Originator:     Tomohiro Ishihara
>Release:        4.4-PRERELEASE
>Organization:
KEIO University
>Environment:
FreeBSD LED 4.4-PRERELEASE FreeBSD 4.4-PRERELEASE #28:
Sun Aug  5 14:19:12 JST 2001     
sho@LED:/usr/src/sys/compile/NewKern  i386

Machine: Panasonic CF-M2
>Description:
I get impossible to use sound since modification was added to code of neomagic on August 1.

So I did comment out of all one if paragrapgs after "/* Try to catch other non-ac97 cards*/"
in neomagic.c . Then It can probe, but it is indicated with "play interrupt timeout, channel
dead" when I will play audio.

I show one part of a thing indicated with dmesg and pciconf -l in the following

--
...
pci1: <PCI bus> on pcib1
pci1: <NeoMagic MagicMedia 256AV SVGA controller> at 0.0 irq 10
chip1: <NeoMagic MagicMedia 256AX Audio controller> mem 0xdd300000-0xdd3fffff,0x
ddc00000-0xddffffff irq 10 at device 0.1 on pci1
...
--
...
none2@pci1:0:0: class=0x030000 card=0x832e10f7 chip=0x000510c8 rev=0x20 hdr=0x00
chip1@pci1:0:1: class=0x040100 card=0x832e10f7 chip=0x800510c8 rev=0x20 hdr=0x00


>How-To-Repeat:
Every time in boot.
>Fix:
no idea.
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->sound 
Responsible-Changed-By: greid 
Responsible-Changed-When: Sun Aug 5 09:06:56 PDT 2001 
Responsible-Changed-Why:  
Sound issue 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=29465 

From: greid@FreeBSD.org
To: Tomohiro Ishihara <sho@sfc.wide.ad.jp>
Cc: freebsd-gnats-submit@FreeBSD.org
Subject: Re: kern/29465: Can't probe NeoMagic 256AX audio chip.
Date: Sun, 5 Aug 2001 17:12:21 +0100

 Please re-add the block you commented out and send the full dmesg output 
 of a verbose boot (``boot -v'').
 
 -- 
 +-------------------+---------------------+
 |    George Reid    |  FreeBSD Committer  |
 |  +44 7740 197460  |  greid@FreeBSD.org  |
 +-------------------+---------------------+

From: Tomohiro Ishihara <sho-red@ff.iij4u.or.jp>
To: greid@FreeBSD.org
Cc: freebsd-gnats-submit@FreeBSD.org
Subject: Re: kern/29465: Can't probe NeoMagic 256AX audio chip.
Date: Mon, 6 Aug 2001 08:09:16 +0900

 > Please re-add the block you commented out and send the full dmesg output
 > of a verbose boot (``boot -v'').
 
 I commented out the following parts.
 
 ---
         /* Try to catch other non-ac97 cards */
 
         if (i == NUM_BADCARDS) {
             if (!(sc = malloc(sizeof(*sc), M_DEVBUF, M_NOWAIT | M_ZERO))) {
                 device_printf(dev, "cannot allocate softc\n");
                 return ENXIO;
             }
 
             data = pci_read_config(dev, PCIR_COMMAND, 2);
             pci_write_config(dev, PCIR_COMMAND, data |
                      PCIM_CMD_PORTEN | PCIM_CMD_MEMEN |
                      PCIM_CMD_BUSMASTEREN, 2);
    
             sc->regid = PCIR_MAPS + 4;
             sc->reg = bus_alloc_resource(dev, SYS_RES_MEMORY,
                              &sc->regid, 0, ~0, 1,
                              RF_ACTIVE);
    
             if (!sc->reg) {
                 device_printf(dev, "unable to map register space\n");
                 pci_write_config(dev, PCIR_COMMAND, data, 2);
                 free(sc, M_DEVBUF);
                 return ENXIO;
             }
    
             if ((nm_rd(sc, NM_MIXER_PRESENCE, 2) &
                 NM_PRESENCE_MASK) != NM_PRESENCE_VALUE) {
                 i = 0;  /* non-ac97 card, but not listed */
                 DEB(device_printf(dev, "subdev = 0x%x - badcard?\n",
                     subdev));
             }
             pci_write_config(dev, PCIR_COMMAND, data, 2);
             bus_release_resource(dev, SYS_RES_MEMORY, sc->regid,
                          sc->reg);
             free(sc, M_DEVBUF);
         }
 ---
 
 This is output of dmesg when I didn't comment out the above.
 
 ---
 Copyright (c) 1992-2001 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 4.4-PRERELEASE #28: Sun Aug  5 14:19:12 JST 2001
     sho@LED:/usr/src/sys/compile/NewKern
 Calibrating clock(s) ... TSC clock: 645220357 Hz, i8254 clock: 1193217 Hz
 CLK_USE_I8254_CALIBRATION not specified - using default frequency
 Timecounter "i8254"  frequency 1193182 Hz
 CLK_USE_TSC_CALIBRATION not specified - using old calibration method
 CPU: Pentium III/Pentium III Xeon/Celeron (645.20-MHz 686-class CPU)
   Origin = "GenuineIntel"  Id = 0x683  Stepping = 3
   Features=0x383f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE>
 real memory  = 201261056 (196544K bytes)
 Physical memory chunk(s):
 0x00001000 - 0x0009efff, 647168 bytes (158 pages)
 0x004eb000 - 0x0bfe7fff, 196071424 bytes (47869 pages)
 avail memory = 190947328 (186472K bytes)
 bios32: Found BIOS32 Service Directory header at 0xc00f6cf0
 bios32: Entry = 0xfd890 (c00fd890)  Rev = 0  Len = 1
 pcibios: PCI BIOS entry at 0x13d
 pnpbios: Found PnP BIOS data at 0xc00f6d20
 pnpbios: Entry = f0000:a5f3  Rev = 1.0
 Other BIOS signatures found:
 ACPI: 000f6cb0
 Preloaded elf kernel "kernel" at 0xc04c5000.
 Pentium Pro MTRR support enabled
 md0: Malloc disk
 Creating DISK md0
 Math emulator present
 pci_open(1):	mode 1 addr port (0x0cf8) is 0x80003904
 pci_open(1a):	mode1res=0x80000000 (0x80000000)
 pci_cfgcheck:	device 0 [class=060000] [hdr=00] is there (id=71908086)
 apm0: <APM BIOS> on motherboard
 apm: found APM BIOS v1.2, connected at v1.2
 npx0: <math processor> on motherboard
 npx0: INT 16 interface
 pci_open(1):	mode 1 addr port (0x0cf8) is 0x00000000
 pci_open(1a):	mode1res=0x80000000 (0x80000000)
 pci_cfgcheck:	device 0 [class=060000] [hdr=00] is there (id=71908086)
 pcib0: <Intel 82443BX (440 BX) host to PCI bridge> on motherboard
 found->	vendor=0x8086, dev=0x7190, revid=0x03
 	class=06-00-00, hdrtype=0x00, mfdev=0
 	subordinatebus=0 	secondarybus=0
 	map[10]: type 1, range 32, base dd800000, size 22
 found->	vendor=0x8086, dev=0x7191, revid=0x03
 	class=06-04-00, hdrtype=0x01, mfdev=0
 	subordinatebus=1 	secondarybus=1
 found->	vendor=0x10f7, dev=0x8317, revid=0x02
 	class=07-80-00, hdrtype=0x00, mfdev=0
 	subordinatebus=0 	secondarybus=0
 	intpin=a, irq=9
 	map[10]: type 1, range 32, base 00001080, size  7
 found->	vendor=0x8086, dev=0x7110, revid=0x02
 	class=06-01-00, hdrtype=0x00, mfdev=1
 	subordinatebus=0 	secondarybus=0
 found->	vendor=0x8086, dev=0x7111, revid=0x01
 	class=01-01-80, hdrtype=0x00, mfdev=0
 	subordinatebus=0 	secondarybus=0
 	map[20]: type 1, range 32, base 00001050, size  4
 found->	vendor=0x8086, dev=0x7112, revid=0x01
 	class=0c-03-00, hdrtype=0x00, mfdev=0
 	subordinatebus=0 	secondarybus=0
 	intpin=d, irq=10
 	map[20]: type 1, range 32, base 0000fc20, size  5
 found->	vendor=0x8086, dev=0x7113, revid=0x03
 	class=06-80-00, hdrtype=0x00, mfdev=0
 	subordinatebus=0 	secondarybus=0
 	map[90]: type 1, range 32, base 00001040, size  4
 found->	vendor=0x134d, dev=0x7890, revid=0x02
 	class=07-03-01, hdrtype=0x00, mfdev=0
 	subordinatebus=0 	secondarybus=0
 	intpin=a, irq=9
 	map[10]: type 1, range 32, base 00001400, size  6
 found->	vendor=0x1180, dev=0x0476, revid=0x80
 	class=06-07-00, hdrtype=0x02, mfdev=1
 	subordinatebus=2 	secondarybus=2
 	intpin=a, irq=10
 found->	vendor=0x1180, dev=0x0476, revid=0x80
 	class=06-07-00, hdrtype=0x02, mfdev=1
 	subordinatebus=3 	secondarybus=3
 	intpin=b, irq=10
 found->	vendor=0x8086, dev=0x1229, revid=0x08
 	class=02-00-00, hdrtype=0x00, mfdev=0
 	subordinatebus=0 	secondarybus=0
 	intpin=a, irq=9
 	map[10]: type 1, range 32, base dd100000, size 12
 	map[14]: type 1, range 32, base 00001440, size  6
 	map[18]: type 1, range 32, base dd000000, size 20
 pci0: <PCI bus> on pcib0
 pcib1: <Intel 82443BX (440 BX) PCI-PCI (AGP) bridge> at device 1.0 on pci0
 found->	vendor=0x10c8, dev=0x0005, revid=0x20
 	class=03-00-00, hdrtype=0x00, mfdev=1
 	subordinatebus=0 	secondarybus=0
 	intpin=a, irq=10
 	map[10]: type 1, range 32, base de000000, size 24
 	map[14]: type 1, range 32, base dd400000, size 22
 	map[18]: type 1, range 32, base dd200000, size 20
 found->	vendor=0x10c8, dev=0x8005, revid=0x20
 	class=04-01-00, hdrtype=0x00, mfdev=1
 	subordinatebus=0 	secondarybus=0
 	intpin=b, irq=10
 	map[10]: type 1, range 32, base ddc00000, size 22
 	map[14]: type 1, range 32, base dd300000, size 20
 pci1: <PCI bus> on pcib1
 pci1: <NeoMagic MagicMedia 256AV SVGA controller> (vendor=0x10c8, dev=0x0005) at 0.0 irq 10
 chip1: <NeoMagic MagicMedia 256AX Audio controller> mem 0xdd300000-0xdd3fffff,0xddc00000-0xddffffff irq 10 at device 0.1 on pci1
 pci0: <unknown card> (vendor=0x10f7, dev=0x8317) at 4.0 irq 9
 isab0: <Intel 82371AB PCI to ISA bridge> at device 7.0 on pci0
 isa0: <ISA bus> on isab0
 atapci0: <Intel PIIX4 ATA33 controller> port 0x1050-0x105f at device 7.1 on pci0
 ata0: iobase=0x01f0 altiobase=0x03f6 bmaddr=0x1050
 ata0: mask=03 status0=50 status1=00
 ata0: mask=03 ostat0=50 ostat2=00
 ata0-master: ATAPI probe a=00 b=00
 ata0-slave: ATAPI probe a=00 b=00
 ata0: mask=03 status0=50 status1=00
 ata0-master: ATA probe a=01 b=a5
 ata0: devices=01
 ata0: at 0x1f0 irq 14 on atapci0
 ata1: iobase=0x0170 altiobase=0x0376 bmaddr=0x1058
 ata1: mask=03 status0=50 status1=01
 ata1: mask=03 ostat0=50 ostat2=01
 ata1-master: ATAPI probe a=14 b=eb
 ata1-slave: ATAPI probe a=ff b=ff
 ata1: mask=03 status0=00 status1=01
 ata1-slave: ATA probe a=00 b=ff
 ata1: devices=04
 ata1: at 0x170 irq 15 on atapci0
 uhci0: <Intel 82371AB/EB (PIIX4) USB controller> port 0xfc20-0xfc3f irq 10 at device 7.2 on pci0
 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
 chip2: <Intel 82371AB Power management controller> port 0x1040-0x104f at device 7.3 on pci0
 pci0: <unknown card> (vendor=0x134d, dev=0x7890) at 9.0 irq 9
 pcic-pci0: <Ricoh RL5C476 PCI-CardBus Bridge> irq 10 at device 10.0 on pci0
 pcic-pci0: Legacy address set to 0x3e0
 PCI Config space:
 00:  04761180 02100007 06070080 00824000
 10:  00000000 020000dc 40020200 00000000
 20:  00000000 00000000 00000000 00000000
 30:  00000000 00000000 00000000 0780010a
 40:  832e10f7 000003e1 00000000 00000000
 50:  00000000 00000000 00000000 00000000
 60:  00000000 00000000 00000000 00000000
 70:  00000000 00000000 00000000 00000000
 80:  00000001 00000000 04630463 00000000
 90:  00000000 00000000 00000000 00000000
 Cardbus Socket registers:
 00:  f000ff53: f000ff53: f000e2c3: f000ff53:
 10:  f000ff53: f000ff54: f000924a: f000ff53:
 ExCa registers:
 00: eb 88 d5 43 30 d2 66 f7 f3 88 d7 5a 66 3d ff 03
 10: 00 00 fb 77 44 86 c4 c0 c8 02 08 e8 40 91 88 fe
 20: 28 e0 8a 66 02 38 e0 72 02 88 e0 bf 05 00 c4 5e
 30: 04 50 b4 02 cd 13 5b 73 0a 4f 74 1c 30 e4 cd 13
 pcic-pci1: <Ricoh RL5C476 PCI-CardBus Bridge> irq 10 at device 10.1 on pci0
 PCI Config space:
 00:  04761180 02100007 06070080 00824000
 10:  00000000 020000dc 40030300 00000000
 20:  00000000 00000000 00000000 00000000
 30:  00000000 00000000 00000000 0780020a
 40:  832e10f7 000003e1 00000000 00000000
 50:  00000000 00000000 00000000 00000000
 60:  00000000 00000000 00000000 00000000
 70:  00000000 00000000 00000000 00000000
 80:  00000001 00000000 04630463 00000000
 90:  00000000 00000000 00000000 00000000
 Cardbus Socket registers:
 00:  f000ff53: f000ff53: f000e2c3: f000ff53:
 10:  f000ff53: f000ff54: f000924a: f000ff53:
 ExCa registers:
 00: eb 88 d5 43 30 d2 66 f7 f3 88 d7 5a 66 3d ff 03
 10: 00 00 fb 77 44 86 c4 c0 c8 02 08 e8 40 91 88 fe
 20: 28 e0 8a 66 02 38 e0 72 02 88 e0 bf 05 00 c4 5e
 30: 04 50 b4 02 cd 13 5b 73 0a 4f 74 1c 30 e4 cd 13
 fxp0: <Intel Pro 10/100B/100+ Ethernet> port 0x1440-0x147f mem 0xdd000000-0xdd0fffff,0xdd100000-0xdd100fff irq 9 at device 11.0 on pci0
 fxp0: using memory space register mapping
 fxp0: Ethernet address 00:80:45:10:f7:a1
 fxp0: PCI IDs: 8086 1229 10f7 832e 0008
 fxp0: Chip Type: 0
 inphy0: <i82555 10/100 media interface> on miibus0
 inphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
 bpf: fxp0 attached
 ex_isa_identify()
 ata-: ata0 exists, using next available unit number
 ata-: ata1 exists, using next available unit number
 Trying Read_Port at 203
 Trying Read_Port at 243
 Trying Read_Port at 283
 Trying Read_Port at 2c3
 Trying Read_Port at 303
 Trying Read_Port at 343
 Trying Read_Port at 383
 Trying Read_Port at 3c3
 isa_probe_children: disabling PnP devices
 isa_probe_children: probing non-PnP devices
 orm0: <Option ROMs> at iomem 0xc0000-0xcbfff,0xdc000-0xdffff,0xe0000-0xeffff on isa0
 fdc0: direction bit not set
 fdc0: cmd 3 failed at out byte 1 of 3
 fdc0 failed to probe at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0
 ata2 failed to probe at port 0x1f0 irq 14 on isa0
 ata3 failed to probe at port 0x170 irq 15 on isa0
 adv0 failed to probe on isa0
 bt0: Failed Status Reg Test - ff
 bt_isa_probe: Probe failed at 0x330
 bt0: Failed Status Reg Test - ff
 bt_isa_probe: Probe failed at 0x334
 bt0: Failed Status Reg Test - ff
 bt_isa_probe: Probe failed at 0x230
 bt0: Failed Status Reg Test - ff
 bt_isa_probe: Probe failed at 0x234
 bt0: Failed Status Reg Test - ff
 bt_isa_probe: Probe failed at 0x130
 bt0: Failed Status Reg Test - ff
 bt_isa_probe: Probe failed at 0x134
 bt0 failed to probe at port 0x134-0x137 on isa0
 aha0: status reg test failed ff
 aha0: status reg test failed ff
 aha0: status reg test failed ff
 aha0: status reg test failed ff
 aha0: status reg test failed ff
 aha0: status reg test failed ff
 aha0 failed to probe at port 0x134-0x137 on isa0
 aic0 failed to probe at port 0x140-0x15f on isa0
 atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
 atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
 atkbd: the current kbd controller command byte 0047
 atkbd: keyboard ID 0x41ab (2)
 kbd0 at atkbd0
 kbd0: atkbd0, AT 101/102 (2), config:0x1, flags:0x3d0000
 psm0: current command byte:0047
 psm0: <PS/2 Mouse> irq 12 on atkbdc0
 psm0: model GlidePoint, device ID 0-00, 2 buttons
 psm0: config:00000000, flags:00000000, packet size:3
 psm0: syncmask:c0, syncbits:00
 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 
 mss_probe: no address given, try 0x530
 mss_detect, busy still set (0xff)
 pcm0 failed to probe at port 0x530-0x537,0xf8c-0xf94,0xe0e irq 10 drq 1 on isa0
 sc0: <System console> at flags 0x100 on isa0
 sc0: VGA <16 virtual consoles, flags=0x300>
 sc0: fb0, kbd0, terminal emulator: sc (syscons terminal)
 pcic0: <Intel i82365SL-A/B> at port 0x3e0 iomem 0xd0000 irq 11 on isa0
 pcic0: management irq 11
 pccard0: <PC Card bus (classic)> on pcic0
 pccard1: <PC Card bus (classic)> on pcic0
 sio0: irq maps: 0x1 0x11 0x1 0x1
 sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
 sio0: type 16550A
 sio1: configured irq 3 not in bitmap of probed irqs 0
 sio1: irq maps: 0x1 0x1 0x1 0x1
 sio1: probe failed test(s): 0 1 2 4 6 7 9
 sio1 failed to probe at port 0x2f8-0x2ff irq 3 on isa0
 sio2: not probed (disabled)
 sio3: not probed (disabled)
 ppc0: parallel port found at 0x378
 ppc0: using extended I/O port range
 ppc0: ECP SPP SPP
 ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0
 ppc0: Generic chipset (ECP/PS2/NIBBLE) in COMPATIBLE mode
 ppc0: FIFO with 16/16/8 bytes threshold
 plip0: <PLIP network interface> on ppbus0
 bpf: lp0 attached
 lpt0: <Printer> on ppbus0
 lpt0: Interrupt-driven port
 ppi0: <Parallel I/O> on ppbus0
 ed0 failed to probe at port 0x280-0x29f iomem 0xd8000 irq 10 on isa0
 fe0 failed to probe at port 0x300-0x31f on isa0
 ie0 failed to probe at port 0x300 iomem 0xd0000 irq 10 on isa0
 lnc0 failed to probe at port 0x280 irq 10 drq 0 on isa0
 cs0 failed to probe at port 0x300-0x31f on isa0
 sn0 failed to probe at port 0x300-0x30f irq 10 on isa0
 isa_probe_children: probing PnP devices
 BIOS Geometries:
  0:03fefe3f 0..1022=1023 cylinders, 0..254=255 heads, 1..63=63 sectors
  0 accounted for
 Device configuration finished.
 bpf: lo0 attached
 bpf: ppp0 attached
 new masks: bio 68c400, tty 631092, net 671292
 bpf: sl0 attached
 bpf: faith0 attached
 ata0-master: success setting UDMA2 on Intel chip
 Creating DISK ad0
 ad0: <TOSHIBA MK2016GAP/U0.22 A> ATA-5 disk at ata0-master
 ad0: 19077MB (39070080 sectors), 38760 cyls, 16 heads, 63 S/T, 512 B/S
 ad0: 16 secs/int, 1 depth queue, UDMA33
 ad0: piomode=4 dmamode=2 udmamode=4 cblid=1
 ad0: 19077MB <TOSHIBA MK2016GAP> [38760/16/63] at ata0-master UDMA33
 ata1-master: piomode=4 dmamode=2 udmamode=-1 dmaflag=1
 ata1-master: success setting PIO4 on generic chip
 acd0: <UJDA310/3.53> CD-RW drive at ata1 as master
 acd0: read 3445KB/s (3445KB/s) write 689KB/s (689KB/s), 2048KB buffer, PIO4
 acd0: Reads: CD-R, CD-RW, CD-DA stream, packet
 acd0: Writes: CD-R, CD-RW, test write
 acd0: Audio: play, 255 volume levels
 acd0: Mechanism: ejectable tray
 acd0: Medium: no/blank disc inside, unlocked
 Mounting root from ufs:/dev/ad0s2a
 ad0s1: type 0xc, start 63, end = 10249469, size 10249407 : OK
 ad0s2: type 0xa5, start 10249470, end = 39070079, size 28820610 : OK
 start_init: trying /sbin/init
 IP packet filtering initialized, divert disabled, rule-based forwarding disabled, default to deny, logging disabled
 Linux-ELF exec handler installed
 ---
 
 
 And this is output of dmesg when I commented out the above.
 
 ---
 Copyright (c) 1992-2001 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 4.4-PRERELEASE #31: Mon Aug  6 07:56:10 JST 2001
     sho@LED:/usr/src/sys/compile/NewKern
 Calibrating clock(s) ... TSC clock: 645236128 Hz, i8254 clock: 1193247 Hz
 CLK_USE_I8254_CALIBRATION not specified - using default frequency
 Timecounter "i8254"  frequency 1193182 Hz
 CLK_USE_TSC_CALIBRATION not specified - using old calibration method
 CPU: Pentium III/Pentium III Xeon/Celeron (645.20-MHz 686-class CPU)
   Origin = "GenuineIntel"  Id = 0x683  Stepping = 3
   Features=0x383f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE>
 real memory  = 201261056 (196544K bytes)
 Physical memory chunk(s):
 0x00001000 - 0x0009efff, 647168 bytes (158 pages)
 0x004eb000 - 0x0bfe7fff, 196071424 bytes (47869 pages)
 avail memory = 190947328 (186472K bytes)
 bios32: Found BIOS32 Service Directory header at 0xc00f6cf0
 bios32: Entry = 0xfd890 (c00fd890)  Rev = 0  Len = 1
 pcibios: PCI BIOS entry at 0x13d
 pnpbios: Found PnP BIOS data at 0xc00f6d20
 pnpbios: Entry = f0000:a5f3  Rev = 1.0
 Other BIOS signatures found:
 ACPI: 000f6cb0
 Preloaded elf kernel "kernel" at 0xc04c5000.
 Pentium Pro MTRR support enabled
 md0: Malloc disk
 Creating DISK md0
 Math emulator present
 pci_open(1):	mode 1 addr port (0x0cf8) is 0x80003904
 pci_open(1a):	mode1res=0x80000000 (0x80000000)
 pci_cfgcheck:	device 0 [class=060000] [hdr=00] is there (id=71908086)
 apm0: <APM BIOS> on motherboard
 apm: found APM BIOS v1.2, connected at v1.2
 npx0: <math processor> on motherboard
 npx0: INT 16 interface
 pci_open(1):	mode 1 addr port (0x0cf8) is 0x00000000
 pci_open(1a):	mode1res=0x80000000 (0x80000000)
 pci_cfgcheck:	device 0 [class=060000] [hdr=00] is there (id=71908086)
 pcib0: <Intel 82443BX (440 BX) host to PCI bridge> on motherboard
 found->	vendor=0x8086, dev=0x7190, revid=0x03
 	class=06-00-00, hdrtype=0x00, mfdev=0
 	subordinatebus=0 	secondarybus=0
 	map[10]: type 1, range 32, base dd800000, size 22
 found->	vendor=0x8086, dev=0x7191, revid=0x03
 	class=06-04-00, hdrtype=0x01, mfdev=0
 	subordinatebus=1 	secondarybus=1
 found->	vendor=0x10f7, dev=0x8317, revid=0x02
 	class=07-80-00, hdrtype=0x00, mfdev=0
 	subordinatebus=0 	secondarybus=0
 	intpin=a, irq=9
 	map[10]: type 1, range 32, base 00001080, size  7
 found->	vendor=0x8086, dev=0x7110, revid=0x02
 	class=06-01-00, hdrtype=0x00, mfdev=1
 	subordinatebus=0 	secondarybus=0
 found->	vendor=0x8086, dev=0x7111, revid=0x01
 	class=01-01-80, hdrtype=0x00, mfdev=0
 	subordinatebus=0 	secondarybus=0
 	map[20]: type 1, range 32, base 00001050, size  4
 found->	vendor=0x8086, dev=0x7112, revid=0x01
 	class=0c-03-00, hdrtype=0x00, mfdev=0
 	subordinatebus=0 	secondarybus=0
 	intpin=d, irq=10
 	map[20]: type 1, range 32, base 0000fc20, size  5
 found->	vendor=0x8086, dev=0x7113, revid=0x03
 	class=06-80-00, hdrtype=0x00, mfdev=0
 	subordinatebus=0 	secondarybus=0
 	map[90]: type 1, range 32, base 00001040, size  4
 found->	vendor=0x134d, dev=0x7890, revid=0x02
 	class=07-03-01, hdrtype=0x00, mfdev=0
 	subordinatebus=0 	secondarybus=0
 	intpin=a, irq=9
 	map[10]: type 1, range 32, base 00001400, size  6
 found->	vendor=0x1180, dev=0x0476, revid=0x80
 	class=06-07-00, hdrtype=0x02, mfdev=1
 	subordinatebus=2 	secondarybus=2
 	intpin=a, irq=10
 found->	vendor=0x1180, dev=0x0476, revid=0x80
 	class=06-07-00, hdrtype=0x02, mfdev=1
 	subordinatebus=3 	secondarybus=3
 	intpin=b, irq=10
 found->	vendor=0x8086, dev=0x1229, revid=0x08
 	class=02-00-00, hdrtype=0x00, mfdev=0
 	subordinatebus=0 	secondarybus=0
 	intpin=a, irq=9
 	map[10]: type 1, range 32, base dd100000, size 12
 	map[14]: type 1, range 32, base 00001440, size  6
 	map[18]: type 1, range 32, base dd000000, size 20
 pci0: <PCI bus> on pcib0
 pcib1: <Intel 82443BX (440 BX) PCI-PCI (AGP) bridge> at device 1.0 on pci0
 found->	vendor=0x10c8, dev=0x0005, revid=0x20
 	class=03-00-00, hdrtype=0x00, mfdev=1
 	subordinatebus=0 	secondarybus=0
 	intpin=a, irq=10
 	map[10]: type 1, range 32, base de000000, size 24
 	map[14]: type 1, range 32, base dd400000, size 22
 	map[18]: type 1, range 32, base dd200000, size 20
 found->	vendor=0x10c8, dev=0x8005, revid=0x20
 	class=04-01-00, hdrtype=0x00, mfdev=1
 	subordinatebus=0 	secondarybus=0
 	intpin=b, irq=10
 	map[10]: type 1, range 32, base ddc00000, size 22
 	map[14]: type 1, range 32, base dd300000, size 20
 pci1: <PCI bus> on pcib1
 pci1: <NeoMagic MagicMedia 256AV SVGA controller> (vendor=0x10c8, dev=0x0005) at 0.0 irq 10
 pcm0: <NeoMagic 256AV> mem 0xdd300000-0xdd3fffff,0xddc00000-0xddffffff irq 10 at device 0.1 on pci1
 pcm0: ac97 codec id 0x83847609 (SigmaTel STAC9721/9723)
 pcm0: ac97 codec features 18 bit DAC, 18 bit ADC, 5 bit master volume, SigmaTel 3D Enhancement
 pcm0: ac97 primary codec extended features AMAP
 pcm0: rec buf 0xc9b7e800
 pcm0: play buf 0xc9b7a800
 pci0: <unknown card> (vendor=0x10f7, dev=0x8317) at 4.0 irq 9
 isab0: <Intel 82371AB PCI to ISA bridge> at device 7.0 on pci0
 isa0: <ISA bus> on isab0
 atapci0: <Intel PIIX4 ATA33 controller> port 0x1050-0x105f at device 7.1 on pci0
 ata0: iobase=0x01f0 altiobase=0x03f6 bmaddr=0x1050
 ata0: mask=03 status0=50 status1=00
 ata0: mask=03 ostat0=50 ostat2=00
 ata0-master: ATAPI probe a=00 b=00
 ata0-slave: ATAPI probe a=00 b=00
 ata0: mask=03 status0=50 status1=00
 ata0-master: ATA probe a=01 b=a5
 ata0: devices=01
 ata0: at 0x1f0 irq 14 on atapci0
 ata1: iobase=0x0170 altiobase=0x0376 bmaddr=0x1058
 ata1: mask=03 status0=50 status1=01
 ata1: mask=03 ostat0=50 ostat2=01
 ata1-master: ATAPI probe a=14 b=eb
 ata1-slave: ATAPI probe a=ff b=ff
 ata1: mask=03 status0=00 status1=01
 ata1-slave: ATA probe a=00 b=ff
 ata1: devices=04
 ata1: at 0x170 irq 15 on atapci0
 uhci0: <Intel 82371AB/EB (PIIX4) USB controller> port 0xfc20-0xfc3f irq 10 at device 7.2 on pci0
 	using shared irq10.
 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
 chip1: <Intel 82371AB Power management controller> port 0x1040-0x104f at device 7.3 on pci0
 pci0: <unknown card> (vendor=0x134d, dev=0x7890) at 9.0 irq 9
 pcic-pci0: <Ricoh RL5C476 PCI-CardBus Bridge> irq 10 at device 10.0 on pci0
 pcic-pci0: Legacy address set to 0x3e0
 PCI Config space:
 00:  04761180 02100007 06070080 00824000
 10:  00000000 020000dc 40020200 00000000
 20:  00000000 00000000 00000000 00000000
 30:  00000000 00000000 00000000 0780010a
 40:  832e10f7 000003e1 00000000 00000000
 50:  00000000 00000000 00000000 00000000
 60:  00000000 00000000 00000000 00000000
 70:  00000000 00000000 00000000 00000000
 80:  00000001 00000000 04630463 00000000
 90:  00000000 00000000 00000000 00000000
 Cardbus Socket registers:
 00:  f000ff53: f000ff53: f000e2c3: f000ff53:
 10:  f000ff53: f000ff54: f000924a: f000ff53:
 ExCa registers:
 00: eb 88 d5 43 30 d2 66 f7 f3 88 d7 5a 66 3d ff 03
 10: 00 00 fb 77 44 86 c4 c0 c8 02 08 e8 40 91 88 fe
 20: 28 e0 8a 66 02 38 e0 72 02 88 e0 bf 05 00 c4 5e
 30: 04 50 b4 02 cd 13 5b 73 0a 4f 74 1c 30 e4 cd 13
 pcic-pci1: <Ricoh RL5C476 PCI-CardBus Bridge> irq 10 at device 10.1 on pci0
 PCI Config space:
 00:  04761180 02100007 06070080 00824000
 10:  00000000 020000dc 40030300 00000000
 20:  00000000 00000000 00000000 00000000
 30:  00000000 00000000 00000000 0780020a
 40:  832e10f7 000003e1 00000000 00000000
 50:  00000000 00000000 00000000 00000000
 60:  00000000 00000000 00000000 00000000
 70:  00000000 00000000 00000000 00000000
 80:  00000001 00000000 04630463 00000000
 90:  00000000 00000000 00000000 00000000
 Cardbus Socket registers:
 00:  f000ff53: f000ff53: f000e2c3: f000ff53:
 10:  f000ff53: f000ff54: f000924a: f000ff53:
 ExCa registers:
 00: eb 88 d5 43 30 d2 66 f7 f3 88 d7 5a 66 3d ff 03
 10: 00 00 fb 77 44 86 c4 c0 c8 02 08 e8 40 91 88 fe
 20: 28 e0 8a 66 02 38 e0 72 02 88 e0 bf 05 00 c4 5e
 30: 04 50 b4 02 cd 13 5b 73 0a 4f 74 1c 30 e4 cd 13
 fxp0: <Intel Pro 10/100B/100+ Ethernet> port 0x1440-0x147f mem 0xdd000000-0xdd0fffff,0xdd100000-0xdd100fff irq 9 at device 11.0 on pci0
 fxp0: using memory space register mapping
 fxp0: Ethernet address 00:80:45:10:f7:a1
 fxp0: PCI IDs: 8086 1229 10f7 832e 0008
 fxp0: Chip Type: 0
 inphy0: <i82555 10/100 media interface> on miibus0
 inphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
 bpf: fxp0 attached
 ex_isa_identify()
 ata-: ata0 exists, using next available unit number
 ata-: ata1 exists, using next available unit number
 Trying Read_Port at 203
 Trying Read_Port at 243
 Trying Read_Port at 283
 Trying Read_Port at 2c3
 Trying Read_Port at 303
 Trying Read_Port at 343
 Trying Read_Port at 383
 Trying Read_Port at 3c3
 isa_probe_children: disabling PnP devices
 isa_probe_children: probing non-PnP devices
 orm0: <Option ROMs> at iomem 0xc0000-0xcbfff,0xdc000-0xdffff,0xe0000-0xeffff on isa0
 fdc0: direction bit not set
 fdc0: cmd 3 failed at out byte 1 of 3
 fdc0 failed to probe at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0
 ata2 failed to probe at port 0x1f0 irq 14 on isa0
 ata3 failed to probe at port 0x170 irq 15 on isa0
 adv0 failed to probe on isa0
 bt0: Failed Status Reg Test - ff
 bt_isa_probe: Probe failed at 0x330
 bt0: Failed Status Reg Test - ff
 bt_isa_probe: Probe failed at 0x334
 bt0: Failed Status Reg Test - ff
 bt_isa_probe: Probe failed at 0x230
 bt0: Failed Status Reg Test - ff
 bt_isa_probe: Probe failed at 0x234
 bt0: Failed Status Reg Test - ff
 bt_isa_probe: Probe failed at 0x130
 bt0: Failed Status Reg Test - ff
 bt_isa_probe: Probe failed at 0x134
 bt0 failed to probe at port 0x134-0x137 on isa0
 aha0: status reg test failed ff
 aha0: status reg test failed ff
 aha0: status reg test failed ff
 aha0: status reg test failed ff
 aha0: status reg test failed ff
 aha0: status reg test failed ff
 aha0 failed to probe at port 0x134-0x137 on isa0
 aic0 failed to probe at port 0x140-0x15f on isa0
 atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
 atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
 atkbd: the current kbd controller command byte 0047
 atkbd: keyboard ID 0x41ab (2)
 kbd0 at atkbd0
 kbd0: atkbd0, AT 101/102 (2), config:0x1, flags:0x3d0000
 psm0: current command byte:0047
 psm0: <PS/2 Mouse> irq 12 on atkbdc0
 psm0: model GlidePoint, device ID 0-00, 2 buttons
 psm0: config:00000000, flags:00000000, packet size:3
 psm0: syncmask:c0, syncbits:00
 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 
 sc0: <System console> at flags 0x100 on isa0
 sc0: VGA <16 virtual consoles, flags=0x300>
 sc0: fb0, kbd0, terminal emulator: sc (syscons terminal)
 pcic0: <Intel i82365SL-A/B> at port 0x3e0 iomem 0xd0000 irq 11 on isa0
 pcic0: management irq 11
 pccard0: <PC Card bus (classic)> on pcic0
 pccard1: <PC Card bus (classic)> on pcic0
 sio0: irq maps: 0x1 0x11 0x1 0x1
 sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
 sio0: type 16550A
 sio1: configured irq 3 not in bitmap of probed irqs 0
 sio1: irq maps: 0x1 0x1 0x1 0x1
 sio1: probe failed test(s): 0 1 2 4 6 7 9
 sio1 failed to probe at port 0x2f8-0x2ff irq 3 on isa0
 sio2: not probed (disabled)
 sio3: not probed (disabled)
 ppc0: parallel port found at 0x378
 ppc0: using extended I/O port range
 ppc0: ECP SPP SPP
 ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0
 ppc0: Generic chipset (ECP/PS2/NIBBLE) in COMPATIBLE mode
 ppc0: FIFO with 16/16/8 bytes threshold
 plip0: <PLIP network interface> on ppbus0
 bpf: lp0 attached
 lpt0: <Printer> on ppbus0
 lpt0: Interrupt-driven port
 ppi0: <Parallel I/O> on ppbus0
 ed0 failed to probe at port 0x280-0x29f iomem 0xd8000 irq 10 on isa0
 fe0 failed to probe at port 0x300-0x31f on isa0
 ie0 failed to probe at port 0x300 iomem 0xd0000 irq 10 on isa0
 lnc0 failed to probe at port 0x280 irq 10 drq 0 on isa0
 cs0 failed to probe at port 0x300-0x31f on isa0
 sn0 failed to probe at port 0x300-0x30f irq 10 on isa0
 isa_probe_children: probing PnP devices
 BIOS Geometries:
  0:03fefe3f 0..1022=1023 cylinders, 0..254=255 heads, 1..63=63 sectors
  0 accounted for
 Device configuration finished.
 bpf: lo0 attached
 bpf: ppp0 attached
 new masks: bio 68c400, tty 631492, net 671692
 bpf: sl0 attached
 bpf: faith0 attached
 ata0-master: success setting UDMA2 on Intel chip
 Creating DISK ad0
 ad0: <TOSHIBA MK2016GAP/U0.22 A> ATA-5 disk at ata0-master
 ad0: 19077MB (39070080 sectors), 38760 cyls, 16 heads, 63 S/T, 512 B/S
 ad0: 16 secs/int, 1 depth queue, UDMA33
 ad0: piomode=4 dmamode=2 udmamode=4 cblid=1
 ad0: 19077MB <TOSHIBA MK2016GAP> [38760/16/63] at ata0-master UDMA33
 ata1-master: piomode=4 dmamode=2 udmamode=-1 dmaflag=1
 ata1-master: success setting PIO4 on generic chip
 acd0: <UJDA310/3.53> CD-RW drive at ata1 as master
 acd0: read 3445KB/s (3445KB/s) write 689KB/s (689KB/s), 2048KB buffer, PIO4
 acd0: Reads: CD-R, CD-RW, CD-DA stream, packet
 acd0: Writes: CD-R, CD-RW, test write
 acd0: Audio: play, 255 volume levels
 acd0: Mechanism: ejectable tray
 acd0: Medium: no/blank disc inside, unlocked
 Mounting root from ufs:/dev/ad0s2a
 ad0s1: type 0xc, start 63, end = 10249469, size 10249407 : OK
 ad0s2: type 0xa5, start 10249470, end = 39070079, size 28820610 : OK
 start_init: trying /sbin/init
 IP packet filtering initialized, divert disabled, rule-based forwarding disabled, default to deny, logging disabled
 Linux-ELF exec handler installed
 pcm0: play interrupt timeout, channel dead
 ---
 
 
 --
 Tomohiro Ishihara(sho)  mail:sho-red@ff.iij4u.or.jp
 PGP Fingerprint:D627 90C5 549E D15A  06E8 A39B CBE3 9D3
State-Changed-From-To: open->feedback 
State-Changed-By: netchild 
State-Changed-When: Sun Sep 11 09:49:06 GMT 2005 
State-Changed-Why:  
Does this still apply to 5.[34] or -current? 

http://www.freebsd.org/cgi/query-pr.cgi?pr=29465 
State-Changed-From-To: feedback->closed 
State-Changed-By: netchild 
State-Changed-When: Sun Sep 11 17:31:08 GMT 2005 
State-Changed-Why:  
Fixed in -current. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=29465 
>Unformatted:
