From owner-freebsd-questions@FreeBSD.ORG Sat Jan 15 11:59:44 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 89EB016A4CE for ; Sat, 15 Jan 2005 11:59:44 +0000 (GMT) Received: from ptb-relay01.plus.net (ptb-relay01.plus.net [212.159.14.212]) by mx1.FreeBSD.org (Postfix) with ESMTP id 48A9643D55 for ; Sat, 15 Jan 2005 11:59:44 +0000 (GMT) (envelope-from ian@codepad.net) Received: from [80.229.159.44] (helo=[192.168.0.4]) by ptb-relay01.plus.net with esmtp (Exim) id 1Cpmal-000MaM-Hm for freebsd-questions@freebsd.org; Sat, 15 Jan 2005 11:59:43 +0000 From: Xian To: freebsd-questions@freebsd.org Date: Sat, 15 Jan 2005 11:59:43 +0000 User-Agent: KMail/1.7 References: <200501151152.37942.ian@codepad.net> In-Reply-To: <200501151152.37942.ian@codepad.net> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200501151159.43196.ian@codepad.net> Subject: Re: kernel panic on umass drive X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 15 Jan 2005 11:59:44 -0000 On Saturday 15 January 2005 11:52, Xian wrote: > I have small USB flash drive that has worked quite well up until now with > FreeBSD. I've found I have to boot with it plugged in as when I don't will > give a line in dmesg: > > umass0: Generic USB Flash Disk, rev 1.10/1.00, addr 5 > > but it only give the lines Sorry, I meant it only gives the following when it is plugged in on boot > > umass0: Generic USB Flash Disk, rev 1.10/1.00, addr 5 > da0 at umass-sim0 bus 0 target 0 lun 0 > da0: Removable Direct Access SCSI-0 device > da0: 1.000MB/s transfers > da0: 31MB (63904 512 byte sectors: 64H 32S/T 31C) > > I found that when I didn't have the da0 lines (It wasn't in the machine on > boot) and I pulled the drive out it the kernel panicked about a page fault. > The instruction pointer was 0xc0489e5b, and current process was 31 (irq21: > uhci0 uhci1*). > > [ian@hercules:~] %nm -n /boot/kernel/kernel | grep c0489e5 > c0489e50 t uhci_check_intr > [ian@hercules:~] %uname -a > FreeBSD hercules.codepad.net 5.3-RELEASE-p4 FreeBSD 5.3-RELEASE-p4 #6: Fri > Jan 14 23:59:29 GMT 2005 > root@hercules.codepad.net:/usr/obj/usr/src/sys/HERCULES i386 > > Also a yesterday I compiled in "device ehci" and the kernel panicked on > boot when just after it had detected umass when the drive was plugged in. > So I compiled it out again. > > I have had other USB Flash drives work properly on earlier version(s) of > either 5.2.1R or 5.3R, I can't remember. > > I'm not sure how to get round this, or who this information would help. Any > help will be very much appreciated, or who to send this info to. -- /Xian "INDECISION is the key to FLEXIBILITY" unknown author