Fortunately, /proc/dasd/devices does the counting for you, in this case 94/232. You just need to do the mknod's for major/minor 94/232-235. I think that only /dev/dasda-z are pre-made. Anytning beyond that and you have to do it yourself.
Steve Arden > Return-Path: <[EMAIL PROTECTED]> > MIME-Version: 1.0 > Content-Type: text/plain; charset="iso-8859-1" > Approved-By: "Post, Mark K" <[EMAIL PROTECTED]> > Sender: Linux on 390 Port <[EMAIL PROTECTED]> > From: "Post, Mark K" <[EMAIL PROTECTED]> > Subject: Re: Can't Use DASD > To: [EMAIL PROTECTED] > Precedence: list > > William, > > You need to create the appropriate /dev/dasdbg and /dev/dasdbg{1,2,3} > entries. What the correct major/minor numbers would be for that, I have no > idea. Perhaps someone else can help there. > > Mark Post > > -----Original Message----- > From: Scully, William [mailto:[EMAIL PROTECTED]] > Sent: Friday, October 04, 2002 10:08 AM > To: [EMAIL PROTECTED] > Subject: Can't Use DASD > > > While the SuSE 2.4 kernel was running I did a #CP LINK to get a new device > on-line. I DASDFMTed it without problems. And I see it in > /proc/dasd/devices. But I can't seem to get fdasd to work with the new > devices. I get: > > usilfs13:~ # fdasd /dev/dasdbg > fdasd error: device verification failed > The specified device is not a valid DASD device > > What step have I forgotten? > > Additional info (trimmed to be compact): > > > usilfs13:~ # cat /proc/dasd/devices > 0200(ECKD) at ( 94: 0) is dasda:active at blocksize: 4096, 18000 blocks, 70 > MB > 0201(ECKD) at ( 94: 4) is dasdb:active at blocksize: 4096, 582840 blocks, > 2276 MB > 023a(ECKD) at ( 94:232) is dasdbg:active at blocksize: 4096, 600840 blocks, > 2347 MB > usilfs13:~ # fdasd /dev/dasdbg > fdasd error: device verification failed > The specified device is not a valid DASD device > usilfs13:~ # cat /etc/zipl.conf > [defaultboot] > default=ipl > > [ipl] > target=/boot/zipl > image=/boot/kernel/image > #ramdisk=/boot/initrd > parameters="dasd=0200-299 root=/dev/dasdb1 noinitrd" > > [dumptape] > target=/boot > dumpto=/dev/rtibm0 > usilfs13:~ # > > > William P. Scully > Systems Programmer > Computer Associates International, Inc > 2291 Wood Oak Drive > Unit 5-29C > Herndon, Virginia 20171 > > Work: +1 703 708 3976 > FAX: +1 703 708 3267 > Beep: +1 888 BEEP CAI > > [EMAIL PROTECTED] Steve Arden [EMAIL PROTECTED] IBM-Global Services @ Lucent (630)979-7124