amd64 SMP kernel blocks with SATA disk. wd0(pciide1:0:0) timeout

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

amd64 SMP kernel blocks with SATA disk. wd0(pciide1:0:0) timeout

Gottheimer, Christophe
 Good morning,

Congratulations for your job and the OpenBSD system. I use the *BSD for a
long time, from FreeBSD 1.0.5 and I follow some releases
(FreeBSD/OpenBSD).
I upgraded my computer last saturday and I use a AMD Athlon64 X2. So, I
tried to install the OpenBSD-3.8 for amd64 processor. Everything was OK
the generic non-SMP kernel.
Trying after the bsd.mp kernel to engage the SMP, I got the following
message while booting the kernel:

wd0(pciide1:0:0) timeout
type : ata
c_bcount : 512
c_skip : 0
uhub0 : device problem, disabling port 9

And the system blocks!!!

My motherboard is the GigaByte Triton 8 nforce4 ultra (ref: GA-K8N
Ultra-9:
http://tw.giga-byte.com/MotherBoard/Products/Products_GA-K8N%20Ultra-9.htm#
),
My CPU is an AMD Athlon64 X2 3800+ with 1Go DDR Dual Channel,,
My disk is Western Digital 36Go (raptor) on SATA-0 link (via the nForce 4
chipset),
My Video card is Matrox Millenium mga2064w on the PCI bus.

I have also the same problem with i386 release of the OpenBSD-3.8 while
booting the bsd.mp kernel.

I tried to replace the SATA disk by an IDE ULTRA-DMA100 disk and It
worked OK on OpenBSD 3.8/i386 (SMP kernel) but I got the same blocking
issue with the OpenBSD 3.8/amd64 (SMP kernel).

Please find attached the dmesg buffer from the OpenBSD-3.8/amd64 with the
SATA disk.

If you need my help to do some tests or to get some informations more, do
not hesitate to contact me back.

Best Regards,

Ch. Gottheimer
OpenBSD 3.8 (GENERIC) #247: Sat Sep 10 15:53:26 MDT 2005
    [hidden email]:/usr/src/sys/arch/amd64/compile/GENERIC
