From owner-freebsd-stable@FreeBSD.ORG Sat Jul 30 22:48:42 2005 Return-Path: X-Original-To: stable@freebsd.org Delivered-To: freebsd-stable@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8E99E16A41F for ; Sat, 30 Jul 2005 22:48:42 +0000 (GMT) (envelope-from imbutler@comcast.net) Received: from rwcrmhc12.comcast.net (rwcrmhc12.comcast.net [216.148.227.85]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3D66F43D45 for ; Sat, 30 Jul 2005 22:48:42 +0000 (GMT) (envelope-from imbutler@comcast.net) Received: from mail.auburn.protected-networks.net ([24.218.148.177]) by comcast.net (rwcrmhc12) with ESMTP id <20050730224841014000tg1ke>; Sat, 30 Jul 2005 22:48:41 +0000 Received: from localhost (localhost.auburn.protected-networks.net [127.0.0.1]) by mail.auburn.protected-networks.net (Postfix) with ESMTP id EE69B17078 for ; Sat, 30 Jul 2005 18:48:40 -0400 (EDT) Received: from mail.auburn.protected-networks.net ([127.0.0.1]) by localhost (mail.auburn.protected-networks.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 00805-01 for ; Sat, 30 Jul 2005 18:48:27 -0400 (EDT) Received: from [127.0.0.1] (localhost.auburn.protected-networks.net [127.0.0.1]) by mail.auburn.protected-networks.net (Postfix) with ESMTP for ; Sat, 30 Jul 2005 18:48:27 -0400 (EDT) Message-ID: <42EC03BA.1060008@comcast.net> Date: Sat, 30 Jul 2005 18:48:26 -0400 From: Michael Butler User-Agent: Mozilla Thunderbird 1.0.6 (Windows/20050716) X-Accept-Language: en-us, en MIME-Version: 1.0 To: stable@freebsd.org X-Enigmail-Version: 0.92.0.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: amavisd-new at mail.auburn.protected-networks.net Cc: Subject: RELENG_5 ATA patches mk III X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 30 Jul 2005 22:48:42 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Ran into a small problem with this patch-kit on RELENG_5 .. Jul 29 21:01:06 mail kernel: FAILURE - out of memory in ata_raid_init_request ~ .. after which the box promptly rebooted (no console, sorry). The box is most definitely "memory constrained" (as in snippets of dmesg below) but not so much that I would expect this. In the RELENG_5 code, memory allocation in the driver is done slightly differently .. #define ata_alloc_request() uma_zalloc(ata_zone, M_NOWAIT | M_ZERO) ~ .. versus .. buf1 = malloc(sizeof(struct ar_buf), M_AR, M_NOWAIT | M_ZERO); /* XXX */ ~ .. in their respective 'strategy' functions. Did the shift to 'uma_zalloc' break my machine? ;-) Michael Jul 29 21:03:39 mail kernel: CPU: Pentium II/Pentium II Xeon/Celeron (348.49-MHz 686-class CPU) Jul 29 21:03:39 mail kernel: Origin = "GenuineIntel" Id = 0x651 Stepping = 1 Jul 29 21:03:39 mail kernel: Features=0x183f9ff Jul 29 21:03:39 mail kernel: real memory = 402653184 (384 MB) Jul 29 21:03:39 mail kernel: avail memory = 388505600 (370 MB) ~ [ .. ] Jul 29 21:03:39 mail kernel: atapci1: port 0x1400-0x14ff,0x1010-0x1013,0x1018-0x101f,0x1014-0 x1017,0x1040-0x1047 irq 11 at device 13.0 on pci0 Jul 29 21:03:39 mail kernel: ata2: on atapci1 Jul 29 21:03:39 mail kernel: ata3: on atapci1 Jul 29 21:03:39 mail kernel: ahc0: port 0x1800-0x18ff mem 0xd0000000-0xd0000fff irq 10 at device 14.0 on pci0 Jul 29 21:03:39 mail kernel: aic7860: Ultra Single Channel A, SCSI Id=7, 3/253 SCBs ~ [ .. ] Jul 29 21:03:39 mail kernel: atapicam0: on ata0 Jul 29 21:03:39 mail kernel: atapicam1: on ata1 Jul 29 21:03:39 mail kernel: acd0: CDROM at ata1-master UDMA33 Jul 29 21:03:39 mail kernel: atapicam2: on ata2 Jul 29 21:03:39 mail kernel: ad4: 152627MB at ata2-master UDMA133 Jul 29 21:03:39 mail kernel: ad5: 152627MB at ata2-slave UDMA133 Jul 29 21:03:39 mail kernel: atapicam3: on ata3 Jul 29 21:03:39 mail kernel: ad6: 152627MB at ata3-master UDMA133 Jul 29 21:03:39 mail kernel: ad7: 152627MB at ata3-slave UDMA133 Jul 29 21:03:39 mail kernel: sa0 at ahc0 bus 0 target 0 lun 0 Jul 29 21:03:39 mail kernel: sa0: Removable Sequential Access SCSI-2 device Jul 29 21:03:39 mail kernel: sa0: 10.000MB/s transfers (10.000MHz, offset 15) Jul 29 21:03:39 mail kernel: pass1 at ata1 bus 0 target 0 lun 0 Jul 29 21:03:39 mail kernel: pass1: Removable CD-ROM SCSI-0 device Jul 29 21:03:39 mail kernel: pass1: 33.000MB/s transfers Jul 29 21:03:39 mail kernel: ATA PseudoRAID loaded Jul 29 21:03:39 mail kernel: ar0: 305255MB status: READY Jul 29 21:03:39 mail kernel: ar0: disk0 READY (master) using ad4 at ata2-master Jul 29 21:03:39 mail kernel: ar0: disk1 READY (master) using ad5 at ata2-slave Jul 29 21:03:39 mail kernel: ar0: disk2 READY (mirror) using ad6 at ata3-master Jul 29 21:03:39 mail kernel: ar0: disk3 READY (mirror) using ad7 at ata3-slave -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (MingW32) iD8DBQFC7AO6iJykeV6HPMURAs06AJ9IkIuV1g6+McqIP8CUseJcvk1X2QCg/q6v qPLAWwnjU5j4MbEgetCCKjA= =DXcF -----END PGP SIGNATURE-----