From: "Vladimir V. Saveliev" <vs@namesys.com>
To: "Masthan, Dudekula (STSD)" <dudekula.masthan@hp.com>
Cc: reiserfs-list@namesys.com, linux-fsdevel@vger.kernel.org
Subject: Re: BUG IN REISERFS SLES 10 :
Date: Fri, 30 Jun 2006 13:11:48 +0400 [thread overview]
Message-ID: <1151658708.6499.16.camel@tribesman.namesys.com> (raw)
In-Reply-To: <4EEB5A4713E61F49A759A504BECCBC0A0288E1AA@bgeexc01.asiapacific.cpqcorp.net>
Hello
On Fri, 2006-06-30 at 11:08 +0530, Masthan, Dudekula (STSD) wrote:
> Hi Folks,
>
> I am using SLES 10 latest beta bits. Generally I will use sg_reset
> command to reset my scsi device/bus. In sles 10 the machine is not
> coming up ( or in otherwords the machine is hanging) after issuing the
> sg_reset command.
> I tried the following command
>
> # sg_reset -b /dev/sg3
>
> and also i tried with scsi ioctls, still I am facing the same problem
> I tried with the following standalone program
>
> #include<stdio.h>
> :
> :
> int main(int argc, char * argv[]) {
> int fd;
> int rc;
> int arg=2;
> if ((fd=open("/dev/sg3", O_RDWR)) < 0) {
> printf( "device open fails");
> return -1;
> }
> if ((rc=ioctl(fd,SG_SCSI_RESET,&arg)) < 0 ){
> printf( " ioctl failed ");
> close (fd);
> return -1;
> }
>
> printf ( " reset success ");
> close (fd);
> return 0;
> }
>
>
> After running above program also I am facing same problem.
>
>
> Is it bug in SLES 10 or is it bug in qlogic driver ?
>
To check whether it is filesystem problem you may want to try something
like:
mknod /ext2-mount/sg3 c 21 3
and then try your program patched with the below:
- if ((fd=open("/dev/sg3", O_RDWR)) < 0) {
+ if ((fd=open("/ext2-mount/sg3", O_RDWR)) < 0) {
> Thanks in advance
>
next prev parent reply other threads:[~2006-06-30 9:18 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-06-30 5:38 BUG IN REISERFS SLES 10 : Masthan, Dudekula (STSD)
2006-06-30 9:11 ` Vladimir V. Saveliev [this message]
2006-06-30 12:21 ` BUG IN REISERFS Masthan, Dudekula (STSD)
2006-06-30 12:29 ` Erik Mouw
2006-06-30 16:52 ` Hans Reiser
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1151658708.6499.16.camel@tribesman.namesys.com \
--to=vs@namesys.com \
--cc=dudekula.masthan@hp.com \
--cc=linux-fsdevel@vger.kernel.org \
--cc=reiserfs-list@namesys.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).