nForce4/amd64 x2: wd/console problems [jan 30 snapshot]

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

nForce4/amd64 x2: wd/console problems [jan 30 snapshot]

Denis Doroshenko
hello,

i think i saw something similar on the list a bit earlier.

tried nForce4 mobo with amd64 x2 cpu and bsd.mp (jan 30 snapshot).
have got lotsa wd problems so serious so the system even drops to ddb
(see below). yeah, and there are problems besides wdX - i could not
login to the system, since when i entered login/password for root the
console locked up hardly and it looked like return key stuck and
generates key pressed events.

uniprocessor kernel boots and seems to be working okay. bsd.mp i386
(seems to be a jan 24 snapshots), boots and seems to be working okay.

i have unlimited access to the box, so i can check whatever version needed.

>> OpenBSD/amd64 BOOT 2.11
boot> bsd.mp
booting hd0a:bsd.mp: 3730180+693964+598712+0+428752 [80+313992+194403]=0x9b100c
entry point at 0x1001e0 [7205c766, 34000004, 24448b12, 5e60a304]B*C?[
using 509248 bytes of bsd ELF symbol table ]
Copyright (c) 1982, 1986, 1989, 1991, 1993
        The Regents of the University of California.  All rights reserved.
Copyright (c) 1995-2006 OpenBSD. All rights reserved.  http://www.OpenBSD.org

OpenBSD 3.9-beta (GENERIC.MP) #710: Mon Jan 30 13:49:52 MST 2006
    [hidden email]:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 1073278976 (1048124K)
avail mem = 908484608 (887192K)
using 22937 buffers containing 107536384 bytes (105016K) of memory
mainbus0 (root)
mainbus0: Intel MP Specification (Version 1.4) (OEM00000 PROD00000000)
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: AMD Athlon(tm) 64 X2 Dual Core Processor 3800+, 2010.52 MHz
cpu0: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,NXE,MMXX,FFXSR,LONG,
3DNOW2,3DNOW
cpu0: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 512KB
64b/line 16-way L2 cache
cpu0: ITLB 32 4KB entries fully associative, 8 4MB entries fully associative
cpu0: DTLB 32 4KB entries fully associative, 8 4MB entries fully associative
cpu0: apic clock running at 201MHz
cpu1 at mainbus0: apid 1 (application processor)
cpu1: AMD Athlon(tm) 64 X2 Dual Core Processor 3800+, 2010.30 MHz
cpu1: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,NXE,MMXX,FFXSR,LONG,
3DNOW2,3DNOW
cpu1: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 512KB
64b/line 16-way L2 cache
cpu1: ITLB 32 4KB entries fully associative, 8 4MB entries fully associative
cpu1: DTLB 32 4KB entries fully associative, 8 4MB entries fully associative
mpbios: bus 0 is type PCI
mpbios: bus 1 is type PCI
mpbios: bus 2 is type PCI
mpbios: bus 3 is type PCI
mpbios: bus 4 is type PCI
mpbios: bus 5 is type PCI
mpbios: bus 6 is type ISA
ioapic0 at mainbus0 apid 2: pa 0xffff800001ba5f24, version 11, 24 pins
ioapic0: misconfigured as apic 0
ioapic0: remapped to apic 2
pci0 at mainbus0 bus 0: configuration mode 1
"Nvidia nForce4 DDR" rev 0xa3 at pci0 dev 0 function 0 not configured
pcib0 at pci0 dev 1 function 0 "Nvidia nForce4 ISA" rev 0xa3
nviic0 at pci0 dev 1 function 1 "Nvidia nForce4 SMBus" rev 0xa2
iic0 at nviic0
iic1 at nviic0
lm1 at iic1 addr 0x2f: W83791SD
ohci0 at pci0 dev 2 function 0 "Nvidia nForce4 USB" rev 0xa2: apic 2
int 5 (irq 5), version 1.0, legacy support
usb0 at ohci0: USB revision 1.0
uhub0 at usb0
uhub0: Nvidia OHCI root hub, rev 1.00/1.00, addr 1
uhub0: 10 ports with 10 removable, self powered
ehci0 at pci0 dev 2 function 1 "Nvidia nForce4 USB" rev 0xa3: apic 2
int 3 (irq 3)
usb1 at ehci0: USB revision 2.0
uhub1 at usb1
uhub1: Nvidia EHCI root hub, rev 2.00/1.00, addr 1
uhub1: 10 ports with 10 removable, self powered
auich0 at pci0 dev 4 function 0 "Nvidia nForce4 AC97" rev 0xa2: apic 2
int 11 (irq 11), nForce4 AC97
ac97: codec id 0x414c4790 (Avance Logic ALC850)
audio0 at auich0
pciide0 at pci0 dev 6 function 0 "Nvidia nForce4 IDE" rev 0xf2: DMA,
channel 0 configured to compatibility, channel 1 configured to
compatibility
wd0 at pciide0 channel 0 drive 0: <ST32122A>
wd0: 16-sector PIO, LBA, 2014MB, 4124736 sectors
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2
atapiscsi0 at pciide0 channel 1 drive 0
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0: <LITE-ON, DVDRW SHW-16H5S, LS0N> SCSI0
5/cdrom removable
cd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 4
pciide1 at pci0 dev 7 function 0 "Nvidia nForce4 SATA 1" rev 0xf3: DMA
pciide1: using apic 2 int 5 (irq 11) for native-PCI interrupt
pciide2 at pci0 dev 8 function 0 "Nvidia nForce4 SATA 2" rev 0xf3: DMA
pciide2: using apic 2 int 11 (irq 5) for native-PCI interrupt
ppb0 at pci0 dev 9 function 0 "Nvidia nForce4 PCI-PCI" rev 0xa2
pci1 at ppb0 bus 5
"Texas Instruments TSB43AB22 FireWire" rev 0x00 at pci1 dev 11
function 0 not configured
skc0 at pci1 dev 12 function 0 "Marvell Yukon 88E8001/8003/8010" rev
0x13, Marvell Yukon Lite (0x9): apic 2 int 5 (irq 5)
sk0 at skc0 port A, address 00:15:f2:1d:20:34
eephy0 at sk0 phy 0: Marvell 88E1011 Gigabit PHY, rev. 5
ppb1 at pci0 dev 11 function 0 "Nvidia nForce4 PCIE" rev 0xa3
pci2 at ppb1 bus 4
ppb2 at pci0 dev 12 function 0 "Nvidia nForce4 PCIE" rev 0xa3
pci3 at ppb2 bus 3
ppb3 at pci0 dev 13 function 0 "Nvidia nForce4 PCIE" rev 0xa3
pci4 at ppb3 bus 2
ppb4 at pci0 dev 14 function 0 "Nvidia nForce4 PCIE" rev 0xa3
pci5 at ppb4 bus 1
vga1 at pci5 dev 0 function 0 "Nvidia GeForce 6600 GT" rev 0xa2
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
pchb0 at pci0 dev 24 function 0 "AMD AMD64 HyperTransport" rev 0x00
pchb1 at pci0 dev 24 function 1 "AMD AMD64 Address Map" rev 0x00
pchb2 at pci0 dev 24 function 2 "AMD AMD64 DRAM Cfg" rev 0x00
pchb3 at pci0 dev 24 function 3 "AMD AMD64 Misc Cfg" rev 0x00
isa0 at pcib0
isadma0 at isa0
com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
com0: console
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
pcppi0 at isa0 port 0x61
midi0 at pcppi0: <PC speaker>
spkr0 at pcppi0
sysbeep0 at pcppi0
lpt0 at isa0 port 0x378/4 irq 7
it0 at isa0 port 0x290/8: IT87
dkcsum: wd0 matches BIOS drive 0x80
root on wd0a
rootdev=0x0 rrootdev=0x300 rawdev=0x302
Automatic boot in progress: starting file system checks.
/dev/rwd0a: file system is clean; not checking
setting tty flags
starting network
DHCPREQUEST on sk0 to 255.255.255.255 port 67
DHCPREQUEST on sk0 to 255.255.255.255 port 67
DHCPACK from 172.16.0.254
bound to 172.16.0.2 -- renewal in 21600 seconds.
starting system logger
starting initial daemons:.
wd0(pciide0:0:0): timeout
        type: ata
        c_bcount: 10240
        c_skip: 0
