* BUG IN REISERFS SLES 10 :
@ 2006-06-30 5:38 Masthan, Dudekula (STSD)
2006-06-30 9:11 ` Vladimir V. Saveliev
0 siblings, 1 reply; 5+ messages in thread
From: Masthan, Dudekula (STSD) @ 2006-06-30 5:38 UTC (permalink / raw)
To: reiserfs-list; +Cc: reiserfs-list, linux-fsdevel
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 ?
Thanks in advance
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: BUG IN REISERFS SLES 10 :
2006-06-30 5:38 BUG IN REISERFS SLES 10 : Masthan, Dudekula (STSD)
@ 2006-06-30 9:11 ` Vladimir V. Saveliev
2006-06-30 12:21 ` BUG IN REISERFS Masthan, Dudekula (STSD)
0 siblings, 1 reply; 5+ messages in thread
From: Vladimir V. Saveliev @ 2006-06-30 9:11 UTC (permalink / raw)
To: Masthan, Dudekula (STSD); +Cc: reiserfs-list, linux-fsdevel
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
>
^ permalink raw reply [flat|nested] 5+ messages in thread
* BUG IN REISERFS
2006-06-30 9:11 ` Vladimir V. Saveliev
@ 2006-06-30 12:21 ` Masthan, Dudekula (STSD)
2006-06-30 12:29 ` Erik Mouw
2006-06-30 16:52 ` Hans Reiser
0 siblings, 2 replies; 5+ messages in thread
From: Masthan, Dudekula (STSD) @ 2006-06-30 12:21 UTC (permalink / raw)
To: Vladimir V. Saveliev; +Cc: reiserfs-list, linux-fsdevel
Hi Folks,
Mkreiserfs command is failing by showing " There are no enoguh blocks on
this device" , What is the minimum size of a disk to create reiserfs
file system
Regards,
Masthan
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: BUG IN REISERFS
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
1 sibling, 0 replies; 5+ messages in thread
From: Erik Mouw @ 2006-06-30 12:29 UTC (permalink / raw)
To: Masthan, Dudekula (STSD)
Cc: Vladimir V. Saveliev, reiserfs-list, linux-fsdevel
Please choose your subject carefully. Claiming that you found a bug in
reiserfs while you only met a boundary condition isn't very polite.
On Fri, Jun 30, 2006 at 05:51:14PM +0530, Masthan, Dudekula (STSD) wrote:
> Mkreiserfs command is failing by showing " There are no enoguh blocks on
> this device" , What is the minimum size of a disk to create reiserfs
> file system
That mainly depends on the journal size. The default journal size is 32
MB which means that an actual useful disk size is about 100 MB. See
mkreiserfs(8), -s option.
Erik
--
+-- Erik Mouw -- www.harddisk-recovery.com -- +31 70 370 12 90 --
| Lab address: Delftechpark 26, 2628 XH, Delft, The Netherlands
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: BUG IN REISERFS
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
1 sibling, 0 replies; 5+ messages in thread
From: Hans Reiser @ 2006-06-30 16:52 UTC (permalink / raw)
To: Masthan, Dudekula (STSD)
Cc: Vladimir V. Saveliev, reiserfs-list, linux-fsdevel
Masthan, Dudekula (STSD) wrote:
>
>
>Hi Folks,
>
>Mkreiserfs command is failing by showing " There are no enoguh blocks on
>this device" , What is the minimum size of a disk to create reiserfs
>file system
>
>Regards,
>Masthan
>
>
>
>
>
Please modify the error message so that it answers his question before
users think to ask it.:)
Hans
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2006-06-30 16:52 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-06-30 5:38 BUG IN REISERFS SLES 10 : Masthan, Dudekula (STSD)
2006-06-30 9:11 ` Vladimir V. Saveliev
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
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).