From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 In-Reply-To: <12938.1262311129@lunacy.ugrad.cs.cmu.edu> References: <12938.1262311129@lunacy.ugrad.cs.cmu.edu> Date: Sat, 9 Jan 2010 06:21:02 +0100 Message-ID: From: Frederik Caulier To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: text/plain; charset=UTF-8 Subject: Re: [9fans] JVC Netbook works fine, except PCMCIA Topicbox-Message-UUID: bb399092-ead5-11e9-9d60-3106f5b1d025 Hello I just recompiled the kernel with your suggested modification in line 239 of the /sys/src/9/pc/devarch.c file. Good news: The "port 0x400 in use" disappeared and the rtl8139 PC Card is now correctly recognized as: #l0: rtl8139: 10Mbps port 0x400 irq 11: 001b1159be56 (LEDs are active) Bad news: When booting the system with the rtl8139 PC Card plugged in the kernel crashes on boot. Here's what I get on boot when the card is plugged in: [...] cpu0: 748MHz GenuineIntel Pentium III/Xon (cpuid: AX 0x06B1 DX 0x383F9FF) ELCR: 08B0 #Y0: Ricoh 475 PCI/Cardbus brigde, 000DE000 intl 11 PCI.32.0.0 mem[1] 0e000000 512 #l0: rtl8139: 10Mbps port 0x400 irq 11: 001b1159be56 # the said pc card ns83815: auto neg timed out 224M memory: 92M kernel data, 132M user, 507M swap cpu0: registers for *init* 1 FLAGS=10046 TRAP=0 ECODE=F0100674 PC=F0142306 SS=6FE3 USP=438 AX 00010000 BX 00000000 CX F004B240 DX 00000000 SI F041F008 DI 00000000 BP F041F008 CS 0010 DS 0008 ES 0008 FS 0008 GS 0008 CR0 80010039 CR2 00000000 CR3 00012000 CR4 000000d0 MCA 00000000 MCT 00000000 ur 0xf004d028 up 0xf041f008 dumpstack disabled panic: divide error panic: divide error dumpstack disabled cpu0: exciting When booting the new, modified kernel without the rtl8139 pc card being plugged in the system boots just fine. Help on how to fix this is very welcome. Best regards, F. Caulier