Hi,

Following a suggestion from a misc member after I complained
about slow IO on a IBM xSeries 336 (see 'write cache on scsi'),
I tried to install a snapshot.

Except for the very slow filesystems creation, the install
process went through ok.

But when I tried to boot the newly installed machine, I got
a kernel trap and was sent to ddb>

bios: IBM eServer xSeries 336 -[883721U]-
acpi0 at bios0: rev 0
acpi0: tables DSDT FACP APIC MCFG
acpi0: wakeup device PCI0(S5)
acpitimer0 at acpi0: 3579545 Hz, 24bits
acpiprt0 at acpi0uvm_fault(0xd07ca0c0, 0xd1977000, 0, 3) -> 3
kernel: paga fault trap code=0
Stopped at bcopy+0x1a: repe movsl    (%esi),%es:(%edi)
bcopy(d1972684,73,d1973910,ac) at bcopy+0x1a
aml_parseop(d1972684,d1973910,74) at aml_parseop+0xe6
aml_parseterm(d1972684,d092c8d0,390,d07a41d0,d1972684) at aml_parseterm+0x2c
aml_callmethod(d1972684,d092c8d0,d198295f,d1965984,d077fb42) at
aml_callmethod+0x26
aml_evalmethod(0,d1965984,0,0,d092c8d0) at aml_evalmethod+0x41
aml_evalnode(d1960e00,d1965984,0,0,d092c8d0,d092c8d0,d092c8e8,d0673662) at
aml_evalnode+0xc7
acpiprit_getpcipus(d19726c0,d1965604,d092c958,d0673662,d1965384) at
acpiprt_getpcibus+0x30
acpiprit_getpcipus(d19726c0,d1965484,64,d1955ef0,d092ca6c) at
acpiprt_getpcibus+0xcf
acpiprit_getpcipus(d19726c0,d1971d04,d092ca58,d1955f00,0) at
acpiprt_getpcibus+0xcf
acpiprit_attach(d1960e00,d19726c0,d092cae0,d1960e00,d1960e00) at
acpiprt_attach+0x22

I did try to save theses messages in the dmesg and copy and paste
them afterwords but I did not manage, I this was all written down
and then typed in here.

The output of ps looks like this:

ddb> ps

  PID   PPID   PGRP   UID    S  FLAGS       WAIT        COMMAND
*  0     -1     0      0     7  0x80200                  swappper

The output of trace looks like this:

ddb> trace
bcopy(d1972684,73,d1973910,ac) at bcopy+0x1a
aml_parseop(d1972684,d1973910,74) at aml_parseop+0xe6
aml_parseterm(d1972684,d092c8d0,390,d07a41d0,d1972684) at aml_parseterm+0x2c
aml_callmethod(d1972684,d092c8d0,d198295f,d1965984,d077fb42) at
aml_callmethod+0x26
aml_evalmethod(0,d1965984,0,0,d092c8d0) at aml_evalmethod+0x41
aml_evalnode(d1960e00,d1965984,0,0,d092c8d0,d092c8d0,d092c8e8,d0673662) at
aml_evalnode+0xc7
acpiprit_getpcipus(d19726c0,d1965604,d092c958,d0673662,d1965384) at
acpiprt_getpcibus+0x30
acpiprit_getpcipus(d19726c0,d1965484,64,d1955ef0,d092ca6c) at
acpiprt_getpcibus+0xcf
acpiprit_getpcipus(d19726c0,d1971d04,d092ca58,d1955f00,0) at
acpiprt_getpcibus+0xcf
acpiprit_attach(d1960e00,d19726c0,d092cae0,d1960e00,d1960e00) at
acpiprt_attach+0x22
config_attach(d1960e00,d07852c8,d092cae0,d06713c4) at config_attach+0xf0
aci_foundprt(d1971d04,d1960e00,d0670bc8,d1960e00,0) at acpi_foundprt+0x95
aml_find_node(d1965384,d077e3b7,d0670bc8,d1960e00) at aml_find_node+0x6e
aml_find_node(d1965504,d077e3b7,d0670bc8,d1960e00) at aml_find_node+0x5f
aml_find_node(d195f5c4,d077e3b7,d0670bc8,d1960e00) at aml_find_node+0x5f
aml_find_node(d195fc84,d077e3b7,d0670bc8,d1960e00) at aml_find_node+0x5f
aml_find_node(d1965384,d077e3b7,d0670bc8,d1960e00,d195fec4,d077e3b2,d0670b40,
d1960e00) at aml_find_node+0x5f
acpi_attach(d195ff80,d1960e00,d092cd50,d195ff80,0) at acpi_attach+0x431
config_attach(d195ff80,d0785184,d092cd50,d0603378) at config_attach+0xfd
biosattach(d195ffc0,d195ff80,d092ce80,d195ffc0,d0202251) at biosattach+0x353
config_attach(d195ffc0,d07843e0,d092ce80,d04a4d80,d06d26f8) at
config_attach+0xfd
mainbus_attach(0,d195ffc0,0,de701000,d092b334) at mainbus_attach+0x3d
config_attach(0,d0781d34,0,0,0) at config_attach+0xfd
config_rootfound(d06d0f6b,0,d092cf38,d0478826) at config_rootfound+0x27
cpu_configure(d0898ca0,1,3,0,2) at cpu_configure+0x29
main(0,0,0,0,0) at main+0x38a

