Disk Access

root (root@macias-linuxpc.jvnc.net)
Thu, 9 Jan 1997 07:54:51 -0500


-----BEGIN PGP SIGNED MESSAGE-----

Hello, all.

This is my first post to this group. I have been with Linux since the
0.9 days, and have been confused by this reproducible fault. (it is
starting to get annoying)

1. hardware is as follows:

CMD-640 motherboard
Intel P90
64M RAM (4 16M boards)
ATI GUP and/or #9FX 771 (PCI)
256K cache
Adaptec 2940 SCSI card - SEAGATE ST31051N boot/root volume
On-board IDE controller - 850Mb hardsisk
(I boot/root off the SCSI, and use the IDE for the swap and other
activities.)

Default CMOS settings

Slakware 3.0, kernel 2.0.17 (I have had this problem since 2.0.0)

2. The problem:

/dev/hda2 is mounted on /hda
/dev/sda1 is mounted on /

issue the command:

cp -aurvx /usr /hda

syslog gives:
- ----------------------------------------------------------------
okapi kernel: wait_queue is bad (eip = 00124414)
okapi kernel: q = 002e7c28
okapi kernel: *q = 00000400
okapi kernel: general protection: 0000
okapi kernel: CPU: 0
okapi kernel: EIP: 0010:[shrink_mmap+116/464]
okapi kernel: EFLAGS: 00010297
okapi kernel: eax: 00000400 ebx: 002bbc00 ecx: 00000004 edx: 7f004423
okapi kernel: esi: 000006f1 edi: 00001edf ebp: 00004000 esp: 0001ffa4
okapi kernel: ds: 0018 es: 0018 fs: 0018 gs: 0018 ss: 0018
okapi kernel: Process kswapd (pid: 3, process nr: 3, stackpage=0001f000)
okapi kernel: Stack: 00000004 00000003 00000000 00000000 00000400 0011df4b 00000004 00000000
okapi kernel: 00000001 001bb446 00000000 00009000 0011e0ef 00000003 00000000 00000000
okapi kernel: 00000100 00083fdc 0008020a 00109367 00000000 0011dfa8 001d5860
okapi kernel: Call Trace: [try_to_free_page+63/156] [kswapd+327/344] [init+63/616] [kswapd+0/344]
okapi kernel: Code: f6 42 14 10 74 0e 0f ba 72 14 04 19 c0 0f ba 6b 18 02 19 c0
okapi kernel: general protection: 0000
okapi kernel: CPU: 0
okapi kernel: EIP: 0010:[shrink_mmap+116/464]
okapi kernel: EFLAGS: 00010297
okapi kernel: eax: 00000400 ebx: 002bbc00 ecx: 00000006 edx: 7f004423
okapi kernel: esi: 000001ff edi: 00000fff ebp: 00004000 esp: 020a9ed0
okapi kernel: ds: 0018 es: 0018 fs: 002b gs: 002b ss: 0018
okapi kernel: Process cp (pid: 192, process nr: 40, stackpage=020a9000)
okapi kernel: Stack: 00000006 00000000 00000000 00000001 00000400 0011df4b 00000006 00000000
okapi kernel: 00000003 00000080 00fbd1f0 00285cec 0011e8ea 00000003 00000000 00000001
okapi kernel: 00013000 002f4000 00fbd1f0 00285cec 001ea818 00000a87 00000293 0011ad31
okapi kernel: Call Trace: [try_to_free_page+63/156] [__get_free_pages+398/420] [try_to_read_ahead+37/256] [generic_file_read+680/1460] [sys_read+138/176] [system_call+82/128]
okapi kernel: Code: f6 42 14 10 74 0e 0f ba 72 14 04 19 c0 0f ba 6b 18 02 19 c0
okapi kernel: general protection: 0000
okapi kernel: CPU: 0
okapi kernel: EIP: 0010:[shrink_mmap+116/464]
okapi kernel: EFLAGS: 00010297
okapi kernel: eax: 00000400 ebx: 002bbc00 ecx: 00000006 edx: 7f004423
okapi kernel: esi: 000001ff edi: 00000fff ebp: 00004000 esp: 01339eec
okapi kernel: ds: 0018 es: 0018 fs: 002b gs: 002b ss: 0018
okapi kernel: Process color_xterm (pid: 157, process nr: 44, stackpage=01339000)
okapi kernel: Stack: 00000006 00000000 00000000 00000001 00000400 0011df4b 00000006 00000000
okapi kernel: 00000003 00000080 00b55798 013b1e58 0011e8ea 00000003 00000000 00000001
okapi kernel: 01338400 0123dcb8 00b55798 013b1e58 001ea818 00002016 00000293 00118e34
okapi kernel: Call Trace: [try_to_free_page+63/156] [__get_free_pages+398/420] [do_no_page+444/808] [do_no_page+0/808] [do_page_fault+284/716] [do_page_fault+0/716] [do_bottom_half+59/96]
okapi kernel: [error_code+61/80]
okapi kernel: Code: f6 42 14 10 74 0e 0f ba 72 14 04 19 c0 0f ba 6b 18 02 19 c0
okapi kernel: general protection: 0000
okapi kernel: CPU: 0
okapi kernel: EIP: 0010:[shrink_mmap+116/464]
okapi kernel: EFLAGS: 00010297
okapi kernel: eax: 00000400 ebx: 002bbc00 ecx: 00000006 edx: 7f004423
okapi kernel: esi: 000001ff edi: 00000fff ebp: 00004000 esp: 010b6eec
okapi kernel: ds: 0018 es: 0018 fs: 002b gs: 002b ss: 0018
okapi kernel: Process rxvt (pid: 158, process nr: 47, stackpage=010b6000)
okapi kernel: Stack: 00000006 00000000 00000000 00000001 00000400 0011df4b 00000006 00000000
okapi kernel: 00000003 00000080 00b55918 01453318 0011e8ea 00000003 00000000 00000001
okapi kernel: 01313400 01235788 00b55918 01453318 001ea818 000017ec 00000293 00118e34
okapi kernel: Call Trace: [try_to_free_page+63/156] [__get_free_pages+398/420] [do_no_page+444/808] [do_no_page+0/808] [do_page_fault+284/716] [do_page_fault+0/716] [do_bottom_half+59/96]
okapi kernel: [error_code+61/80]
okapi kernel: Code: f6 42 14 10 74 0e 0f ba 72 14 04 19 c0 0f ba 6b 18 02 19 c0
- ---------------------------------------------------------------------------------

