Date: Fri, 27 May 2005 01:58:31 +0800 (KRAST) From: Eugene Grosbein <eugen@grosbein.pp.ru> To: FreeBSD-gnats-submit@FreeBSD.org Subject: usb/81524: panic: usb_cold_explore: busses to explore when !cold Message-ID: <200505261758.j4QHwVML000951@grosbein.pp.ru> Resent-Message-ID: <200505261800.j4QI09Jo027012@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 81524 >Category: usb >Synopsis: panic: usb_cold_explore: busses to explore when !cold >Confidential: no >Severity: critical >Priority: high >Responsible: freebsd-usb >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu May 26 18:00:09 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Eugene Grosbein >Release: FreeBSD 4.11-STABLE i386 >Organization: Svyaz Service JSC >Environment: System: FreeBSD grosbein.pp.ru 4.11-STABLE FreeBSD 4.11-STABLE #2: Fri May 27 00:56:38 KRAST 2005 eu@grosbein.pp.ru:/usr/local/obj/usr/local/src/sys/DADV i386 Iwill BD100+ i440BX-based motherboard with integrated Intel 82371AB/EB/MB PIIX4/4E/4M USB Interface >Description: Recent 4.11-STABLE kernel panices at device probe stage if compiled with INVARIANS and INVARIANT_SUPPORT. Otherwise, it detects USB devices twice. >How-To-Repeat: Take Iwill BD100+ motherboard and boot next kernel: #for strings -n 3 /kernel | grep ^___ | sed -e 's/^___//' > MYKERNEL options INCLUDE_CONFIG_FILE machine i386 cpu I686_CPU options CPU_ENABLE_SSE #enables SSE/MMX2 instructions support. ident DADV maxusers 0 makeoptions DEBUG=-g #Build kernel with gdb(1) debug symbols options "CLK_USE_I8254_CALIBRATION" options CLK_USE_TSC_CALIBRATION options INET #InterNETworking options FFS #Berkeley Fast Filesystem options FFS_ROOT #FFS usable as root device [keep this!] options MSDOSFS #MSDOS Filesystem options CD9660 #ISO 9660 Filesystem options PROCFS #Process filesystem options COMPAT_43 #Compatible with BSD 4.3 [KEEP THIS!] options SCSI_DELAY=15000 #Delay (in ms) before probing SCSI options UCONSOLE #Allow users to grab the console options USERCONFIG #boot -c editor options VISUAL_USERCONFIG #visual boot -c editor options KTRACE #ktrace(1) support options CPU_SUSP_HLT options USER_LDT options PPP_BSDCOMP options PPP_DEFLATE options PPP_FILTER options SYSVSHM #SYSV-style shared memory options SYSVMSG #SYSV-style message queues options SYSVSEM #SYSV-style semaphores options SHMALL=4097 options SHMMAXPGS=4097 options SHMMAX=(SHMMAXPGS*PAGE_SIZE+1) options SEMMAP=255 options SEMMNI=235 options SEMMNS=255 options SEMMNU=235 options SEMMSL=255 options SEMOPM=201 options SEMUME=201 options P1003_1B #Posix P1003_1B real-time extensions options _KPOSIX_PRIORITY_SCHEDULING options _KPOSIX_VERSION=199309L options ICMP_BANDLIM #Rate limit bad replies options NSWAPDEV=4 device isa device eisa device pci options AUTO_EOI_1 # Floppy drives device fdc0 at isa? port IO_FD1 irq 6 drq 2 device fd0 at fdc0 drive 0 # ATA and ATAPI devices device ata device atadisk # ATA disk drives device atapicd # ATAPI CDROM drives options ATA_STATIC_ID #Static device numbering device atapicam device scbus device cd device da device pass # atkbdc0 controls both the keyboard and the PS/2 mouse device atkbdc0 at isa? port IO_KBD device atkbd0 at atkbdc? irq 1 device psm0 at atkbdc? irq 12 device vga0 at isa? options VESA options VGA_WIDTH90 # splash screen/screen saver pseudo-device splash # syscons is the default console driver, resembling an SCO console device sc0 at isa? options SC_DFLT_FONT # compile font in makeoptions SC_DFLT_FONT=cp866 options MAXCONS=24 options SC_HISTORY_SIZE=1000 options SC_MOUSE_CHAR=0x03 options SC_PIXEL_MODE # Floating point support - do not disable. device npx0 at nexus? port IO_NPX irq 13 # Power management support (see LINT for more options) device apm0 at nexus? # Advanced Power Management # Serial (COM) ports device sio0 at isa? port IO_COM1 flags 0x90 irq 4 device sio1 at isa? port IO_COM2 irq 3 device miibus device fxp device rl device ep # Parallel port device ppc0 at isa? irq 7 device ppbus # Parallel port bus (required) device lpt # Printer device ppi # Parallel port interface device # Pseudo devices - the number indicates how many units to allocated. pseudo-device loop # Network loopback pseudo-device ether # Ethernet support pseudo-device sl 2 # Kernel SLIP pseudo-device ppp 2 # Kernel PPP pseudo-device tun # Packet tunnel. pseudo-device pty 16 # Pseudo-ttys (telnet etc) pseudo-device gif 4 # IPv6 and IPv4 tunneling pseudo-device faith 1 # IPv6-to-IPv4 relaying (translation) pseudo-device snp pseudo-device gzip # Exec gzipped a.out's pseudo-device speaker # The `bpf' pseudo-device enables the Berkeley Packet Filter. # Be aware of the administrative consequences of enabling this! pseudo-device bpf #Berkeley packet filter options MSGBUF_SIZE=40960 device pcm options IPFIREWALL options IPFIREWALL_VERBOSE options IPFW2 options IPDIVERT options DUMMYNET options SOFTUPDATES device smbus device intpm device smb options DDB options DDB_UNATTENDED options ALT_BREAK_TO_DEBUGGER options RANDOM_IP_ID options UFS_DIRHASH options PQ_CACHESIZE=128 # color for 128k/16k cache options SHOW_BUSYBUFS device uhci device usb device uscanner device ugen device uhid device ucom device umass device tap options IPSEC #IP security options IPSEC_ESP #IP security (crypto; define w/ IPSEC) options INVARIANTS options INVARIANT_SUPPORT options USB_DEBUG device agp Here comes dmesg.boot: Copyright (c) 1992-2005 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.11-STABLE #2: Fri May 27 00:56:38 KRAST 2005 eu@grosbein.pp.ru:/usr/local/obj/usr/local/src/sys/DADV Timecounter "i8254" frequency 1193163 Hz CPU: Intel Celeron (902.03-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 = 603914240 (589760K bytes) config> flags atkbd 0x0 config> quit sio0: gdb debugging port avail memory = 582279168 (568632K bytes) Preloaded elf kernel "kernel" at 0xc042d000. Preloaded userconfig_script "/boot/kernel.conf" at 0xc042d09c. Preloaded elf module "splash_bmp.ko" at 0xc042d0ec. Preloaded splash_image_data "/boot/saturn.bmp" at 0xc042d190. VESA: v2.0, 65536k memory, flags:0x1, mode table:0xc0363462 (1000022) VESA: ATI RADEON 9200 Pentium Pro MTRR support enabled splash_bmp: No appropriate video mode found module_register_init: MOD_LOAD (splash_bmp, c03dd77c, 0) error 19 Using $PIR table, 8 entries at 0xc00fdef0 apm0: <APM BIOS> on motherboard apm0: found APM BIOS v1.2, connected at v1.2 npx0: <math processor> on motherboard npx0: INT 16 interface pcib0: <Intel 82443BX (440 BX) host to PCI bridge> on motherboard pci0: <PCI bus> on pcib0 agp0: <Intel 82443BX (440 BX) host to PCI bridge> mem 0xe8000000-0xebffffff at device 0.0 on pci0 pcib1: <Intel 82443BX (440 BX) PCI-PCI (AGP) bridge> at device 1.0 on pci0 pci1: <PCI bus> on pcib1 pci1: <ATI model 5961 graphics accelerator> at 0.0 irq 11 pci1: <ATI model 5941 graphics accelerator> at 0.1 isab0: <Intel 82371AB PCI to ISA bridge> at device 7.0 on pci0 isa0: <ISA bus> on isab0 atapci0: <Intel PIIX4 ATA33 controller> port 0xf000-0xf00f at device 7.1 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata1: at 0x170 irq 15 on atapci0 uhci0: <Intel 82371AB/EB (PIIX4) USB controller> port 0xd000-0xd01f irq 9 at device 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 intpm0: <Intel 82371AB Power management controller> port 0x5000-0x500f irq 9 at device 7.3 on pci0 intpm0: I/O mapped 5000 intpm0: intr IRQ 9 enabled revision 0 smbus0: <System Management Bus> on intsmb0 smb0: <SMBus general purpose I/O> on smbus0 intpm0: PM I/O mapped 4000 fxp0: <Intel 82557 Pro/100 Ethernet> port 0xd400-0xd41f mem 0xf0000000-0xf00fffff,0xf0104000-0xf0104fff irq 9 at device 16.0 on pci0 fxp0: Ethernet address 00:a0:c9:89:95:1f inphy0: <i82555 10/100 media interface> on miibus0 inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto atapci1: <Promise TX2 ATA100 controller> port 0xe800-0xe80f,0xe400-0xe403,0xe000-0xe007,0xdc00-0xdc03,0xd800-0xd807 mem 0xf0100000-0xf0103fff irq 10 at device 18.0 on pci0 ata2: at 0xd800 on atapci1 ata3: at 0xe000 on atapci1 orm0: <Option ROMs> at iomem 0xc0000-0xccfff,0xd0000-0xd27ff on isa0 pmtimer0 on isa0 fdc0: <NEC 72065B or clone> at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0 fdc0: FIFO enabled, 8 bytes threshold fd0: <1440-KB 3.5" drive> on fdc0 drive 0 atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0 atkbd0: <AT Keyboard> irq 1 on atkbdc0 psm0: <PS/2 Mouse> irq 12 on atkbdc0 psm0: model NetMouse/NetScroll Optical, device ID 0 vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 sc0: <System console> on isa0 sc0: VGA <24 virtual consoles, flags=0x200> sio0 at port 0x3f8-0x3ff irq 4 flags 0x90 on isa0 sio0: type 16550A sio1 at port 0x2f8-0x2ff irq 3 on isa0 sio1: type 16550A ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0 ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode ppc0: FIFO with 16/16/16 bytes threshold lpt0: <Printer> on ppbus0 lpt0: Interrupt-driven port ppi0: <Parallel I/O> on ppbus0 pcm0: <Yamaha OPL-SAx> at port 0x220-0x22f,0x530-0x537,0x388-0x38f,0x330-0x331,0x370-0x371 irq 5 drq 0,1 on isa0 DUMMYNET initialized (011031) ipfw2 initialized, divert enabled, rule-based forwarding enabled, default to deny, logging unlimited IPsec: Initialized Security Association Processing. ad4: 76319MB <WDC WD800JB-00FMA0> [155061/16/63] at ata2-master UDMA100 ad6: 39266MB <IC35L040AVER07-0> [79779/16/63] at ata3-master tagged UDMA100 acd0: DVD-R <_NEC DVD_RW ND-3500AG> at ata0-master UDMA33 acd1: CD-RW <SONY CD-RW CRX140E> at ata1-master UDMA33 uhid0: American Power Conversion Back-UPS 500 FW: 6.5.I USB FW: c1, rev 1.10/1.00, addr 2 uhid0: American Power Conversion Back-UPS 500 FW: 6.5.I USB FW: c1, rev 1.10/1.00, addr 2, iclass 3/0 uscanner0: Hewlett-Packard HP ScanJet 2200C, rev 1.10/1.00, addr 3 uscanner0: Hewlett-Packard HP ScanJet 2200C, rev 1.10/1.00, addr 3 cd0 at ata0 bus 0 target 0 lun 0 cd0: <_NEC DVD_RW ND-3500AG 2.18> Removable CD-ROM SCSI-0 device cd0: 33.000MB/s transfers cd0: cd present [332114 x 2048 byte records] cd1 at ata1 bus 0 target 0 lun 0 cd1: <SONY CD-RW CRX140E 1.0n> Removable CD-ROM SCSI-0 device cd1: 33.000MB/s transfers cd1: cd present [357666 x 2048 byte records] Mounting root from ufs:/dev/ad4s4a Here comes output of pciconf -lv: agp0@pci0:0:0: class=0x060000 card=0x00000000 chip=0x71908086 rev=0x03 hdr=0x00 vendor = 'Intel Corporation' device = '82443BX/ZX 440BX/ZX CPU to PCI Bridge (AGP Implemented)' class = bridge subclass = HOST-PCI pcib1@pci0:1:0: class=0x060400 card=0x00000000 chip=0x71918086 rev=0x03 hdr=0x01 vendor = 'Intel Corporation' device = '82443BX/ZX 440BX/ZX AGPset PCI-to-PCI bridge' class = bridge subclass = PCI-PCI isab0@pci0:7:0: class=0x060100 card=0x00000000 chip=0x71108086 rev=0x02 hdr=0x00 vendor = 'Intel Corporation' device = '82371AB/EB/MB PIIX4/4E/4M ISA Bridge' class = bridge subclass = PCI-ISA atapci0@pci0:7:1: class=0x010180 card=0x00000000 chip=0x71118086 rev=0x01 hdr=0x00 vendor = 'Intel Corporation' device = '82371AB/EB/MB PIIX4/4E/4M IDE Controller' class = mass storage subclass = ATA uhci0@pci0:7:2: class=0x0c0300 card=0x00000000 chip=0x71128086 rev=0x01 hdr=0x00 vendor = 'Intel Corporation' device = '82371AB/EB/MB PIIX4/4E/4M USB Interface' class = serial bus subclass = USB intpm0@pci0:7:3: class=0x068000 card=0x00000000 chip=0x71138086 rev=0x02 hdr=0x00 vendor = 'Intel Corporation' device = '82371AB/EB/MB PIIX4/4E/4M Power Management Controller' class = bridge subclass = PCI-unknown fxp0@pci0:16:0: class=0x020000 card=0x00018086 chip=0x12298086 rev=0x02 hdr=0x00 vendor = 'Intel Corporation' device = '82550/1/7/8/9 EtherExpress PRO/100(B) Ethernet Adapter' class = network subclass = ethernet atapci1@pci0:18:0: class=0x018085 card=0x4d68105a chip=0x4d68105a rev=0x02 hdr=0x00 vendor = 'Promise Technology Inc' device = 'PDC20268 Ultra100 TX2 EIDE Controller' class = mass storage drm0@pci1:0:0: class=0x030000 card=0x7c13174b chip=0x59611002 rev=0x01 hdr=0x00 vendor = 'ATI Technologies Inc.' device = '213rtizua43 ATI RADEON 9200' class = display subclass = VGA drm1@pci1:0:1: class=0x038000 card=0x7c12174b chip=0x59411002 rev=0x01 hdr=0x00 vendor = 'ATI Technologies Inc.' device = 'RV280 ATI Radeon 9200 - Secondary' class = display >Fix: Unknown. The corresponding KASSERT in src/sys/dev/usb/usb.c,v1.26.2.12 was introduced by julian after 4.11-RELEASE. >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200505261758.j4QHwVML000951>