From nobody Thu Mar 21 15:09:00 2024 X-Original-To: questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4V0plP173Vz5DqHD for ; Thu, 21 Mar 2024 15:09:21 +0000 (UTC) (envelope-from tomek@cedro.info) Received: from mail-yw1-x112c.google.com (mail-yw1-x112c.google.com [IPv6:2607:f8b0:4864:20::112c]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4V0plN2tFYz4gdN for ; Thu, 21 Mar 2024 15:09:20 +0000 (UTC) (envelope-from tomek@cedro.info) Authentication-Results: mx1.freebsd.org; none Received: by mail-yw1-x112c.google.com with SMTP id 00721157ae682-609f060cbafso14138507b3.0 for ; Thu, 21 Mar 2024 08:09:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cedro.info; s=google; t=1711033754; x=1711638554; darn=freebsd.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=1etBKcP8XmzZ9yFtlNn4bxzSCKN6UPWmQo+dRJwO2uw=; b=jYm7sln+tkDynelmvoAAidXEoIgpWCTWpuQjwQCQbg7yADZ3K3iHKfk4c7xxJr2dYB jZSmRCcBu8ZtAfyWsuQ6TMHtnpGq2iwWP4/ASOjR5TSROpnngWGuvaFAwocvZyF58N/b sgrXdF64Y/TL7weO2iJy+GW0chyBRtWmE3YWUGp62v7Zyzuyq3u3aUzZg2NYunXGH2Zi Z8WgtWBh7ZvPp2VYOy06QIGcjrr0ZG0bNxAEi/7wQF8RGZ2oZ34vXKDSo9hEr7N8l5Ng i9KiJ0QRY+nSAFaaRL0/7weYJixnORXecfbwzPR4DCB5aY08Il9hjnj5FhxwlDp5H+8j WQew== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711033754; x=1711638554; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=1etBKcP8XmzZ9yFtlNn4bxzSCKN6UPWmQo+dRJwO2uw=; b=iR/KIXFFw5/71eoGST4NbPL8dYI3F3o+pex36KHahTSxIySEGTtwcXOAGlGMd57bSO BWOn/JWgZA9hOXamjrWr1YkZwc0MG/YPNMty14HGR+fqb+5QTJDgaPvJ6Wh7AN56DaTE J133aA0/aqEvQmSt2d3bgtpqjCJotVIbCLE9ibayRe0j24AmqtE4PhGzAJNPrYS2ECau rrXQY9zVIs8SGQQRy5/wH8/oTFFGUQ+JWRT4TqH/nAGPEB8er2RfPFGxTQZ+lhGlSf2z z3ZIS3zIqsu6fmbth87WkRTPN/6mjRk6p/PBGFEhfyVdvBW2gUhy9rNUqOC4Td4Aym0k tRmg== X-Gm-Message-State: AOJu0YyT4idxJ/hBKSJObW9utpD/nj5xN86chyZYdXzKZZ9kt8btV7nK g91jaGqzMSZjrrq/q/2XSyIg1+M9GfbMSt7eeVbUmRTG6KLzZkxYz3p/g8i7KtueCeEVVmIfFOE = X-Google-Smtp-Source: AGHT+IHlE/PfsPyDxkE7tZINBY0yY7mJ8HFopGkHoc1jRl1gkrxy/m31Tbv7X5z5hElZwYvUnlthqA== X-Received: by 2002:a81:6d54:0:b0:608:de16:ecb5 with SMTP id i81-20020a816d54000000b00608de16ecb5mr9972876ywc.1.1711033753359; Thu, 21 Mar 2024 08:09:13 -0700 (PDT) Received: from mail-yb1-f177.google.com (mail-yb1-f177.google.com. [209.85.219.177]) by smtp.gmail.com with ESMTPSA id l82-20020a0de255000000b0061101642b68sm537014ywe.123.2024.03.21.08.09.12 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 21 Mar 2024 08:09:12 -0700 (PDT) Received: by mail-yb1-f177.google.com with SMTP id 3f1490d57ef6-dccb1421bdeso966649276.1 for ; Thu, 21 Mar 2024 08:09:12 -0700 (PDT) X-Received: by 2002:a5b:b52:0:b0:dd0:702:577a with SMTP id b18-20020a5b0b52000000b00dd00702577amr8493272ybr.35.1711033752488; Thu, 21 Mar 2024 08:09:12 -0700 (PDT) List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 References: <360F0169-B132-4F5B-B261-E50661911CDC@gushi.org> In-Reply-To: <360F0169-B132-4F5B-B261-E50661911CDC@gushi.org> From: Tomek CEDRO Date: Thu, 21 Mar 2024 16:09:00 +0100 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: Dell perc card corrupted by FreeBSD driver? To: "Dan Mahoney (Ports)" Cc: questions Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US] X-Rspamd-Queue-Id: 4V0plN2tFYz4gdN On Thu, Mar 21, 2024 at 8:16=E2=80=AFAM Dan Mahoney (Ports) wrote: > We have a Dell Perc h330 mini that we=E2=80=99ve been using with the olde= r =E2=80=9Cmfi=E2=80=9D driver, not the newer mrsas. Recently, it started = giving us an error on boot claiming that it was "Disabling writes to flash = as the flash part has gone bad" Hey Dan, I have no such hardware but something may wear-out-flash memory as each flash has limited thousands of write cycles.. or they got faulty Flash chips batch. It would be good to know what flash type is used NOR or NAND? For sure they had such situation in mind creating bios that will print that message on boot after failed write so we can assume Flash memory is written at least once per boot ;-) Assuming that problem is caused by flash-wear-out and really is BSD related it may be kernel driver or startup application (mfiutil?). But it also may be faulty controller firmware or bios storing something too frequently in that flash. If you can pull out the controller, there might be some sort of small 8-pin serial (NOR) Flash memory chip onboard, that it is easy and cheap to replace. You can also use memory programmer to dump it contents and verify if really write fails. If the memory is a bigger chip (NAND Flash) then it may have badblocks by design and the question is what filesystem is used to store data on that particular flash memory type and if this is flash friendly fs and how firmware/bios handles errors :-) -- CeDeROM, SQ7MHZ, http://www.tomek.cedro.info