From owner-freebsd-current Tue Nov 27 16:26:31 2001 Delivered-To: freebsd-current@freebsd.org Received: from jbloom.jbloom.org (reyim.ne.mediaone.net [24.60.42.76]) by hub.freebsd.org (Postfix) with ESMTP id 9ACD637B417 for ; Tue, 27 Nov 2001 16:26:19 -0800 (PST) Received: from acm.org (localhost [127.0.0.1]) by jbloom.jbloom.org (8.11.6/8.11.5) with ESMTP id fAS0Q4l07330; Tue, 27 Nov 2001 19:26:04 -0500 (EST) (envelope-from bloom@acm.org) Message-ID: <3C042F1C.E70D32B3@acm.org> Date: Tue, 27 Nov 2001 19:26:04 -0500 From: Jim Bloom Reply-To: bloom@acm.org X-Mailer: Mozilla 4.79 [en] (X11; U; Linux 2.4.2 i386) X-Accept-Language: en MIME-Version: 1.0 To: imp@harmony.village.org Cc: current@freebsd.org Subject: PC Card hang Content-Type: multipart/mixed; boundary="------------EE7DF3CE1C8B558AAF287473" Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG This is a multi-part message in MIME format. --------------EE7DF3CE1C8B558AAF287473 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit My laptop is hanging when I boot it after this commit. The system hangs when pccardd is started. If no cards are installed, the boot proceeds without a problem and the system hangs when the first card is inserted. I have attached my kernel configuration and dmesg output from a kernel checked out right before this commit. Please let me know if I can provide any further information or assistance. Thanks for you help Jim Bloom bloom@acm.org Modified files: sys/pccard i82365.h pcic.c pcic_isa.c pcic_pci.c Log: o Try to do 3.3V support better for the 6722 and 6729/30. o Bite the bullet and create controller types for the 6729 and also for the 673x. Rename the 672x to 6722. o Define minimal extended register info (just register 0xa for reading VS[12]). # I think the last version may have broken 673x controllers, but this should # fix them. Tested on the 6722, but not the 6729. Ideas from: Chiharu Shibata-san's article in bsd-nomads:15866 Revision Changes Path 1.23 +18 -5 src/sys/pccard/i82365.h 1.169 +32 -14 src/sys/pccard/pcic.c 1.23 +3 -3 src/sys/pccard/pcic_isa.c 1.106 +5 -5 src/sys/pccard/pcic_pci.c --------------EE7DF3CE1C8B558AAF287473 Content-Type: text/plain; charset=us-ascii; name="LAPTOP" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="LAPTOP" machine i386 cpu I486_CPU cpu I586_CPU ident LAPTOP maxusers 32 #makeoptions DEBUG=-g #Build kernel with gdb(1) debug symbols options INVARIANTS options INVARIANT_SUPPORT # options MUTEX_DEBUG options WITNESS options MATH_EMULATE #Support for x87 emulation options INET #InterNETworking options INET6 #IPv6 communications protocols options IPSEC #IP security options IPSEC_ESP #IP security (crypto; define w/ IPSEC) options IPSEC_DEBUG #debug for IP security options FFS #Berkeley Fast Filesystem options NFSCLIENT #Network Filesystem Client options NFSSERVER #Network Filesystem Server 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 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 extentions options _KPOSIX_PRIORITY_SCHEDULING options _KPOSIX_VERSION=199309L options IPFIREWALL #firewall options IPDIVERT #divert sockets options DDB #kernel debugger # Obsolete option # options MD_NSECT=10000 device isa # Add PCI to work around broken ATA driver # device pci # Floppy drives device fdc # ATA and ATAPI devices device ata device atadisk # ATA disk drives # atkbdc0 controls both the keyboard and the PS/2 mouse device atkbdc device atkbd device psm device vga # syscons is the default console driver, resembling an SCO console device sc # Floating point support - do not disable. device npx # Power management support (see LINT for more options) device apm # Advanced Power Management # PCCARD (PCMCIA) support device card device pcic # Serial (COM) ports device sio # Parallel port device ppc device ppbus # Parallel port bus (required) device lpt # Printer device plip # TCP/IP over parallel device ppi # Parallel port interface device # ISA Ethernet NICs. device ed device miibus # Pseudo devices - the number indicates how many units to allocated. device loop # Network loopback device ether # Ethernet support device sl 1 # Kernel SLIP device ppp 1 # Kernel PPP device tun # Packet tunnel. device pty # Pseudo-ttys (telnet etc) device md # Memory "disks" device pmtimer # Adjust system timer at wakeup time device random # for IPv6 device gif #IPv6 and IPv4 tunneling device faith #for IPv6 and IPv4 translation # The `bpf' pseudo-device enables the Berkeley Packet Filter. # Be aware of the administrative consequences of enabling this! device bpf #Berkeley packet filter --------------EE7DF3CE1C8B558AAF287473 Content-Type: text/plain; charset=us-ascii; name="dmesg.txt" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="dmesg.txt" Copyright (c) 1992-2001 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 5.0-CURRENT #4: Tue Nov 27 18:53:19 EST 2001 bloom@jbloom.jbloom.org:/users/bloom/sys/i386/compile/LAPTOP Preloaded elf kernel "/boot/kernel/kernel" at 0xc03a9000. Calibrating clock(s) ... i8254 clock: 1193105 Hz CLK_USE_I8254_CALIBRATION not specified - using default frequency Timecounter "i8254" frequency 1193182 Hz TSC initialization skipped: APM enabled. CPU: Cyrix 486DX2 (486-class CPU) Origin = "CyrixInstead" DIR=0x321b Stepping=3 Revision=2 real memory = 20971520 (20480K bytes) Physical memory chunk(s): 0x00001000 - 0x0009efff, 647168 bytes (158 pages) 0x003d0000 - 0x013f7fff, 16941056 bytes (4136 pages) avail memory = 16814080 (16420K bytes) Other BIOS signatures found: null: random: mem: Math emulator present apm0: on motherboard apm0: found APM BIOS v1.1, connected at v1.1 npx0: on motherboard npx0: INT 16 interface isa0: on motherboard Trying Read_Port at 203 Trying Read_Port at 243 Trying Read_Port at 283 Trying Read_Port at 2c3 Trying Read_Port at 303 Trying Read_Port at 343 Trying Read_Port at 383 Trying Read_Port at 3c3 sc-: sc0 already exists, skipping it vga-: vga0 already exists, skipping it isa_probe_children: disabling PnP devices isa_probe_children: probing non-PnP devices orm0: