From owner-freebsd-stable@FreeBSD.ORG Fri Sep 26 01:17:34 2003 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 6C54716A4BF for ; Fri, 26 Sep 2003 01:17:34 -0700 (PDT) Received: from mg.ihep.su (mg.ihep.su [194.190.161.38]) by mx1.FreeBSD.org (Postfix) with ESMTP id A333743FFD for ; Fri, 26 Sep 2003 01:17:23 -0700 (PDT) (envelope-from Alexandre.Kardanev@ihep.su) Received: by mg.ihep.su (Postfix, from userid 65436) id CC209B80A5; Fri, 26 Sep 2003 12:17:18 +0400 (MSD) Received: from mg.ihep.su (localhost [127.0.0.1]) by mg.ihep.su (Postfix) with SMTP id 70E38B80BC for ; Fri, 26 Sep 2003 12:17:18 +0400 (MSD) X-Mailbox-Line: From Alexandre.Kardanev@ihep.su Fri Sep 26 12:17:18 2003 Received: from sirius-b.ihep.su (sirius-b.ihep.su [194.190.161.4]) by mg.ihep.su (Postfix) with ESMTP id 8A0F2B80A5 for ; Fri, 26 Sep 2003 12:16:27 +0400 (MSD) Received: from Sirius.ihep.su (sirius.ihep.su [194.190.161.68]) by sirius-b.ihep.su (8.10.0/8.10.0) with ESMTP id h8Q8Gc331604 for ; Fri, 26 Sep 2003 12:16:38 +0400 (MSK) X-Sender: kardanev@sirius.ihep.su Received: from localhost by Sirius.ihep.su (8.9.3/1.1.22.3/03Apr00-0540PM) id MAA0000016543; Fri, 26 Sep 2003 12:16:24 +0400 (MSK) Date: Fri, 26 Sep 2003 12:16:24 +0400 (MSK) From: Alexandre Kardanev To: freebsd-stable@freebsd.org Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Spam-Status: No, hits=2.3 required=5.0 tests=NO_MX_FOR_FROM,RCVD_IN_OSIRUSOFT_COM version=2.20 X-Spam-Level: ** Subject: Kernel panic with USB stick 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: Fri, 26 Sep 2003 08:17:34 -0000 Hi! I have Compaq DeskPro P450 with additional NCR SCSI controller. In 5.1-RELEASE, when I insert my USB stick I got this: uhci0: port 0x1880-0x189f irq 11 at device 20.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 umass0: vendor 0x0c76 TS128MJFLASHA, rev 1.10/1.00, addr 2 da6 at umass-sim0 bus 0 target 0 lun 0 da6: < TS128MJFLASHA 1.00> Removable Direct Access SCSI-2 device da6: 1.000MB/s transfers da6: 123MB (253400 512 byte sectors: 64H 32S/T 123C) (da6:umass-sim0:0:0:0): READ(6)/WRITE(6) not supported, increasing minimum_cmd_size to 10. umass0: at uhub0 port 1 (addr 2) disconnected (da6:umass-sim0:0:0:0): lost device (da6:umass-sim0:0:0:0): removing device entry umass0: detached And all works fine. When I insert the same USB device in 4.9PRERELEASE (cvsup at 11:00 MSD, Sep 26) I got continuous kernel panik with something like this: Fatal trap 12, page fault in kernel... Because there is no serial console I can not write hole message. I cannot make core dump - during 20-30 second I repetedly (with 1secs interval) got the same message after all comuter silently reboots... here is from /var/log/message: Sep 26 12:06:50 dru /kernel: umass0: TS128MJFLASHA, rev 1.10/1.00, addr 2 Sep 26 12:09:49 dru /kernel: Copyright (c) 1992-2003 The FreeBSD Project. Sep 26 12:09:49 dru /kernel: Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 Sep 26 12:09:49 dru /kernel: The Regents of the University of California. All rights reserved. Sep 26 12:09:49 dru /kernel: FreeBSD 4.9-PRERELEASE #31: Fri Sep 26 11:09:32 MSD 2003 Sep 26 12:09:49 dru /kernel: root@dru.ihep.su:/usr/obj/usr/src/sys/dru Sep 26 12:09:49 dru /kernel: Timecounter "i8254" frequency 1193182 Hz Sep 26 12:09:49 dru /kernel: CPU: Pentium II/Pentium II Xeon/Celeron (398.27-MHz 686-class CPU) Sep 26 12:09:49 dru /kernel: Origin = "GenuineIntel" Id = 0x652 Stepping = 2 Sep 26 12:09:49 dru /kernel: Features=0x183f9ff Sep 26 12:09:49 dru /kernel: real memory = 335544320 (327680K bytes) Sep 26 12:09:49 dru /kernel: avail memory = 322539520 (314980K bytes) Sep 26 12:09:49 dru /kernel: Preloaded elf kernel "kernel" at 0xc0374000. Sep 26 12:09:49 dru /kernel: Preloaded elf module "usb.ko" at 0xc037409c. Sep 26 12:09:49 dru /kernel: Preloaded elf module "umass.ko" at 0xc0374138. I load usb and umass through loader.conf. Hire is my config: machine i386 #cpu I386_CPU #cpu I486_CPU #cpu I586_CPU cpu I686_CPU ident dru maxusers 0 makeoptions DEBUG=-g makeoptions CONF_CFLAGS=-fno-builtin options INET #InterNETworking options FFS #Berkeley Fast Filesystem options FFS_ROOT #FFS usable as root device [keep this!] options SOFTUPDATES #Enable FFS soft updates support options UFS_DIRHASH #Improve performance on big directories options MFS #Memory Filesystem options MD_ROOT #MD is a potential root device #options NFS #Network Filesystem #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=8000 #Delay (in ms) before probing SCSI options KTRACE #ktrace(1) support options SYSVSHM #SYSV-style shared memory options SYSVMSG #SYSV-style message queues options SYSVSEM #SYSV-style semaphores options P1003_1B #Posix P1003_1B real-time extensions options _KPOSIX_PRIORITY_SCHEDULING options KBD_INSTALL_CDEV # install a CDEV entry in /dev #Firewall options IPFIREWALL options IPFIREWALL_VERBOSE #enable logging to syslogd(8) options IPFIREWALL_VERBOSE_LIMIT=100 #limit verbosity options IPDIVERT #divert sockets options IPFW2 options RANDOM_IP_ID options ICMP_BANDLIM #Rate limit bad replies options TCP_DROP_SYNFIN #drop TCP packets with SYN+FIN options DUMMYNET device isa #device eisa device pci # Floppy drives device fdc0 at isa? port IO_FD1 irq 6 drq 2 device fd0 at fdc0 drive 0 device ata0 at isa? port IO_WD1 irq 14 device ata1 at isa? port IO_WD2 irq 15 device ata device atadisk # ATA disk drives device atapicd device atapicam options ATA_STATIC_ID #Static device numbering # SCSI Controllers device sym # NCR/Symbios Logic (newer chipsets) options SYM_SETUP_LP_PROBE_MAP=0x40 # Allow ncr to attach legacy NCR devices when # both sym and ncr are configured # SCSI peripherals device scbus # SCSI bus (required) device da # Direct Access (disks) device sa # Sequential Access (tape etc) #device cd # CD device pass # Passthrough device (direct SCSI access) # atkbdc0 controls both the keyboard and the PS/2 mouse device atkbdc0 at isa? port IO_KBD device atkbd0 at atkbdc? irq 1 flags 0x1 device psm0 at atkbdc? irq 12 device vga0 at isa? # splash screen/screen saver pseudo-device splash # syscons is the default console driver, resembling an SCO console device sc0 at isa? flags 0x100 options MAXCONS=12 # number of virtual consoles options SC_ALT_MOUSE_IMAGE # simplified mouse cursor in text mode options SC_HISTORY_SIZE=600 # number of history buffer lines options SC_MOUSE_CHAR=0x3 # char code for text mode mouse cursor # The following options will let you change the default colors of syscons. options SC_NORM_ATTR="(FG_GREEN|BG_BLACK)" options SC_NORM_REV_ATTR="(FG_YELLOW|BG_GREEN)" options SC_KERNEL_CONS_ATTR="(FG_RED|BG_BLACK)" options SC_KERNEL_CONS_REV_ATTR="(FG_BLACK|BG_RED)" # If you have a two button mouse, you may want to add the following option # to use the right button of the mouse to paste text. options SC_TWOBUTTON_MOUSE # 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? flags 0x20 # Advanced Power Management # Serial (COM) ports device sio0 at isa? port IO_COM1 flags 0x10 irq 4 device sio1 at isa? port IO_COM2 irq 3 # Parallel port device ppc0 at isa? irq 7 device ppbus # Parallel port bus (required) device lpt # Printer device ppi # Parallel port interface device # PCI Ethernet NICs that use the common MII bus controller code. # NOTE: Be sure to keep the 'device miibus' line in order to use these NICs! device miibus # MII bus support device xl # 3Com 3c90x (``Boomerang'', ``Cyclone'') # Pseudo devices - the number indicates how many units to allocate. pseudo-device loop # Network loopback pseudo-device ether # Ethernet support #pseudo-device tun # Packet tunnel. pseudo-device pty # Pseudo-ttys (telnet etc) pseudo-device md # Memory "disks" #pseudo-device gif # IPv6 and IPv4 tunneling # 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 CPU_ENABLE_SSE options CPU_SUSP_HLT options COMPAT_43 options USER_LDT #options PNPBIOS device pcm #device sbc0 at isa? port 0x220 irq 5 drq 1 flags 0x15 #device sbc #sbc0: at port 0x220-0x22f,0x388-0x38b,0x330-0x331 irq 5 drq 1,0 on #isa0 #pcm0: on sbc0 #options EXT2FS device vn device smbus device intpm device smb device alpm device ichsmb #device viapm device iicbus # Bus support, required for ic/iic/iicsmb below. device iicbb device ic device iic device iicsmb # smb over i2c bridge #device bktr device agp device mgadrm #options DA_OLD_QUIRKS ---------------------------------------------------------------- Enabling DA_OLD_QUIRKS dosn't matter... ABK2-RIPE ------------------- "It's always easier to destroy than to create" -Any general, any army, any age