The machine eventually locks, and I must cold-boot, everytime.

Of course, I tried different hard media, and tried pulling RAM
chips. Also tried lilo appends like "mem=64M", "mem=32M", etc., and
disabling the L2 cache. The fault only occurs when tarring or cping
across disks.

I have begun testing with ONLY the SCSI disk present in the
machine. (No IDE disks in CMOS). It looks like it gives the same fault.

Any ideas.

- --

Phil Macias - macias@jvnc.net

WWW site: http://128.121.70.32
FTP site: http://128.121.70.32/ftp/ftp.html
NAS Phone tcp/128.121.70.32:8000
UNIXtalk: root@128.121.70.32

Finger root@128.121.70.32 for PGP public key

-----BEGIN PGP SIGNATURE-----
Version: 2.6.2
Comment: Processed by Mailcrypt 3.4, an Emacs/PGP interface

iQCVAwUBMtTqW0YHQV/P6MLlAQFq+QQAsFoeZ7ZZcbLJAKYKG4C85zEGz1Daf0UW
hE50nqQNuqwar1NoBgQMmbHrPFOakIFk6j1YCaQ3ocE6aPF9z07CVTHimA5HdFev
g+zAMQW6MJtvRjmCMqtBtRl1ApCMJYWwR2FWu3ncIyIkWshZ80Msopfc8zMKtzPp
OMnjMLrD+BE=
=xEGH
-----END PGP SIGNATURE-----