[comp.unix.xenix] what this panic msg tells me ?????

motti@ocsmd.ocs.com (Motti Bazar) (03/09/89)

Hi there,
I'm in the middle of developing a device-driver for our CD-ROM controller.
One of our controllers (code name CDI-210S) is a Micro-Channel
(IBM PS/2 machines) controller for controlling Sony CD-ROM drives (using
the Sony-Bus, a faster then SCSI bus).
I'm using the IBM PS/2 Model 70 with SCO Xenix 386 Version 2.2.3 for
the development.
I have some problems that maybe somebody can help me because I do not have
any driver example (real hardware oreiented driver, e.g. h/w interrupts,
DMA etc.).
When booting I get the message:
    panic: srmount(): cannot cvtv7superb() yet
and the nice message **  Safe to Power Off  **, ** Press Any Key ....
What does it mean ???? does it have any relation to my driver ????
I checked and tryed to boot with the original kernel and got the same
message. I'm stacked and can't get even to my sources (to back them up
and maybe reinstall ???).
By the way, the panic message comes after the lines:
    Standard serial board COM1 ...
    Parallel port ...
    rootdev 1/40, pipedev 1/40, swapdev 1/41
    disk[D] drive 0: cyls = 58, heads = 64, secs = 32
Is there any solution ?????????
Any help will be good and if somebody have a source for a driver, can
you mail it to me.
When I'll finish the driver I'll let you know (anybody interested please
mail me) and will make it available to anybody that want to use our
CD-ROM controller.

Thanks...Motti

davidsen@steinmetz.ge.com (William E. Davidsen Jr) (03/14/89)

In article <648@ocsmd.ocs.com> motti@ocsmd.ocs.com (Motti Bazar) writes:
	[ he's writing a driver ]

| When booting I get the message:
|     panic: srmount(): cannot cvtv7superb() yet
| and the nice message **  Safe to Power Off  **, ** Press Any Key ....
| What does it mean ???? does it have any relation to my driver ????

  Means yo' is in deeeeep trouble. Seriously, see below.

| By the way, the panic message comes after the lines:
|     Standard serial board COM1 ...
|     Parallel port ...
|     rootdev 1/40, pipedev 1/40, swapdev 1/41
|     disk[D] drive 0: cyls = 58, heads = 64, secs = 32

  Unless you have a truly bizarre disk, you have clobbered the hard disk
description. I don't think you have 64 heads or only 58 cylinders. You
*may* have clobbered the description of the disk with your driver, but
that's only a guess. I did something similar with a power spike.

  You could try to reset the drive paramaters. I don't have manuals
handy, but I think it's hdinit that will do it. Boot from your backup
floppy boot disk and try that. If you don't have a floppy boot you might
be able to use your N1 disk, but I haven't tried it. 

  Save what you can. I doubt that the disk will completely recover if
you reset the type, but you might be really lucky.

| Is there any solution ?????????

  When writing drivers keep **lots** of backups.

| When I'll finish the driver I'll let you know (anybody interested please
| mail me) and will make it available to anybody that want to use our
| CD-ROM controller.

  Be sure to get it out in beta test to a few sites with a lot of serial
lines. Preferably sites with dumb serial cards. Beating the interrupts
tends to shake things out. When the driver is well debugged I'm sure
everyone would like a copy, if only to study.

  The Xenix device driver manual section is pretty helpful.
-- 
	bill davidsen		(wedu@ge-crd.arpa)
  {uunet | philabs}!steinmetz!crdos1!davidsen
"Stupidity, like virtue, is its own reward" -me