Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 Nov 2001 20:36:05 +0100
From:      Martijn Lina <mlina@dds.nl>
To:        freebsd-stable@freebsd.org
Subject:   Re: ata and Asus P2B-S
Message-ID:  <20011116203605.A1736@drain.ietsvaags.xs4all.nl>
In-Reply-To: <00cf01c16e9b$0a9fde00$020aa8c0@aims.private>
References:  <00cf01c16e9b$0a9fde00$020aa8c0@aims.private>

next in thread | previous in thread | raw e-mail | index | archive | help
Once upon a 16-11-2001, Chris Knight hit keys in the following order:
> 
> controller as the primary device. CD1 on 4.3 boots successfully, but CD1 on
> 4.4 hangs immediately after detecting plip0. On the 4.3 boot, the line
> straight after plip0 is acd0. Disabling both IDE channels in the BIOS

I ran into the same problems when trying to install the latest 4.4-STABLE
snapshot, also on a P2B-S. After compiling a custom kernel for that machine,
though, the problem disappeared. here's the config:


machine		i386
cpu		I686_CPU
ident		P2B-S
maxusers	32
options		NMBCLUSTERS=8192

#makeoptions	DEBUG=-g		#Build kernel with gdb(1) debug symbols

options 	INET			#InterNETworking
options 	FFS			#Berkeley Fast Filesystem
options 	FFS_ROOT		#FFS usable as root device [keep this!]
options 	SOFTUPDATES		#Enable FFS soft updates support
options		UFS_DIRHASH
options 	MFS			#Memory Filesystem
options 	NFS			#Network Filesystem
options 	PROCFS			#Process filesystem
options 	COMPAT_43		#Compatible with BSD 4.3 [KEEP THIS!]
options 	USERCONFIG		#boot -c editor
options 	KTRACE			#ktrace(1) support
options 	SYSVSHM			#SYSV-style shared memory
options 	SYSVMSG			#SYSV-style message queues
options 	SYSVSEM			#SYSV-style semaphores
options 	P1003_1B		#Posix P1003_1B real-time extensions
options 	_KPOSIX_PRIORITY_SCHEDULING
options		_KPOSIX_VERSION=199309L

options		ICMP_BANDLIM		#Rate limit bad replies

device		isa
device		pci

# Floppy drives
device		fdc0	at isa? port IO_FD1 irq 6 drq 2
device		fd0	at fdc0 drive 0

# ATA and ATAPI devices
device		ata0	at isa? port IO_WD1 irq 14
device		ata1	at isa? port IO_WD2 irq 15
device		ata
device		atadisk			# ATA disk drives
options 	ATA_STATIC_ID		#Static device numbering

# SCSI Controllers
device         ahc             # AHA2940 and onboard AIC7xxx devices

# SCSI peripherals
device         scbus           # SCSI bus (required)
device         da              # SCSI direct access devices (aka disks)
device         pass            # Passthrough device (direct SCSI access)

# atkbdc0 controls both the keyboard and the PS/2 mouse
device		atkbdc0	at isa? port IO_KBD
device		atkbd0	at atkbdc? irq 1 flags 0x1
device		psm0	at atkbdc? irq 12

device		vga0	at isa?
options		VESA

# splash screen/screen saver
pseudo-device	splash

# syscons is the default console driver, resembling an SCO console
device		sc0	at isa? flags 0x100
options		SC_HISTORY_SIZE=2000	# number of history buffer lines
options		SC_ALT_MOUSE_IMAGE      # simplified mouse cursor in text mode
options		SC_DISABLE_DDBKEY       # disable `debug' key
options		SC_DISABLE_REBOOT       # disable reboot key sequence
options		SC_MOUSE_CHAR=0x3       # char code for text mode mouse cursor
options		SC_NORM_ATTR="(FG_GREEN|BG_BLACK)"
options		SC_NORM_REV_ATTR="(FG_YELLOW|BG_GREEN)"
options		SC_KERNEL_CONS_ATTR="(FG_RED|BG_BLACK)"
options		SC_KERNEL_CONS_REV_ATTR="(FG_BLACK|BG_RED)"

# Floating point support - do not disable.
device		npx0	at nexus? port IO_NPX irq 13

# Power management support (see LINT for more options)
device		apm0    at nexus? disable flags 0x20 # Advanced Power Management

# Serial (COM) ports
device		sio0	at isa? port IO_COM1 flags 0x10 irq 4
device		sio1	at isa? port IO_COM2 irq 3

device		ppc0	at isa? irq 7
device		ppbus
device		plip
device		ppi

# PCI Ethernet NICs that use the common MII bus controller code.
device		miibus
device		xl

# Pseudo devices - the number indicates how many units to allocated.
pseudo-device	bpf		# Berkeley packet filter
pseudo-device	loop		# Network loopback
pseudo-device	ether		# Ethernet support
pseudo-device	sl	1	# Kernel SLIP
pseudo-device	ppp	1	# Kernel PPP
pseudo-device	tun		# Packet tunnel.
pseudo-device	pty		# Pseudo-ttys (telnet etc)
pseudo-device	md		# Memory "disks"

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011116203605.A1736>