Thanks Christian...

I'll try your suggestion..

# modprobe vmcp
# sleep 1
# vmcp your command

I really appreciate your help.

susan



------------------------------

Date:    Thu, 5 Jul 2007 17:10:35 +0200
From:    Christian Borntraeger <[EMAIL PROTECTED]>
Subject: Re: vmcp during boot results in  Error: Could not open device
/dev/vmcp: No such device

Hi Susan,

> While at SLES9, would you recommend hcp be used instead of vmcp at least
> during boot?  The Basevol/Guestvol script uses hcp, but since it sounded
> like vmcp was preferred over hcp, I changed the script to invoke vmcp
> instead.

I would recommend vmcp, but I am biased here. Use whatever works best for
y=
ou.=20

> I see udev in the boot process before the vmcp is issued
(Basevol/Guestvol
> script). However, it is within 4 seconds. If it can take up to 10
seconds,
> it sounds like the timing of this not consistent enough at SLES9.

The delay is not about start of udev --> use of vmcp, its about vmcp
module=
=20
loaded --> use of vmcp.=20

I have never seen the 10 second delay on SLES9 under z/VM (The 10 second
de=
lay=20
is RHEL4 specific and you have to trigger a bug). In fact, I am quite sure=
=20
that udev will create the device node in milliseconds in almost every case
=
if=20
you run under z/VM and dont attach hundreds of devices.=20

So if=20

# modprobe vmcp
# sleep 1
# vmcp your command

does not work, something is probably going seriously wrong.

If you dont want to rely on udev you can always use a pre-defined device
no=
de=20
in your ram disk. You just have to know the sequence of your kernel
modules=
,=20
that create a misc device with dynamic minor. Dynamic minors are assigned
a=
s=20
63,62,61... and modules that use dynamic minors are for example=20
device_mapper, dasd_eer, zfcp_hbaapi.


=2D-=20
IBM Deutschland Entwicklung GmbH
Vorsitzender des Aufsichtsrats: Martin Jetter
Gesch=E4ftsf=FChrung: Herbert Kircher=20
Sitz der Gesellschaft: B=F6blingen
Registergericht: Amtsgericht Stuttgart, HRB 243294

----------------------------------------------------------------------

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

Reply via email to