Operating System - HP-UX
1820906 Members
4774 Online
109629 Solutions
New Discussion юеВ

Re: "schgr" driver disappeared in kernel

 
SOLVED
Go to solution
Keynes Lee
Regular Advisor

"schgr" driver disappeared in kernel

How can I find it back ?
21 REPLIES 21
Keynes Lee
Regular Advisor

Re: "schgr" driver disappeared in kernel

BTW the OS version is hp-ux 11.11
Horia Chirculescu
Honored Contributor

Re: "schgr" driver disappeared in kernel

Hello,

You could use SAM/kernel configuration to enable the requested driver in your kernel. You must restart the system in order to build/install the new kernel.

Best regards,
Horia.
Best regards from Romania,
Horia.
Keynes Lee
Regular Advisor

Re: "schgr" driver disappeared in kernel

I can't see the driver "schgr" in SAM --> driver.

Adisuria Wangsadinata_1
Honored Contributor

Re: "schgr" driver disappeared in kernel

Hi Keynes,

Good day to you !
Please use SAM to put the 'schgr' kernel driver back to your system. Downtime is required for this task.

login as root > SAM > Kernel Configuration > Drivers > schgr > Add Driver(s) to Kernel

Hope this information can help.

Regards,
Adi.
now working, next not working ... that's unix
Keynes Lee
Regular Advisor

Re: "schgr" driver disappeared in kernel

Hi

I can't "schgr" in
"SAM > Kernel Configuration > Drivers >"

Is any other way ?
Horia Chirculescu
Honored Contributor

Re: "schgr" driver disappeared in kernel

You should go to

SAM/Kernel configuration/Drivers

I suppose you had the driver in the kernel somewhere in the past, right?

Something was changed like a kernel rebuid...

Horia.
Best regards from Romania,
Horia.
Horia Chirculescu
Honored Contributor

Re: "schgr" driver disappeared in kernel

What does it say to you:

kmsystem -q schgr

Horia.
Best regards from Romania,
Horia.
Keynes Lee
Regular Advisor

Re: "schgr" driver disappeared in kernel

[bqyhp01]/ # kmsystem -q schgr
Module Configured Loadable
=================================================
schgr N -
Horia Chirculescu
Honored Contributor

Re: "schgr" driver disappeared in kernel

You could also check if the system find the corresponding hardware using ioscan.
(ioscan -d)

Horia.
Best regards from Romania,
Horia.
Adisuria Wangsadinata_1
Honored Contributor

Re: "schgr" driver disappeared in kernel

Hi Keynes,

Thanks for your update.
BTW, may I know what's the purpose of this 'schgr' driver ? Do you have this driver on your system previously ?

For what I understand, the 'schgr' driver is use to control the robotic arm on the library tape. Sometimes, the library need 'sctl' than 'schgr'.

Regards,
Adi.
now working, next not working ... that's unix
Keynes Lee
Regular Advisor

Re: "schgr" driver disappeared in kernel

I need this driver to install a MSL6060 tape drive. For enabling "autoch"
Keynes Lee
Regular Advisor

Re: "schgr" driver disappeared in kernel

unknown -1 1/0/4/0/0.2.2.255.0.0.0 UNCLAIMED UNKNOWN HP MSL6000 Series
Horia Chirculescu
Honored Contributor

Re: "schgr" driver disappeared in kernel

kmsystem -c Y schgr

would configure the driver in your kernel.

Then you must rebuild the kernel manually using mk_kernel (read manual page)


Bets regards,
Horia.
Best regards from Romania,
Horia.
Horia Chirculescu
Honored Contributor

Re: "schgr" driver disappeared in kernel

Manual rebuild of the kernel:

cd /stand/build
mk_kernel -s /stand/system -o /stand/vmunix

Best regards from Romania,
Horia.
Best regards from Romania,
Horia.
Adisuria Wangsadinata_1
Honored Contributor

Re: "schgr" driver disappeared in kernel

Hi Keynes,

Please execute the command from Horia 1st and see if the system can add the 'schgr' driver.

There's another thing that you need to have for the tape library, the 'stape' driver.

See output of the command below :

# tddiag|egrep -i stape
# tddiag|egrep -i sctl
# tddiag|egrep -i schgr

Last thing you need to take care is try to install the latest patch of SCSI tape (PHKL_34552) and its dependencies.

Hope this information can help.

Regards,
Adi.
now working, next not working ... that's unix
Keynes Lee
Regular Advisor

Re: "schgr" driver disappeared in kernel

Hi Hoira

I just tried to rebuild the kernal by the command you provided, but get errors as below

[bqyhp01]/stand/build # mk_kernel -s /stand/system -o /stand/vmunix
Provide configuration information for the "schgr" (SCSI changer) driver. * *
config: line not within a table boundary
Keynes Lee
Regular Advisor

Re: "schgr" driver disappeared in kernel

Hi Adisuria

I already have PHKL_34552 installed. And I just verified there is no new version for this patch
Horia Chirculescu
Honored Contributor

Re: "schgr" driver disappeared in kernel

>Provide configuration information for the "schgr" (SCSI changer) driver.

This means that system configuration file does not have the pertinent information about the driver. According to man autochanger ( http://docs.hp.com/en/B2355-60130/autochanger.7.html ),

"By default, schgr and eschgr are not included in the system configuration (/stand/system) file."

You must add that information in the system file.

vi system
add a line entry at the end of the file like this:

driver 1/0/4/0/0.2.2.255.0.0.0 sctl

(this is the HW path from your provided ioscan -f information)

Best regards from Romania,
Horia.
Best regards from Romania,
Horia.
Horia Chirculescu
Honored Contributor

Re: "schgr" driver disappeared in kernel

Of course...

driver 1/0/4/0/0.2.2.255.0.0.0 schgr

Horia.
Best regards from Romania,
Horia.
Horia Chirculescu
Honored Contributor
Solution

Re: "schgr" driver disappeared in kernel

... and one more thing: the system file can be created from the running kernel by invoking an utility called system_prep (from /usr/lbin/sysadm/)

cd /stand/build.

/usr/lbin/sysadm/system_prep -s system

And you should get the system file.

Best regards
Horia.
Best regards from Romania,
Horia.
Keynes Lee
Regular Advisor

Re: "schgr" driver disappeared in kernel

Issue resolved!

Thank you ALL for the kindly and rapidly support!