Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Nov 1999 16:54:33 -0500
From:      Simon Shapiro <shimon@simon-shapiro.org>
To:        freebsd-arch@freebsd.org
Subject:   Strange Behavior (was I/O Performance)
Message-ID:  <3831D299.E4BA3755@simon-shapiro.org>

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

[-- Attachment #1 --]
Things have changed;

Moved the test environment from a Dell PowerEdge 1300/600 
with 1GB RAM to an older ASUS MB with a P-II/300 and
256MB of RAM.

*  Strange Q corruption is not reproducible anymore.
*  Running a filesystem against it crashes the system;
   Processes simply stop, will not respond to kill -9.

Attached are fdisk and disklabel for the device,
as well as a debugger ps.

For the life of me I cannot see the OSM doing anything
evil now.

It will really be nice to have this level of I/O available.
I need help figuring it out.

-- 


Sincerely Yours,                 Shimon@Simon-Shapiro.ORG
                                             404.664.6401
Simon Shapiro

Unwritten code has no bugs and executes at twice the speed of mouth
[-- Attachment #2 --]
******* Working on device /dev/ri2o0 *******
parameters extracted from in-core disklabel are:
cylinders=52069 heads=64 sectors/track=32 (2048 blks/cyl)

Figures below won't work with BIOS for partitions not in cyl 1
parameters to be used for BIOS calculations are:
cylinders=52069 heads=64 sectors/track=32 (2048 blks/cyl)

Media sector size is 512
Warning: BIOS sector numbering starts with sector 1
Information from DOS bootblock is:
The data for partition 1 is:
sysid 165,(FreeBSD/NetBSD/386BSD)
    start 2048, size 106633216 (52067 Meg), flag 80 (active)
	beg: cyl 1/ sector 1/ head 0;
	end: cyl 867/ sector 32/ head 63
The data for partition 2 is:
<UNUSED>
The data for partition 3 is:
<UNUSED>
The data for partition 4 is:
<UNUSED>

[-- Attachment #3 --]
# /dev/ri2o0s1c:
type: unknown
disk: i2o6xDEC
label: Big Zero
flags:
bytes/sector: 512
sectors/track: 2048
tracks/cylinder: 1
sectors/cylinder: 2048
cylinders: 52067
sectors/unit: 106633216
rpm: 10000
interleave: 1
trackskew: 0
cylinderskew: 0
headswitch: 0		# milliseconds
track-to-track seek: 0	# milliseconds
drivedata: 0 

3 partitions:
#        size   offset    fstype   [fsize bsize bps/cpg]
  a: 106631168     2048    4.2BSD     2048 16384    16 	# (Cyl.    1 - 52066)
  c: 106633216        0    unused     1024  8192       	# (Cyl.    0 - 52066)

[-- Attachment #4 --]
db> ps
  pid   proc     addr    uid  ppid  pgrp  flag stat wmesg   wchan   cmd
30729 fbc09a20 fbd52000    0 30728 30729 000014  3   inode d4c0fa00 cron
30728 fbd7eaa0 fbe0b000    0   193   193 000004  3  ppwait fbd7eaa0 cron
30727 fbd7ec00 fbe08000    0   190   190 000004  3  newbuf c0351724 inetd
30726 fbd7f180 fbdf7000    0 30725 30726 000014  3  newbuf c0351724 cron
30725 fbd80a40 fbd8e000    0   193   193 000004  3  ppwait fbd80a40 cron
30724 fbd7dce0 fbe44000    0 30712   344 004006  3  newbuf c0351724 ranlib
30712 fbd80ba0 fbd85000    0 30513   344 004086  3    wait fbd80ba0 sh
30513 fbd7ff40 fbda7000    0 22488   344 004086  3  select c0351474 make
22488 fbd7eec0 fbdf9000    0 22485   344 004086  3    wait fbd7eec0 sh
22485 fbc09ce0 fbd49000    0   355   344 004086  3  select c0351474 make
  442 fbd80620 fbd94000    0   268   442 004006  3  newbuf c0351724 tail
  355 fbc09e40 fbd46000    0   352   344 004086  3    wait fbc09e40 sh
  352 fbc09fa0 fbca2000    0   351   344 004086  3  select c0351474 make
  351 fbc0a100 fbc95000    0   348   344 004086  3    wait fbc0a100 sh
  348 fbc0a3c0 fbc8d000    0   347   344 004086  3  select c0351474 make
  347 fbc0a520 fbc89000    0   344   344 004086  3    wait fbc0a520 sh
  344 fbc0a260 fbc91000    0   268   344 004086  3  select c0351474 make
  269 fbc0a680 fbc7b000    0     1     1 004084  3  siodcd c034ee44 getty
  268 fbc0a7e0 fbc77000    0     1   268 004086  3    wait fbc0a7e0 bash
  267 fbc0a940 fbc74000    0     1   267 004086  3   ttyin c034c7d4 getty
  266 fbc0aaa0 fbc71000    0     1   266 004086  3   ttyin c034c6e0 getty
  265 fbc0ac00 fbc6e000    0     1   265 004086  3   ttyin c034c5ec getty
  264 fbc0c780 fbc1f000    0     1   264 004086  3   ttyin c034c4f8 getty
  263 fbc0b020 fbc63000    0     1   263 004086  3   ttyin c034c404 getty
  262 fbc0aec0 fbc66000    0     1   262 004086  3   ttyin c034c310 getty
  261 fbc0b180 fbc5f000    0     1   261 004086  3   ttyin c034c21c getty
  260 fbc0c8e0 fbc1c000    0     1   260 004006  3  newbuf c0351724 getty
  239 fbc0ad60 fbc69000    0     1   239 000084  3  select c0351474 sshd2
  193 fbc0b2e0 fbc5c000    0     1   193 000084  3  nanslp c0317678 cron
  190 fbc0b9c0 fbc4b000    0     1   190 000084  3  select c0351474 inetd
  166 fbc0b440 fbc58000    0     1   161 000084  3  nfsidl c0354394 nfsiod
  165 fbc0b5a0 fbc54000    0     1   161 000084  3  nfsidl c0354390 nfsiod
  164 fbc0b700 fbc51000    0     1   161 000084  3  nfsidl c035438c nfsiod
  163 fbc0b860 fbc4e000    0     1   161 000084  3  nfsidl c0354388 nfsiod
  158 fbc0bb20 fbc47000    0     1   158 000084  3  select c0351474 rpc.statd
  155 fbc0bc80 fbc44000    0   150   150 000084  3    nfsd d4b1a200 nfsd
  154 fbc0bde0 fbc41000    0   150   150 000084  3    nfsd d4bfde00 nfsd
  153 fbc0bf40 fbc3e000    0   150   150 000084  3    nfsd d4b1a400 nfsd
  152 fbc0c0a0 fbc3b000    0   150   150 000084  3    nfsd d4b1a600 nfsd
  150 fbc0c200 fbc38000    0     1   150 000084  3  accept f6003ad6 nfsd
  147 fbc0c360 fbc35000    0     1   147 000084  3  select c0351474 mountd
  136 fbc0c4c0 fbc32000    1     1   136 000184  3  select c0351474 portmap
  127 fbc0c620 fbc29000    0     1   127 000004  3  newbuf c0351724 syslogd
    4 fbc0ca40 fbc17000    0     0     0 000204  3   inode d4cad600 syncer
    3 fbc0cba0 fbc15000    0     0     0 000204  3  psleep c0339174 vmdaemon
    2 fbc0cd00 fbc13000    0     0     0 000204  3  psleep c03057c0 pagedaemon
    1 fbc0ce60 fbc11000    0     0     1 004084  3    wait fbc0ce60 init
    0 c035075c c03bd000    0     0     0 000204  3   sched c035075c swapper
db>  
db>  call boot

syncing disks... 

Fatal trap 12: page fault while in kernel mode
fault virtual address	= 0xb8
fault code		= supervisor read, page not present
instruction pointer	= 0x8:0xc016ddbb
stack pointer	        = 0x10:0xc02d4910
frame pointer	        = 0x10:0xc02d4924
code segment		= base 0x0, limit 0xfffff, type 0x1b
			= DPL 0, pres 1, def32 1, gran 1
processor eflags	= interrupt enabled, resume, IOPL = 0
current process		= Idle
interrupt mask		= tty bio 
kernel: type 12 trap, code=0
Stopped at      Debugger+0x37:  movl    $0,in_Debugger
db> 
db> call boot
dpt0: Shutting down (mode 0) HBA.	Please wait...
dpt0: Controller was warned of shutdown and is now disabled
I2O: Shutting down (mode 0 for 0).  Please wait...
i2o0: Controller should  be warned of shutdown and should be disabled here...
Rebooting...


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