From owner-freebsd-stable Sat Sep 25 8:23:50 1999 Delivered-To: freebsd-stable@freebsd.org Received: from point.osg.gov.bc.ca (point.osg.gov.bc.ca [142.32.102.44]) by hub.freebsd.org (Postfix) with ESMTP id 78EB115182 for ; Sat, 25 Sep 1999 08:23:48 -0700 (PDT) (envelope-from Cy.Schubert@uumail.gov.bc.ca) Received: (from daemon@localhost) by point.osg.gov.bc.ca (8.8.7/8.8.8) id IAA08529; Sat, 25 Sep 1999 08:23:46 -0700 Received: from passer.osg.gov.bc.ca(142.32.110.29) via SMTP by point.osg.gov.bc.ca, id smtpda08527; Sat Sep 25 08:23:39 1999 Received: (from uucp@localhost) by passer.osg.gov.bc.ca (8.9.3/8.9.1) id IAA01534; Sat, 25 Sep 1999 08:23:28 -0700 (PDT) Message-Id: <199909251523.IAA01534@passer.osg.gov.bc.ca> Received: from localhost.osg.gov.bc.ca(127.0.0.1), claiming to be "passer.osg.gov.bc.ca" via SMTP by localhost.osg.gov.bc.ca, id smtpdIV1529; Sat Sep 25 08:23:12 1999 X-Mailer: exmh version 2.0.2 2/24/98 Reply-To: Cy Schubert - ITSD Open Systems Group From: Cy Schubert - ITSD Open Systems Group X-OS: FreeBSD 3.3-RELEASE X-Sender: cy To: The Hermit Hacker Cc: Mike Holling , stable@FreeBSD.ORG Subject: Re: swap_pager: indefinite wait buffer In-reply-to: Your message of "Sat, 25 Sep 1999 00:38:34 -0300." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sat, 25 Sep 1999 08:23:10 -0700 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In message , The Hermi t Hacker writes: > > Any way of findign out which device this belongs to? > > swap_pager: indefinite wait buffer: device: 0x20449, blkno: 5480, size: 4096 > > > > On Fri, 24 Sep 1999, Mike Holling wrote: > > > Any clues on what this means? > > > > swap_pager: indefinite wait buffer: device: 0x20401, blkno: 28040, size: > > 4096 > > > > It's been showing up, on and off, in the daily logs of a -STABLE machine > > running a snapshot from sometime in June. The box is a K6-2 400 with a > > DPT RAID controller. Nothing bad seems to have happened yet (no apps > > mysteriously dying) and the machine's been up for a few months. > > > > - Mike > > > > > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > with "unsubscribe freebsd-stable" in the body of the message > > If we take a look at sys/types.h, /* * minor() gives a cookie instead of an index since we don't want to * change the meanings of bits 0-15 or waste time and space shifting * bits 16-31 for devices that don't use them. */ #define major(x) ((int)(((u_int)(x) >> 8)&0xff)) /* major number */ #define minor(x) ((int)((x)&0xffff00ff)) /* minor number */ #define makedev(x,y) ((dev_t)(((x) << 8) | (y))) /* create dev_t */ So, 0x20449 is major # 0x04, a SCSI device, and minor # 0x00020049. Just do an ls -l /dev/da* and you'll find your device: da2. Regards, Phone: (250)387-8437 Cy Schubert Fax: (250)387-5766 Open Systems Group Internet: Cy.Schubert@uumail.gov.bc.ca ITSD Cy.Schubert@gems8.gov.bc.ca Province of BC "e**(i*pi)+1=0" To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message