Date: Sat, 25 Sep 1999 08:23:10 -0700 From: Cy Schubert - ITSD Open Systems Group <Cy.Schubert@uumail.gov.bc.ca> To: The Hermit Hacker <scrappy@hub.org> Cc: Mike Holling <myke@ees.com>, stable@FreeBSD.ORG Subject: Re: swap_pager: indefinite wait buffer Message-ID: <199909251523.IAA01534@passer.osg.gov.bc.ca> In-Reply-To: Your message of "Sat, 25 Sep 1999 00:38:34 -0300." <Pine.BSF.4.10.9909250038000.11886-100000@thelab.hub.org>
next in thread | previous in thread | raw e-mail | index | archive | help
In message <Pine.BSF.4.10.9909250038000.11886-100000@thelab.hub.org>,
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199909251523.IAA01534>