The only way I managed to boot the machine was to disable acpi
at the ukc> prompt.

But then again, I did not solve my original problem. A simple
command like 'mv src.tar.gz ..' takes more than 10 seconds
to execute.

Here is the output of top | cat while the mv is going on.

load averages:  0.35,  0.18,  0.12    15:06:28
22 processes:  21 idle, 1 on processor
CPU states:  0.0% user,  0.0% nice,  0.0% system,  0.0% interrupt,  100% idle
Memory: Real: 8416K/144M act/tot  Free: 856M  Swap: 0K/1024M used/tot

  PID USERNAME PRI NICE  SIZE   RES STATE    WAIT      TIME    CPU COMMAND
 8033 root      -5    0  436K  148K sleep    getblk    0:00  0.05% mv
18074 root       2    0 1056K 1848K sleep    select    0:01  0.00% sendmail
12787 root       2    0  692K  840K idle     select    0:00  0.00% cron
20289 ell        2    0 3372K 1900K sleep    select    0:00  0.00% sshd
16301 _syslogd   2    0  620K  776K sleep    poll      0:00  0.00% syslogd
 4170 root       2    0 3336K 2428K idle     netio     0:00  0.00% sshd
10977 root       2    0 3368K 2372K idle     netio     0:00  0.00% sshd
12611 root       3    0  664K  512K idle     ttyin     0:00  0.00% ksh
25086 root      18    0  528K  512K sleep    pause     0:00  0.00% ksh
21668 ell        2    0 3304K 1932K sleep    select    0:00  0.00% sshd
21331 ell       18    0  428K  480K sleep    pause     0:00  0.00% ksh
28947 ell       18    0  620K  464K idle     pause     0:00  0.00% ksh
    1 root      10    0  488K  344K idle     wait      0:00  0.00% init
18517 root       3    0  352K  804K idle     ttyin     0:00  0.00% getty
29830 root       2    0  496K 1208K idle     select    0:00  0.00% sshd
18299 ell       28    0  420K 1128K onproc   -         0:00  0.00% top
14909 root       2    0  404K  724K idle     select    0:00  0.00% inetd
15891 root       2    0  556K  680K idle     netio     0:00  0.00% syslogd

Is there some kind of tunning I could do or is this machine
not working properly?

Thanks in advance.

Regards,

Jose

-----------------------
-----------------------

