From owner-freebsd-bugs Sun Sep 26 11:10:18 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id B2A2C1534D for ; Sun, 26 Sep 1999 11:10:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id LAA01081; Sun, 26 Sep 1999 11:10:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from pawn.primelocation.net (pawn.primelocation.net [205.161.238.235]) by hub.freebsd.org (Postfix) with ESMTP id 2B05415092 for ; Sun, 26 Sep 1999 06:07:35 -0700 (PDT) (envelope-from jedgar@pawn.primelocation.net) Received: by pawn.primelocation.net (Postfix, from userid 1003) id 029C5F80F; Sun, 26 Sep 1999 09:07:34 -0400 (EDT) Message-Id: <19990926130734.029C5F80F@pawn.primelocation.net> Date: Sun, 26 Sep 1999 09:07:34 -0400 (EDT) From: jedgar@fxp.org Reply-To: jedgar@fxp.org To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: kern/13979: [PATCH] add serial number to IDE HD probe output for boot -v (like SCSI) Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >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): , 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