Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 4 Oct 2004 14:06:07 -0700 (PDT)
From:      George Mitchell <george@m5p.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   i386/72334: FreeBSD 5.3 Beta6 and Beta7 carsh on boot
Message-ID:  <200410042106.i94L67Eo010657@m5p.com>
Resent-Message-ID: <200410042110.i94LAT5W026746@freefall.freebsd.org>

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

>Number:         72334
>Category:       i386
>Synopsis:       FreeBSD 5.3 Beta6 and Beta7 carsh on boot
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-i386
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Oct 04 21:10:28 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator:     George Mitchell
>Release:        FreeBSD 5.3-BETA(6|7) i386
>Organization:
>Environment:
System: FreeBSD 5.3 BETA7 boot-only ISO downloaded from ftp.freebsd.org

	Motherboard: FIC VA-503+
	Here's a dmesg from 5.2, which currently runs just fine:


	Copyright (c) 1992-2004 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 5.2-RELEASE #0: Sun Jan 11 04:21:45 GMT 2004
	    root@wv1u.btc.adaptec.com:/usr/obj/usr/src/sys/GENERIC
	Preloaded elf kernel "/boot/kernel/kernel" at 0xc0a07000.
	Preloaded elf module "/boot/kernel/snd_es137x.ko" at 0xc0a071f4.
	Preloaded elf module "/boot/kernel/snd_pcm.ko" at 0xc0a072a4.
	Timecounter "i8254" frequency 1193182 Hz quality 0
	CPU: AMD-K6(tm) 3D processor (501.14-MHz 586-class CPU)
	  Origin = "AuthenticAMD"  Id = 0x58c  Stepping = 12
	  Features=0x8021bf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8,PGE,MMX>
	  AMD Features=0x80000800<SYSCALL,3DNow!>
	real memory  = 536805376 (511 MB)
	avail memory = 511766528 (488 MB)
	K6-family MTRR support enabled (2 registers)
	npx0: [FAST]
	npx0: <math processor> on motherboard
	npx0: INT 16 interface
	pcibios: BIOS version 2.10
	Using $PIR table, 6 entries at 0xc00fdd50
	pcib0: <Host to PCI bridge> at pcibus 0 on motherboard
	pci0: <PCI bus> on pcib0
	pci_cfgintr: 0:7 INTD BIOS irq 9
	pci_cfgintr: 0:9 INTA BIOS irq 10
	pci_cfgintr: 0:10 INTA BIOS irq 7
	agp0: <VIA 82C597 (Apollo VP3) host to PCI bridge> mem 0xe0000000-0xe7ffffff at device 0.0 on pci0
	pcib1: <PCI-PCI bridge> at device 1.0 on pci0
	pci1: <PCI bus> on pcib1
	pci1: <display, VGA> at device 0.0 (no driver attached)
	isab0: <PCI-ISA bridge> at device 7.0 on pci0
	isa0: <ISA bus> on isab0
	atapci0: <VIA 82C586B UDMA33 controller> port 0xe400-0xe40f at device 7.1 on pci0
	ata0: at 0x1f0 irq 14 on atapci0
	ata0: [MPSAFE]
	ata1: at 0x170 irq 15 on atapci0
	ata1: [MPSAFE]
	uhci0: <VIA 83C572 USB controller> port 0xe000-0xe01f irq 9 at device 7.2 on pci0
	usb0: <VIA 83C572 USB controller> on uhci0
	usb0: USB revision 1.0
	uhub0: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
	uhub0: 2 ports with 2 removable, self powered
	pcib2: <PCI-PCI bridge> at device 7.3 on pci0
	pcm0: <Creative CT5880-C> port 0xe800-0xe83f irq 10 at device 9.0 on pci0
	pcm0: <TriTech TR28602 AC97 Codec>
	rl0: <RealTek 8139 10/100BaseTX> port 0xec00-0xecff mem 0xf3000000-0xf30000ff irq 7 at device 10.0 on pci0
	rl0: Ethernet address: 00:50:22:96:d3:6c
	miibus0: <MII bus> on rl0
	rlphy0: <RealTek internal media interface> on miibus0
	rlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
	orm0: <Option ROMs> at iomem 0xdc000-0xdffff,0xc0000-0xcc7ff on isa0
	pmtimer0 on isa0
	atkbdc0: <Keyboard controller (i8042)> at port 0x64,0x60 on isa0
	atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
	kbd0 at atkbd0
	psm0: <PS/2 Mouse> irq 12 on atkbdc0
	psm0: model IntelliMouse, device ID 3
	fdc0: <Enhanced floppy controller (i82077, NE72065 or clone)> at port 0x3f7,0x3f0-0x3f5 irq 6 drq 2 on isa0
	fdc0: FIFO enabled, 8 bytes threshold
	fd0: <1440-KB 3.5" drive> on fdc0 drive 0
	fd1: <1200-KB 5.25" drive> on fdc0 drive 1
	ppc0: <Parallel port> at port 0x278-0x27f irq 7 on isa0
	ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
	ppc0: FIFO with 16/16/16 bytes threshold
	ppbus0: <Parallel port bus> on ppc0
	plip0: <PLIP network interface> on ppbus0
	lpt0: <Printer> on ppbus0
	lpt0: Interrupt-driven port
	ppi0: <Parallel I/O> on ppbus0
	sc0: <System console> at flags 0x100 on isa0
	sc0: VGA <16 virtual consoles, flags=0x300>
	sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
	sio0: type 16550A
	sio1 at port 0x2f8-0x2ff irq 3 on isa0
	sio1: type 16550A
	vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
	aha1 at port 0x330-0x333 irq 11 drq 5 on isa0
	aha1: AHA-1542CF FW Rev. C.0 (ID=45) SCSI Host Adapter, SCSI ID 7, 16 CCBs
	unknown: <PNP0303> can't assign resources (port)
	unknown: <PNP0f13> can't assign resources (irq)
	unknown: <PNP0501> can't assign resources (port)
	unknown: <PNP0700> can't assign resources (port)
	unknown: <PNP0401> can't assign resources (port)
	unknown: <PNP0501> can't assign resources (port)
	Timecounter "TSC" frequency 501139086 Hz quality 800
	Timecounters tick every 10.000 msec
	GEOM: create disk ad0 dp=0xc4878060
	ad0: 38172MB <MAXTOR 6L040J2> [77557/16/63] at ata0-master UDMA33
	acd0: DVDROM <DVD-ROM OEM316B> at ata1-master PIO4
	Waiting 15 seconds for SCSI devices to settle
	GEOM: create disk da0 dp=0xc48fc850
	GEOM: create disk da1 dp=0xc48d4c50
	GEOM: create disk da2 dp=0xc48d4850
	da0 at aha1 bus 0 target 1 lun 0
	da0: <CONNER CFP1060E LKM1.05 2035> Fixed Direct Access SCSI-2 device 
	da0: 3.300MB/s transfers
	da0: 1001MB (2050801 512 byte sectors: 64H 32S/T 1001C)
	da1 at aha1 bus 0 target 2 lun 0
	da1: <CONNER CFP1060S SUN1.05 245C> Fixed Direct Access SCSI-2 device 
	da1: 3.300MB/s transfers
	da1: 1010MB (2070400 512 byte sectors: 64H 32S/T 1010C)
	da2 at aha1 bus 0 target 6 lun 0
	da2: <IOMEGA ZIP 100 D.06> Removable Direct Access SCSI-2 device 
	da2: 3.300MB/s transfers
	da2: Attempt to query device size failed: NOT READY, Medium not present
	(da2:aha1:0:6:0): READ CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0 
	(da2:aha1:0:6:0): CAM Status: SCSI Status Error
	(da2:aha1:0:6:0): SCSI Status: Check Condition
	(da2:aha1:0:6:0): NOT READY asc:3a,0
	(da2:aha1:0:6:0): Medium not present
	(da2:aha1:0:6:0): Unretryable error
	Opened disk da2 -> 6
	(da2:aha1:0:6:0): READ CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0 
	(da2:aha1:0:6:0): CAM Status: SCSI Status Error
	(da2:aha1:0:6:0): SCSI Status: Check Condition
	(da2:aha1:0:6:0): NOT READY asc:3a,0
	(da2:aha1:0:6:0): Medium not present
	(da2:aha1:0:6:0): Unretryable error
	Opened disk da2 -> 6
	Mounting root from ufs:/dev/ad0s2a
	

>Description:
	FreeBSD 5.3-BETA6 or BETA7 crashes immediately upon booting
>How-To-Repeat:
	Burn a CD with BETA7 boot-only ISO image.  Insert CD into drive.
	Boot.  Within one or two seconds after the 15 second SCSI settling
	delay, system gets a fatal trap 12:

	Fatal trap 12: page fault while in kernel mode
	cpuid = 0; apic id = 00
	fault virtual address   = 0x3c
	fault code              = supervisor write, page not present
	instruction pinter      = 0x8:0xc05d69ad
	stack pointer           = 0x10:0xd4424ce4
	frame pointer           = 0x10:0xd4424ce8
	code segment            = base 0x0, limit 0xfffff, type 0x1b
				= DPL 0, pres 1, def32 1, gran 1
	processor eflags        = interrupt enabled, resume, IOPL = 0
	current process         = 2 (g_event)
	trap number             = 12
	panic: page fault
	cpuid = 0
	Uptime: 17s

>Fix:

	You tell me.  Is there something that needs to get updated in th
	aha driver?  At the time of the panic, the tail end of some text
	which just scrolled off the screen seems to indicate problems
	scanning the SCSI bus.


>Release-Note:
>Audit-Trail:
>Unformatted:



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