# dmesg
OpenBSD 4.3 (GENERIC) #698: Wed Mar 12 11:07:05 MDT 2008
    [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Intel(R) Xeon(TM) CPU 3.20GHz ("GenuineIntel" 686-class) 3.21 GHz
cpu0:
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUS
H,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,CNXT-ID,CX16,xTPR
real mem  = 1073094656 (1023MB)
avail mem = 1029586944 (981MB)
User Kernel Config
UKC> disable acpi
417 acpi0 disabled
UKC> exit
Continuing...
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 01/17/05, BIOS32 rev. 0 @ 0xfd721,
SMBIOS rev. 2.3 @ 0xf602c (50 entries)
bios0: vendor IBM version "-[APE121AUS-1.06]-" date 01/17/2005
bios0: IBM eserver xSeries 336 -[883721U]-
acpi at bios0 function 0x0 not configured
pcibios0 at bios0: rev 2.1 @ 0xf0000/0xffff
pcibios0: PCI BIOS has 11 Interrupt Routing table entries
pcibios0: PCI Exclusive IRQs: 9 10 11 15
pcibios0: PCI Interrupt Router at 000:31:0 ("Intel 82801EB/ER LPC" rev 0x00)
pcibios0: PCI bus #7 is the last bus
bios0: ROM list: 0xc0000/0xb000 0xcb000/0x4000 0xcf000/0x1800
ipmi at mainbus0 not configured
cpu0 at mainbus0
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 "Intel E7520 Host" rev 0x0a
"Intel E7520 Error Reporting" rev 0x0a at pci0 dev 0 function 1 not
configured
ppb0 at pci0 dev 2 function 0 "Intel E7520 PCIE" rev 0x0a
pci1 at ppb0 bus 2
ppb1 at pci0 dev 4 function 0 "Intel E7520 PCIE" rev 0x0a
pci2 at ppb1 bus 3
ppb2 at pci2 dev 0 function 0 "Intel PCIE-PCIE" rev 0x09
pci3 at ppb2 bus 4
mpi0 at pci3 dev 1 function 0 "Symbios Logic 53c1030" rev 0x08: irq 10
scsibus0 at mpi0: 16 targets
sd0 at scsibus0 targ 0 lun 0: <IBM-ESXS, MAW3300NC FN, C206> SCSI2 0/direct
fixed
sd0: 286102MB, 78753 cyl, 8 head, 930 sec, 512 bytes/sec, 585937500 sec total
mpi0: target 0 Sync at 160MHz width 16bit offset 127 QAS 0 DT 1 IU 1
ppb3 at pci2 dev 0 function 2 "Intel PCIE-PCIE" rev 0x09
pci4 at ppb3 bus 5
bge0 at pci4 dev 1 function 0 "Broadcom BCM5704C" rev 0x10, BCM5704 B0
(0x2100): irq 10, address 00:10:18:24:5f:02
brgphy0 at bge0 phy 1: BCM5704 10/100/1000baseT PHY, rev. 0
bge1 at pci4 dev 1 function 1 "Broadcom BCM5704C" rev 0x10, BCM5704 B0
(0x2100): irq 3, address 00:10:18:24:5f:03
brgphy1 at bge1 phy 1: BCM5704 10/100/1000baseT PHY, rev. 0
ppb4 at pci0 dev 6 function 0 "Intel E7520 PCIE" rev 0x0a
pci5 at ppb4 bus 6
bge2 at pci5 dev 0 function 0 "Broadcom BCM5721" rev 0x01, BCM5750 A1
(0x4001): irq 10, address 00:0d:60:99:a3:b2
brgphy2 at bge2 phy 1: BCM5750 10/100/1000baseT PHY, rev. 0
ppb5 at pci0 dev 7 function 0 "Intel E7520 PCIE" rev 0x0a
pci6 at ppb5 bus 7
bge3 at pci6 dev 0 function 0 "Broadcom BCM5721" rev 0x01, BCM5750 A1
(0x4001): irq 10, address 00:0d:60:99:a3:b3
brgphy3 at bge3 phy 1: BCM5750 10/100/1000baseT PHY, rev. 0
"Intel E7520 Config" rev 0x0a at pci0 dev 8 function 0 not configured
uhci0 at pci0 dev 29 function 0 "Intel 82801EB/ER USB" rev 0x02: irq 10
uhci1 at pci0 dev 29 function 1 "Intel 82801EB/ER USB" rev 0x02: irq 5
ehci0 at pci0 dev 29 function 7 "Intel 82801EB/ER USB2" rev 0x02: irq 11
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 "Intel EHCI root hub" rev 2.00/1.00 addr 1
ppb6 at pci0 dev 30 function 0 "Intel 82801BA Hub-to-PCI" rev 0xc2
pci7 at ppb6 bus 1
vga1 at pci7 dev 1 function 0 "ATI Radeon VE QY" rev 0x00
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
ichpcib0 at pci0 dev 31 function 0 "Intel 82801EB/ER LPC" rev 0x02: 24-bit
timer at 3579545Hz
pciide0 at pci0 dev 31 function 2 "Intel 82801EB SATA" rev 0x02: DMA, channel
0 configured to compatibility, channel 1 configured to compatibility
atapiscsi0 at pciide0 channel 0 drive 0
scsibus1 at atapiscsi0: 2 targets
cd0 at scsibus1 targ 0 lun 0: <HL-DT-ST, DVD-ROM GDR8083N, 0L02> SCSI0 5/cdrom
removable
cd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2
ichiic0 at pci0 dev 31 function 3 "Intel 82801EB/ER SMBus" rev 0x02: irq 3
iic0 at ichiic0
spdmem0 at iic0 addr 0x50: 512MB DDR2 SDRAM registered ECC PC2-3200CL3
spdmem1 at iic0 addr 0x51: 512MB DDR2 SDRAM registered ECC PC2-3200CL3
usb1 at uhci0: USB revision 1.0
uhub1 at usb1 "Intel UHCI root hub" rev 1.00/1.00 addr 1
usb2 at uhci1: USB revision 1.0
uhub2 at usb2 "Intel UHCI root hub" rev 1.00/1.00 addr 1
isa0 at ichpcib0
isadma0 at isa0
pckbc0 at isa0 port 0x60/5
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pmsi0 at pckbc0 (aux slot)
pckbc0: using irq 12 for aux slot
wsmouse0 at pmsi0 mux 0
pcppi0 at isa0 port 0x61
midi0 at pcppi0: <PC speaker>
spkr0 at pcppi0
npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
pccom0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
biomask efed netmask efed ttymask ffef
mtrr: Pentium Pro MTRR support
softraid0 at root
root on sd0a swap on sd0b dump on sd0b


--
Want an e-mail address like mine?
Get a free e-mail account today at www.mail.com!

Reply via email to