real mem = 1073278976 (1048124K)
avail mem = 909139968 (887832K)
using 22937 buffers containing 107536384 bytes (105016K) of memory
mainbus0 (root)
cpu0 at mainbus0: (uniprocessor)
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
pci0 at mainbus0 bus 0: configuration mode 1
"Nvidia nForce4 DDR" rev 0xa3 at pci0 dev 0 function 0 not configured
"Nvidia nForce4 ISA" rev 0xa3 at pci0 dev 1 function 0 not configured
"Nvidia nForce4 SMBus" rev 0xa2 at pci0 dev 1 function 1 not configured
ohci0 at pci0 dev 2 function 0 "Nvidia nForce4 USB" rev 0xa2: irq 11, 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: irq 5
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: irq 10, nForce4 AC97
ac97: codec id 0x414c4790 (Avance Logic ALC850)
audio0 at auich0
pciide0 at pci0 dev 6 function 0 "Nvidia nForce4 IDE" rev 0xa2: DMA, channel 0 configured to compatibility, channel 1 configured to compatibility
pciide0: channel 0 disabled (no drives)
atapiscsi0 at pciide0 channel 1 drive 0
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0: <_NEC, DVD_RW ND-3500AG, 2.16> SCSI0 5/cdrom removable
cd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 2
pciide1 at pci0 dev 7 function 0 "Nvidia nForce4 SATA 1" rev 0xa3: DMA
pciide1: using irq 11 for native-PCI interrupt
wd0 at pciide1 channel 0 drive 0: <WDC WD360GD-00FLC0>
wd0: 16-sector PIO, LBA48, 35304MB, 72303840 sectors
wd0(pciide1:0:0): using PIO mode 4, Ultra-DMA mode 5
pciide2 at pci0 dev 8 function 0 "Nvidia nForce4 SATA 2" rev 0xa3: DMA
pciide2: using irq 10 for native-PCI interrupt
ppb0 at pci0 dev 9 function 0 "Nvidia nForce4 PCI-PCI" rev 0xa2
pci1 at ppb0 bus 1
vga1 at pci1 dev 6 function 0 "Matrox MGA Millenium 2064W (Storm)" rev 0x01
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
rl0 at pci1 dev 8 function 0 "Realtek 8139" rev 0x10: irq 5 address 00:08:54:3e:aa:7a
rlphy0 at rl0 phy 0: RTL internal phy
vendor "Texas Instruments", unknown product 0x8025 (class serial bus subclass Firewire, rev 0x01) at pci1 dev 10 function 0 not configured
"Nvidia CK804 LAN" rev 0xa3 at pci0 dev 10 function 0 not configured
ppb1 at pci0 dev 11 function 0 "Nvidia nForce4 PCIE" rev 0xa3
pci2 at ppb1 bus 2
skc0 at pci2 dev 0 function 0 "Marvell Yukon 8053" rev 0x19: irq 12
skc0: bad VPD resource id: expected 82 got 0
skc0: unknown media type: 0x31
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 4
ppb4 at pci0 dev 14 function 0 "Nvidia nForce4 PCIE" rev 0xa3
pci5 at ppb4 bus 5
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 mainbus0
com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
com1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo
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
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
uhidev0 at uhub0 port 9 configuration 1 interface 0
uhidev0: Logitech Optical USB Mouse, rev 2.00/3.40, addr 2, iclass 3/1
ums0 at uhidev0: 3 buttons and Z dir.
wsmouse0 at ums0 mux 0
umass0 at uhub1 port 1 configuration 1 interface 0
umass0: LEXAR MEDIA JUMPDRIVE ELITE, rev 2.00/30.00, addr 2
umass0: using SCSI over Bulk-Only
scsibus1 at umass0: 2 targets
sd0 at scsibus1 targ 1 lun 0: <LEXAR, JUMPDRIVE ELITE, 1000> SCSI0 0/direct removable
sd0: 991MB, 991 cyl, 64 head, 32 sec, 512 bytes/sec, 2030592 sec total

Reply | Threaded
Open this post in threaded view
|

Re: amd64 SMP kernel blocks with SATA disk. wd0(pciide1:0:0) timeout

Gottheimer, Christophe
 Hello,

I sent yesterday some informations about a problem I have with the SMP
kernel on amd64.

Yesterday, I did another test and the kernel entered teh DDB after a page
fault: kernel 3.8 amd64 bsd.mp (SMP kernel).
Here are the traces I got (My wd0 was an IDE ULTRA-DMA100 disk on PCI0) :

wd0: transfert error, downgarding to ultramode 5
...
wd0: transfert error, downgrading to Ultramode 0
wd0(piide0:0:0): using PIO mode 4 UltraDMA mode 0
wd0e : device timeout writing fsbn 96 of 96-127
(wd0 bn 1221036, cn 76 tn 1 sn 33) retrying
wd0 soft error (corrected)
wd0(pciide0:0:0) timeout
type : ata
c_bcount : 512
c_skip : 0

kernel: page fault code 0
stopped at: nforce_setup_channel+0x1d3      movzbl    
wdc_pdc203xx_vtbl+0x12c(%rax),%eax

with rax = 0x1bb0178 mp_pdirpa+0x1bae091

trace gives:
nforce_setup_channel()+0x1d3
wdc_downgrade_mode()+0x9e
ata_dmaerr+0x3b
wdc_ata_bio_intr+0x222
wdctimeout()+0xef
softclock()+0x21c
softintr_dispatch()+0x5b

The dump has not worked.

I hope it will help.

Regards,

