Subject: NetBSD/amd64 on Rioworks HDAMC
To: None <port-amd64@netbsd.org>
From: Hiroyuki Bessho <bsh@grotto.jp>
List: port-amd64
Date: 11/26/2004 15:28:56
Hi,

  I tried 2.0RC5 GENERIC kernel on dual Opteron machine, and found a
problem with SATA drives.  The motherboard was RioWorks HDAMC.  I also
tried GENERIC.MP kernel and got same problem.  Attached is the console
messages from GENERIC kernel.

  i386 kernel runs fine with SATA drives on the same motherboard.

  Is there any info to fix it?

TIA.


>> NetBSD/amd64 BIOS Boot, Revision 3.1
>> (bsh@kihada.genetec.local, Fri Oct  8 15:33:55 JST 2004)
>> Memory: 638/2096064 k
> bot ot netbsd.amd64.gz
booting hd0a:netbsd.amd64.gz
5849064+638800 [442992+265843]=0x86e548
Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004
    The NetBSD Foundation, Inc.  All rights reserved.
Copyright (c) 1982, 1986, 1989, 1991, 1993
    The Regents of the University of California.  All rights reserved.

NetBSD 2.0_RC5 (GENERIC) #0: Thu Nov 18 21:13:44 JST 2004
	bsh@sdc-060kajiki.genetec.local:/u1/netbsd/tnf/2.0/src/sys/arch/amd64/co
mpile/GENERIC
total memory = 2047 MB
avail memory = 1968 MB
mainbus0 (root)
mainbus0: Intel MP Specification (Version 1.1) (IWILL    DK8X        )
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: AMD Opteron(tm) Processor 248, 2205.15 MHz
cpu0: features: e7dbfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR>
cpu0: features: e7dbfbff<PGE,MCA,CMOV,PAT,PSE36,MPC,NOX,MMXX,MMX>
cpu0: features: e7dbfbff<FXSR,SSE,SSE2,LONG,3DNOW2,3DNOW>
cpu0: I-cache 64 KB 64B/line 2-way, D-cache 64 KB 64B/line 2-way
cpu0: L2 cache 1 MB 64B/line 16-way
cpu0: ITLB 32 4 KB entries fully associative, 8 4 MB entries fully associative
cpu0: DTLB 32 4 KB entries fully associative, 8 4 MB entries fully associative
cpu0: calibrating local timer
cpu0: apic clock running at 200 MHz
cpu0: 16 page colors
cpu1 at mainbus0: apid 1 (application processor)
cpu1: not started
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 ISA   
ioapic0 at mainbus0 apid 2 (I/O APIC)
ioapic0: pa 0xfec00000, version 11, 24 pins
ioapic1 at mainbus0 apid 3 (I/O APIC)
ioapic1: pa 0xff6ff000, version 11, 4 pins
ioapic2 at mainbus0 apid 4 (I/O APIC)
ioapic2: pa 0xff6fe000, version 11, 4 pins
pci0 at mainbus0 bus 0: configuration mode 1
pci0: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok
pchb0 at pci0 dev 0 function 0
pchb0: Advanced Micro Devices AMD8151 AGP Device (rev. 0x13)
ppb0 at pci0 dev 1 function 0: Advanced Micro Devices AMD8151 AGP Bridge (rev. 0
x13)
pci1 at ppb0 bus 1
pci1: i/o space, memory space enabled
vga0 at pci1 dev 0 function 0: ATI Technologies Radeon 7200 (rev. 0x00)
wsdisplay0 at vga0 kbdmux 1
wsmux1: connecting to wsdisplay0
ppb1 at pci0 dev 6 function 0: Advanced Micro Devices AMD8111 I/O Hub (rev. 0x07
)
pci2 at ppb1 bus 2
pci2: memory space enabled
ohci0 at pci2 dev 0 function 0: Advanced Micro Devices AMD8111 USB Host Controll
er (rev. 0x0b)
ohci0: interrupting at ioapic0 pin 19 (irq 9)
ohci0: OHCI version 1.0, legacy support
usb0 at ohci0: USB revision 1.0
uhub0 at usb0
uhub0: Advanced Micro OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 3 ports with 3 removable, self powered
ohci1 at pci2 dev 0 function 1: Advanced Micro Devices AMD8111 USB Host Controll
er (rev. 0x0b)
ohci1: interrupting at ioapic0 pin 19 (irq 9)
ohci1: OHCI version 1.0, legacy support
usb1 at ohci1: USB revision 1.0
uhub1 at usb1
uhub1: Advanced Micro OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 3 ports with 3 removable, self powered
Texas Instruments TSB43AA22/A OHCI IEEE 1394 Host Controller (Firewire serial bu
s, interface 0x10) at pci2 dev 6 function 0 not configured
ohci2 at pci2 dev 7 function 0: NEC USB Host Controller (rev. 0x43)
ohci2: interrupting at ioapic0 pin 19 (irq 9)
ohci2: OHCI version 1.0
usb2 at ohci2: USB revision 1.0
uhub2 at usb2
uhub2: NEC OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub2: 3 ports with 3 removable, self powered
ohci3 at pci2 dev 7 function 1: NEC USB Host Controller (rev. 0x43)
ohci3: interrupting at ioapic0 pin 16 (irq 11)
ohci3: OHCI version 1.0
usb3 at ohci3: USB revision 1.0
uhub3 at usb3
uhub3: NEC OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub3: 2 ports with 2 removable, self powered
NEC USB Host Controller (USB serial bus, interface 0x20, revision 0x04) at pci2 
dev 7 function 2 not configured
pcib0 at pci0 dev 7 function 0
pcib0: Advanced Micro Devices AMD8111 LPC Controller (rev. 0x05)
viaide0 at pci0 dev 7 function 1
viaide0: Advanced Micro Devices AMD8111 IDE Controller (rev. 0x03)
viaide0: bus-master DMA support present
viaide0: primary channel configured to compatibility mode
viaide0: primary channel interrupting at ioapic0 pin 14 (irq 14)
atabus0 at viaide0 channel 0
viaide0: secondary channel configured to compatibility mode
viaide0: secondary channel interrupting at ioapic0 pin 15 (irq 15)
atabus1 at viaide0 channel 1
Advanced Micro Devices AMD8111 ACPI Controller (miscellaneous bridge, revision 0
x05) at pci0 dev 7 function 3 not configured
auich0 at pci0 dev 7 function 5: AMD8111 AC-97 Audio
auich0: interrupting at ioapic0 pin 17 (irq 10)
auich0: ac97: Avance Logic ALC655 codec; no 3D stereo
auich0: ac97: ext id 9c4<AC97_23,LDAC,SDAC,CDAC,SPDIF>
ppb2 at pci0 dev 10 function 0: Advanced Micro Devices AMD8131 PCI-X Tunnel (rev
. 0x12)
pci3 at ppb2 bus 3
pci3: i/o space, memory space enabled
skc0 at pci3 dev 3 function 0: ioapic0 pin 19 (irq 9)
skc0: Yukon Gigabit Ethernet 10/100/1000Base-T Adapter
sk0 at skc0 port A: Ethernet address 00:d0:68:04:a8:e5
makphy0 at sk0 phy 0: Marvell 88E1011 Gigabit PHY, rev. 5
makphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FD
X, auto
satalink0 at pci3 dev 5 function 0
satalink0: Silicon Image SATALink 3114 (rev. 0x02)
satalink0: bus-master DMA support present
satalink0: using ioapic0 pin 17 (irq 10) for native-PCI interrupt
atabus2 at satalink0 channel 0
atabus3 at satalink0 channel 1
atabus4 at satalink0 channel 2
atabus5 at satalink0 channel 3
aapic0 at pci0 dev 10 function 1: Advanced Micro Devices AMD8131 IO Apic (rev. 0
x01)
ppb3 at pci0 dev 11 function 0: Advanced Micro Devices AMD8131 PCI-X Tunnel (rev
. 0x12)
pci4 at ppb3 bus 4
pci4: i/o space, memory space enabled
sip0 at pci4 dev 1 function 0: NatSemi DP83815 10/100 Ethernet, rev 00
sip0: interrupting at ioapic0 pin 17 (irq 10)
sip0: Ethernet address 08:00:17:0b:6d:b9
nsphyter0 at sip0 phy 0: DP83815 10/100 media interface, rev. 1
nsphyter0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
aapic1 at pci0 dev 11 function 1: Advanced Micro Devices AMD8131 IO Apic (rev. 0
x01)
pchb1 at pci0 dev 24 function 0
pchb1: Advanced Micro Devices AMD64 HyperTransport configuration (rev. 0x00)
pchb2 at pci0 dev 24 function 1
pchb2: Advanced Micro Devices AMD64 Address Map configuration (rev. 0x00)
pchb3 at pci0 dev 24 function 2
pchb3: Advanced Micro Devices AMD64 DRAM configuration (rev. 0x00)
pchb4 at pci0 dev 24 function 3
pchb4: Advanced Micro Devices AMD64 Miscellaneous configuration (rev. 0x00)
pchb5 at pci0 dev 25 function 0
pchb5: Advanced Micro Devices AMD64 HyperTransport configuration (rev. 0x00)
pchb6 at pci0 dev 25 function 1
pchb6: Advanced Micro Devices AMD64 Address Map configuration (rev. 0x00)
pchb7 at pci0 dev 25 function 2
pchb7: Advanced Micro Devices AMD64 DRAM configuration (rev. 0x00)
pchb8 at pci0 dev 25 function 3
pchb8: Advanced Micro Devices AMD64 Miscellaneous configuration (rev. 0x00)
isa0 at pcib0
com0 at isa0 port 0x3f8-0x3ff irq 4: ns16550a, working fifo
com0: console
com1 at isa0 port 0x2f8-0x2ff irq 3: ns16550a, working fifo
pckbc0 at isa0 port 0x60-0x64
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0 mux 1
wskbd0: connecting to wsdisplay0
pcppi0 at isa0 port 0x61
midi0 at pcppi0: PC speaker
sysbeep0 at pcppi0
fdc0 at isa0 port 0x3f0-0x3f7 irq 6 drq 2
ioapic2: enabling
ioapic1: enabling
ioapic0: enabling
audio0 at auich0: full duplex, independent
fd0 at fdc0 drive 0: 1.44MB, 80 cyl, 2 head, 18 sec
Kernelized RAIDframe activated
satalink0: port 3: device present, speed: 1.5Gb/s
wd0 at atabus0 drive 0: <ST320413A>
wd0: drive supports 16-sector PIO transfers, LBA addressing
wd0: 19092 MB, 38792 cyl, 16 head, 63 sec, 512 bytes/sect x 39102336 sectors
wd0: 32-bit data port
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 5 (Ultra/100)
wd0(viaide0:0:0): using PIO mode 4, Ultra-DMA mode 5 (Ultra/100) (using DMA data
 transfers)
atapibus0 at atabus1: 2 targets
cd0 at atapibus0 drive 0: <TOSHIBA ODD-DVD SD-R1512, 24RH503713, 1010> cdrom rem
ovable
cd0: 32-bit data port
cd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 2 (Ultra/33)
cd0(viaide0:1:0): using PIO mode 4, Ultra-DMA mode 2 (Ultra/33) (using DMA data 
transfers)
wd1 at atabus5 drive 0satalink0:3:0: lost interrupt
	type: ata tc_bcount: 512 tc_skip: 0
: <Maxtor 7Y250M0>
wd1: drive supports 16-sector PIO transfers, LBA48 addressing
wd1: 233 GB, 486344 cyl, 16 head, 63 sec, 512 bytes/sect x 490234752 sectors
satalink0:3:0: lost interrupt
	type: ata tc_bcount: 512 tc_skip: 0
satalink0:3:0: lost interrupt
	type: ata tc_bcount: 512 tc_skip: 0
wd1: 32-bit data port
satalink0:3:0: lost interrupt
	type: ata tc_bcount: 0 tc_skip: 0
wd1: drive supports PIO mode 4satalink0:3:0: lost interrupt
	type: ata tc_bcount: 0 tc_skip: 0
, DMA mode 2satalink0:3:0: lost interrupt
	type: ata tc_bcount: 0 tc_skip: 0
, Ultra-DMA mode 6 (Ultra/133)
wd1(satalink0:3:0): using PIO mode 4, Ultra-DMA mode 6 (Ultra/133) (using DMA da
ta transfers)
satalink0:3:0: lost interrupt
	type: ata tc_bcount: 512 tc_skip: 0
satalink0:3:0: lost interrupt
	type: ata tc_bcount: 512 tc_skip: 0
satalink0:3:0: lost interrupt
	type: ata tc_bcount: 512 tc_skip: 0
satalink0:3:0: lost interrupt
	type: ata tc_bcount: 512 tc_skip: 0
satalink0:3:0: lost interrupt
	type: ata tc_bcount: 0 tc_skip: 0
satalink0:3:0: lost interrupt
	type: ata tc_bcount: 512 tc_skip: 0
satalink0:3:0: lost interrupt
	type: ata tc_bcount: 512 tc_skip: 0
satalink0:3:0: lost interrupt
	type: ata tc_bcount: 512 tc_skip: 0
satalink0:3:0: lost interrupt
	type: ata tc_bcount: 512 tc_skip: 0
satalink0:3:0: lost interrupt
	type: ata tc_bcount: 0 tc_skip: 0
satalink0:3:0: lost interrupt
	type: ata tc_bcount: 512 tc_skip: 0
satalink0:3:0: lost interrupt
	type: ata tc_bcount: 512 tc_skip: 0
satalink0:3:0: lost interrupt
	type: ata tc_bcount: 512 tc_skip: 0
satalink0:3:0: lost interrupt
	type: ata tc_bcount: 512 tc_skip: 0
satalink0:3:0: lost interrupt
	type: ata tc_bcount: 2048 tc_skip: 0
satalink0:3:0: lost interrupt
	type: ata tc_bcount: 0 tc_skip: 0
boot device: wd0
root on wd0a dumps on wd0b
root file system type: ffs
Sun Nov 21 09:46:04 JST 2004
swapctl: adding /dev/wd0b as swap device at priority 0
Checking for botched superblock upgrades: done.
Starting file system checks:
/dev/rwd0a: file system is clean; not checking
Setting tty flags.
Setting sysctl variables:
Starting network.
/etc/rc: WARNING: $hostname not set.
IPv6 mode: host
Configuring network interfaces:.
Building databases...
wsdisplay0: screen 1 added (80x25, vt100 emulation)
wsdisplay0: screen 2 added (80x25, vt100 emulation)
wsdisplay0: screen 3 added (80x25, vt100 emulation)
wsdisplay0: screen 4 added (80x25, vt100 emulation)
Starting syslogd.
Checking for core dump...
savecore: /netbsd.amd64.gz: kvm_nlist: bad namelist
savecore: /netbsd.amd64.gz: _dumpdev not in namelist
Mounting all filesystems...
Clearing /tmp.
Checking quotas: done.
Starting virecover.
Starting local daemons:.
Updating motd.
Starting sendmail.
Nov 21 09:46:09  savecore: /netbsd.amd64.gz: kvm_nlist: bad namelist
Nov 21 09:46:09  savecore: /netbsd.amd64.gz: _dumpdev not in namelist
Starting inetd.
Starting cron.
Sun Nov 21 09:46:11 JST 2004

NetBSD/amd64 (Amnesiac) (console)

login: