6.2-RC: Problem with SATA on ASUS Vintage AH-3

Bruce M. Simpson bms at FreeBSD.org
Sat Nov 25 10:55:43 PST 2006


When I try to boot the FreeBSD 6.2-RC kernel as of today on an ASUS 
Vintage AH-3 system (Athlon XP 3000+), I get a similar error message to 
that described in this thread:

... i.e. "atapci2: AHCI controller reset failure". I do not see this 
problem with 6.1-RELEASE. As the root disk for this machine is SATA, 
this means I cannot boot 6.2.

The onboard controller is an AcerLabs M5287. A JMicron card is in the 
machine's single PCI-e slot which is why the onboard SATA is numbered 
atapci2. ATA_STATIC_ID is enabled in my kernel configuration. There is 
nothing connected to the JMicron card; it is detected successfully under 
both 6.1 and 6.2.

I've attached the kernel config and a dmesg of a successful 6.1 boot. 
For some reason I can't get loader-time serial console to work on this 
machine, so regrettably can't provide a full 6.2-RC1 dmesg.

Thanks for any help you can provide.


-------------- next part --------------
# $Id$
# Configuration for ASUS Vintage amd64

machine		amd64
maxusers	0
makeoptions	KERNEL=kernel

# Disable non-optimal GCC builtin functions
makeoptions	CONF_CFLAGS=-fno-builtin

# Additional roll-ins
makeoptions	FDC_PCCARD=0		#do not build pcmcia floppy support

# Kernel Debugging options
makeoptions	DEBUG=-g		#Build kernel with full symbols
options		INCLUDE_CONFIG_FILE	#Include this file in kernel


options		KDB
options		KDB_TRACE		#backtrace on ddb entry
options		GDB
options		DDB			#Enable the kernel debugger

options		KTRACE			#ktrace(1) support

# Only build the following modules
makeoptions MODULES_OVERRIDE="nmdm nfsclient nfsserver an speaker bridge if_gre if_disc if_faith if_gif if_tun if_sl if_ppp if_stf if_tap if_vlan ubsa ucom uvisor udbp udf uhid ukbd ulpt uscanner ums umass umodem uplcom uvscom uftdi sound/driver/ich sound/sound procfs linprocfs md vpo plip ppi lpt splash/bmp splash/pcx dummynet crypto cryptodev rndtest aio libiconv cbb cardbus exca pccard libmchain ntfs syscons/blank syscons/daemon syscons/logo fdc wlan rc4 ugen firewire firewire/sbp firewire/fwe firewire/fwip firewire/sbp_targ usb msdosfs drm/drm drm/i915 fxp ath ath_rate_amrr ath_hal netgraph/bluetooth/bluetooth netgraph/bluetooth/hci netgraph/bluetooth/l2cap netgraph/bluetooth/socket netgraph/bluetooth/h4 netgraph/bluetooth/ubt netgraph/bluetooth/ubtbcmfw smbfs"

# Process Scheduler
options		SCHED_4BSD		#Use the non-experimental scheduler
options		_KPOSIX_PRIORITY_SCHEDULING #Posix P1003_1B real-time extensions

# system personalities
options		COMPAT_43		#Compatible with BSD 4.3 [KEEP THIS!]
options		COMPAT_FREEBSD4		#Compatible with FreeBSD4
options		COMPAT_FREEBSD5		#Compatible with FreeBSD5

options		COMPAT_IA32
options		COMPAT_LINUX32

# SYSV extensions
options		SYSVSHM			#SYSV-style shared memory
options		SYSVMSG			#SYSV-style message queues
options		SYSVSEM			#SYSV-style semaphores

# IP networking
options		INET			#InterNETworking
options		INET6			#IPv6 communications protocols
options		ZERO_COPY_SOCKETS	#enable zero copy socket code

# Disk geometry (GEOM) subsystem
options		GEOM_MBR		#i386 MBRs
options		GEOM_BSD		#BSD disklabels
options		GEOM_VOL		#get volume names from FFS superblock
options		GEOM_BDE		#GEOM disk encryption

#options		GEOM_GPT	# this panics kernel don't know why

# FFS options
options		FFS			#Berkeley Fast Filesystem
options		SOFTUPDATES		#Enable FFS soft updates support
options		UFS_DIRHASH		#Improve performance on big directories

# Are these actually needed, for UFS2?
options		UFS_ACL			#Support for access control lists
options		UFS_EXTATTR

# Other FS options
options		MD_ROOT			#MD is a potential root device
options		CD9660			#ISO 9660 Filesystem
options		PSEUDOFS		#Pseudo-filesystem framework
options		PROCFS			#Process filesystem (requires PSEUDOFS)

device		io
device		mem

# Commodity buses
device		isa
device		pci
device		agp
device		acpi
device		atpic

# CAM API (SCSI high-level layer)
device		scbus
device		ch
device		da
device		sa
device		cd
device		ses
device		pt
device		targ
device		targbh
device		pass
options		SCSI_DELAY=1000		#1s delay on probe/reset
options		CAMDEBUG		#Include SCSI debug code

device		ata		#ATA/ATAPI bus support
device		ataraid		#ATA raid support
device		atadisk		#ATA disk drives
device		atapicd		#ATAPI CDROM drives
options 	ATA_STATIC_ID	#Static ATA device numbering

# XXX: This causes weird boot panics
#device		atapicam	#ATAPI -> SCSI (requires CAM)

# SCSI options
options 	SCSI_DELAY=2000		#Delay (in ms) before probing SCSI

# Keyboard and mouse
device		atkbdc			#AT keyboard controller
device		atkbd			#AT keyboard
device		kbdmux
device		psm			#PS/2 mouse (requires atkbdc)
options		PSM_HOOKRESUME		#hook the system resume event, useful
options		PSM_RESETAFTERSUSPEND	#reset the device at the resume event
options		KBD_INSTALL_CDEV	#create /dev/kbdN

# Basic video card support
device		vga			#VGA video card driver
#options		VESA			# VESA BIOS support (as module)
options		FB_INSTALL_CDEV		#create /dev/fbN

# System console
device		sc			#SCO-style console driver
device		splash			#Splash screen support
options		MAXCONS=16		#number of virtual consoles
options		SC_ALT_MOUSE_IMAGE	#simplified mouse cursor in text mode
options		SC_PIXEL_MODE		#add support for the raster text mode
options		SC_DISABLE_KDBKEY	#disable `debug' key
options		SC_DISABLE_REBOOT	#disable reboot key sequence

device		puc		# PCI comms
device		uart		# Serial comms
device		ppc		# parallel port
device		ppbus		# Parallel port bus (required)

device		miibus		# MII bus support

# Pseudo devices
device		random		# Entropy device
device		loop		# Network loopback
device		ether		# Ethernet support
device		pty		# Pseudo-ttys (telnet etc)
device		bpf		# Berkeley packet filter

# PF
device		pf		#PF OpenBSD packet-filter firewall
device		pflog		#logging support interface for PF
device		pfsync		#synchronization interface for PF

# ALTQ bandwidth shaping
options		ALTQ
options		ALTQ_CBQ
options		ALTQ_RED
options		ALTQ_RIO
options		ALTQ_HFSC
options		ALTQ_PRIQ
options		ALTQ_NOPCC	# required for SMP
options		ALTQ_CDNR	# traffic conditioner
options		ALTQ_DEBUG

#options		FAST_IPSEC		#new IPsec (cannot define w/ IPSEC)
#options		IPSEC_DEBUG		#debug for IP security

device		crypto
device		cryptodev

-------------- next part --------------
Copyright (c) 1992-2006 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
	The Regents of the University of California. All rights reserved.
FreeBSD 6.1-RELEASE-p8 #0: Sun Nov 19 19:46:49 GMT 2006
    root at anglepoise.lon.incunabulum.net:/usr/src/sys/amd64/compile/ANGLEPOISE
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: AMD Athlon(tm) 64 Processor 3000+ (1800.07-MHz K8-class CPU)
  Origin = "AuthenticAMD"  Id = 0x20ff2  Stepping = 2
  AMD Features=0xe2500800<SYSCALL,NX,MMX+,FFXSR,LM,3DNow+,3DNow>
  AMD Features2=0x1<LAHF>
real memory  = 1039859712 (991 MB)
avail memory = 995389440 (949 MB)
ioapic0 <Version 1.1> irqs 0-23 on motherboard
kbd1 at kbdmux0
acpi0: <A M I OEMXSDT> on motherboard
acpi0: Power Button (fixed)
Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x808-0x80b on acpi0
cpu0: <ACPI CPU> on acpi0
acpi_throttle0: <ACPI CPU Throttling> on cpu0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
pcib1: <ACPI PCI-PCI bridge> at device 1.0 on pci0
pci1: <ACPI PCI bus> on pcib1
pci1: <display, VGA> at device 5.0 (no driver attached)
pcib2: <ACPI PCI-PCI bridge> at device 6.0 on pci0
pci2: <ACPI PCI bus> on pcib2
pci2: <network, ethernet> at device 0.0 (no driver attached)
pcib3: <ACPI PCI-PCI bridge> at device 7.0 on pci0
pci3: <ACPI PCI bus> on pcib3
atapci0: <JMicron JMB363 SATA300 controller> port 0xcc00-0xcc07,0xc880-0xc883,0xc800-0xc807,0xc480-0xc483,0xc400-0xc40f mem 0xfe5fe000-0xfe5fffff irq 19 at device 0.0 on pci3
ata2: <ATA channel 0> on atapci0
ata3: <ATA channel 1> on atapci0
ata4: <ATA channel 2> on atapci0
pcib4: <ACPI PCI-PCI bridge> at device 25.0 on pci0
pci4: <ACPI PCI bus> on pcib4
pci4: <network, ethernet> at device 16.0 (no driver attached)
pci4: <serial bus, FireWire> at device 18.0 (no driver attached)
pci0: <serial bus, USB> at device 28.0 (no driver attached)
pci0: <serial bus, USB> at device 28.1 (no driver attached)
pci0: <serial bus, USB> at device 28.2 (no driver attached)
pci0: <serial bus, USB> at device 28.3 (no driver attached)
pci0: <multimedia> at device 29.0 (no driver attached)
isab0: <PCI-ISA bridge> at device 30.0 on pci0
isa0: <ISA bus> on isab0
pci0: <bridge> at device 30.1 (no driver attached)
atapci1: <AcerLabs M5229 UDMA133 controller> port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xff00-0xff0f at device 31.0 on pci0
ata0: <ATA channel 0> on atapci1
ata1: <ATA channel 1> on atapci1
atapci2: <AcerLabs M5287 SATA150 controller> port 0xec00-0xec0f,0xe880-0xe887,0xe800-0xe80f,0xe480-0xe487,0xe400-0xe41f mem 0xfebff800-0xfebffbff irq 21 at device 31.1 on pci0
ata5: <ATA channel 0> on atapci2
ata6: <ATA channel 1> on atapci2
ata7: <ATA channel 2> on atapci2
ata8: <ATA channel 3> on atapci2
acpi_button0: <Power Button> on acpi0
ppc0: <ECP parallel printer port> port 0x378-0x37f,0x778-0x77f irq 7 drq 3 on acpi0
ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
ppc0: FIFO with 16/16/9 bytes threshold
ppbus0: <Parallel port bus> on ppc0
atkbdc0: <Keyboard controller (i8042)> port 0x60,0x64 irq 1 on acpi0
atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
uart0: <16550 or compatible> port 0x2f8-0x2ff irq 3 on acpi0
orm0: <ISA Option ROMs> at iomem 0xc0000-0xccfff,0xcd000-0xcdfff,0xce000-0xcffff on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
fb0 at vga0
Timecounter "TSC" frequency 1800071742 Hz quality 800
Timecounters tick every 1.000 msec
acd0: DVDROM <SONY DVD-ROM DDU1615/FYS3> at ata1-master UDMA33
ad10: 157066MB <WDC WD1600YD-01NVB1 10.02E01> at ata5-master SATA150
Trying to mount root from ufs:/dev/ad10s2a
ohci0: <AcerLabs M5237 (Aladdin-V) USB controller> mem 0xfebfc000-0xfebfcfff irq 17 at device 28.0 on pci0
usb0: OHCI version 1.0, legacy support
usb0: SMM does not respond, resetting
usb0: <AcerLabs M5237 (Aladdin-V) USB controller> on ohci0
usb0: USB revision 1.0
uhub0: AcerLabs OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 3 ports with 3 removable, self powered
ohci1: <AcerLabs M5237 (Aladdin-V) USB controller> mem 0xfebfd000-0xfebfdfff irq 18 at device 28.1 on pci0
usb1: OHCI version 1.0, legacy support
usb1: SMM does not respond, resetting
usb1: <AcerLabs M5237 (Aladdin-V) USB controller> on ohci1
usb1: USB revision 1.0
uhub1: AcerLabs OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 3 ports with 3 removable, self powered
ohci2: <AcerLabs M5237 (Aladdin-V) USB controller> mem 0xfebfe000-0xfebfefff irq 19 at device 28.2 on pci0
usb2: OHCI version 1.0, legacy support
usb2: SMM does not respond, resetting
usb2: <AcerLabs M5237 (Aladdin-V) USB controller> on ohci2
usb2: USB revision 1.0
uhub2: AcerLabs OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub2: 3 ports with 3 removable, self powered
ehci0: <ALi M5239 USB 2.0 controller> mem 0xfebffc00-0xfebffcff irq 23 at device 28.3 on pci0
usb3: EHCI version 1.0
usb3: companion controllers, 3 ports each: usb0 usb1 usb2
usb3: <ALi M5239 USB 2.0 controller> on ehci0
usb3: USB revision 2.0
uhub3: AcerLabs EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
uhub3: 8 ports with 8 removable, self powered
fxp0: <Intel 82559 Pro/100 Ethernet> port 0xdc00-0xdc3f mem 0xfeaff000-0xfeafffff,0xfe900000-0xfe9fffff irq 17 at device 16.0 on pci4
miibus0: <MII bus> on fxp0
inphy0: <i82555 10/100 media interface> on miibus0
inphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
fxp0: Ethernet address: 00:90:27:59:40:2c
fxp0: link state changed to DOWN
fxp0: link state changed to UP

More information about the freebsd-stable mailing list