From owner-freebsd-current@FreeBSD.ORG Sat Apr 17 08:30:10 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7A8CD16A4CE for ; Sat, 17 Apr 2004 08:30:10 -0700 (PDT) Received: from rwcrmhc13.comcast.net (rwcrmhc13.comcast.net [204.127.198.39]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5465443D39 for ; Sat, 17 Apr 2004 08:30:10 -0700 (PDT) (envelope-from rodrigc@crodrigues.org) Received: from h00609772adf0.ne.client2.attbi.com ([66.31.45.197]) by comcast.net (rwcrmhc13) with ESMTP id <2004041715300901500rf3n8e>; Sat, 17 Apr 2004 15:30:09 +0000 Received: from h00609772adf0.ne.client2.attbi.com (localhost [127.0.0.1]) id i3HFU7JW001991 for ; Sat, 17 Apr 2004 11:30:08 -0400 (EDT) (envelope-from rodrigc@h00609772adf0.ne.client2.attbi.com) Received: (from rodrigc@localhost)i3HFU75x001990 for freebsd-current@freebsd.org; Sat, 17 Apr 2004 11:30:07 -0400 (EDT) (envelope-from rodrigc) Date: Sat, 17 Apr 2004 11:30:07 -0400 From: Craig Rodrigues To: freebsd-current@freebsd.org Message-ID: <20040417153007.GA1885@crodrigues.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable User-Agent: Mutt/1.4.1i Subject: panic booting off of a USB key X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 17 Apr 2004 15:30:10 -0000 Hi, I compiled a -current kernel from a few days ago. I put the kernel on a USB key. When I boot the kernel from the USB key, it starts up, but then panics sometime after the umass0 reports that it is attaching to the disk: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D umass0: at uhub0 port 1 (addr 2) disconnected umass0: detached [0] f:80 typ:7 s(CHS):0/1/1 e(CHS):1023/254/63 s:63 l:117194112 [1] f:00 typ:0 s(CHS):0/0/0 e(CHS):0/0/0 s:0 l:0 [2] f:00 typ:0 s(CHS):0/0/0 e(CHS):0/0/0 s:0 l:0 [3] f:00 typ:0 s(CHS):0/0/0 e(CHS):0/0/0 s:0 l:0 GEOM: Configure ad0s1, start 32256 length 60003385344 end 60003417599 umass0: USB Solid state disk, rev 1.10/1.00, addr 2 umass0:1:0:-1: Attached to scbus1 Fatal trap 12: page fault while in kernel mode cpuid =3D 0; apic id =3D 00 fault virtual address =3D 0x0 fault code =3D supervisor read, page not present instruction pointer =3D 0x8:0xc0639e74 stack pointer =3D 0x10:0xdf4baaec frame pointer =3D 0x10:0xdf4baaf8 code segment =3D base 0x0, limit 0xfffff, type 0x1b =3D DPL 0, pres 1, def32 1, gran 1 processor eflags =3D interrupt enabled, resume, IOPL =3D 0 current process =3D 28 (swi8: tty:sio clock) kernel: type 12 trap, code=3D0 Stopped at _mtx_lock_flags+0x34: cmpl $0xc08a47bc,0(%ebx) db> t _mtx_lock_flags(0,0,c083d456,125,c08e5420,0,c083d456,124) at _mtx_lock_flag= s+0x34 vm_fault(c103b000,deadc000,1,0,c2279150) at vm_fault+0x20a trap_pfault(df4bac64,0,deadc0fe) at trap_pfault+0x104 trap(c08e0018,10,c0450010,c0452a18,0) at trap+0x2d9 calltrap() at calltrap+0x5 --- trap 0xc, eip =3D 0xc0451a02, esp =3D 0xdf4baca4, ebp =3D 0xdf4baca8 --- xpt_schedule_dev(deadc0f2,c64a5c18,1) at xpt_schedule_dev+0x36 xpt_release_devq_device(c64a5c00,1,1,df4bad04,c064ea3e) at xpt_release_devq= _device+0x99 xpt_release_devq_timeout(c64a5c00) at xpt_release_devq_timeout+0xf softclock(0) at softclock+0x176 ithread_loop(c615f300,df4bad48,c615f300,c0631c94,0) at ithread_loop+0x11c fork_exit(c0631c94,c615f300,df4bad48) at fork_exit+0xa8 fork_trampoline() at fork_trampoline+0x8 --- trap 0x1, eip =3D 0, esp =3D 0xdf4bad7c, ebp =3D 0 --- db>=20 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Here is some more info on my USB key, if I stick it into another running system: umass0: USB Solid state disk, rev 1.10/1.00, addr 2 umass0:0:0:-1: Attached to scbus0 pass0 at umass-sim0 bus 0 target 0 lun 0ected pass0: Removable Direct Access SCSI-2 device pass0: Serial Number =1F0/1/1 e(CHS):1023/254/63 s:63 l:117194112 pass0: 1.000MB/s transfers0 e(CHS):0/0/0 s:0 l:0 GEOM: new disk da0HS):0/0/0 e(CHS):0/0/0 s:0 l:0 da0 at umass-sim0 bus 0 target 0 lun 0/0 s:0 l:0 da0: Removable Direct Access SCSI-2 device da0: Serial Number =1Fate disk, rev 1.10/1.00, addr 2 da0: 1.000MB/s transfersto scbus1 da0: 252MB (516096 512 byte sectors: 64H 32S/T 252C) [0] f:80 typ:165 s(CHS):0/1/1 e(CHS):251/63/32 s:32 l:516064 [1] f:00 typ:0 s(CHS):0/0/0 e(CHS):0/0/0 s:0 l:0 [2] f:00 typ:0 s(CHS):0/0/0 e(CHS):0/0/0 s:0 l:0 [3] f:00 typ:0 s(CHS):0/0/0 e(CHS):0/0/0 s:0 l:0 GEOM: Configure da0s1, start 16384 length 264224768 end 264241151 GEOM: Configure da0a, start 8192 length 264232960 end 264241151 GEOM: Configure da0c, start 0 length 264241152 end 264241151 GEOM: Configure da0s1a, start 8192 length 264216576 end 264224767 GEOM: Configure da0s1c, start 0 length 264224768 end 264224767 --=20 Craig Rodrigues =20 http://crodrigues.org rodrigc@crodrigues.org