|
Hi everyone,
I have Sony PCG-XG9 notebook (Pentium III 500, 128MB) using Mandrake 6.1 (kernel 2.2.13-22mdk). PCMCIA services (3.1.9) worked fine (so far using only Megahertz XJack 28 V.34 modem) until I installed sound drivers from OSS, 4Front Technologies. I don't seem to get more help from them (claim that it is PCMCIA problem). Below is the description of my problems: !!! None of the below problems occur if sound is not on !!! PCMCIA services start at boot; if I insert the modem card and then run "soundon" command everything is OK, no error messages, sound and modem work. However, after turning sound on any attempts to insert or remove PC card (modem in my case) lock completely the system. I even tried "cardctl eject" or "cardctl insert" before physically removing the card. The system locks upon invocation of cardctl eject. I have to power off the computer (Ctr+ALt+Del doesn't work). What works (after soundon is invoked) is the following: with card still inserted I shut down PCMCIA services and then remove the card. Furthermore, while PCMCIA services are shut down I can insert another PC card, start PCMCIA services and everything seems to be working. I read in PCMCIA-HOWTO that locking the system during insertion or removal of cards are due to memory probe failures and/or timing register problem. I restricted the memory window corresponding to what I found in Windows/DOS PCMCIA drivers, it accepts it OK but the same problem (lockup) occurs. I tried to change various configurations of PCMCIA setup (irq_list, cs_irq, poll_interval, do_pci_probe, pci_csc, pci_int, cmd_time, setup_time) without any success. I restricted probed IRQ to just one free interrupt, restricted interrupt used for card status changes (cs_irq), nothing seems to work. There is one parameter specific to Ricoh Cardbus (from man i82365)
irq_mode=n
Selects the interrupt routing method. A value of 1
selects ISA interrupt routing, and 2 selects inter-
rupt routing via an external serial interrupt con-
troller. The default is to use whatever routing
method is already enabled.
If I set it to irq_mode=2 (although I am not entirely certain what I am doing here) then I don't have lockups with card insertion and/or injection. Sound works, but my modem DOES NOT !!! I found it by accident and I hope that it might help. Finally, if PNP is activated in BIOS, I don't have the above lockups but, sound doesn't work correctly (the same sound or part of a sound clip is being repeated). I use defaults config.opts with irq5 excluded. Starting PCMCIA services not at boot time also doesn't help ! Thanks for any suggestions. Jacek Below, I provide outputs of "cat /proc/pci, /proc/interrupts, /proc/modules, /proc/ioports", "cardctl config", and "dmesg"
"cat /proc/pci"
PCI devices found:
Bus 0, device 0, function 0:
Host bridge: Intel 440BX - 82443BX Host (rev 3).
Medium devsel. Master Capable. Latency=64.
Prefetchable 32 bit memory at 0x40000000 [0x40000008].
Bus 0, device 1, function 0:
PCI bridge: Intel 440BX - 82443BX AGP (rev 3).
Medium devsel. Master Capable. Latency=128. Min Gnt=140.
Bus 0, device 7, function 0:
ISA bridge: Intel 82371AB PIIX4 ISA (rev 2).
Medium devsel. Fast back-to-back capable. Master Capable. No bursts.
Bus 0, device 7, function 1:
IDE interface: Intel 82371AB PIIX4 IDE (rev 1).
Medium devsel. Fast back-to-back capable. Master Capable. Latency=64.
I/O at 0xfc90 [0xfc91].
Bus 0, device 7, function 2:
USB Controller: Intel 82371AB PIIX4 USB (rev 1).
Medium devsel. Fast back-to-back capable. IRQ 9. Master Capable. Latency=64.
I/O at 0xfca0 [0xfca1].
Bus 0, device 7, function 3:
Bridge: Intel 82371AB PIIX4 ACPI (rev 3).
Medium devsel. Fast back-to-back capable.
Bus 0, device 8, function 0:
FireWire (IEEE 1394): Unknown vendor Unknown device (rev 2).
Vendor id=104d. Device id=8039.
Medium devsel. IRQ 9. Master Capable. Latency=64. Min Gnt=4.Max Lat=4.
Non-prefetchable 32 bit memory at 0xfedf7000 [0xfedf7000].
Non-prefetchable 32 bit memory at 0xfedf7c00 [0xfedf7c00].
Bus 0, device 9, function 0:
Multimedia audio controller: Unknown vendor Unknown device (rev 2).
Vendor id=1073. Device id=10.
Medium devsel. IRQ 9. Master Capable. Latency=64. Min Gnt=5.Max Lat=25.
Non-prefetchable 32 bit memory at 0xfedf8000 [0xfedf8000].
I/O at 0xfcc0 [0xfcc1].
I/O at 0xfc8c [0xfc8d].
Bus 0, device 10, function 0:
Communication controller: Unknown vendor Unknown device (rev 1).
Vendor id=127a. Device id=2005.
Medium devsel. Fast back-to-back capable. IRQ 9. Master Capable. Latency=64.
Non-prefetchable 32 bit memory at 0xfede0000 [0xfede0000].
I/O at 0xfc78 [0xfc79].
Bus 0, device 12, function 0:
CardBus bridge: Ricoh Unknown device (rev 128).
Vendor id=1180. Device id=478.
Medium devsel. Master Capable. Latency=168. Min Gnt=128.Max Lat=4.
Bus 0, device 12, function 1:
CardBus bridge: Ricoh Unknown device (rev 128).
Vendor id=1180. Device id=478.
Medium devsel. Master Capable. Latency=168. Min Gnt=128.Max Lat=4.
Bus 1, device 0, function 0:
VGA compatible controller: Neomagic Unknown device (rev 32).
Vendor id=10c8. Device id=5.
Medium devsel. Fast back-to-back capable. IRQ 9. Master Capable. Latency=128. Min Gnt=16.Max Lat=255.
Prefetchable 32 bit memory at 0xfd000000 [0xfd000008].
Non-prefetchable 32 bit memory at 0xfe800000 [0xfe800000].
Non-prefetchable 32 bit memory at 0xfec00000 [0xfec00000].
"cat /proc/interrupts"
CPU0 0: 24669 XT-PIC timer 1: 1436 XT-PIC keyboard 2: 0 XT-PIC cascade 5: 0 XT-PIC MPU-401 UART 8: 1 XT-PIC rtc 9: 0 XT-PIC Yamaha DS-XG 12: 0 XT-PIC PS/2 Mouse 13: 1 XT-PIC fpu 14: 53286 XT-PIC ide0 15: 4 XT-PIC ide1 NMI: 0 ERR: 0
"cat /proc/modules"
ymf724 23396 0 audiobuf 11088 0 [ymf724] opl3 13912 0 [ymf724] uart401 6892 0 [ymf724] midi 28732 0 [opl3 uart401] ac97 4656 0 [ymf724] soundbase 483584 0 [ymf724 audiobuf opl3 uart401 midi ac97] sndshield 5356 0 [ymf724 audiobuf opl3 uart401 midi ac97 soundbase] serial_cs 5296 0 (unused) ds 6348 2 [serial_cs] i82365 21700 2 pcmcia_core 41984 0 [serial_cs ds i82365] nls_iso8859-1 2052 2 (autoclean) nls_cp437 3548 2 (autoclean) vfat 11100 2 (autoclean) fat 33664 2 (autoclean) [vfat]
"cat /proc/ioports"
0000-001f : dma1 0020-003f : pic1 0040-005f : timer 0060-006f : keyboard 0070-007f : rtc 0080-008f : dma page reg 00a0-00bf : pic2 00c0-00df : dma2 00f0-00ff : fpu 0170-0177 : ide1 01f0-01f7 : ide0 0330-0333 : MPU-401 UART 0376-0376 : ide1 03c0-03df : vga+ 03e8-03ef : serial(auto) 03f6-03f6 : ide0 03f8-03ff : serial(auto) 13f8-13ff : serial_cs fc90-fc97 : ide0 fc98-fc9f : ide1
"cardctl config"
Socket 0:
not configured
Socket 1:
Vcc 5.0V Vpp1 0.0V Vpp2 0.0V
interface type is "memory and I/O"
irq 3 [exclusive] [level]
Speaker output is enabled
function 0:
config base 0x0100
option 0x60 status 0x08 pin 0x00 copy 0x00
io 0x13f8-0x13ff [8bit]
"dmesg"
Linux version 2.2.13-22mdk (root@kenobi.mandrakesoft.com) (gcc version egcs-2.91.66 19990314/Linux (egcs-1.1.2 release)) #1 SMP Fri Oct 22 02:06:33 CEST 1999 mapped APIC to ffffe000 (00298000) Detected 496317320 Hz processor. Console: colour VGA+ 80x25 Calibrating delay loop... 494.80 BogoMIPS Memory: 127664k/131008k available (1172k kernel code, 424k reserved, 1668k data, 80k init, 0k bigmem) DENTRY hash table entries: 262144 (order: 9, 2097152 bytes) Buffer-cache hash table entries: 131072 (order: 7, 524288 bytes) Page-cache hash table entries: 32768 (order: 5, 131072 bytes) VFS: Diskquotas version dquot_6.4.0 initialized Enabling extended fast FPU save and restore...done. Not enabling KNI unmasked exception support Exception 19 error handler not integrated yet Checking 386/387 coupling... OK, FPU using exception 16 error reporting. Checking 'hlt' instruction... OK. POSIX conformance testing by UNIFIX mtrr: v1.35a (19990819) Richard Gooch (rgooch@atnf.csiro.au) per-CPU timeslice cutoff: 0.00 usecs. CPU0: Intel Pentium III (Coppermine) stepping 01 SMP motherboard not detected. Using dummy APIC emulation. PCI: PCI BIOS revision 2.10 entry at 0xfd99e PCI: Using configuration type 1 PCI: Probing PCI hardware Linux NET4.0 for Linux 2.2 Based upon Swansea University Computer Society NET3.039 NET4: Unix domain sockets 1.0 for Linux NET4.0. NET4: Linux TCP/IP 1.0 for NET4.0 IP Protocols: ICMP, UDP, TCP, IGMP TCP: Hash tables configured (ehash 131072 bhash 65536) Initializing RT netlink socket Starting kswapd v 1.5 Detected PS/2 Mouse Port. Serial driver version 4.27 with MANY_PORTS MULTIPORT SHARE_IRQ enabled ttyS00 at 0x03f8 (irq = 4) is a 16550A ttyS02 at 0x03e8 (irq = 4) is a 8250 pty: 256 Unix98 ptys configured apm: BIOS version 1.2 Flags 0x03 (Driver version 1.9) Real Time Clock Driver v1.09 RAM disk driver initialized: 16 RAM disks of 20480K size PIIX4: IDE controller on PCI bus 00 dev 39 PIIX4: not 100% native mode: will probe irqs later ide0: BM-DMA at 0xfc90-0xfc97, BIOS settings: hda:DMA, hdb:pio ide1: BM-DMA at 0xfc98-0xfc9f, BIOS settings: hdc:DMA, hdd:pio hda: IBM-DARA-218000, ATA DISK drive hdc: TOSHIBA DVD-ROM SD-C2202, ATAPI CDROM drive ide2: ports already in use, skipping probe ide0 at 0x1f0-0x1f7,0x3f6 on irq 14 ide1 at 0x170-0x177,0x376 on irq 15 hda: IBM-DARA-218000, 17301MB w/418kB Cache, CHS=2205/255/63 hdc: ATAPI 24X DVD-ROM drive, 128kB Cache Uniform CDROM driver Revision: 2.56 Floppy drive(s): fd0 is 1.44M FDC 0 is a National Semiconductor PC87306 md driver 0.90.0 MAX_MD_DEVS=256, MAX_REAL=12 raid5: measuring checksumming speed raid5: KNI detected, trying cache-avoiding KNI checksum routine pIII_kni : 995.172 MB/sec raid5: MMX detected, trying high-speed MMX checksum routines pII_mmx : 1236.345 MB/sec p5_mmx : 1298.448 MB/sec 8regs : 609.600 MB/sec 32regs : 347.853 MB/sec using fastest function: pIII_kni (995.172 MB/sec) scsi : 0 hosts. scsi : detected total. md.c: sizeof(mdp_super_t) = 4096 Partition check: hda: hda1 hda2 < hda5 > hda3 hda4 autodetecting RAID arrays autorun ... ... autorun DONE. VFS: Mounted root (ext2 filesystem) readonly. Freeing unused kernel memory: 80k freed Adding Swap: 104416k swap-space (priority -1) Linux PCMCIA Card Services 3.1.9 kernel build: 2.2.13-22mdk #1 SMP Fri Oct 22 02:06:33 CEST 1999 options: [pci] [cardbus] [apm] Intel PCIC probe: Ricoh RL5C478 PCI-to-CardBus at bus 0 slot 12, mem 0x68000000, 2 sockets host opts [0]: [isa irq] [io 3/6/1] [mem 3/6/1] [no pci irq] [lat 168/176] [bus 32/34] host opts [1]: [isa irq] [io 3/6/1] [mem 3/6/1] [no pci irq] [lat 168/176] [bus 35/37] ISA irqs (default) = 3,4,5,7,10,11,12 polling interval = 1000 ms cs: IO port probe 0x1000-0x17ff: excluding 0x1040-0x104f cs: IO port probe 0x0100-0x04ff: excluding 0x220-0x22f 0x330-0x337 0x378-0x37f 0x388-0x38f 0x398-0x39f 0x4d0-0x4d7 cs: IO port probe 0x0a00-0x0aff: clean. cs: memory probe 0xa0000000-0xa0ffffff: clean. tty01 at 0x13f8 (irq = 3) is a 16550A
|
[ Edit This Forum ]