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 [EMAIL PROTECTED]:/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<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE> 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: <NEC uPD 9210 USB controller> mem 0xff8fd000-0xff8fdfff irq 11 at device 10.0 on pci1 usb0: OHCI version 1.0 usb0: <NEC uPD 9210 USB controller> 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: <NEC uPD 9210 USB controller> mem 0xff8fe000-0xff8fefff irq 9 at device 10.1 on pci1 usb1: OHCI version 1.0 usb1: <NEC uPD 9210 USB controller> 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: <USB controller> at 10.2 irq 6 ... uhci0: <Intel 82801BA/BAM (ICH2) USB controller USB-A> port 0xef40-0xef5f irq 10 at device 31.2 on pci0 usb2: <Intel 82801BA/BAM (ICH2) USB controller USB-A> 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: <unknown card> (vendor=0x8086, dev=0x2443) at 31.3 irq 6 uhci1: <Intel 82801BA/BAM (ICH2) USB controller USB-B> port 0xef80-0xef9f irq 9 at device 31.4 on pci0 usb3: <Intel 82801BA/BAM (ICH2) USB controller USB-B> 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 <CDU5211> 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: <Intel 82371AB/EB (PIIX4) USB controller> port 0xfca0-0xfcbf irq 9 at dev > | ice 7.2 on pci0 > | usb0: <Intel 82371AB/EB (PIIX4) USB controller> 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: <Intel 82371AB/EB (PIIX4) USB controller> port 0xfca0-0xfcbf irq 9 at dev > | ice 7.2 on pci0 > | usb0: <Intel 82371AB/EB (PIIX4) USB controller> 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 > > [EMAIL PROTECTED] 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 > > > > > > _______________________________________________ > > [EMAIL PROTECTED] mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > > To unsubscribe, send any mail to "[EMAIL PROTECTED]" > > > -- > Yoshihiko Sarumaru > mail: [EMAIL PROTECTED] web: http://www.imasy.or.jp/~mistral/ > _______________________________________________ > [EMAIL PROTECTED] mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-hackers > To unsubscribe, send any mail to "[EMAIL PROTECTED]" > _______________________________________________ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "[EMAIL PROTECTED]"