From owner-freebsd-stable Thu Nov 15 13:56:22 2001 Delivered-To: freebsd-stable@freebsd.org Received: from panzer.kdm.org (panzer.kdm.org [216.160.178.169]) by hub.freebsd.org (Postfix) with ESMTP id B429737B416; Thu, 15 Nov 2001 13:56:16 -0800 (PST) Received: (from ken@localhost) by panzer.kdm.org (8.11.6/8.9.1) id fAFLuFY34875; Thu, 15 Nov 2001 14:56:15 -0700 (MST) (envelope-from ken) Date: Thu, 15 Nov 2001 14:56:15 -0700 From: "Kenneth D. Merry" To: Dirk Froemberg Cc: stable@FreeBSD.ORG, phk@FreeBSD.ORG Subject: Re: kernel panic if using SCSI CDROM as root device Message-ID: <20011115145615.A34719@panzer.kdm.org> References: <20011115003027.A87962@physik.TU-Berlin.DE> <20011115120432.A18404@physik.TU-Berlin.DE> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2i In-Reply-To: <20011115120432.A18404@physik.TU-Berlin.DE>; from dirk@FreeBSD.ORG on Thu, Nov 15, 2001 at 12:04:32PM +0100 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG [ Poul-Henning CCed, since he may have a clue what's going on here ] On Thu, Nov 15, 2001 at 12:04:32 +0100, Dirk Froemberg wrote: > Hi! > > On Thu, Nov 15, 2001 at 12:30:27AM +0100, Dirk Froemberg wrote: > > I build an CDROM image with a boot image containing a GENERIC kernel > > and an "ordinary" FreeBSD-4.4-STABLE installation. > > > > After booting the kernel I get the "mountroot> " prompt. On systems > > having an ATAPI-CDROM mounting the CD as a root filesystem works > > (giving cd9660:/dev/acd0c as root), but not on SCSI systems (giving > > cd9660:/dev/cd0c as root). On such systems a kernel panic occurs > > ("Fatal trap 12: page fault while in kernel mode"). > > Now, some more debug information... > > Regards Dirk > > ok boot -C > /kernel text=0x203a28 data=0x39464+0x19cac syms=[0x4+0x30df0+0x4+0x353fc] > Copyright (c) 1992-2001 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 4.4-STABLE #0: Thu Nov 15 11:18:56 CET 2001 > dirk@bach:/usr/obj/usr/src/sys/CDROM > Timecounter "i8254" frequency 1193182 Hz > Timecounter "TSC" frequency 166527838 Hz > CPU: Pentium/P55C (166.53-MHz 586-class CPU) > Origin = "GenuineIntel" Id = 0x543 Stepping = 3 > Features=0x8001bf > real memory = 67043328 (65472K bytes) > avail memory = 61489152 (60048K bytes) > Preloaded elf kernel "kernel" at 0xc03bf000. > Intel Pentium detected, installing workaround for F00F bug > md0: Malloc disk > Using $PIR table, 6 entries at 0xc00fde70 > npx0: on motherboard > npx0: INT 16 interface > pcib0: on motherboard > pci0: on pcib0 > pcib2: at device 1.0 on pci0 > pci1: on pcib2 > isab0: at device 7.0 on pci0 > isa0: on isab0 > atapci0: port 0x6400-0x640f at device 7.1 on pci0 > fxp0: port 0x6c00-0x6c3f mem 0xe9000000-0xe901ffff,0xe9020000-0xe9020fff irq 9 at device 9.0 on pci0 > fxp0: Ethernet address 00:02:b3:40:db:8c > inphy0: on miibus0 > inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto > ahc0: port 0x7000-0x70ff mem 0xe9021000-0xe9021fff irq 12 at device 10.0 on pci0 > aic7890/91: Ultra2 Wide Channel A, SCSI Id=7, 32/255 SCBs > pci0: at 12.0 irq 10 > pcib1: on motherboard > pci2: on pcib1 > orm0: