From owner-freebsd-stable@FreeBSD.ORG Mon Mar 8 17:16:55 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CC59516A4CE; Mon, 8 Mar 2004 17:16:55 -0800 (PST) Received: from sccrmhc13.comcast.net (sccrmhc13.comcast.net [204.127.202.64]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9B35243D31; Mon, 8 Mar 2004 17:16:54 -0800 (PST) (envelope-from julian@elischer.org) Received: from interjet.elischer.org ([24.7.73.28]) by comcast.net (sccrmhc13) with ESMTP id <20040309011652016004cpv6e>; Tue, 9 Mar 2004 01:16:53 +0000 Received: from localhost (localhost.elischer.org [127.0.0.1]) by InterJet.elischer.org (8.9.1a/8.9.1) with ESMTP id RAA54374; Mon, 8 Mar 2004 17:16:51 -0800 (PST) Date: Mon, 8 Mar 2004 17:16:50 -0800 (PST) From: Julian Elischer To: Yoshihiko Sarumaru In-Reply-To: <040308013807.M0100724@shimako.imasy.or.jp> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: stable@FreeBSD.org cc: hackers@FreeBSD.org Subject: Re: HEADSUP!!! USB MFC committed.. X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Mar 2004 01:16:55 -0000 On Mon, 8 Mar 2004, Yoshihiko Sarumaru wrote: > Hello Julian, > > I report you about a USB problem that would be occur with my > laptop after you MFC'ed USB stuff. > > With GENERIC kernel, it is fine and there are no changes from > before, but with no usb kernel + usb.ko + umass.ko, it would be > panic everytime on boot. > > It is not depend on umass. The panic would be happen when I > didn't load umass.ko but ucom.ko + umodem.ko and plug USB modem > (PHS phone). do you need a usb device plugged in for the panic? I can not duplicate this.. see below: ok load /k2 /k2 text=0x17a2ae data=0x1f40c+0x1d064 syms=[0x4+0x25990+0x4+0x2c7a0] ok load /modules/usb.ko /modules/usb.ko text=0x18c40 data=0x3e14+0x60 syms=[0x4+0x24d0+0x4+0x2697] ok load /modules/umass.ko /modules/umass.ko text=0x5280 data=0x108+0x8 syms=[0x4+0x7e0+0x4+0x6af] ok boot -s Copyright (c) 1992-2003 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.9-STABLE #5: Tue Mar 9 00:47:27 GMT 2004 root@ref1.dev.vicor-nb.com:/usr/src/sys/compile/REF1 Timecounter "i8254" frequency 1193182 Hz CPU: Intel Pentium III (863.87-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x68a Stepping = 10 Features=0x383f9ff real memory = 267124736 (260864K bytes) sio1: gdb debugging port avail memory = 256868352 (250848K bytes) Preloaded elf kernel "k2" at 0xc0336000. Preloaded elf module "usb.ko" at 0xc03360a4. Preloaded elf module "umass.ko" at 0xc0336140. ... ohci0: mem 0xff8fd000-0xff8fdfff irq 11 at device 10.0 on pci1 usb0: OHCI version 1.0 usb0: on ohci0 usb0: USB revision 1.0 uhub0: NEC OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 3 ports with 3 removable, self powered ohci1: mem 0xff8fe000-0xff8fefff irq 9 at device 10.1 on pci1 usb1: OHCI version 1.0 usb1: on ohci1 usb1: USB revision 1.0 uhub1: NEC OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub1: 2 ports with 2 removable, self powered pci1: at 10.2 irq 6 ... uhci0: port 0xef40-0xef5f irq 10 at device 31.2 on pci0 usb2: on uhci0 usb2: USB revision 1.0 uhub2: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub2: 2 ports with 2 removable, self powered pci0: (vendor=0x8086, dev=0x2443) at 31.3 irq 6 uhci1: port 0xef80-0xef9f irq 9 at device 31.4 on pci0 usb3: on uhci1 usb3: USB revision 1.0 uhub3: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub3: 2 ports with 2 removable, self powered ... acd0: CDROM at ata1-master PIO4 Mounting root from ufs:/dev/ad0s1a Enter full pathname of shell or RETURN for /bin/sh: ... though I notice that my EHCI controller was not seen.. (something to look at) > > | Preloaded elf kernel "kernel.nousb" at 0xc042b000. > | Preloaded elf module "usb.ko" at 0xc042b0b0. > | Preloaded elf module "umass.ko" at 0xc042b14c. > | ... > | ata0: at 0x1f0 irq 14 on atapci0 > | ata1: at 0x170 irq 15 on atapci0 > | uhci0: port 0xfca0-0xfcbf irq 9 at dev > | ice 7.2 on pci0 > | usb0: on uhci0 > | usb0: USB revision 1.0 > | uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 > | uhub0: 2 ports with 2 removable, self powered > | uhub1: Philips Semiconductors hub, class 9/0, rev 1.10/1.10, addr 2 > | uhub1: 3 ports with 3 removable, self powered > | > | > | Fatal trap 12: page fault while in kernel mode > | fault virtual address = 0x38 > | fault code = supervisor read, page not present > | instruction pointer = 0x8:0xc0424323 > | stack pointer = 0x10:0xc044d91c > | frame pointer = 0x10:0xc044d928 > | 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 = 0 (swapper) > | interrupt mask = net tty bio cam > > With USB built-in kernel, it will be like this: > | Preloaded elf kernel "kernel.withusb" at 0xc0434000. > | Preloaded elf module "ucom.ko" at 0xc043409c. > | Preloaded elf module "umodem.ko" at 0xc0434138. > | ... > | ata0: at 0x1f0 irq 14 on atapci0 > | ata1: at 0x170 irq 15 on atapci0 > | uhci0: port 0xfca0-0xfcbf irq 9 at dev > | ice 7.2 on pci0 > | usb0: on uhci0 > | usb0: USB revision 1.0 > | uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 > | uhub0: 2 ports with 2 removable, self powered > | uhub1: Philips Semiconductors hub, class 9/0, rev 1.10/1.10, addr 2 > | uhub1: 3 ports with 3 removable, self powered > | umass0: Sony USB Memory Stick Slot, rev 1.10/1.31, addr 3, UFI over CBI > | umass0:0:0:-1: Attached to scbus0 as device 0 > > Thanks, > - Yoshihiko > > julian@elischer.org wrote: > > > > > The USB code in RELENG_4 has been updated to match that in -current. > > Please test any USB devices that are critical to you BEFORE we release > > 4.10 :-) > > > > > > thanks > > > > Julian > > > > > > _______________________________________________ > > freebsd-stable@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" > > > -- > Yoshihiko Sarumaru > mail: mistral@imasy.or.jp web: http://www.imasy.or.jp/~mistral/ > _______________________________________________ > freebsd-hackers@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-hackers > To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org" >