From owner-freebsd-mobile Fri Nov 23 22:10:36 2001 Delivered-To: freebsd-mobile@freebsd.org Received: from router.hackerheaven.org (qn-213-73-194-201.quicknet.nl [213.73.194.201]) by hub.freebsd.org (Postfix) with ESMTP id 8862437B405; Fri, 23 Nov 2001 22:08:42 -0800 (PST) Received: by router.hackerheaven.org (Postfix, from userid 1000) id 1B53D1C17; Sat, 24 Nov 2001 07:08:25 +0100 (CET) Date: Sat, 24 Nov 2001 07:08:25 +0100 From: Emiel Kollof To: Andy Sparrow Cc: current@freebsd.org, mobile@freebsd.org Subject: Re: PCCARD/NEWCARD won't configure on 5.0 Message-ID: <20011124070825.D24976@laptop.hackerheaven.org> References: <20011124055209.D0E203E31@CRWdog.demon.co.uk> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="fUYQa+Pmc3FrFX/N" Content-Disposition: inline In-Reply-To: <20011124055209.D0E203E31@CRWdog.demon.co.uk> User-Agent: Mutt/1.3.23i X-Mailer: Mutt 1.3.23i (2001-10-09) X-Editor: Vim http://www.vim.org/ X-Info: http://www.hackerheaven.org/ X-Info2: http://www.cmdline.org/ X-Info3: http://www.coolvibe.org/ Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org --fUYQa+Pmc3FrFX/N Content-Type: text/plain; charset=us-ascii Content-Disposition: inline * Andy Sparrow (spadger@best.com) wrote: > As -STABLE won't configure the sound device in my HP Omnibook 6100, I gave > 5.0-CURRENT a whirl. CURRENT and STABLE both have support for the ESS1988 (Allegro-1/Maestro3). It's a mere kldload snd_maestro3 away. My -current running laptop also has a ESS1988 soundcard, and my sound works just fine under CURRENT and STABLE. No problems with pcmcia either. I am _not_ running NEWCARD. Never had, never needed to. I suggest the same for the Omnibook as well. Attached is my dmesg, just FYI. Did you try totally powering off the Omnibook and turning it back on? Sometimes on some laptops, just rebooting leaves the pcmcia in some undefined state. Hope that helped, Cheers, Emiel > With a NEWCARD-based kernel, it won't configure the Cardbus controller (which > works under -STABLE) but it /will/ configure the sound device (an ESS > Allegro-1). > > With a PCCARD-based kernel, 5.0 won't configure the card controller or the > sound. > > Setting or unsetting PCI_ENABLE_IO_MODES in the config file doesn't seem to > make any difference to the behaviour. > > The verbose output of both kernels is attached. With the latest XFree86 from > CVS, this laptop is this close -><- to working, but I can't choose between > PCCARD (I don't /need/ Cardbus) or sound. > > To add insult to injury, it allegedly Just Works in Hed Rat. > > Verbose boot output attached. Anyone got any ideas? > > > Regards, > > AS > > > Content-Description: dmesg-50-pccard-verbose.txt > Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 > The Regents of the University of California. All rights reserved. > FreeBSD 5.0-CURRENT #1: Sat Nov 24 21:41:33 PST 2001 > root@tureg.geek4food.org:/home/Current/src/sys/i386/compile/test-gen > Preloaded elf kernel "/boot/kernel/kernel" at 0xc0449000. > Calibrating clock(s) ... TSC clock: 1129543867 Hz, i8254 clock: 1193154 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 > Timecounter "TSC" frequency 1129576835 Hz > CPU: Pentium III/Pentium III Xeon/Celeron (1129.58-MHz 686-class CPU) > Origin = "GenuineIntel" Id = 0x6b1 Stepping = 1 > Features=0x383f9ff > real memory = 267780096 (261504K bytes) > Physical memory chunk(s): > 0x00001000 - 0x0009efff, 647168 bytes (158 pages) > 0x00470000 - 0x0ff57fff, 263094272 bytes (64232 pages) > avail memory = 256245760 (250240K bytes) > bios32: Found BIOS32 Service Directory header at 0xc00f6670 > bios32: Entry = 0xfd7f2 (c00fd7f2) Rev = 0 Len = 1 > pcibios: PCI BIOS entry at 0xfd7f0+0x178 > pnpbios: Found PnP BIOS data at 0xc00f6690 > pnpbios: Entry = f0000:a2e4 Rev = 1.0 > pnpbios: Event flag at 4b4 > Other BIOS signatures found: > null: > random: > mem: > Pentium Pro MTRR support enabled > pci_open(1): mode 1 addr port (0x0cf8) is 0x8000f904 > pci_open(1a): mode1res=0x80000000 (0x80000000) > pci_cfgcheck: device 0 [class=060000] [hdr=00] is there (id=35758086) > Using $PIR table, 14 entries at 0xc00fdee0 > npx0: on motherboard > npx0: INT 16 interface > pcib0: at pcibus 0 on motherboard > pci0: physical bus=0 > map[10]: type 3, range 32, base e0000000, size 28, enabled > found-> vendor=0x8086, dev=0x3575, revid=0x02 > bus=0, slot=0, func=0 > class=06-00-00, hdrtype=0x00, mfdev=0 > found-> vendor=0x8086, dev=0x3576, revid=0x02 > bus=0, slot=1, func=0 > class=06-04-00, hdrtype=0x01, mfdev=0 > map[20]: type 4, range 32, base 00001800, size 5, enabled > found-> vendor=0x8086, dev=0x2482, revid=0x01 > bus=0, slot=29, func=0 > class=0c-03-00, hdrtype=0x00, mfdev=0 > intpin=a, irq=10 > found-> vendor=0x8086, dev=0x2448, revid=0x41 > bus=0, slot=30, func=0 > class=06-04-00, hdrtype=0x01, mfdev=0 > found-> vendor=0x8086, dev=0x248c, revid=0x01 > bus=0, slot=31, func=0 > class=06-01-00, hdrtype=0x00, mfdev=1 > map[10]: type 4, range 32, base 000001f0, size 3, enabled > map[14]: type 4, range 32, base 000003f4, size 2, enabled > map[18]: type 4, range 32, base 00000170, size 3, enabled > map[1c]: type 4, range 32, base 00000374, size 2, enabled > map[20]: type 4, range 32, base 00001820, size 4, enabled > map[24]: type 1, range 32, base d0000000, size 10, memory disabled > found-> vendor=0x8086, dev=0x248a, revid=0x01 > bus=0, slot=31, func=1 > class=01-01-8a, hdrtype=0x00, mfdev=0 > intpin=a, irq=255 > map[20]: type 4, range 32, base 00001840, size 5, enabled > found-> vendor=0x8086, dev=0x2483, revid=0x01 > bus=0, slot=31, func=3 > class=0c-05-00, hdrtype=0x00, mfdev=0 > intpin=b, irq=10 > pci0: on pcib0 > pcib1: at device 1.0 on pci0 > pcib1: secondary bus 1 > pcib1: subordinate bus 1 > pcib1: I/O decode 0x2000-0x2fff > pcib1: memory decode 0xd0100000-0xd01fffff > pcib1: prefetched decode 0xd8000000-0xdfffffff > pci1: physical bus=1 > map[10]: type 3, range 32, base d8000000, size 27, enabled > map[14]: type 4, range 32, base 00002000, size 8, enabled > map[18]: type 1, range 32, base d0100000, size 16, enabled > found-> vendor=0x1002, dev=0x4c59, revid=0x00 > bus=1, slot=0, func=0 > class=03-00-00, hdrtype=0x00, mfdev=0 > intpin=a, irq=10 > powerspec 2 supports D0 D1 D2 D3 current D0 > pci1: on pcib1 > pci1: at device 0.0 (no driver attached) > uhci0: port 0x1800-0x181f irq 10 at device 29.0 on pci0 > usb0: 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 > pcib2: at device 30.0 on pci0 > pcib2: secondary bus 2 > pcib2: subordinate bus 2 > pcib2: I/O decode 0x3000-0x3fff > pcib2: memory decode 0xd0200000-0xd02fffff > pcib2: prefetched decode 0xf0000000-0xf00fffff > pci2: physical bus=2 > map[10]: type 3, range 32, base f0018000, size 6, enabled > map[14]: type 3, range 32, base f0000000, size 16, enabled > map[18]: type 3, range 32, base f0010000, size 15, enabled > map[1c]: type 4, range 32, base 00003400, size 6, enabled > found-> vendor=0x10b7, dev=0x1007, revid=0x00 > bus=2, slot=2, func=0 > class=07-80-00, hdrtype=0x00, mfdev=0 > intpin=a, irq=10 > powerspec 2 supports D0 D2 D3 current D0 > map[10]: type 4, range 32, base 00003000, size 8, port disabled > found-> vendor=0x125d, dev=0x1988, revid=0x12 > bus=2, slot=3, func=0 > class=04-01-00, hdrtype=0x00, mfdev=0 > intpin=a, irq=5 > powerspec 2 supports D0 D1 D2 D3 current D0 > found-> vendor=0x104c, dev=0xac51, revid=0x00 > bus=2, slot=5, func=0 > class=06-07-00, hdrtype=0x02, mfdev=1 > intpin=a, irq=255 > powerspec 2 supports D0 D1 D2 D3 current D0 > found-> vendor=0x104c, dev=0xac51, revid=0x00 > bus=2, slot=5, func=1 > class=06-07-00, hdrtype=0x02, mfdev=1 > intpin=b, irq=255 > powerspec 2 supports D0 D1 D2 D3 current D0 > map[10]: type 1, range 32, base d0200000, size 12, enabled > map[14]: type 4, range 32, base 00003440, size 6, enabled > found-> vendor=0x8086, dev=0x1038, revid=0x41 > bus=2, slot=8, func=0 > class=02-00-00, hdrtype=0x00, mfdev=0 > intpin=a, irq=10 > powerspec 2 supports D0 D1 D2 D3 current D0 > pci2: on pcib2 > pci2: at device 2.0 (no driver attached) > pci2: at device 3.0 (no driver attached) > pci_cfgintr_search: linked (62) to configured irq 0 at 0:31:0 > pci_cfgintr: 0:30 INTC routed to irq 0 > pcib2: routed slot 5 INTA to irq 0 > pcic0: irq 0 at device 5.0 on pci2 > pcib2: device pcic0 requested unsupported memory range 0x44000000-0xffffffff (decoding 0xd0200000-0xd02fffff, 0xf0000000-0xf00fffff) > pcic0: Could not grab register memory > device_probe_and_attach: pcic0 attach returned 12 > pci_cfgintr_linked: linked (63) to hard-routed irq 10 > pci_cfgintr: 0:30 INTD routed to irq 10 > pcib2: routed slot 5 INTB to irq 10 > pcic0: irq 10 at device 5.1 on pci2 > pcib2: device pcic0 requested unsupported memory range 0x44000000-0xffffffff (decoding 0xd0200000-0xd02fffff, 0xf0000000-0xf00fffff) > pcic0: Could not grab register memory > device_probe_and_attach: pcic0 attach returned 12 > fxp0: port 0x3440-0x347f mem 0xd0200000-0xd0200fff irq 10 at device 8.0 on pci2 > pcib2: device fxp0 requested decoded memory range 0xd0200000-0xd0200fff > fxp0: using memory space register mapping > fxp0: Ethernet address 00:c0:9f:04:82:0c > fxp0: PCI IDs: 8086 1038 103c 001a 0041 > fxp0: Dynamic Standby mode is disabled > inphy0: on miibus0 > inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto > bpf: fxp0 attached > isab0: at device 31.0 on pci0 > isa0: on isab0 > atapci0: port 0x1820-0x182f,0x374-0x377,0x170-0x177,0x3f4-0x3f7,0x1f0-0x1f7 mem 0xd0000000-0xd00003ff at device 31.1 on pci0 > ata0: iobase=0x01f0 altiobase=0x03f6 bmaddr=0x1820 > ata0: mask=03 ostat0=50 ostat2=00 > ata0-master: ATAPI probe 00 00 > ata0-slave: ATAPI probe 00 00 > ata0: mask=03 stat0=50 stat1=00 > ata0-master: ATA probe 01 a5 > ata0: devices=01 > ata0: at 0x1f0 irq 14 on atapci0 > ata1: iobase=0x0170 altiobase=0x0376 bmaddr=0x1828 > ata1: mask=03 ostat0=50 ostat2=00 > ata1-master: ATAPI probe 14 eb > ata1-slave: ATAPI probe 00 00 > ata1: mask=03 stat0=00 stat1=00 > ata1: devices=04 > ata1: at 0x170 irq 15 on atapci0 > pci0: at device 31.3 (no driver attached) > ata-: ata0 already exists, skipping it > ata-: ata1 already exists, skipping it > 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 > pnpbios: 17 devices, largest 234 bytes > PNP0c02: adding io range 0x10-0x1f, size=0x10, align=0x1 > PNP0c02: adding io range 0x24-0x25, size=0x2, align=0x1 > PNP0c02: adding io range 0x28-0x29, size=0x2, align=0x1 > PNP0c02: adding io range 0x2c-0x2d, size=0x2, align=0x1 > PNP0c02: adding io range 0x30-0x31, size=0x2, align=0x1 > PNP0c02: adding io range 0x34-0x35, size=0x2, align=0x1 > PNP0c02: adding io range 0x38-0x39, size=0x2, align=0x1 > PNP0c02: adding io range 0x3c-0x3d, size=0x2, align=0x1 > PNP0c02: adding io range 0x50-0x53, size=0x4, align=0x1 > PNP0c02: adding io range 0x72-0x73, size=0x2, align=0x1 > PNP0c02: adding io range 0x74-0x75, size=0x2, align=0x1 > PNP0c02: adding io range 0x76-0x77, size=0x2, align=0x1 > PNP0c02: adding io range 0x80-0x80, size=0x1, align=0x1 > PNP0c02: adding io range 0x90-0x91, size=0x2, align=0x1 > PNP0c02: adding io range 0x92-0x92, size=0x1, align=0x1 > PNP0c02: adding io range 0x93-0x9f, size=0xd, align=0x1 > PNP0c02: adding io range 0xa4-0xa5, size=0x2, align=0x1 > PNP0c02: adding io range 0xa8-0xa9, size=0x2, align=0x1 > PNP0c02: adding io range 0xac-0xad, size=0x2, align=0x1 > PNP0c02: adding io range 0xb0-0xb1, size=0x2, align=0x1 > PNP0c02: adding io range 0xb2-0xb3, size=0x2, align=0x1 > PNP0c02: adding io range 0xb4-0xb5, size=0x2, align=0x1 > PNP0c02: adding io range 0xb8-0xb9, size=0x2, align=0x1 > PNP0c02: adding io range 0xbc-0xbd, size=0x2, align=0x1 > PNP0c02: adding fixed memory32 range 0xfebffc00-0xfebfffff, size=0x400 > PNP0c02: adding fixed memory32 range 0xfff00000-0xffffffff, size=0x100000 > pnpbios: handle 1 device ID PNP0c02 (020cd041) > PNP0c01: adding fixed memory32 range 0-0x9ffff, size=0xa0000 > PNP0c01: adding fixed memory32 range 0xe0000-0xfffff, size=0x20000 > PNP0c01: adding fixed memory32 range 0x100000-0x1007fbff, size=0xff7fc00 > pnpbios: handle 2 device ID PNP0c01 (010cd041) > PNP0200: adding io range 0-0xf, size=0x10, align=0x1 > PNP0200: adding io range 0x81-0x8f, size=0xf, align=0x1 > PNP0200: adding io range 0xc0-0xdf, size=0x20, align=0x1 > PNP0200: adding dma mask 0x10 > pnpbios: handle 3 device ID PNP0200 (0002d041) > PNP0000: adding io range 0x20-0x21, size=0x2, align=0x1 > PNP0000: adding io range 0xa0-0xa1, size=0x2, align=0x1 > PNP0000: adding irq mask 0x4 > pnpbios: handle 4 device ID PNP0000 (0000d041) > PNP0100: adding io range 0x40-0x43, size=0x4, align=0x1 > PNP0100: adding irq mask 0x1 > pnpbios: handle 5 device ID PNP0100 (0001d041) > PNP0b00: adding io range 0x70-0x71, size=0x2, align=0x1 > PNP0b00: adding irq mask 0x100 > pnpbios: handle 6 device ID PNP0b00 (000bd041) > PNP0303: adding io range 0x60-0x60, size=0x1, align=0x1 > PNP0303: adding io range 0x64-0x64, size=0x1, align=0x1 > PNP0303: adding irq mask 0x2 > pnpbios: handle 7 device ID PNP0303 (0303d041) > PNP0c04: adding io range 0xf0-0xff, size=0x10, align=0x1 > PNP0c04: adding irq mask 0x2000 > pnpbios: handle 8 device ID PNP0c04 (040cd041) > PNP0800: adding io range 0x61-0x61, size=0x1, align=0x1 > pnpbios: handle 9 device ID PNP0800 (0008d041) > PNP0c02: adding fixed memory32 range 0xce000-0xcffff, size=0x2000 > pnpbios: handle 10 device ID PNP0c02 (020cd041) > PNP0a03: adding io range 0xcf8-0xcff, size=0x8, align=0x1 > pnpbios: handle 11 device ID PNP0a03 (030ad041) > PNP0c02: adding io range 0x4d0-0x4d1, size=0x2, align=0x1 > PNP0c02: adding io range 0x1000-0x105f, size=0x60, align=0x1 > PNP0c02: adding io range 0x1060-0x107f, size=0x20, align=0x1 > PNP0c02: adding io range 0x1180-0x11bf, size=0x40, align=0x1 > pnpbios: handle 12 device ID PNP0c02 (020cd041) > INT0800: adding fixed memory32 range 0xffb80000-0xffbfffff, size=0x80000 > INT0800: adding fixed memory32 range 0xffb00000-0xffb7ffff, size=0x80000 > INT0800: adding fixed memory32 range 0xffa80000-0xffafffff, size=0x80000 > INT0800: adding fixed memory32 range 0xffa00000-0xffa7ffff, size=0x80000 > INT0800: adding fixed memory32 range 0xff980000-0xff9fffff, size=0x80000 > INT0800: adding fixed memory32 range 0xff900000-0xff97ffff, size=0x80000 > INT0800: adding fixed memory32 range 0xff880000-0xff8fffff, size=0x80000 > INT0800: adding fixed memory32 range 0xff800000-0xff87ffff, size=0x80000 > INT0800: adding fixed memory32 range 0xff000000-0xff07ffff, size=0x80000 > pnpbios: handle 13 device ID INT0800 (0008d425) > PNP0401: adding io range 0x378-0x37f, size=0x8, align=0x8 > PNP0401: adding io range 0x778-0x77a, size=0x3, align=0x8 > PNP0401: adding irq mask 0x80 > PNP0401: adding dma mask 0x2 > pnpbios: handle 16 device ID PNP0401 (0104d041) > PNP0700: adding io range 0x3f0-0x3f5, size=0x6, align=0x8 > PNP0700: adding io range 0x3f7-0x3f7, size=0x1, align=0x1 > PNP0700: adding irq mask 0x40 > PNP0700: adding dma mask 0x4 > pnpbios: handle 18 device ID PNP0700 (0007d041) > PNP0501: adding io range 0x3f8-0x3ff, size=0x8, align=0x8 > PNP0501: adding irq mask 0x10 > pnpbios: handle 19 device ID PNP0501 (0105d041) > PNP0f13: adding irq mask 0x1000 > pnpbios: handle 23 device ID PNP0f13 (130fd041) > ex_isa_identify() > 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: