Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Mar 2001 13:32:11 -0800 (PST)
From:      Matthew Jacob <mjacob@feral.com>
To:        current@freebsd.org
Cc:        alpha@freebsd.org
Subject:   Re: new breakage in mounting root? a devfs issue?
Message-ID:  <Pine.LNX.4.21.0103131327330.32717-100000@zeppo.feral.com>
In-Reply-To: <Pine.LNX.4.21.0103121624300.31161-100000@zeppo.feral.com>

next in thread | previous in thread | raw e-mail | index | archive | help

To refresh memory:

> fatal kernel trap:
> 
>     trap entry = 0x4 (unaligned access fault)
>     a0         = 0xc3615fe1a88f382
>     a1         = 0x29
>     a2         = 0x1b
>     pc         = 0xfffffc0000467578
>     ra         = 0xfffffc00004627c4
>     curproc    = 0xfffffe0009f5dbe0
>         pid = 1, comm = init
> 
> Stopped at      vfs_object_create+0x38: jsr     ra,(pv),vfs_object_create+0x3c
> <ra=0xfffffc00004627c4,pv=0xfffffc0000467540>
> db> t
> vfs_object_create() at vfs_object_create+0x38
> getnewvnode() at getnewvnode+0x564
> devfs_allocv() at devfs_allocv+0xe0
> devfs_root() at devfs_root+0x38
> devfs_mount() at devfs_mount+0xf0
> vfs_mount() at vfs_mount+0x910
> mount() at mount+0xd8
> syscall() at syscall+0x3f4
> XentSys1() at XentSys1+0x10


Interestingly enough, as Christian had also reported, a build of a GENERIC
kernel seems to solve this problem.

This is almost more alarming than a potential bug in vfs_object_create- as the
difference between the config file I was using should not cause this.

*I* sure can't spot what config option might be different. I also had done a
complete removal of the build directory and complete fresh build of GPLUS.
(sounds of hair tearing).

Can anyone suggest what below might have caused this breakage?


--- GENERIC	Mon Feb  5 11:46:37 2001
+++ GPLUS	Mon Mar 12 14:59:09 2001
@@ -19,56 +19,57 @@
 #
 # For hardware specific information check HARDWARE.TXT
 #
-# $FreeBSD: src/sys/alpha/conf/GENERIC,v 1.107 2001/02/04 15:35:08 peter Exp $
+# $FreeBSD: src/sys/alpha/conf/GENERIC,v 1.102 2000/11/07 22:09:33 obrien Exp $
 
 machine		alpha
 cpu		EV4
 cpu		EV5
 ident		GENERIC
-maxusers	32
+maxusers	128
 
 #To statically compile in device wiring instead of /boot/device.hints
 #hints		"GENERIC.hints"
 
-#makeoptions	DEBUG=-g		#Build kernel with gdb(1) debug symbols
+makeoptions	DEBUG=-g		#Build kernel with gdb(1) debug symbols
 
 # Platforms supported
-options		API_UP1000		# UP1000, UP1100 (Nautilus)
+#options		API_UP1000		# UP1000 (Nautilus)
 options 	DEC_AXPPCI_33		# UDB, Multia, AXPpci33, Noname
 options 	DEC_EB164		# EB164, PC164, PC164LX, PC164SX
-options 	DEC_EB64PLUS		# EB64+, Aspen Alpine, etc
-options 	DEC_2100_A50		# AlphaStation 200, 250, 255, 400
-options 	DEC_2100_A500		# AlphaServer 2000, 2100, 2100A
-options 	DEC_KN20AA		# AlphaStation 500, 600
-options 	DEC_ST550		# Personal Workstation 433, 500, 600
+#options 	DEC_EB64PLUS		# EB64+, Aspen Alpine, etc
+#options 	DEC_2100_A50		# AlphaStation 200, 250, 255, 400
+#options 	DEC_2100_A500		# AlphaServer 2000, 2100, 2100A
+#options 	DEC_KN20AA		# AlphaStation 500, 600
+#options 	DEC_ST550		# Personal Workstation 433, 500, 600
 options 	DEC_ST6600		# xp1000, dp264, ds20, ds10, family
-options 	DEC_3000_300		# DEC3000/300* Pelic* family
-options 	DEC_3000_500		# DEC3000/[4-9]00 Flamingo/Sandpiper family
-options 	DEC_1000A		# AlphaServer 1000, 1000A, 800
-options 	DEC_KN8AE		# AlphaServer 8200/8400 (Turbolaser)
+#options 	DEC_3000_300		# DEC3000/300* Pelic* family
+#options 	DEC_3000_500		# DEC3000/[4-9]00 Flamingo/Sandpiper family
+#options 	DEC_1000A		# AlphaServer 1000, 1000A, 800
+#options 	DEC_KN8AE		# AlphaServer 8200/8400 (Turbolaser)
 options 	DEC_KN300		# AlphaServer 4100 (Rawhide), 1200 (Tincup)
 
 options 	INET			#InterNETworking
-options 	INET6			#IPv6 communications protocols
+#options 	INET6			#IPv6 communications protocols
 options 	FFS			#Berkeley Fast Filesystem
 options 	SOFTUPDATES		#Enable FFS soft updates support
 options 	MFS			#Memory Filesystem
 options 	MD_ROOT			#MD is a potential root device
 options 	NFS			#Network Filesystem
-options 	NFS_ROOT		#NFS usable as root device
-options 	MSDOSFS			#MSDOS Filesystem
+#options 	NFS_ROOT		#NFS usable as root device
+#options 	MSDOSFS			#MSDOS Filesystem
 options 	CD9660			#ISO 9660 Filesystem
 options 	DEVFS			#Device Filesystem
 options 	PROCFS			#Process filesystem
 options 	COMPAT_43		#Compatible with BSD 4.3 [KEEP THIS!]
-options 	SCSI_DELAY=15000	#Delay (in ms) before probing SCSI 
+#options 	SCSI_DELAY=15000	#Delay (in ms) before probing SCSI 
+options 	SCSI_DELAY=0	#Delay (in ms) before probing SCSI 
 options 	UCONSOLE		#Allow users to grab the console
 options 	KTRACE			#ktrace(1) syscall trace 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 extentions
-options 	_KPOSIX_PRIORITY_SCHEDULING
+#options		P1003_1B		#Posix P1003_1B real-time extentions
+#options 	_KPOSIX_PRIORITY_SCHEDULING
 
 # Standard busses
 device		isa
@@ -81,8 +82,8 @@
 device		ata
 device		atadisk		# ATA disk drives
 device		atapicd		# ATAPI CDROM drives
-device		atapifd		# ATAPI floppy drives
-device		atapist		# ATAPI tape drives
+#device		atapifd		# ATAPI floppy drives
+#device		atapist		# ATAPI tape drives
 
 # SCSI Controllers
 device		ahc		# AHA2940 and onboard AIC7xxx devices
@@ -99,21 +100,21 @@
 device		pass		# Passthrough device (direct SCSI access)
 
 # RAID controllers
-device		amr		# AMI MegaRAID
-device		mlx		# Mylex DAC960 family
+#device		amr		# AMI MegaRAID
+#device		mlx		# Mylex DAC960 family
 
 # atkbdc0 controls both the keyboard and the PS/2 mouse
-device		atkbdc	1	# At keyboard controller
-device		atkbd		# at keyboard
-device		psm		# psm mouse
+#device		atkbdc	1	# At keyboard controller
+#device		atkbd		# at keyboard
+#device		psm		# psm mouse
 
-device		vga		# VGA screen
+#device		vga		# VGA screen
 
 # splash screen/screen saver
-device		splash
+#device		splash
 
 # syscons is the default console driver, resembling an SCO console
-device		sc	1
+#device		sc	1
 
 # real time clock
 device		mcclock
@@ -122,60 +123,66 @@
 device		sio		# 8250, 16[45]50 based serial ports
 
 # Parallel port
-device          ppc
-device          ppbus           # Parallel port bus (required)
-device          lpt             # Printer
-device          plip            # TCP/IP over parallel
-device          ppi             # Parallel port interface device
-#device         vpo             # Requires scbus and da
+#device          ppc
+#device          ppbus           # Parallel port bus (required)
+#device          lpt             # Printer
+#device          plip            # TCP/IP over parallel
+#device          ppi             # Parallel port interface device
+##device         vpo             # Requires scbus and da
  
 # PCI Ethernet NICs.
 device		de		# DEC/Intel DC21x4x (``Tulip'')
 device		fxp		# Intel EtherExpress PRO/100B (82557, 82558)
-device		le		# Lance
-device		vx		# 3Com 3c590, 3c595 (``Vortex'')
+#device		le		# Lance
+#device		vx		# 3Com 3c590, 3c595 (``Vortex'')
 device		wx		# Intel Gigabit Ethernet Card (``Wiseman'')
 
 # PCI Ethernet NICs that use the common MII bus controller code.
 device		miibus		# MII bus support
-device		dc		# DEC/Intel 21143 and workalikes
-device		pcn		# AMD Am79C79x PCI 10/100 NICs
-device		rl		# RealTek 8129/8139
-device		sf		# Adaptec AIC-6915 (``Starfire'')
-device		sis		# Silicon Integrated Systems SiS 900/SiS 7016
-device		ste		# Sundance ST201 (D-Link DFE-550TX)
-device		tl		# Texas Instruments ThunderLAN
-device		vr		# VIA Rhine, Rhine II
-device		wb		# Winbond W89C840F
-device		xl		# 3Com 3c90x (``Boomerang'', ``Cyclone'')
+#device		dc		# DEC/Intel 21143 and workalikes
+#device		pcn		# AMD Am79C79x PCI 10/100 NICs
+#device		rl		# RealTek 8129/8139
+#device		sf		# Adaptec AIC-6915 (``Starfire'')
+#device		sis		# Silicon Integrated Systems SiS 900/SiS 7016
+#device		ste		# Sundance ST201 (D-Link DFE-550TX)
+#device		tl		# Texas Instruments ThunderLAN
+#device		vr		# VIA Rhine, Rhine II
+#device		wb		# Winbond W89C840F
+#device		xl		# 3Com 3c90x (``Boomerang'', ``Cyclone'')
 
 # Pseudo devices - the number indicates how many units to allocated.
 device		random		# Entropy device
 device		loop		# Network loopback
 device		ether		# Ethernet support
-device		sl		# Kernel SLIP
-device		ppp	1	# Kernel PPP
+#device		sl		# Kernel SLIP
+#device		ppp	1	# Kernel PPP
 device		tun		# Packet tunnel.
 device		pty		# Pseudo-ttys (telnet etc)
 device		md		# Memory "disks"
-device		gif	4	# IPv6 and IPv4 tunneling
-device		faith	1	# IPv6-to-IPv4 relaying/(translation)
+#device		gif	4	# IPv6 and IPv4 tunneling
+#device		faith	1	# IPv6-to-IPv4 relaying/(translation)
 
 # The `bpf' device enables the Berkeley Packet Filter.
 # Be aware of the administrative consequences of enabling this!
 device		bpf		#Berkeley packet filter
 
 # USB support
-device		uhci		# UHCI PCI->USB interface
-device		ohci		# OHCI PCI->USB interface
-device		usb		# USB Bus (required)
-device		ugen		# Generic
-device		uhid		# "Human Interface Devices"
-device		ukbd		# Keyboard
-device		ulpt		# Printer
-device		umass		# Disks/Mass storage - Requires scbus and da0
-device		ums		# Mouse
+#device		uhci		# UHCI PCI->USB interface
+#device		ohci		# OHCI PCI->USB interface
+#device		usb		# USB Bus (required)
+#device		ugen		# Generic
+#device		uhid		# "Human Interface Devices"
+#device		ukbd		# Keyboard
+#device		ulpt		# Printer
+#device		umass		# Disks/Mass storage - Requires scbus and da0
+#device		ums		# Mouse
 # USB Ethernet
-device		aue		# ADMtek USB ethernet
-device		cue		# CATC USB ethernet
-device		kue		# Kawasaki LSI USB ethernet
+#device		aue		# ADMtek USB ethernet
+#device		cue		# CATC USB ethernet
+#device		kue		# Kawasaki LSI USB ethernet
+#
+options               CAMDEBUG
+options               DDB
+options               BREAK_TO_DEBUGGER
+device	ses
+device	ch


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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.LNX.4.21.0103131327330.32717-100000>