Ch. Gottheimer

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

  OpenBSD 3.8 (GENERIC) #247: Sat Sep 10 15:53:26 MDT 2005
      [hidden email]:/usr/src/sys/arch/amd64/compile/GENERIC
  real mem = 1073278976 (1048124K)
  avail mem = 909139968 (887832K)
  using 22937 buffers containing 107536384 bytes (105016K) of memory
  mainbus0 (root)
  cpu0 at mainbus0: (uniprocessor)
  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
  pci0 at mainbus0 bus 0: configuration mode 1
  "Nvidia nForce4 DDR" rev 0xa3 at pci0 dev 0 function 0 not configured
  "Nvidia nForce4 ISA" rev 0xa3 at pci0 dev 1 function 0 not configured
  "Nvidia nForce4 SMBus" rev 0xa2 at pci0 dev 1 function 1 not configured
  ohci0 at pci0 dev 2 function 0 "Nvidia nForce4 USB" rev 0xa2: irq 11, 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: irq 5
  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: irq 10, nForce4 AC97
  ac97: codec id 0x414c4790 (Avance Logic ALC850)
  audio0 at auich0
  pciide0 at pci0 dev 6 function 0 "Nvidia nForce4 IDE" rev 0xa2: DMA, channel 0 configured to compatibility, channel 1 configured to compatibility
  pciide0: channel 0 disabled (no drives)
  atapiscsi0 at pciide0 channel 1 drive 0
  scsibus0 at atapiscsi0: 2 targets
  cd0 at scsibus0 targ 0 lun 0: <_NEC, DVD_RW ND-3500AG, 2.16> SCSI0 5/cdrom removable
  cd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 2
  pciide1 at pci0 dev 7 function 0 "Nvidia nForce4 SATA 1" rev 0xa3: DMA
  pciide1: using irq 11 for native-PCI interrupt
  wd0 at pciide1 channel 0 drive 0: <WDC WD360GD-00FLC0>
  wd0: 16-sector PIO, LBA48, 35304MB, 72303840 sectors
  wd0(pciide1:0:0): using PIO mode 4, Ultra-DMA mode 5
  pciide2 at pci0 dev 8 function 0 "Nvidia nForce4 SATA 2" rev 0xa3: DMA
  pciide2: using irq 10 for native-PCI interrupt
  ppb0 at pci0 dev 9 function 0 "Nvidia nForce4 PCI-PCI" rev 0xa2
  pci1 at ppb0 bus 1
  vga1 at pci1 dev 6 function 0 "Matrox MGA Millenium 2064W (Storm)" rev 0x01
  wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
  wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
  rl0 at pci1 dev 8 function 0 "Realtek 8139" rev 0x10: irq 5 address 00:08:54:3e:aa:7a
  rlphy0 at rl0 phy 0: RTL internal phy
  vendor "Texas Instruments", unknown product 0x8025 (class serial bus subclass Firewire, rev 0x01) at pci1 dev 10 function 0 not configured
  "Nvidia CK804 LAN" rev 0xa3 at pci0 dev 10 function 0 not configured
  ppb1 at pci0 dev 11 function 0 "Nvidia nForce4 PCIE" rev 0xa3
  pci2 at ppb1 bus 2
  skc0 at pci2 dev 0 function 0 "Marvell Yukon 8053" rev 0x19: irq 12
  skc0: bad VPD resource id: expected 82 got 0
  skc0: unknown media type: 0x31
  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 4
  ppb4 at pci0 dev 14 function 0 "Nvidia nForce4 PCIE" rev 0xa3
  pci5 at ppb4 bus 5
  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 mainbus0
  com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
  com1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo
  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
  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
  uhidev0 at uhub0 port 9 configuration 1 interface 0
  uhidev0: Logitech Optical USB Mouse, rev 2.00/3.40, addr 2, iclass 3/1
  ums0 at uhidev0: 3 buttons and Z dir.
  wsmouse0 at ums0 mux 0
  umass0 at uhub1 port 1 configuration 1 interface 0
  umass0: LEXAR MEDIA JUMPDRIVE ELITE, rev 2.00/30.00, addr 2
  umass0: using SCSI over Bulk-Only
  scsibus1 at umass0: 2 targets
  sd0 at scsibus1 targ 1 lun 0: <LEXAR, JUMPDRIVE ELITE, 1000> SCSI0 0/direct removable
  sd0: 991MB, 991 cyl, 64 head, 32 sec, 512 bytes/sec, 2030592 sec total