Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 9 Mar 2010 11:31:13 +0530
From:      VIKAS SONI <vikassoni85@gmail.com>
To:        freebsd-scsi@freebsd.org
Subject:   Query on mkpart behaviour when there is no SCSI connected.
Message-ID:  <e4ce418f1003082201x420c73a7xfa347c489c422298@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
Hi,



We are debugging SCSI driver for LynxOS on ppc architecture board.

We are trying to run mkpart application (mkpart /dev/rsdncr.0) on ppc board
when there is no SCSI connected.



The observed behavior is the user application will hang and (Ctrl + C) is
used to get the bash prompt or to come out of user application.

As the request for device identification is not completed due to no SCSI
connected, it waits over semaphore at that point in the driver and does not
return

back to user application with some error. The only way to come out of user
application is by pressing (Ctrl +C).



>>>>>>>>>>>>>>>>>>>>>>>>>>>>

[System: /] $ mkpart /dev/rsdncr.0

^C

[System: /] $ mkpart /dev/rsdncr.1

^C

[System: /] $ mkpart /dev/rsdncr.2

^C

[System: /]

>>>>>>>>>>>>>>>>>>>>>>>>>>>>>



Is our understanding correct?

Is the user application when no SCSI connected is supposed to behave in this
way?



Thanks in advance,

Vikas Soni



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?e4ce418f1003082201x420c73a7xfa347c489c422298>