Date: Sun, 26 Sep 1999 09:07:34 -0400 (EDT) From: jedgar@fxp.org To: FreeBSD-gnats-submit@freebsd.org Subject: kern/13979: [PATCH] add serial number to IDE HD probe output for boot -v (like SCSI) Message-ID: <19990926130734.029C5F80F@pawn.primelocation.net>
index | next in thread | raw e-mail
>Number: 13979
>Category: kern
>Synopsis: [PATCH] add serial number to IDE HD probe output for boot -v (like SCSI)
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Sun Sep 26 11:10:01 PDT 1999
>Closed-Date:
>Last-Modified:
>Originator: Chris D. Faulhaber
>Release: FreeBSD 4.0-CURRENT i386
>Organization:
Not in this lifetime
>Environment:
FreeBSD earth.fxp 4.0-CURRENT FreeBSD 4.0-CURRENT #2: Sun Sep 26 08:51:04 EDT 1999
>Description:
Patch to add serial number to IDE HD probe output for verbose boot (like SCSI does):
wdc0: unit 0 (wd0): <FUJITSU MPC3043AT>, DMA, 32-bit, multi-block-16
wd0: 4125MB (8448300 sectors), 8940 cyls, 15 heads, 63 S/T, 512 B/S
wd0: Serial Number 10012628
(patch should apply to -stable also with a small offset)
>How-To-Repeat:
boot -v ... no Serial Numbers are shown for IDE hard drives
>Fix:
Index: src/sys/i386/isa/wd.c
===================================================================
RCS file: /home/ncvs/src/sys/i386/isa/wd.c,v
retrieving revision 1.210
diff -u -r1.210 wd.c
--- wd.c 1999/09/25 18:24:11 1.210
+++ wd.c 1999/09/26 12:55:05
@@ -495,6 +495,8 @@
if (bootverbose) {
wp = &du->dk_params;
+ printf("wd%d: Serial Number %s\n",
+ lunit, wp->wdp_serial);
printf( "wd%d: ATA INQUIRE valid = %04x, "
"dmamword = %04x, apio = %04x, "
"udma = %04x\n",
>Release-Note:
>Audit-Trail:
>Unformatted:
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19990926130734.029C5F80F>
