From owner-freebsd-hardware@FreeBSD.ORG Tue Nov 21 01:54:15 2006 Return-Path: X-Original-To: freebsd-hardware@freebsd.org Delivered-To: freebsd-hardware@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 763B516A416 for ; Tue, 21 Nov 2006 01:54:15 +0000 (UTC) (envelope-from mstolp@teltronics.com) Received: from srqech02.teltronics.com (srqech02.teltronics.com [63.119.78.150]) by mx1.FreeBSD.org (Postfix) with ESMTP id 30B3643D45 for ; Tue, 21 Nov 2006 01:53:54 +0000 (GMT) (envelope-from mstolp@teltronics.com) X-MimeOLE: Produced By Microsoft Exchange V6.0.6487.1 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----_=_NextPart_001_01C70D0F.F14D9E55" Date: Mon, 20 Nov 2006 20:54:12 -0500 Message-ID: <11C803742910E84E9CDBFD344773B81401B9D7FF@srqech02.teltronics.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: RE: rtl8139D Thread-Index: AccND/EYV0Ftr7ffTE6kDR/Npfq7jA== From: "Mark Stolp" To: X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: RE: rtl8139D X-BeenThere: freebsd-hardware@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General discussion of FreeBSD hardware List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Nov 2006 01:54:15 -0000 This is a multi-part message in MIME format. ------_=_NextPart_001_01C70D0F.F14D9E55 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable I've ported the following version of the 8139 driver to another proprietary OS that runs on a Pentium PC (originally written by Intel): =20 * $FreeBSD: src/sys/pci/if_rl.c,v 1.38.2.7 2001/07/19 18:33:07 wpaul Exp $ =20 I can get it to run in polled mode but when I try to run in interrupt mode after about 15-20 transmit packets the transmit interrupt stops firing. After a while the receive interrupt stops firing also. I tried to add recovery when the transmit queue is full (I'm only using 4 packets at this point in time) but that doesn't help. I've checked the 8139 IMR and also checked the PC ports to make sure interrupts are being disabled. I also checked my Interrupt Descriptor Table to make sure the OS isn't clobbering it. Can you think of a reason why resetting and restarting the 8139 would not allow interrupts to start up again? =20 Any ideas would be greatly appreciated. I've been struggling with this for several weeks now. =20 I've attached my source code but I don't know if you'll be able to follow it. =20 Mark Stolp =20 ------_=_NextPart_001_01C70D0F.F14D9E55-- From owner-freebsd-hardware@FreeBSD.ORG Tue Nov 21 14:35:00 2006 Return-Path: X-Original-To: freebsd-hardware@freebsd.org Delivered-To: freebsd-hardware@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 6CF7716A403 for ; Tue, 21 Nov 2006 14:35:00 +0000 (UTC) (envelope-from gkontos.mail@gmail.com) Received: from wx-out-0506.google.com (wx-out-0506.google.com [66.249.82.224]) by mx1.FreeBSD.org (Postfix) with ESMTP id E0C6E43D5F for ; Tue, 21 Nov 2006 14:34:31 +0000 (GMT) (envelope-from gkontos.mail@gmail.com) Received: by wx-out-0506.google.com with SMTP id s18so1950045wxc for ; Tue, 21 Nov 2006 06:34:53 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type; b=TeYy6kn9x9VzDSdiJrth10vuen5W7HzL0ENl+tY0j1RsXu7wUU0HI/Ery1cvZIY5QkDy2uak+9SSMvvBU6/Hub7N+ZIHN+XRYnImF+c5PuYrSRbNP5v9P/DPz/qZVkVGqT90BkxKmWTKclVzzioBj5m1r6yAU3Tcp4R/RAaTEMY= Received: by 10.70.52.1 with SMTP id z1mr1102244wxz.1164119693068; Tue, 21 Nov 2006 06:34:53 -0800 (PST) Received: by 10.70.57.5 with HTTP; Tue, 21 Nov 2006 06:34:52 -0800 (PST) Message-ID: Date: Tue, 21 Nov 2006 16:34:53 +0200 From: "George Kontostanos" To: freebsd-hardware@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Sound Problem or IRQ mixup? X-BeenThere: freebsd-hardware@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General discussion of FreeBSD hardware List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Nov 2006 14:35:00 -0000 Hello everybody, I have a problem with my soundcard detection. The system is running on a ASUS P5B mobo on an Intel Core2Duo Processor at 2.4G with 2 Gigs of Ram. Here is some interesting stuff: uname -a FreeBSD core2duo.aicom.loc 6.2-RC1 FreeBSD 6.2-RC1 #0: Sat Nov 18 18:39:56 EET 2006 root@core2duo.aicom.loc:/usr/obj/usr/src/sys/CORE2DUO i386 Kernel is Generic with IPV6 removed dmesg Copyright (c) 1992-2006 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD is a registered trademark of The FreeBSD Foundation. FreeBSD 6.2-RC1 #0: Sat Nov 18 18:39:56 EET 2006 root@core2duo.aicom.loc:/usr/obj/usr/src/sys/CORE2DUO ACPI APIC Table: Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Intel(R) Core(TM)2 CPU 6600 @ 2.40GHz (2394.43-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x6f6 Stepping = 6 Features=0xbfebfbff Features2=0xe3bd,CX16,,> AMD Features=0x20100000 AMD Features2=0x1 Cores per package: 2 real memory = 2147090432 (2047 MB) avail memory = 2091773952 (1994 MB) FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 1 ioapic0 irqs 0-23 on motherboard kbd1 at kbdmux0 ath_hal: 0.9.17.2 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413) acpi0: on motherboard acpi_bus_number: can't get _ADR acpi_bus_number: can't get _ADR acpi_bus_number: can't get _ADR acpi_bus_number: can't get _ADR acpi0: Power Button (fixed) Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x808-0x80b on acpi0 cpu0: on acpi0 cpu1: on acpi0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 pcib1: irq 16 at device 1.0 on pci0 pci1: on pcib1 nvidia0: port 0x8c00-0x8c7f mem 0xfd000000-0xfdffffff,0xc0000000-0xcfffffff,0xfc000000-0xfcffffff irq 16 at device 0.0 on pci1 nvidia0: [GIANT-LOCKED] uhci0: port 0xdc00-0xdc1f irq 16 at device 26.0 on pci0 uhci0: [GIANT-LOCKED] 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 uhci1: port 0xe000-0xe01f irq 17 at device 26.1 on pci0 uhci1: [GIANT-LOCKED] usb1: on uhci1 usb1: USB revision 1.0 uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub1: 2 ports with 2 removable, self powered ehci0: mem 0xfebffc00-0xfebfffff irq 18 at device 26.7 on pci0 ehci0: [GIANT-LOCKED] usb2: waiting for BIOS to give up control usb2: EHCI version 1.0 usb2: companion controllers, 2 ports each: usb0 usb1 usb2: on ehci0 usb2: USB revision 2.0 uhub2: Intel EHCI root hub, class 9/0, rev 2.00/1.00, addr 1 uhub2: 4 ports with 4 removable, self powered pci0: at device 27.0 (no driver attached) pcib2: irq 16 at device 28.0 on pci0 pci4: on pcib2 pcib3: irq 19 at device 28.3 on pci0 pci3: on pcib3 re0: port 0xa800-0xa8ff mem 0xfe9ff000-0xfe9fffff irq 19 at device 0.0 on pci3 miibus0: on re0 rgephy0: on miibus0 rgephy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX, 1000baseTX-FDX, auto re0: Ethernet address: 00:18:f3:03:66:7e re0: [FAST] pcib4: irq 16 at device 28.4 on pci0 pci2: on pcib4 atapci0: port 0x9c00-0x9c07,0x9880-0x9883,0x9800-0x9807,0x9480-0x9483,0x9400-0x940f mem 0xfe8fe000-0xfe8fffff irq 16 at device 0.0 on pci2 atapci0: AHCI Version 01.00 controller with 2 ports detected ata2: on atapci0 ata3: on atapci0 ata4: on atapci0 uhci2: port 0xd480-0xd49f irq 23 at device 29.0 on pci0 uhci2: [GIANT-LOCKED] usb3: on uhci2 usb3: USB revision 1.0 uhub3: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub3: 2 ports with 2 removable, self powered uhci3: port 0xd800-0xd81f irq 19 at device 29.1 on pci0 uhci3: [GIANT-LOCKED] usb4: on uhci3 usb4: USB revision 1.0 uhub4: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub4: 2 ports with 2 removable, self powered uhci4: port 0xd880-0xd89f irq 18 at device 29.2 on pci0 uhci4: [GIANT-LOCKED] usb5: on uhci4 usb5: USB revision 1.0 uhub5: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub5: 2 ports with 2 removable, self powered ehci1: mem 0xfebff800-0xfebffbff irq 23 at device 29.7 on pci0 ehci1: [GIANT-LOCKED] usb6: waiting for BIOS to give up control usb6: timed out waiting for BIOS usb6: EHCI version 1.0 usb6: companion controllers, 2 ports each: usb3 usb4 usb5 usb6: on ehci1 usb6: USB revision 2.0 uhub6: Intel EHCI root hub, class 9/0, rev 2.00/1.00, addr 1 uhub6: 6 ports with 6 removable, self powered umass0: HLDS Inc. Super Multi DVD Rewriter, rev 2.00/0.01, addr 2 pcib5: at device 30.0 on pci0 pci5: on pcib5 xl0: <3Com 3c905B-TX Fast Etherlink XL> port 0xbc00-0xbc7f mem 0xfeaffc00-0xfeaffc7f irq 22 at device 1.0 on pci5 miibus1: on xl0 xlphy0: <3Com internal media interface> on miibus1 xlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto xl0: Ethernet address: 00:01:02:11:f3:94 isab0: at device 31.0 on pci0 isa0: on isab0 atapci1: port 0xec00-0xec07,0xe880-0xe883,0xe800-0xe807,0xe480-0xe483,0xe400-0xe40f,0xe080-0xe08f irq 19 at device 31.2 on pci0 ata5: on atapci1 ata6: on atapci1 pci0: at device 31.3 (no driver attached) atapci2: port 0xd400-0xd407,0xd080-0xd083,0xd000-0xd007,0xcc00-0xcc03,0xc880-0xc88f,0xc800-0xc80f irq 19 at device 31.5 on pci0 ata7: on atapci2 ata8: on atapci2 acpi_button0: on acpi0 sio0: configured irq 4 not in bitmap of probed irqs 0 sio0: port may not be enabled sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0 sio0: type 16550A fdc0: port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on acpi0 fdc0: [FAST] fd0: <1440-KB 3.5" drive> on fdc0 drive 0 ppc0: port 0x378-0x37f,0x778-0x77f irq 7 drq 3 on acpi0 ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode ppc0: FIFO with 16/16/9 bytes threshold ppbus0: on ppc0 plip0: on ppbus0 lpt0: on ppbus0 lpt0: Interrupt-driven port ppi0: on ppbus0 atkbdc0: port 0x60,0x64 irq 1 on acpi0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] psm0: irq 12 on atkbdc0 psm0: [GIANT-LOCKED] psm0: model IntelliMouse, device ID 3 pmtimer0 on isa0 ata0 at port 0x1f0-0x1f7,0x3f6 irq 14 on isa0 ata1 at port 0x170-0x177,0x376 irq 15 on isa0 sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 ulpt0: Hewlett-Packard OfficeJet 6100 Series, rev 2.00/1.00, addr 2, iclass 255/204 ulpt0: using bi-directional mode Timecounters tick every 1.000 msec acd0: DVDROM at ata4-master UDMA100 ad10: 238475MB at ata5-master SATA150 SMP: AP CPU #1 Launched! cd0 at umass-sim0 bus 0 target 0 lun 0 cd0: Removable CD-ROM SCSI-0 device cd0: 40.000MB/s transfers cd0: Attempt to query device size failed: NOT READY, Medium not present Trying to mount root from ufs:/dev/ad10s3a pid 1507 (gnome-screensaver), uid 1001: exited on signal 6 vmstat -i interrupt total rate irq1: atkbd0 2699 1 irq6: fdc0 10 0 irq12: psm0 134828 60 irq16: nvidia0++ 138086 61 irq19: re0 uhci3++ 13022 5 irq22: xl0 3426 1 irq23: uhci2 ehci1 84 0 cpu0: timer 4333224 1936 cpu1: timer 4325208 1932 Total 8950587 3999 * pciconf -lv *hostb0@pci0:0:0: class=0x060000 card=0x81ea1043 chip=0x29a08086 rev=0x02 hdr=0x00 vendor = 'Intel Corporation' class = bridge subclass = HOST-PCI pcib1@pci0:1:0: class=0x060400 card=0x00000088 chip=0x29a18086 rev=0x02 hdr=0x01 vendor = 'Intel Corporation' class = bridge subclass = PCI-PCI uhci0@pci0:26:0: class=0x0c0300 card=0x81ec1043 chip=0x28348086 rev=0x02 hdr=0x00 vendor = 'Intel Corporation' class = serial bus subclass = USB uhci1@pci0:26:1: class=0x0c0300 card=0x81ec1043 chip=0x28358086 rev=0x02 hdr=0x00 vendor = 'Intel Corporation' class = serial bus subclass = USB ehci0@pci0:26:7: class=0x0c0320 card=0x81ec1043 chip=0x283a8086 rev=0x02 hdr=0x00 vendor = 'Intel Corporation' class = serial bus subclass = USB none0@pci0:27:0: class=0x040300 card=0x81ec1043 chip=0x284b8086 rev=0x02 hdr=0x00 vendor = 'Intel Corporation' class = multimedia pcib2@pci0:28:0: class=0x060400 card=0x00000040 chip=0x283f8086 rev=0x02 hdr=0x01 vendor = 'Intel Corporation' class = bridge subclass = PCI-PCI pcib3@pci0:28:3: class=0x060400 card=0x00000040 chip=0x28458086 rev=0x02 hdr=0x01 vendor = 'Intel Corporation' class = bridge subclass = PCI-PCI pcib4@pci0:28:4: class=0x060400 card=0x00000040 chip=0x28478086 rev=0x02 hdr=0x01 vendor = 'Intel Corporation' class = bridge subclass = PCI-PCI uhci2@pci0:29:0: class=0x0c0300 card=0x81ec1043 chip=0x28308086 rev=0x02 hdr=0x00 vendor = 'Intel Corporation' class = serial bus subclass = USB uhci3@pci0:29:1: class=0x0c0300 card=0x81ec1043 chip=0x28318086 rev=0x02 hdr=0x00 vendor = 'Intel Corporation' class = serial bus subclass = USB uhci4@pci0:29:2: class=0x0c0300 card=0x81ec1043 chip=0x28328086 rev=0x02 hdr=0x00 vendor = 'Intel Corporation' class = serial bus subclass = USB ehci1@pci0:29:7: class=0x0c0320 card=0x81ec1043 chip=0x28368086 rev=0x02 hdr=0x00 vendor = 'Intel Corporation' class = serial bus subclass = USB pcib5@pci0:30:0: class=0x060401 card=0x00000050 chip=0x244e8086 rev=0xf2 hdr=0x01 vendor = 'Intel Corporation' device = '82801BA/CA/DB/DBL/EB/ER/FB (ICH2/3/4/4/5/5/6), 6300ESB Hub Interface to PCI Bridge' class = bridge subclass = PCI-PCI isab0@pci0:31:0: class=0x060100 card=0x81ec1043 chip=0x28108086 rev=0x02 hdr=0x00 vendor = 'Intel Corporation' class = bridge subclass = PCI-ISA atapci1@pci0:31:2: class=0x01018f card=0x81ec1043 chip=0x28208086 rev=0x02 hdr=0x00 vendor = 'Intel Corporation' class = mass storage subclass = ATA none1@pci0:31:3: class=0x0c0500 card=0x81ec1043 chip=0x283e8086 rev=0x02 hdr=0x00 vendor = 'Intel Corporation' class = serial bus subclass = SMBus atapci2@pci0:31:5: class=0x010185 card=0x81ec1043 chip=0x28258086 rev=0x02 hdr=0x00 vendor = 'Intel Corporation' class = mass storage subclass = ATA nvidia0@pci1:0:0: class=0x030000 card=0x00000000 chip=0x039310de rev=0xa1 hdr=0x00 vendor = 'NVIDIA Corporation' class = display subclass = VGA re0@pci3:0:0: class=0x020000 card=0x81681043 chip=0x816810ec rev=0x01 hdr=0x00 vendor = 'Realtek Semiconductor' class = network subclass = ethernet atapci0@pci2:0:0: class=0x010185 card=0x81e41043 chip=0x2363197b rev=0x02 hdr=0x00 class = mass storage subclass = ATA xl0@pci5:1:0: class=0x020000 card=0x905510b7 chip=0x905510b7 rev=0x24 hdr=0x00 vendor = '3COM Corp, Networking Division' device = '3C905B-TX Fast Etherlink 10/100 PCI TX NIC' class = network subclass = ethernet * *#kldload snd_driver* *#cat /dev/sndstat FreeBSD Audio Driver (newpcm) Installed devices: Any help will be appreciated thanks. From owner-freebsd-hardware@FreeBSD.ORG Tue Nov 21 16:14:22 2006 Return-Path: X-Original-To: freebsd-hardware@FreeBSD.org Delivered-To: freebsd-hardware@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 0D87516A403 for ; Tue, 21 Nov 2006 16:14:22 +0000 (UTC) (envelope-from ariff@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [69.147.83.40]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6AE6F43D76 for ; Tue, 21 Nov 2006 16:13:50 +0000 (GMT) (envelope-from ariff@FreeBSD.org) Received: from misaki (root@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with SMTP id kALGE03j034630; Tue, 21 Nov 2006 16:14:01 GMT (envelope-from ariff@FreeBSD.org) Date: Wed, 22 Nov 2006 00:13:56 +0800 From: Ariff Abdullah To: "George Kontostanos" Message-Id: <20061122001356.1841b243.ariff@FreeBSD.org> In-Reply-To: References: Organization: FreeBSD X-Mailer: /usr/local/lib/ruby/1.8/net/smtp.rb Mime-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg="PGP-SHA1"; boundary="Signature=_Wed__22_Nov_2006_00_13_56_+0800_Z1nK=U7WOHLikg=s" Cc: freebsd-hardware@FreeBSD.org Subject: Re: Sound Problem or IRQ mixup? X-BeenThere: freebsd-hardware@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General discussion of FreeBSD hardware List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Nov 2006 16:14:22 -0000 --Signature=_Wed__22_Nov_2006_00_13_56_+0800_Z1nK=U7WOHLikg=s Content-Type: text/plain; charset=US-ASCII Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, 21 Nov 2006 16:34:53 +0200 "George Kontostanos" wrote: > Hello everybody, > I have a problem with my soundcard detection. The system is running > on a ASUS P5B mobo on an Intel Core2Duo Processor at 2.4G with 2 > Gigs of Ram. >=20 [...] > none0@pci0:27:0: class=3D0x040300 card=3D0x81ec1043 > chip=3D0x284b8086 rev=3D0x02 hdr=3D0x00 ^^^^^^^^^^ > vendor =3D 'Intel Corporation' > class =3D multimedia Intel HDA. Either apply patch from http://people.freebsd.org/~ariff/ , or for your own convenience, grab binary kernel modules from http://people.freebsd.org/~ariff/lowlatency/ . -- Ariff Abdullah FreeBSD ... Recording in stereo is obviously too advanced and confusing for us idiot ***** users :P ........ --Signature=_Wed__22_Nov_2006_00_13_56_+0800_Z1nK=U7WOHLikg=s Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (FreeBSD) iD8DBQFFYyXHlr+deMUwTNoRAjHwAJ46e+Z6lckoWoiATJ/coE7pTBmPzgCgnNBc sqRzyJwkKmD5GKj76RAobNI= =z3KV -----END PGP SIGNATURE----- --Signature=_Wed__22_Nov_2006_00_13_56_+0800_Z1nK=U7WOHLikg=s-- From owner-freebsd-hardware@FreeBSD.ORG Tue Nov 21 17:38:47 2006 Return-Path: X-Original-To: freebsd-hardware@freebsd.org Delivered-To: freebsd-hardware@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id AC67916AF87 for ; Tue, 21 Nov 2006 17:38:47 +0000 (UTC) (envelope-from up@3.am) Received: from richard2.pil.net (mail.pil.net [207.7.198.3]) by mx1.FreeBSD.org (Postfix) with SMTP id 9C06E43D75 for ; Tue, 21 Nov 2006 17:38:22 +0000 (GMT) (envelope-from up@3.am) Received: (qmail 45484 invoked by uid 1825); 21 Nov 2006 17:38:43 -0000 Received: from localhost (sendmail-bs@127.0.0.1) by localhost with SMTP; 21 Nov 2006 17:38:43 -0000 Date: Tue, 21 Nov 2006 12:38:43 -0500 (EST) From: up@3.am X-X-Sender: up@richard2.pil.net To: freebsd-usb@freebsd.org Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: freebsd-questions@freebsd.org, freebsd-hardware@freebsd.org Subject: External USB drive kernel problems X-BeenThere: freebsd-hardware@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General discussion of FreeBSD hardware List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Nov 2006 17:38:47 -0000 (Please reply directly to me, as I am not subscribed) I just bought a VIA external USB enclosure with a Hitachi 200GB ATA drive to use for disk-based backups. I put it on my test box here, which I just upgraded to 6.2-Prerelease. All drivers required by the handbook for this application are still in the kernel: device scbus device da device pass device uhci device ohci device usb device umass device ehci However, it will not even finish booting with the USB drive plugged in. It gets hung up on "Waiting 5 seconds for SCSI devices to settle". If I unplug the drive, it immediately finishes booting ok. If I then plug it back in, I get this: Nov 21 12:17:23 amanda kernel: umass0: VIA Technologies Inc. USB 2.0 IDE Bridge, rev 2.00/0.03, addr 2 Nov 21 12:19:33 amanda kernel: da0 at umass-sim0 bus 0 target 0 lun 0 Nov 21 12:19:33 amanda kernel: da0: Fixed Direct Access SCSI-2 device Nov 21 12:19:33 amanda kernel: da0: 40.000MB/s transfers Nov 21 12:19:33 amanda kernel: da0: 305245MB (625142448 512 byte sectors: 255H 63S/T 38913C) Nov 21 12:19:33 amanda kernel: umass0: Invalid CSW: tag 9 should be 10 Nov 21 12:19:33 amanda kernel: (da0:umass-sim0:0:0:0): Synchronize cache failed, status == 0x10, scsi status == 0x0 Nov 21 12:24:58 amanda kernel: Opened disk da0 -> 5 If I try to then run sysinstall to run fdisk, it will not allow the fdisk configuration to be written to it. TIA for any advice, ideas, fixes, etc. James Smallacombe PlantageNet, Inc. CEO and Janitor up@3.am http://3.am ========================================================================= From owner-freebsd-hardware@FreeBSD.ORG Tue Nov 21 18:49:56 2006 Return-Path: X-Original-To: freebsd-hardware@freebsd.org Delivered-To: freebsd-hardware@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 0E95916A4AB for ; Tue, 21 Nov 2006 18:49:56 +0000 (UTC) (envelope-from gkontos.mail@gmail.com) Received: from wx-out-0506.google.com (wx-out-0506.google.com [66.249.82.231]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0FD0543E95 for ; Tue, 21 Nov 2006 18:47:33 +0000 (GMT) (envelope-from gkontos.mail@gmail.com) Received: by wx-out-0506.google.com with SMTP id s18so2021425wxc for ; Tue, 21 Nov 2006 10:47:39 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=aYuZ34wTbrrVSLAf54wlSb+h/Y7KrhULtZollLkpf/WggwM3qA9Q87LA5jypuZWassu0IskoWHS/boI58rzAqmRxoCL7TKz+MBfSfa8xilXf7RkxJxzrZ4GlVWmdyHZwGB7uW4216REhmPa3vo3d/5rQlKfPbzpW9TnWgtZIo6w= Received: by 10.70.8.8 with SMTP id 8mr1748432wxh.1164134858978; Tue, 21 Nov 2006 10:47:38 -0800 (PST) Received: by 10.70.57.5 with HTTP; Tue, 21 Nov 2006 10:47:38 -0800 (PST) Message-ID: Date: Tue, 21 Nov 2006 20:47:38 +0200 From: "George Kontostanos" To: "Ariff Abdullah" In-Reply-To: <20061122001356.1841b243.ariff@FreeBSD.org> MIME-Version: 1.0 References: <20061122001356.1841b243.ariff@FreeBSD.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-hardware@freebsd.org Subject: Re: Sound Problem or IRQ mixup? X-BeenThere: freebsd-hardware@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General discussion of FreeBSD hardware List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Nov 2006 18:49:56 -0000 Thanks Ariff It is now woking -:) On 11/21/06, Ariff Abdullah wrote: > > On Tue, 21 Nov 2006 16:34:53 +0200 > "George Kontostanos" wrote: > > Hello everybody, > > I have a problem with my soundcard detection. The system is running > > on a ASUS P5B mobo on an Intel Core2Duo Processor at 2.4G with 2 > > Gigs of Ram. > > > [...] > > none0@pci0:27:0: class=0x040300 card=0x81ec1043 > > chip=0x284b8086 rev=0x02 hdr=0x00 > ^^^^^^^^^^ > > vendor = 'Intel Corporation' > > class = multimedia > > Intel HDA. Either apply patch from http://people.freebsd.org/~ariff/ , > or for your own convenience, grab binary kernel modules from > http://people.freebsd.org/~ariff/lowlatency/ . > > > > -- > Ariff Abdullah > FreeBSD > > ... Recording in stereo is obviously too advanced > and confusing for us idiot ***** users :P ........ > > > From owner-freebsd-hardware@FreeBSD.ORG Wed Nov 22 17:02:34 2006 Return-Path: X-Original-To: freebsd-hardware@freebsd.org Delivered-To: freebsd-hardware@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 3F22416A403; Wed, 22 Nov 2006 17:02:34 +0000 (UTC) (envelope-from chris@vindaloo.com) Received: from corellia.vindaloo.com (corellia.vindaloo.com [64.51.148.100]) by mx1.FreeBSD.org (Postfix) with ESMTP id 72BB443DAE; Wed, 22 Nov 2006 17:01:21 +0000 (GMT) (envelope-from chris@vindaloo.com) Received: from yavin.vindaloo.com (yavin.vindaloo.com [172.24.144.34]) by corellia.vindaloo.com (Postfix) with ESMTP id D0A545C34; Wed, 22 Nov 2006 11:30:21 -0500 (EST) Received: from dagobah.vindaloo.com (dagobah.vindaloo.com [172.24.145.68]) by yavin.vindaloo.com (Postfix) with ESMTP id 29DC225332; Wed, 22 Nov 2006 11:30:21 -0500 (EST) Received: from localhost.vindaloo.com (localhost.vindaloo.com [IPv6:::1]) by dagobah.vindaloo.com (8.13.8/8.13.8) with ESMTP id kAMGQa2v001604; Wed, 22 Nov 2006 11:26:36 -0500 (EST) (envelope-from chris@vindaloo.com) From: Christopher Sean Hilton To: up@3.am In-Reply-To: References: Content-Type: text/plain Date: Wed, 22 Nov 2006 11:26:35 -0500 Message-Id: <1164212795.1087.12.camel@dagobah.vindaloo.com> Mime-Version: 1.0 X-Mailer: Evolution 2.6.2 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org, freebsd-usb@freebsd.org, freebsd-hardware@freebsd.org Subject: Re: External USB drive kernel problems X-BeenThere: freebsd-hardware@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General discussion of FreeBSD hardware List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Nov 2006 17:02:34 -0000 On Tue, 2006-11-21 at 12:38 -0500, up@3.am wrote: > (Please reply directly to me, as I am not subscribed) > > I just bought a VIA external USB enclosure with a Hitachi 200GB ATA drive > to use for disk-based backups. I put it on my test box here, which I just > upgraded to 6.2-Prerelease. All drivers required by the handbook for this > application are still in the kernel: > > device scbus > device da > device pass > device uhci > device ohci > device usb > device umass > device ehci > > However, it will not even finish booting with the USB drive plugged in. > It gets hung up on "Waiting 5 seconds for SCSI devices to settle". If I > unplug the drive, it immediately finishes booting ok. If I then plug it > back in, I get this: > > Nov 21 12:17:23 amanda kernel: umass0: VIA Technologies Inc. USB 2.0 IDE > Bridge, rev 2.00/0.03, addr 2 > Nov 21 12:19:33 amanda kernel: da0 at umass-sim0 bus 0 target 0 lun 0 > Nov 21 12:19:33 amanda kernel: da0: Fixed > Direct Access SCSI-2 device > Nov 21 12:19:33 amanda kernel: da0: 40.000MB/s transfers > Nov 21 12:19:33 amanda kernel: da0: 305245MB (625142448 512 byte sectors: > 255H 63S/T 38913C) > Nov 21 12:19:33 amanda kernel: umass0: Invalid CSW: tag 9 should be 10 > Nov 21 12:19:33 amanda kernel: (da0:umass-sim0:0:0:0): Synchronize cache > failed, status == 0x10, scsi status == 0x0 > > Nov 21 12:24:58 amanda kernel: Opened disk da0 -> 5 > > If I try to then run sysinstall to run fdisk, it will not allow the fdisk > configuration to be written to it. > > TIA for any advice, ideas, fixes, etc. > In all likelyhood FreeBSD needs some quirk to work with the IDE bridge chipset in your enclosure. I have noticed that the plain jane enclosures seem to work fine but the ones with special features fail. In particular I have an enclosure with both a disk and an SD media slot purchased from and branded by Compusa that does not work with FreeBSD. I have also noticed that the enclosures with a one touch backup button aren't supported. I unfortunately do not know how to debug these enclosures. They tend to be so cheap that I just home in on the ones that are supported. I've noticed that the local Best Buy is carrying an Adaptec enclosure. I have two of the 2.5" ones and they seem to work fine. Here's a link to the 3.5" version which I assume uses that same chipset as the 2.5" one: http://preview.tinyurl.com/vzsha http://www.bestbuy.com/site/olspage.jsp?skuId=6991605&st=adaptec&type=product&id=1099392683637 -- Chris From owner-freebsd-hardware@FreeBSD.ORG Thu Nov 23 09:48:38 2006 Return-Path: X-Original-To: freebsd-hardware@freebsd.org Delivered-To: freebsd-hardware@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 6FFEF16A403 for ; Thu, 23 Nov 2006 09:48:38 +0000 (UTC) (envelope-from narr@narr.rts.spb.ru) Received: from narr.rts.spb.ru (narr.rts.spb.ru [212.176.220.18]) by mx1.FreeBSD.org (Postfix) with ESMTP id 083BC43D80 for ; Thu, 23 Nov 2006 09:48:03 +0000 (GMT) (envelope-from narr@narr.rts.spb.ru) Received: from narr.rts.spb.ru (localhost.rts.spb.ru [127.0.0.1]) by narr.rts.spb.ru (8.13.6/8.13.6) with ESMTP id kAN9mZQW084689 for ; Thu, 23 Nov 2006 12:48:35 +0300 (MSK) (envelope-from narr@narr.rts.spb.ru) Received: (from narr@localhost) by narr.rts.spb.ru (8.13.6/8.13.3/Submit) id kAN9mYpc084684 for freebsd-hardware@freebsd.org; Thu, 23 Nov 2006 12:48:34 +0300 (MSK) (envelope-from narr) Date: Thu, 23 Nov 2006 12:48:34 +0300 From: Anton To: freebsd-hardware@freebsd.org Message-ID: <20061123094834.GA83964@narr.rts.spb.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.11 Subject: Re: SATA-hdd or SATA-controller trouble. X-BeenThere: freebsd-hardware@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General discussion of FreeBSD hardware List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Nov 2006 09:48:38 -0000 Rich Wales wrote: >"Anton" wrote: >>> Aug 21 18:46:27 nrr kernel: ad4: TIMEOUT - READ_DMA retrying (2 retries >>> left) LBA=344654303 >>> Aug 21 18:46:32 nrr kernel: ad4: FAILURE - ATA_IDENTIFY timed out >>> Aug 21 18:46:37 nrr kernel: ad4: FAILURE - ATA_IDENTIFY timed out >>> Aug 21 18:46:37 nrr kernel: ad4: WARNING - removed from configuration >>> Aug 21 18:46:37 nrr kernel: ata2-master: FAILURE - READ_DMA timed out > >"Veronica" replied: > >> I have had similar messages when my ATA cable was damaged. So I suggest >> replacing your cable. > >I've been seeing similar problems to Anton, with brand-new SATA cables that >are definitely not damaged. (Note that Anton was talking about a SATA disk, >with a completely different kind of data cable from old ATA drives.) Yes, it definitile not cable problem. I've confirmed that problem on 3 controllers that kind on 2 different computers. Even this morning I've got this problem one more time: At 3:00, when "periodical" script was running: Nov 23 03:03:11 home kernel: ad6: TIMEOUT - READ_DMA retrying (2 retries left) LBA=332190879 Nov 23 03:03:16 home kernel: ad6: FAILURE - ATA_IDENTIFY timed out Nov 23 03:03:21 home kernel: ad6: FAILURE - ATA_IDENTIFY timed out Nov 23 03:03:21 home kernel: ad6: WARNING - removed from configuration Nov 23 03:03:21 home kernel: ata3-master: FAILURE - READ_DMA timed out Need to say, that it is my home computer, it didn't have any heavy load. Only time, when it can, it was when "periodical" script was run. After that message, comp was working for 5 hours, until I checked that message and try to understand, what happened. I'm discover, that FS, belonged to that disk, was mounted, but, of course, after I try to unmount, system immediately rebooted. >Although it's possible that Anton could be having hardware problems due to >overheating or other drive flakiness, there have been lots of reports of >timeout problems with SATA drives on Promise controllers under heavy I/O >load, from many people, for quite some time now, and I would be surprised >if they were all due to overheating. One more I need to say - I've changed hard drives too. Problem only with controller. >Something is messed up -- maybe in the Promise controller, maybe in the >FreeBSD driver, or (I'll admit for the sake of completeness) maybe in the >drives or elsewhere in the system. And as I said, lots of people on the >net have reported this problem, but no one (so far) has confessed to having >a clue as to what is causing it or how to fix it. >I'm running 6.1-RELEASE-p9 on an old 800-MHz Athlon (original "Slot A" CPU >type), in a DTK VAM-0070 motherboard. I've seen other people, though, >report this problem with much newer hardware. On both my computers was 5.5-Release (-p4 and -p8). In first case - Celeron, in second - Semptron. So, motherboads different. First get medial load, due many http requests, second most of time don't have any load. If any additional info needed, please tell. PS. When I can, I try to test it on 6.2-RC1, but unfortunately, I don't have much time for experiments... -- Anton From owner-freebsd-hardware@FreeBSD.ORG Sat Nov 25 00:08:07 2006 Return-Path: X-Original-To: freebsd-hardware@freebsd.org Delivered-To: freebsd-hardware@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 90ADC16A407 for ; Sat, 25 Nov 2006 00:08:07 +0000 (UTC) (envelope-from mlager@milieunetworks.com) Received: from srvr-1.lynxcom.net (srvr-1.lynxcom.net [69.43.142.132]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2BDC743D55 for ; Sat, 25 Nov 2006 00:07:23 +0000 (GMT) (envelope-from mlager@milieunetworks.com) Received: from macbookpro (cpe-72-132-230-140.san.res.rr.com [72.132.230.140]) by srvr-1.lynxcom.net (Postfix) with ESMTP id 3752CA6C98 for ; Fri, 24 Nov 2006 16:08:11 -0800 (PST) From: "Matthew T. Lager" To: Date: Fri, 24 Nov 2006 16:08:04 -0800 Message-ID: <000001c71025$c9355b20$fb0a000a@macbookpro> MIME-Version: 1.0 X-Mailer: Microsoft Office Outlook 11 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2962 Thread-Index: AccQJccflIrZVg/4Ss+Z75XsPxyBdQ== Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: FreeBSD on a Intel Mac... X-BeenThere: freebsd-hardware@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General discussion of FreeBSD hardware List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 25 Nov 2006 00:08:07 -0000 I haven't seen much discussion about this, but I was able to get a fully functional FreeBSD 6.2-RC1 system dual-booting with Mac OS X on an Intel Mac. I'm trying to get some community support for this as I think it's kinda cool to expand the capabilities of these Mac's. I also through together a forum for the discussion of operating system compatibility with the Intel Macs. I posted my experiences with FreeBSD and my Mac on there. http://intelmac.lynxcom.net/ Just thought I'd share for anyone who was interested in doing this. Thanks. Matthew T. Lager From owner-freebsd-hardware@FreeBSD.ORG Sat Nov 25 16:50:58 2006 Return-Path: X-Original-To: freebsd-hardware@freebsd.org Delivered-To: freebsd-hardware@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D7CF916A492 for ; Sat, 25 Nov 2006 16:50:58 +0000 (UTC) (envelope-from ranju254@hotmail.com) Received: from bay0-omc3-s20.bay0.hotmail.com (bay0-omc3-s20.bay0.hotmail.com [65.54.246.220]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5ECBE43DBA for ; Sat, 25 Nov 2006 16:49:35 +0000 (GMT) (envelope-from ranju254@hotmail.com) Received: from hotmail.com ([65.54.187.186]) by bay0-omc3-s20.bay0.hotmail.com with Microsoft SMTPSVC(6.0.3790.1830); Sat, 25 Nov 2006 08:50:20 -0800 Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Sat, 25 Nov 2006 08:50:20 -0800 Message-ID: Received: from 203.82.192.207 by BAY18-DAV6.phx.gbl with DAV; Sat, 25 Nov 2006 16:50:15 +0000 X-Originating-IP: [203.82.192.207] X-Originating-Email: [ranju254@hotmail.com] X-Sender: ranju254@hotmail.com From: "Mohamamd Nurul Huda" To: Date: Sat, 25 Nov 2006 22:49:05 +0600 MIME-Version: 1.0 X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2096 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2096 X-OriginalArrivalTime: 25 Nov 2006 16:50:20.0447 (UTC) FILETIME=[CB0162F0:01C710B1] X-Mailman-Approved-At: Sat, 25 Nov 2006 18:39:23 +0000 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: ranju@isl-bd.com Subject: SAS Controller X-BeenThere: freebsd-hardware@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General discussion of FreeBSD hardware List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 25 Nov 2006 16:50:58 -0000 Hi Is there anybody help me that Dell PERC 5/i SAS Raid controller = Supported to the FREEBSD Version 5.4. When i install the FreeBSD 5.4 it = canot find the hardisk controller. Thanks Ranju