Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 10 Oct 1999 06:56:10 +0900
From:      "Daniel C. Sobral" <dcs@newsguy.com>
To:        Poul-Henning Kamp <phk@critter.freebsd.dk>
Cc:        "Brian F. Feldman" <green@FreeBSD.ORG>, current@FreeBSD.ORG
Subject:   Re: maxphys = 0??
Message-ID:  <37FFB9FA.F2CBFF04@newsguy.com>
References:  <10693.939468246@critter.freebsd.dk>

next in thread | previous in thread | raw e-mail | index | archive | help
Poul-Henning Kamp wrote:
> 
> In message <Pine.BSF.4.10.9910090652560.59818-100000@janus.syracuse.net>, "Bria
> n F. Feldman" writes:
> >On Sat, 9 Oct 1999, Poul-Henning Kamp wrote:
> >
> >> Well, there are two options, either your sources are not up to date,
> >> or your config is very special in some way...

I tried again. My sources are now dated from this morning's
pnpparse.c breakage, so we can be sure of it's updatedness.

> What does your /etc/fstab look like ?  I would also like to see a
> dmesg output.

And here is fstab, dmesg and kernel configuration file.

# Device		Mountpoint	FStype	Options		Dump	Pass#
/dev/ad0s2b		none		swap	sw		0	0
/dev/ad0s2a		/		ufs	rw		1	1
/dev/ad0s2f		/usr		ufs	rw		1	3
/dev/ad0s2e		/var		ufs	rw		2	2
/dev/ad0s1		/dos		msdos	rw		0	0
proc			/proc		procfs	rw		0	0
kern			/kern		kernfs	rw		0	0
/dev/acd0c		/cdrom		cd9660	ro,noauto	0	0


Copyright (c) 1992-1999 The FreeBSD Project.
Copyright (c) 1982, 1986, 1989, 1991, 1993
	The Regents of the University of California. All rights reserved.
FreeBSD 4.0-CURRENT #4: Fri Oct  8 18:11:32 JST 1999
    root@daniel.sobral:/usr/src/sys/compile/DCS
Timecounter "i8254"  frequency 1193182 Hz
CPU: AMD-K6tm w/ multimedia extensions (233.86-MHz 586-class CPU)
  Origin = "AuthenticAMD"  Id = 0x570  Stepping = 0
  Features=0x8001bf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8,MMX>
  AMD Features=0x400<<b10>>
real memory  = 100663296 (98304K bytes)
avail memory = 94580736 (92364K bytes)
Preloaded elf kernel "kernel" at 0xc02b2000.
Preloaded elf module "splash_bmp.ko" at 0xc02b209c.
Preloaded elf module "vesa.ko" at 0xc02b2140.
Preloaded splash_image_data "/boot/chuck_nebula.bmp" at 0xc02b21dc.
VESA: v2.0, 1920k memory, flags:0x0, mode table:0xc02a0062 (1000022)
VESA: MagicGraph 128XD 40K SVGA BIOS
apm0: <APM BIOS> on motherboard
apm: found APM BIOS v1.2, connected at v1.2
npx0: <math processor> on motherboard
npx0: INT 16 interface
pcib0: <Host to PCI bridge> on motherboard
pci0: <PCI bus> on pcib0
isab0: <PCI to ISA bridge (vendor=1045 device=c700)> at device 1.0
on pci0
isa0: <ISA bus> on isab0
pcic0: <TI PCI-1131 PCI-CardBus Bridge> at device 10.0 on pci0
pcic1: <TI PCI-1131 PCI-CardBus Bridge> at device 10.1 on pci0
vga-pci0: <NeoMagic NM2160 laptop SVGA controller> irq 11 at device
18.0 on pci0
ata-pci0: <Unknown PCI IDE controller (generic mode)> at device 20.0
on pci0
ata-pci0: Busmastering DMA not enabled
ata0 at 0x01f0 irq 14 on ata-pci0
ata1 at 0x0170 irq 15 on ata-pci0
pccard0: <PC Card bus -- KLUDGE version> on motherboard
fdc0: <NEC 72065B or clone> at port 0x3f0-0x3f7 irq 6 drq 2 on isa0
fdc0: FIFO enabled, 8 bytes threshold
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
atkbdc0: <keyboard controller (i8042)> at port 0x60-0x6f on isa0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: model Generic PS/2 mouse, device ID 0
vga0: <Generic ISA VGA> at port 0x3b0-0x3df iomem 0xa0000-0xbffff on
isa0
sc0: <System console> on isa0
sc0: VGA <16 virtual consoles, flags=0x200>
pcm0: <ESS1868 rev 11> at irq 5 drq 1 flags 0x10 on isa0
pca0 at port 0x40 on isa0
pca0: PC speaker audio driver
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A
sio1: configured irq 3 not in bitmap of probed irqs 0
pcic: pccard bridge VLSI 82C146 (5 mem & 2 I/O windows)
pcic: controller irq 3
pccard: initalizing drivers:
ad0: <FUJITSU MHA2021AT/8209> ATA-3 disk at ata0 as master
ad0: 2067MB (4233600 sectors), 4200 cyls, 16 heads, 63 S/T, 512 B/S
ad0: 16 secs/int, 0 depth queue, PIO
Creating DISK ad0
Creating DISK wd0
acd0: <TOSHIBA CD-ROM XM-1602B/1132> CDROM drive at ata1 as master
acd0: read 3445KB/s (3445KB/s), 128KB buffer, PIO
acd0: supported read types: CD-R, CD-RW, CD-DA
acd0: Audio: play, 255 volume levels
acd0: Mechanism: ejectable tray
acd0: Medium: no/blank disc inside, unlocked
changing root device to wd0s2a
WARNING: / was not properly dismounted
pccard: card inserted, slot 1
WARNING: #ad/0x30005 maxphys = 0 ??WARNING: #ad/0x30004 maxphys = 0
??
syncing disks... done
Rebooting...
Copyright (c) 1992-1999 The FreeBSD Project.
Copyright (c) 1982, 1986, 1989, 1991, 1993
	The Regents of the University of California. All rights reserved.
FreeBSD 4.0-CURRENT #0: Sun Oct 10 06:20:59 JST 1999
    root@daniel.sobral:/usr/src/sys/compile/DCS
Timecounter "i8254"  frequency 1193182 Hz
CPU: AMD-K6tm w/ multimedia extensions (233.87-MHz 586-class CPU)
  Origin = "AuthenticAMD"  Id = 0x570  Stepping = 0
  Features=0x8001bf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8,MMX>
  AMD Features=0x400<<b10>>
real memory  = 100663296 (98304K bytes)
avail memory = 94584832 (92368K bytes)
Preloaded elf kernel "kernel" at 0xc02b2000.
Preloaded elf module "splash_bmp.ko" at 0xc02b209c.
Preloaded elf module "vesa.ko" at 0xc02b2140.
Preloaded splash_image_data "/boot/chuck_nebula.bmp" at 0xc02b21dc.
VESA: v2.0, 1920k memory, flags:0x0, mode table:0xc02a0062 (1000022)
VESA: MagicGraph 128XD 40K SVGA BIOS
apm0: <APM BIOS> on motherboard
apm: found APM BIOS v1.2, connected at v1.2
npx0: <math processor> on motherboard
npx0: INT 16 interface
pcib0: <Host to PCI bridge> on motherboard
pci0: <PCI bus> on pcib0
isab0: <PCI to ISA bridge (vendor=1045 device=c700)> at device 1.0
on pci0
isa0: <ISA bus> on isab0
pcic0: <TI PCI-1131 PCI-CardBus Bridge> at device 10.0 on pci0
pcic1: <TI PCI-1131 PCI-CardBus Bridge> at device 10.1 on pci0
vga-pci0: <NeoMagic NM2160 laptop SVGA controller> irq 11 at device
18.0 on pci0
ata-pci0: <Unknown PCI IDE controller (using generic mode)> at
device 20.0 on pci0
ata-pci0: Busmastering DMA not enabled
ata0 at 0x01f0 irq 14 on ata-pci0
ata1 at 0x0170 irq 15 on ata-pci0
pccard0: <PC Card bus -- KLUDGE version> on motherboard
fdc0: <NEC 72065B or clone> at port 0x3f0-0x3f7 irq 6 drq 2 on isa0
fdc0: FIFO enabled, 8 bytes threshold
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
atkbdc0: <keyboard controller (i8042)> at port 0x60-0x6f on isa0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: model Generic PS/2 mouse, device ID 0
vga0: <Generic ISA VGA> at port 0x3b0-0x3df iomem 0xa0000-0xbffff on
isa0
sc0: <System console> on isa0
sc0: VGA <16 virtual consoles, flags=0x200>
pcm0: <ESS1868 rev 11> at irq 5 drq 1 flags 0x10 on isa0
pca0 at port 0x40 on isa0
pca0: PC speaker audio driver
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A
pcic: pccard bridge VLSI 82C146 (5 mem & 2 I/O windows)
pcic: controller irq 3
pccard: initalizing drivers:
ad0: <FUJITSU MHA2021AT/8209> ATA-3 disk at ata0 as master
ad0: 2067MB (4233600 sectors), 4200 cyls, 16 heads, 63 S/T, 512 B/S
ad0: 16 secs/int, 0 depth queue, PIO
Creating DISK ad0
Creating DISK wd0
acd0: <TOSHIBA CD-ROM XM-1602B/1132> CDROM drive at ata1 as master
acd0: read 3445KB/s (3445KB/s), 128KB buffer, PIO
acd0: supported read types: CD-R, CD-RW, CD-DA
acd0: Audio: play, 255 volume levels
acd0: Mechanism: ejectable tray
acd0: Medium: no/blank disc inside, unlocked
changing root device to wd0s2a
pccard: card inserted, slot 1
WARNING: #ad/0x30005 si_iosize_max=0, using DFLTPHYS.
WARNING: #ad/0x30004 si_iosize_max=0, using DFLTPHYS.


The above warnings are shown at fsck time.


#
# GENERIC -- Generic machine with WD/AHx/NCR/BTx family disks
#
# For more information read the handbook part System Administration
-> 
# Configuring the FreeBSD Kernel -> The Configuration File. 
# The handbook is available in /usr/share/doc/handbook or online as
# latest version from the FreeBSD World Wide Web server 
# <URL:http://www.FreeBSD.ORG/>;
#
# An exhaustive list of options and more detailed explanations of
the 
# device lines is present in the ./LINT configuration file. If you
are 
# in doubt as to the purpose or necessity of a line, check first in
LINT.
#
#	$Id: GENERIC,v 1.141 1999/01/01 08:09:57 peter Exp $

machine		"i386"
cpu		"I586_CPU"
cpu		"I686_CPU"
ident		DCS
maxusers	32
makeoptions	DEBUG="-g"

#controller	acpi0

options		"CPU_WT_ALLOC"
options		"NO_F00F_HACK"
options		"NO_MEMORY_HOLE"
options         MSGBUF_SIZE=20480
options		SC_ALT_MOUSE_IMAGE

#options		MATH_EMULATE		#Support for x87 emulation
options		INET			#InterNETworking
options		FFS			#Berkeley Fast Filesystem
options		FFS_ROOT		#FFS usable as root device [keep this!]
options		MSDOSFS			#MSDOS Filesystem
options		"CD9660"		#ISO 9660 Filesystem
options		PROCFS			#Process filesystem
options		KERNFS
options		SOFTUPDATES
options		"COMPAT_43"		#Compatible with BSD 4.3 [KEEP THIS!]
#options		SCSI_DELAY=15000	#Be pessimistic about Joe SCSI device
options		UCONSOLE		#Allow users to grab the console
options		USERCONFIG		#boot -c editor
options		VISUAL_USERCONFIG	#visual boot -c editor

options		"P1003_1B"
options		"_KPOSIX_PRIORITY_SCHEDULING"
options		_KPOSIX_VERSION=199309L


options		DDB

# To make an SMP kernel, the next two are needed
#options	SMP			# Symmetric MultiProcessor Kernel
#options	APIC_IO			# Symmetric (APIC) I/O
# Optionally these may need tweaked, (defaults shown):
#options	NCPU=2			# number of CPUs
#options	NBUS=4			# number of busses
#options	NAPIC=1			# number of IO APICs
#options	NINTR=24		# number of INTs


controller	isa0
#controller	eisa0
controller	pci0

controller	fdc0	at isa? port "IO_FD1" irq 6 drq 2
disk		fd0	at fdc0 drive 0
#disk		fd1	at fdc0 drive 1

#options		"CMD640"	# work around CMD640 chip deficiency
#controller	wdc0	at isa? port "IO_WD1" bio irq 14 flags 0xe0ffe0ff
#disk		wd0	at wdc0 drive 0
#disk		wd1	at wdc0 drive 1

controller	ata0
device		atadisk0
device		atapicd0

#controller	wdc1	at isa? port "IO_WD2" bio irq 15 flags 0xe0ffe0ff
#disk		wd2	at wdc1 drive 0
#disk		wd3	at wdc1 drive 1

#options		ATAPI		#Enable ATAPI support for IDE bus
#options		ATAPI_STATIC	#Don't do it as an LKM
#device		acd0		#IDE CD-ROM
#device		wcd0
#device		wfd0		#IDE Floppy (e.g. LS-120)

# A single entry for any of these controllers (ncr, ahb, ahc) is
# sufficient for any number of installed devices.
#controller	ncr0
#controller	ahb0
#controller	ahc0
#controller	isp0

# This controller offers a number of configuration options, too many
to
# document here  - see the LINT file in this directory and look up
the
# dpt0 entry there for much fuller documentation on this.
#controller      dpt0

#controller	adv0	at isa? port ? cam irq ?
#controller	adw0
#controller	bt0	at isa? port ? cam irq ?
#controller	aha0	at isa? port ? cam irq ?
#controller	aic0	at isa? port 0x340 bio irq 11

#controller	scbus0

#device		da0

#device		sa0

#device		pass0

#device		cd0	#Only need one of these, the code dynamically grows

#device		wt0	at isa? port 0x300 bio irq 5 drq 1
#device		mcd0	at isa? port 0x300 bio irq 10

#controller	matcd0	at isa? port 0x230 bio

#device		scd0	at isa? port 0x230 bio

# atkbdc0 controlls both the keyboard and the PS/2 mouse
controller      atkbdc0 at isa? port IO_KBD
device          atkbd0  at atkbdc? irq 1
device          psm0    at atkbdc? irq 12

options         ATKBD_DFLT_KEYMAP
makeoptions     ATKBD_DFLT_KEYMAP="jp.106"

device          vga0    at isa? port ? conflicts

# splash screen/screen saver
pseudo-device   splash

# syscons is the default console driver, resembling an SCO console
device          sc0     at isa?
#options		VESA
options		SC_HISTORY_SIZE=1000

# Enable this and PCVT_FREEBSD for pcvt vt220 compatible console
driver
#device		vt0	at isa? port IO_KBD conflicts irq 1
#options		XSERVER			# support for X server
#options		FAT_CURSOR		# start with block cursor
# If you have a ThinkPAD, uncomment this along with the rest of the
PCVT lines
#options		PCVT_SCANSET=2		# IBM keyboards are non-std

device		npx0	at nexus? port IO_NPX irq 13

#
# Laptop support (see LINT for more options)
#
device		apm0    at nexus? flags 0x00 # 0x31 # Advanced Power
Management

controller	pnp0
#controller	snd0
#device		sb0	at isa? port 0x220 irq 5 conflicts drq 1
#device		sbxvi0	at isa? drq 5 conflicts
#device		sbmidi0	at isa? port 0x300 conflicts
#device		opl0	at isa? port 0x388 conflicts

device		pcm0	at isa? port ? irq 5 drq 1 flags 0x10
#device		pcm0
device		pca0	at isa? port IO_TIMER1

# PCCARD (PCMCIA) support
controller	card0
device		pcic0	at card?
device		pcic1	at card?

# You may need to reset all pccards after resuming
options         PCIC_RESUME_RESET       # reset after resume

device		sio0	at isa? port "IO_COM1" flags 0x10 irq 4
#device		sio1	at isa? port "IO_COM2" irq 3
#device		sio2	at isa? disable port "IO_COM3" irq 5
#device		sio3	at isa? disable port "IO_COM4" irq 9

# Order is important here due to intrusive probes, do *not*
alphabetize
# this list of network interfaces until the probes have been fixed.
# Right now it appears that the ie0 must be probed before ep0. See
# revision 1.20 of this file.
#device de0
#device fxp0
#device mx0
#device pn0
#device rl0
#device tl0
#device tx0
#device vr0
#device vx0
#device wb0
#device xl0

#device ed0 at isa? port 0x280 net irq 10 iomem 0xd8000
#device ie0 at isa? port 0x300 net irq 10 iomem 0xd0000
#device ep0 at isa? port 0x300 net irq 10
#device ex0 at isa? port? net irq?
#device fe0 at isa? port 0x300 net irq ?
#device le0 at isa? port 0x300 net irq 5 iomem 0xd0000
#device lnc0 at isa? port 0x280 net irq 10 drq 0
#device ze0 at isa? port 0x300 net irq 10 iomem 0xd8000
#device zp0 at isa? port 0x300 net irq 10 iomem 0xd8000
#device cs0 at isa? port 0x300 net irq ?

pseudo-device	loop
pseudo-device	ether
#pseudo-device	sl	1
pseudo-device	ppp	1
pseudo-device	tun	8
pseudo-device	pty	16
pseudo-device	gzip		# Exec gzipped a.out's
pseudo-device	vn	2

# KTRACE enables the system-call tracing facility ktrace(2).
# This adds 4 KB bloat to your kernel, and slightly increases
# the costs of each syscall.
options		KTRACE		#kernel tracing

#
# The INVARIANTS option is used in a number of source files to
enable
# extra sanity checking of internal structures.  This support is not
# enabled by default because of the extra time it would take to
check
# for these conditions, which can only occur as a result of
# programming errors.
#
options         INVARIANTS

#
# The INVARIANT_SUPPORT option makes us compile in support for
# verifying some of the internal structures.  It is a prerequisite
for
# 'INVARIANTS', as enabling 'INVARIANTS' will make these functions
be
# called.  The intent is that you can set 'INVARIANTS' for single
# source files (by changing the source file or specifying it on the
# command line) if you have 'INVARIANT_SUPPORT' enabled.
#
options         INVARIANT_SUPPORT

# This provides support for System V shared memory.
#
options		SYSVSHM
options		SYSVSEM
options		SYSVMSG

#  The `bpf' pseudo-device enables the Berkeley Packet Filter.  Be
#  aware of the legal and administrative consequences of enabling
this
#  option.  The number of devices determines the maximum number of
#  simultaneous BPF clients programs runnable.
pseudo-device	bpf	 8	#Berkeley packet filter



--
Daniel C. Sobral			(8-DCS)
dcs@newsguy.com
dcs@freebsd.org

	"I always feel generous when I'm in the inner circle of a
conspiracy to subvert the world order and, with a small group of
allies, just defeated an alien invasion. Maybe I should value myself
a little more?"



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




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