wd0a: device timeout writing fsbn 1345760 of 1345760-1345779 (wd0 bn
3406112; cn 3379 tn 1 sn 17), retrying
wd0: soft error (corrected)
savecore: /dev/wd0b: Device not configured
checking quotas: done.
building ps databases: kvm devwd0(pciide0:0:0): timeout
        type: ata
        c_bcount: 16384
        c_skip: 0
wd0: transfer error, downgrading to Ultra-DMA mode 1
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 1
wd0a: device timeout writing fsbn 1322848 of 1322848-1322879 (wd0 bn
3383200; cn 3356 tn 5 sn 37), retrying
wd0: soft error (corrected)
.
clearing /tmp
wd0(pciide0:0:0): timeout
        type: ata
        c_bcount: 14336
        c_skip: 0
wd0: transfer error, downgrading to Ultra-DMA mode 0
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 0
wd0a: device timeout writing fsbn 1345760 of 1345760-1345787 (wd0 bn
3406112; cn 3379 tn 1 sn 17), retrying
wd0: soft error (corrected)
starting pre-securelevel daemons:.
setting kernel security level: kern.securelevel: 0 -> 1
creating runtime link editor directory cache.
preserving editor files
ssh-keygen: generating new DSA host key... done.
ssh-keygen: genewd0(pciide0:0:0): timeout
        type: ata
rating new RSA h        c_bcount: 16384
ost key...      c_skip: 0
wd0: transfer error, downgrading to DMA mode 2
wd0(pciide0:0:0): using PIO mode 4, DMA mode 2
wd0a: device timeout writing fsbn 1345312 of 1345312-1345343 (wd0 bn
3405664; cn 3378 tn 10 sn 10), retrying
wd0(pciide0:0:0): timeout
        type: ata
        c_bcount: 16384
        c_skip: 0
pciide0:0:0: bus-master DMA error: missing interrupt, status=0x20
wd0: transfer error, downgrading to PIO mode 4
kernel: page fault trap, code=0
Stopped at      nforce_setup_channel+0x1d3:     movzbl  wdc_pdc203xx_vtbl+0x13c
(%rax),%eax
ddb{0}> trace
nforce_setup_channel() at nforce_setup_channel+0x1d3
wdc_downgrade_mode() at wdc_downgrade_mode+0x9e
ata_dmaerr() at ata_dmaerr+0x3b
wdc_ata_bio_intr() at wdc_ata_bio_intr+0x222
wdctimeout() at wdctimeout+0xef
softclock() at softclock+0x21c
softintr_dispatch() at softintr_dispatch+0x5b
Xsoftclock() at Xsoftclock+0x32
--- interrupt ---
end of kernel
end trace frame: 0x2b0000000000000, count: -8
0:
ddb{0}> ps
   PID   PPID   PGRP    UID  S       FLAGS  WAIT       COMMAND
 12906  28981  28981      0  3   0x2004006  biowait    ssh-keygen
 16178  22887  22887     73  3   0x2000104  ffs_fsync  syslogd
 22887      1  22887      0  3   0x2000084  netio      syslogd
 20434      1  20434     77  3   0x2000184  poll       dhclient
  1663      1  28981      0  3   0x2000086  poll       dhclient
 28981      1  28981      0  3   0x2004086  pause      sh
    12      0      0      0  3   0x2100204  crypto_wa  crypto
    11      0      0      0  3   0x2100204  aiodoned   aiodoned
    10      0      0      0  3   0x2100204  syncer     update
     9      0      0      0  3   0x2100204  cleaner    cleaner
     8      0      0      0  3    0x100204  reaper     reaper
     7      0      0      0  3   0x2100204  pgdaemon   pagedaemon
     6      0      0      0  3   0x2100204  pftm       pfpurge
     5      0      0      0  3   0x2100204  timeout    sensors
     4      0      0      0  3   0x2100204  usbevt     usb1
     3      0      0      0  3   0x2100204  usbtsk     usbtask
     2      0      0      0  3   0x2100204  usbevt     usb0
     1      0      1      0  3   0x2004084  wait       init
     0     -1      0      0  3   0x2080204  scheduler  swapper
ddb{0}> boot sync
syncing disks... panic: tsleep: not SONPROC
Stopped at      Debugger+0x5:   leave
RUN AT LEAST 'trace' AND 'ps' AND INCLUDE OUTPUT WHEN REPORTING THIS PANIC!
DO NOT EVEN BOTHER REPORTING THIS WITHOUT INCLUDING THAT INFORMATION!
ddb{0}> trace
Debugger() at Debugger+0x5
panic() at panic+0x12a
bpendtsleep() at bpendtsleep+0x1d0
getblk() at getblk+0x199
bread() at bread+0x1e
ffs_update() at ffs_update+0x1e3
ffs_fsync() at ffs_fsync+0x144
VOP_FSYNC() at VOP_FSYNC+0x31
ffs_sync_vnode() at ffs_sync_vnode+0x74
vfs_mount_foreach_vnode() at vfs_mount_foreach_vnode+0x32
ffs_sync() at ffs_sync+0x74
sys_sync() at sys_sync+0x9e
vfs_shutdown() at vfs_shutdown+0x60
boot() at boot+0x10e
db_boot_sync_cmd() at db_boot_sync_cmd+0xe
db_command() at db_command+0x10f
db_command_loop() at db_command_loop+0xb8
db_trap() at db_trap+0x8a
kdb_trap() at kdb_trap+0x121
trap() at trap+0xb6
--- trap (number 6) ---
nforce_setup_channel() at nforce_setup_channel+0x1d3
wdc_downgrade_mode() at wdc_downgrade_mode+0x9e
ata_dmaerr() at ata_dmaerr+0x3b
wdc_ata_bio_intr() at wdc_ata_bio_intr+0x222
wdctimeout() at wdctimeout+0xef
softclock() at softclock+0x21c
softintr_dispatch() at softintr_dispatch+0x5b
Xsoftclock() at Xsoftclock+0x32
--- interrupt ---
end of kernel
end trace frame: 0x2b0000000000000, count: -28
0:
ddb{0}> ps
   PID   PPID   PGRP    UID  S       FLAGS  WAIT       COMMAND
 12906  28981  28981      0  3   0x2004006  biowait    ssh-keygen
 16178  22887  22887     73  3   0x2000104  ffs_fsync  syslogd
 22887      1  22887      0  3   0x2000084  netio      syslogd
 20434      1  20434     77  3   0x2000184  poll       dhclient
  1663      1  28981      0  3   0x2000086  poll       dhclient
 28981      1  28981      0  3   0x2004086  pause      sh
    12      0      0      0  3   0x2100204  crypto_wa  crypto
    11      0      0      0  3   0x2100204  aiodoned   aiodoned
    10      0      0      0  3   0x2100204  syncer     update
     9      0      0      0  3   0x2100204  cleaner    cleaner
     8      0      0      0  3    0x100204  reaper     reaper
     7      0      0      0  3   0x2100204  pgdaemon   pagedaemon
     6      0      0      0  3   0x2100204  pftm       pfpurge
     5      0      0      0  3   0x2100204  timeout    sensors
     4      0      0      0  3   0x2100204  usbevt     usb1
     3      0      0      0  3   0x2100204  usbtsk     usbtask
     2      0      0      0  3   0x2100204  usbevt     usb0
     1      0      1      0  3   0x2004084  wait       init
*    0     -1      0      0  3   0x2080204  scheduler  swapper
ddb{0}>