Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 5 Oct 2001 21:40:36 -0700 (PDT)
From:      Doug Ambrisko <ambrisko@ambrisko.com>
To:        Warner Losh <imp@harmony.village.org>
Cc:        j mckitrick <jcm@freebsd-uk.eu.org>, freebsd-mobile@FreeBSD.ORG
Subject:   Re: reboot hang sufferers
Message-ID:  <200110060440.f964eas12782@ambrisko.com>
In-Reply-To: <200110050453.f954rD733743@harmony.village.org>

next in thread | previous in thread | raw e-mail | index | archive | help

Warner Losh writes:
| In message <20011005053422.B29176@dogma.freebsd-uk.eu.org> j mckitrick writes:
| : why does the pccard driver still have problems when using ISA routing?
| : Specifically, the reboot/shutdown hang and only one slot working?
| : 
| : Since pccard worked fine before, and you told us the 'secret' settings to
| : use the 'classic' mode of pccard, I would think the old behavior would
| : return.  Or was this a complete re-write?
| 
| I don't know.
| 
| Takeshi Shibagaki-san <ie9t-sbgk@asahi-net.or.jp> posted a patch to
| nomads that appears to fix things (if I'm reading the Japanese
| correctly).
| 
| Index: pcic_pci.c
| ===================================================================
| RCS file: /home/imp/FreeBSD/CVS/src/sys/pccard/pcic_pci.c,v
| retrieving revision 1.54.2.17
| diff -u -r1.54.2.17 pcic_pci.c
| --- pcic_pci.c	2001/09/13 17:54:50	1.54.2.17
| +++ pcic_pci.c	2001/10/05 04:51:19
| @@ -1368,7 +1369,7 @@
|  	DEVMETHOD(device_detach,	pcic_pci_detach),
|  	DEVMETHOD(device_suspend,	bus_generic_suspend),
|  	DEVMETHOD(device_resume,	bus_generic_resume),
| -	DEVMETHOD(device_shutdown,	pcic_pci_shutdown),
| +	DEVMETHOD(device_shutdown,	bus_generic_shutdown),
|  
|  	/* Bus interface */
|  	DEVMETHOD(bus_print_child,	bus_generic_print_child),
| 
| Please give it a try and let me know if it works for you.

FYI, that fixes the reboot problem on my ThinkPad 560x.  Thanks,

Doug A.

PS. here is the dmesg:
560x% dmesg
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 4.4-STABLE #5: Fri Oct  5 09:23:39 PDT 2001
    ambrisko@560x.ambrisko.com:/usr/src/sys/compile/560
Timecounter "i8254"  frequency 1193182 Hz
CPU: Pentium/P54C (120.68-MHz 586-class CPU)
  Origin = "GenuineIntel"  Id = 0x52c  Stepping = 12
  Features=0x1bf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8>
real memory  = 41943040 (40960K bytes)
avail memory = 37670912 (36788K bytes)
Preloaded elf kernel "kernel" at 0xc032d000.
Intel Pentium detected, installing workaround for F00F bug
pcibios: No call entry point
apm0: <APM BIOS> on motherboard
apm: found APM BIOS v1.2, connected at v1.2
npx0: <math processor> on motherboard
npx0: INT 16 interface
pcib0: <Host to PCI bridge> on motherboard
pci0: <PCI bus> on pcib0
chip1: <PCI to Other bridge (vendor=8086 device=1234)> at device 1.0 on pci0
pci0: <Trident model 9660 VGA-compatible display device> at 3.0 irq 0
pcic0: <Cirrus Logic PD6729/6730 PC-Card Controller> port 0x3e0-0x3e3 irq 0 at d
evice 19.0 on pci0
ID is 0x82
ID is 0x82
pcic0: Management interrupt on ISA IRQ 3
pccard0: <PC Card bus (classic)> on pcic0
pccard1: <PC Card bus (classic)> on pcic0
isa0: <ISA bus> on motherboard
orm0: <Option ROM> at iomem 0xc0000-0xc7fff on isa0
fdc0: <NEC 72065B or clone> at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0
fdc0: FIFO enabled, 8 bytes threshold
ata0 at port 0x1f0-0x1f7,0x3f6 irq 14 on isa0
atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: model Generic PS/2 mouse, device ID 0
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A
ppc0: cannot reserve I/O port range
ad0: 2067MB <IBM-DTNA-22160> [4200/16/63] at ata0-master BIOSPIO
Mounting root from ufs:/dev/ad0s2a
pccard: card inserted, slot 0
an0: <Aironet PC4500/PC4800> at port 0x240-0x27f irq 10 slot 0 on pccard0
an0: Ethernet address: 00:40:96:32:89:15
560x% 

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-mobile" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200110060440.f964eas12782>