From owner-freebsd-hardware Sun Jan 26 7:10: 7 2003 Delivered-To: freebsd-hardware@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B68D737B401 for ; Sun, 26 Jan 2003 07:10:05 -0800 (PST) Received: from ddba033.netstream.ch (ddba033.netstream.ch [62.65.128.33]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0716F43EB2 for ; Sun, 26 Jan 2003 07:10:00 -0800 (PST) (envelope-from oliver@cosec.org) Received: from [62.65.148.234] (helo=relay.cosec.org) by ddba033.netstream.ch with esmtp (Exim 4.10) id 18coQ0-000B1T-00 for freebsd-hardware@freebsd.org; Sun, 26 Jan 2003 16:09:57 +0100 To: freebsd-hardware@freebsd.org Subject: Crystal 4237B sound card on 5.0 Release From: Oliver Enzmann Organization: none - whatsoever X-PGP: 0x5B5158C6 X-PGP-FP: 179C E1EB EB64 48A3 F25A 372D 6A00 DCBC 5B51 58C6 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Date: 26 Jan 2003 16:08:02 +0100 Message-ID: Lines: 34 User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.1 (Cuyahoga Valley) MIME-Version: 1.0 Sender: owner-freebsd-hardware@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hi, I try to get a Crystal 4237B sound card working on an old Dell laptop (Latitude CP M233XT) under FreeBSD 5.0. I understand that the pcm driver should be all I need. However, I've tried with pcm built into the kernel or as a module without any success. Fiddling with device.hints (for pcm built into the kernel) or kenv (for the pcm module) did not make a difference. This card is connected to the ISA bus at, I believe, io=3D0x530, irq=3D5, drq=3D1. Pnpinfo does not show any plug-n-pray devices but I am not sure whether this is a PNP card or not. - Do the hints in the kernel environment matter when a module loads? Does it make sense to set the appropriate hints using kenv? - What are the recommended steps to further debug this problem? - Is cvsup'ing /usr/src/sys worth a try (the kernel was built from the stock 5.0 Release source)? - Where is the pnpbios kernel configuration option gone in 5.0? Note: - This laptop has no BIOS option to turn the PNP Bios off.=20 - Turning off ACPI using 'hint.acpi.0.disabled=3D"1"' did not make a difference. Any help is greatly appreciated, Oliver --=20 Oliver Enzmann - Datagram ninja and protector of the holy session DSS Key: 0x5B5158C6 - RSA Key: 0x3FD52195 - Lat 47=B008.083N Long 7=B014.350E "Time flies like an arrow. Fruit flies like a banana." - Lisa Grossman To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hardware" in the body of the message From owner-freebsd-hardware Sun Jan 26 20: 7:53 2003 Delivered-To: freebsd-hardware@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A823637B401 for ; Sun, 26 Jan 2003 20:07:49 -0800 (PST) Received: from ohsmtp03.ogw.rr.com (ohsmtp03.ogw.rr.com [65.24.7.38]) by mx1.FreeBSD.org (Postfix) with ESMTP id C0C1A43ED8 for ; Sun, 26 Jan 2003 20:07:48 -0800 (PST) (envelope-from skel@ewenix.net) Received: from rosebud.ewenix.net (net24-164-124-059.neo.rr.com [24.164.124.59]) by ohsmtp03.ogw.rr.com (8.12.5/8.12.2) with ESMTP id h0R47lLh008566 for ; Sun, 26 Jan 2003 23:07:47 -0500 (EST) Message-Id: <5.1.0.14.2.20030126215044.00a6fb20@pop-server.neo.rr.com> X-Sender: skel@pop-server.neo.rr.com (Unverified) X-Mailer: QUALCOMM Windows Eudora Version 5.1 Date: Sun, 26 Jan 2003 23:06:44 -0500 To: freebsd-hardware@freebsd.org From: Mike Subject: 2940 scsi card & 5.0 Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Sender: owner-freebsd-hardware@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hi I have been fighting this issue for the past week, not sure what else to look at. The issue is that I have this 2940u2w card and I just put it into a 5.0 release machine. I keep getting these error messages. ahc0: PCI error Interrupt at seqaddr = 0x9 ahc0: Data Parity Error Detected during address or write data phase I have bounced pci cards around and manually set IRQ's for the pci cards, yet still I keep getting these random errors. I can almost always reproduce the error if I try and stream music from the machine to another on the local network. I am running a dual 750 Abit vp6 via apollo pro 133 chipset w/ 256 mbs of ram. If I dont stream any music I almost certainly will not receive this error at all. Soon as I try the errors will appear at random and sometimes they will go for a few minutes and stop for a few. These are the current IRQ settings. (irq14: ata0) (irq15: ata1) (irq2: rl0) pci slot #1 shares with AGP (irq5: ahc0) pci slot #3 (irq7: fxp0) pcislot #4 (irq10: atapci1+) Highpoint controller IRQ shares with pci slot #5 (irq6: fdc0) (irq1: atkbd0) irq4: sio0 It does not appear that I am getting any corrupted data.. Yet I really rather not play with that fire.. I have moved large files across the network and I have not seen as many errors there as I would if I was simply streaming music across. Maybe 1 error during the transfer if that. Which surprises me since its under a little heavier of a load I would think. Sticking the scsi card in slot #1 gives constant errors. Slot 2 was not much better, slot 3 seems to be ok it works better then slot 4 The card was working ok as far as I know it came from a windows machine, (it was actually installed on this same board) I was running and I was not getting any problems there. Thats not to say something happened between taking it out letting it sit for a few weeks and putting it back... Heres the dmesg output not sure if its needed this email is quite long enough. Copyright (c) 1992-2003 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.0-RELEASE #1: Fri Jan 24 13:24:01 EST 2003 root@*:/usr/src/sys/i386/compile/freq Preloaded elf kernel "/boot/kernel/kernel" at 0xc040f000. Preloaded elf module "/boot/kernel/acpi.ko" at 0xc040f0a8. Timecounter "i8254" frequency 1193182 Hz CPU: Pentium III/Pentium III Xeon/Celeron (753.39-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x683 Stepping = 3 Features=0x383fbff real memory = 268369920 (255 MB) avail memory = 256274432 (244 MB) Programming 24 pins in IOAPIC #0 IOAPIC #0 intpin 2 -> irq 0 FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs cpu0 (BSP): apic id: 0, version: 0x00040011, at 0xfee00000 cpu1 (AP): apic id: 1, version: 0x00040011, at 0xfee00000 io0 (APIC): apic id: 2, version: 0x00178011, at 0xfec00000 Initializing GEOMetry subsystem Pentium Pro MTRR support enabled npx0: on motherboard npx0: INT 16 interface acpi0: on motherboard ACPI-0625: *** Info: GPE Block0 defined as GPE0 to GPE15 Using $PIR table, 8 entries at 0xc00fdbc0 acpi0: power button is handled as a fixed feature programming model. Timecounter "ACPI-fast" frequency 3579545 Hz acpi_timer0: <24-bit timer at 3.579545MHz> port 0x4008-0x400b on acpi0 acpi_cpu0: on acpi0 acpi_cpu1: on acpi0 acpi_button0: on acpi0 pcib0: port 0x6000-0x607f,0x5000-0x500f,0x4080-0x40ff,0x4000-0x407f,0xcf8-0xcff on acpi0 pci0: on pcib0 IOAPIC #0 intpin 16 -> irq 2 IOAPIC #0 intpin 17 -> irq 5 IOAPIC #0 intpin 19 -> irq 7 IOAPIC #0 intpin 18 -> irq 10 agp0: mem 0xd0000000-0xd3ffffff at device 0.0 on pci0 pcib1: at device 1.0 on pci0 pci1: on pcib1 pci1: at device 0.0 (no driver attached) isab0: at device 7.0 on pci0 isa0: on isab0 atapci0: port 0xc000-0xc00f at device 7.1 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata1: at 0x170 irq 15 on atapci0 pci0: at device 7.4 (no driver attached) rl0: port 0xcc00-0xccff mem 0xd9100000-0xd91000ff irq 2 at device 9.0 on pci0 rl0: Realtek 8139B detected. Warning, this may be unstable in autoselect mode rl0: Ethernet address: 00:a0:4c:39:11:ac miibus0: on rl0 rlphy0: on miibus0 rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto ahc0: port 0xd000-0xd0ff mem 0xd9102000-0xd9102fff irq 5 at device 11.0 on pci0 aic7890/91: Ultra2 Wide Channel A, SCSI Id=0, 32/253 SCBs fxp0: port 0xd400-0xd41f mem 0xd9000000-0xd90fffff,0xd9101000-0xd9101fff irq 7 at device 12.0 on pci0 fxp0: Ethernet address 00:a0:c9:c8:04:71 inphy0: on miibus1 inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto atapci1: port 0xe800-0xe8ff,0xe400-0xe403,0xe000-0xe007,0xdc00-0xdc03,0xd800-0xd807 irq 10 at device 14.0 on pci0 ata2: at 0xd800 on atapci1 ata3: at 0xe000 on atapci1 fdc0: port 0x3f7,0x3f0-0x3f5 irq 6 drq 2 on acpi0 fdc0: FIFO enabled, 8 bytes threshold fd0: <1440-KB 3.5" drive> on fdc0 drive 0 sio0 port 0x3f8-0x3ff irq 4 on acpi0 sio0: type 16550A atkbdc0: port 0x64,0x60 irq 1 on acpi0 atkbd0: flags 0x1 irq 1 on atkbdc0 kbd0 at atkbd0 psm0: irq 12 on atkbdc0 psm0: model IntelliMouse, device ID 3 orm0: