Thanks for the responces and suggestions. I appologise for the html formated message. 
I'll see if this one comes out as plain text...

I've tried passing ide=nodma to the kernel. This caused problems, see below, with 
formatting and with bonnie++. Errors were :
"hdg: status error: status=0x58 { DriveReady SeekComplete DataRequest }"
Yet I've used this setup without DMA and it worked fine (slowly). When I first 
installed the ATA-100 card and drives I did not have the driver compiled and kernel 
defaulted to using the generic IDE driver with PIO. I'm currently rebuilding the 
kernel with JFS but without the PDC202xx driver to see what happens.

I'm using bonnie++ 1.02a.

I ran it with a variety of command line aroguments as listed below. On /dev/md3 it 
bonnie++ hung with "-n 10:0:0", "-n 8:4096:4096" and "-n 4:16384:16384" which seems to 
indicate the problem is related not to the number of files but to their aggregate 
size.  

Could this be a problme with the PDC202xx driver that is only aggravated by JFS? I 
hope running without the PDC202xx driver will tell.

Thanks,

-Jake


What follows is a listing of invocations of bonnie++. If there is no comment on the 
next line then the test succeeded. Otherwise I note what bonnie++ had last displayed 
before hanging.



test run with bonnie:

-d /mnt/new/var/t1 -f -s 0 -n 10:65536:0:256 -m 2xp54-cs256-jfs -u root >> b++test.txt
  failed at "Delete files in random order..."

reboot...

-d /mnt/new/var/t1 -f -s 0 -n 10:1024:0:256 -m 2xp54-cs256-jfs -u root >> b++test.txt
  failed at "Delete files in random order..."

reboot... pass "ide=nodma" to kernel

[root@chinook /root]# mkfs.jfs -L "/var" /dev/md3
mkfs.jfs version 1.0.15, 15-Feb-2002
md: mkfs.jfs(pid 826) used obsolete MD ioctl, upgrade your software to use new ictls.
Warning!  All data on device /dev/md3 will be lost!

Continue? (Y/N) y
hdg: status error: status=0x58 { DriveReady SeekComplete DataRequest }
hdg: drive not ready for command
bonnie++ -d /mnt/new/var/t1 -f -s 0 -n 1:0:0:256 -m cs256-jfs-nodma -u root >> 
b++test.txt
jfs-nodma -u root >> b++test.txt
Using uid:0, gid:0.
Create files in sequential order...hdg: status error: status=0x58 { DriveReady 
SeekComplete DataRequest }
hdg: drive not ready for command
  then appears to hang

  As far as I can tell, with the driver for the PDC202xx chips in the kernel, PIO to 
the PDC20268 doesn't seem to work.

reboot... with DMA again

[root@chinook /root]# mkfs.jfs -L "/var" /dev/md3
mkfs.jfs version 1.0.15, 15-Feb-2002
md: mkfs.jfs(pid 1389) used obsolete MD ioctl, upgrade your software to use new
ictls.
Warning!  All data on device /dev/md3 will be lost!

Continue? (Y/N) y
   -

Format completed successfully.

1213440 kilobytes total disk space.
[root@chinook /root]# mount -t jfs /dev/md3 /mnt/new/var
JFS development version: $Name:  $
[root@chinook /root]# df /mnt/new/var
Filesystem           1k-blocks      Used Available Use% Mounted on
/dev/md3               1208076       280   1207796   1% /mnt/new/var
[root@chinook /root]# df -m /mnt/new/var
Filesystem           1M-blocks      Used Available Use% Mounted on
/dev/md3                  1180         1      1179   1% /mnt/new/var
[root@chinook /root]# bonnie++ -d /mnt/new/var/t1 -f -s 0 -n 1:0:0:256 -m 
cs256-jfs-dma -u root >> b++test.txt
Using uid:0, gid:0.
Create files in sequential order...done.
Stat files in sequential order...done.
Delete files in sequential order...done.
Create files in random order...done.
Stat files in random order...done.
Delete files in random order...done.
[root@chinook /root]# bonnie++ -d /mnt/new/var/t1 -f -s 0 -n 2:0:0 -m cs256-jfs-dma -u 
root >> b++test.txt
[root@chinook /root]# bonnie++ -d /mnt/new/var/t1 -f -s 0 -n 4:0:0 -m cs256-jfs-dma -u 
root >> b++test.txt
[root@chinook /root]# bonnie++ -d /mnt/new/var/t1 -f -s 0 -n 8:0:0 -m cs256-jfs-dma -u 
root >> b++test.txt
[root@chinook /root]# bonnie++ -d /mnt/new/var/t1 -f -s 0 -n 10:0:0 -m cs256-jfs-dma 
-u root >> b++test.txt
  hangs on "Delete files in random order..."

reboot... try again with nonzero file sizes

[root@chinook /root]# bonnie++ -d /mnt/new/var/t1 -f -s 0 -n 2:4096:4096 -m 
cs256-jfs-dma -u root >> b++test.txt
[root@chinook /root]# bonnie++ -d /mnt/new/var/t1 -f -s 0 -n 4:4096:4096 -m 
cs256-jfs-dma -u root >> b++test.txt
[root@chinook /root]# bonnie++ -d /mnt/new/var/t1 -f -s 0 -n 8:4096:4096 -m 
cs256-jfs-dma -u root >> b++test.txt
  hangs on "Delete files in random order..."

reboot... try with bigger files

[root@chinook /root]# bonnie++ -d /mnt/new/var/t1 -f -s 0 -n 2:8192:8192 -m 
cs256-jfs-dma -u root >> b++test.txt
[root@chinook /root]# bonnie++ -d /mnt/new/var/t1 -f -s 0 -n 4:8192:8192 -m 
cs256-jfs-dma -u root >> b++test.txt
[root@chinook /root]# bonnie++ -d /mnt/new/var/t1 -f -s 0 -n 2:16384:16384 -m 
cs256-jfs-dma -u root >> b++test.txt
[root@chinook /root]# bonnie++ -d /mnt/new/var/t1 -f -s 0 -n 4:16384:16384 -m 
cs256-jfs-dma -u root >> b++test.txt
  hangs on "Delete files in sequential order..."

reboot... try on single device

[root@chinook /root]# mkfs.jfs /dev/hde8
mkfs.jfs version 1.0.15, 15-Feb-2002
Warning!  All data on device /dev/hde8 will be lost!

Continue? (Y/N) y
   -

Format completed successfully.

1214608 kilobytes total disk space.
[root@chinook /root]# mount /dev/hde8
JFS development version: $Name:  $
[root@chinook /root]# mkdir /mnt/new/bk_var/t1
[root@chinook /root]# bonnie++ -d /mnt/new/bk_var/t1 -f -s 0 -n 2:8192:8192 -m 
none-jfs-dma -u root >> b++test.txt
[root@chinook /root]# bonnie++ -d /mnt/new/bk_var/t1 -f -s 0 -n 4:8192:8192 -m 
none-jfs-dma -u root >> b++test.txt
[root@chinook /root]# bonnie++ -d /mnt/new/bk_var/t1 -f -s 0 -n 8:8192:8192 -m 
none-jfs-dma -u root >> b++test.txt
[root@chinook /root]# bonnie++ -d /mnt/new/bk_var/t1 -f -s 0 -n 2:16384:16384 -m 
none-jfs-dma -u root >> b++test.txt
[root@chinook /root]# bonnie++ -d /mnt/new/bk_var/t1 -f -s 0 -n 4:16384:16384 -m 
none-jfs-dma -u root >> b++test.txt
[root@chinook /root]# bonnie++ -d /mnt/new/bk_var/t1 -f -s 0 -n 8:16384:16384 -m 
none-jfs-dma -u root >> b++test.txt
[root@chinook /root]# bonnie++ -d /mnt/new/bk_var/t1 -f -s 0 -n 10:16384:16384 -m 
none-jfs-dma -u root >> b++test.txt
[root@chinook /root]# bonnie++ -d /mnt/new/bk_var/t1 -f -s 0 -n 16:16384:16384 -m 
none-jfs-dma -u root >> b++test.txt
  hangs on "Delete files in random order..."


Test with ext3 file system:
[root@chinook /root]# mke2fs -j -b 4096 -i 32768 -L "/var" /dev/md3
mke2fs 1.23, 15-Aug-2001 for EXT2 FS 0.5b, 95/08/09
Filesystem label=/var
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
38080 inodes, 303360 blocks
15168 blocks (5.00%) reserved for the super user
First data block=0
10 block groups
32768 blocks per group, 32768 fragments per group
3808 inodes per group
Superblock backups stored on blocks:
        32768, 98304, 163840, 229376, 294912

Writing inode tables: done
Creating journal (8192 blocks): done
Writing superblocks and filesystem accounting information: done

This filesystem will be automatically checked every 21 mounts or
180 days, whichever comes first.  Use tune2fs -c or -i to override.
[root@chinook /root]# mount -t ext3 /dev/md3 /mnt/new/var
[root@chinook /root]# mkdir /mnt/new/var/t1
[root@chinook /root]# bonnie++ -d /mnt/new/var/t1 -f -s 0 -n 10:0:0 -m cs256-ext3-dma 
-u root >> b++test.txt
[root@chinook /root]# bonnie++ -d /mnt/new/var/t1 -f -s 0 -n 2:16384:16384 -m 
cs256-ext3-dma -u root >> b++test.txt
[root@chinook /root]# bonnie++ -d /mnt/new/var/t1 -f -s 0 -n 4:16384:16384 -m 
cs256-ext3-dma -u root >> b++test.txt
[root@chinook /root]# bonnie++ -d /mnt/new/var/t1 -f -s 0 -n 8:16384:16384 -m 
cs256-ext3-dma -u root >> b++test.txt
[root@chinook /root]# bonnie++ -d /mnt/new/var/t1 -f -s 0 -n 16:16384:16384 -m 
cs256-ext3-dma -u root >> b++test.txt
[root@chinook /root]# bonnie++ -d /mnt/new/var/t1 -f -s 0 -n 1:524288:524288 -m 
cs256-ext3-dma -u root >> b++test.txt
[root@chinook /root]# bonnie++ -d /mnt/new/var/t1 -f -s 0 -n 2:524288:524288 -m 
cs256-ext3-dma -u root >> b++test.txt
[root@chinook /root]# bonnie++ -d /mnt/new/var/t1 -f -s 0 -n 128:8192:8192 -m 
cs256-ext3-dma -u root >> b++test.txt
Using uid:0, gid:0.
Create files in sequential order...EXT3-fs error (device md(9,3)) in ext3_new_inode: 
error 28
Can't create file 00380675tzeXIU
Cleaning up test directory after error.
  I believe I ran out of inodes. Bonnie didn't hang but exited normally.
[root@chinook /root]# bonnie++ -d /mnt/new/var/t1 -f -s 0 -n 64:16384:16384 -m 
none-jfs-dma -u root >> b++test.txt
EXT3-fs error (device md(9,3)) in ext3_new_inode: error 28
  Again too few inodes.
  I give up, I can't seem to duplicate the problem with the partition formated
  as ext3.


<hr>
_______________________________________________
Jfs-discussion mailing list
[EMAIL PROTECTED]
http://www-124.ibm.com/developerworks/oss/mailman/listinfo/jfs-discussion

Reply via email to