Date: Thu, 5 Jul 2001 21:13:38 -0400 (EDT) From: "H. Wade Minter" <minter@lunenburg.org> To: Greg Smith <freebsd_mail@yahoo.com> Cc: <freebsd-mobile@FreeBSD.ORG> Subject: Re: 4.3-R lockup with Xircom RealPort REM56 (non-cardbus) Message-ID: <20010705211219.L22123-100000@ashburn.skiltech.com> In-Reply-To: <200107051734220850.01EB7042@smtp.mail.yahoo.com>
next in thread | previous in thread | raw e-mail | index | archive | help
I disabled the IR port (IRQ 3) in the BIOS, and moved the pccard controller to that. It seems to work fine. I then set up the Xircom to use IRQ 10. Inserting the card presents the same lockup as before. I added "pccard_mem=0xd8000" to rc.conf. Same thing. :-/ Any other things to try? --Wade On Thu, 5 Jul 2001, Greg Smith wrote: > Wade, > > Have you checked the BIOS to see if you can disable the IR, serial > port, or sound. That is three possible IRQs. Also, I think you can > get away without using IRQ 7 for printing under FreeBSD, although I > haven't tried that. You could disable the parallel port entirely, > freeing up IRQ 7. > > If you can't disable anything, the BIOS might still allow you to move > the IR to IRQ 4. > > Greg > > -----Original Message----- > > >Ok, I booted into Win98 and used Compaq's diagnostics to get my IRQ > list. > >Here's what it shows > > > >0 - System Timer > >1 - Keyboard > >2 - "Programmable interrupt controller" > >3 - Infared port > >4 - COM1 > >5 - Meastro DOS Games/FM devices > >6 - Floppy controller > >7 - Printer port > >8 - CMOS/RTC > >9 - SCI IRQ used by ACPI bus > >10 - None > >11 - A ton of stuff > >12 - Compaq EasyPoint IV > >13 - Numeric data processor > >14 - Primary IDE > >15 - Secondary IDE > > > >So it looks like there's one free IRQ, but that will have to get > assigned > >to the PCMCIA controller itself, right? Leaving none free for the > card? > > > >--Wade > > > >On Thu, 5 Jul 2001, Greg Smith wrote: > > > >> Wade, > >> > >> A shortcut is to boot -v then send us the dmesg output, but you are > >> still vulnerable where FreeBSD does not detect a resource is in use. > >> Windows is much smarter and more thorough about resources. > >> > >> Is your pccard.conf still referencing config 0x27, which is what I > see > >> in 4.3-stable? > >> > >> Greg > >> > >> -----Original Message----- > >> > >> >Ok, I've assigned IRQ 10 to the PCMCIA controller. "dmesg | grep > -i > >> irq" > >> >and "vmstat -i" show 10 as free. > >> > > >> >So the system boots up fine with or without the card in it. When I > >> insert > >> >the card or it gets detected on bootup, the system beeps and prints > >> out > >> >"pccard: card inserted, slot 0" to the console. > >> > > >> >It then prints out some pccardd messages that it has matched CEM56, > >> which > >> >looks right. > >> > > >> >It then prints out: > >> >xe0 at port 0x2e8-0x2ef iomem 0xd0000-0xd0fff irq 3 slot 0 on > pccard0 > >> > > >> >and hangs the system. If I go to eject the card, the system comes > >> back > >> >with: > >> > > >> >kernel trap 19 with interrupts disabled. > >> > > >> >Then prints out a fatal trap and tries to reboot. > >> > > >> >Ideas? > >> > > >> >On Thu, 5 Jul 2001, Scott Mitchell wrote: > >> > > >> >> On Thu, Jul 05, 2001 at 11:48:32AM -0400, H. Wade Minter wrote: > >> >> > I'm working with 4.3-RELEASE on my Compaq Armada M700 laptop. > I > >> have a > >> >> > Xircom RealPort REM56G (the non-cardbus type) ethernet/modem > card. > >> >> > > >> >> > When I tried the install, it would lock the system with the > card > >> in the > >> >> > PCMCIA slot. I removed the card and finished the install, but > now > >> >> > whenever I put the card in, the system freezes. > >> >> > > >> >> > The card works under both Linux and Windows on this laptop, so > I > >> don't > >> >> > think it's hardware. > >> >> > > >> >> > This card should work under 4.3-R, from what I can tell. Does > >> anyone > >> >have > >> >> > any pointers? > >> >> > >> >> The first thing you should do is make sure your PCMCIA controller > >> has an > >> >> IRQ assigned to it. Greg Smith explained how to do this way > better > >> than > >> >I > >> >> would in an earlier thread: > >> >> > >> >> On Mon, Jul 02, 2001 at 01:46:01AM -0700, Greg Smith wrote: > >> >> > Jeremiah, > >> >> > > >> >> > If the Sony card implies a Sony laptop, then you definitely > could > >> use > >> >> > an irq on the pcic device. > >> >> > > >> >> > There are three ways to assign an IRQ to the pcic: > >> >> > > >> >> > 1) the "long" way: rebuild the kernel with > >> >> > > >> >> > device pcic0 at isa? irq 9 > >> >> > > >> >> > > >> >> > 2) the "Peter" way: update /boot/loader.conf with > >> >> > > >> >> > machdep.pccard.pcic_irq="09" > >> >> > > >> >> > > >> >> > 3) the "Greg" way: update /boot/loader.conf with > >> >> > > >> >> > userconfig_script_load="YES" > >> >> > > >> >> > and /boot/kernel.conf with > >> >> > > >> >> > ir pcic0 9 > >> >> > q > >> >> > > >> >> > This method assumes your kernel has device pcic0 and not just > >> device > >> >> > pcic. This is true in GENERIC kernels. > >> >> > > >> >> > [The userconfig solution is generalizable to the various > devices > >> (with > >> >> > unit numbers) in the kernel, with at least the following > commands: > >> >> > > >> >> > di sio1 (disable) > >> >> > en pcic1 (enable) > >> >> > po pcm0 0x530 (set port) > >> >> > ir pcic0 9 (set IRQ) > >> >> > dr pcm0 1 (set DRQ) > >> >> > iom pcic0 0xd8000 (set iomem) > >> >> > ios ata2 16 (set iosize) > >> >> > f pcm0 0x10 (set flags) > >> >> > ls (list all configurable devices) > >> >> > q (last line) > >> >> > > >> >> > This is very handy on those older machines where it takes a > long > >> time > >> >> > to rebuild the kernel. Try boot -c to get the whole picture.] > >> >> > > >> >> > All examples above assume irq 9 is the one you want to use. > >> Substitute > >> >> > as appropriate. > >> >> > > >> >> > Greg > >> >> > >> >> The card is definitely supported (I'm using one myself -- the > >> >Ethernet-only > >> >> model, but it's the same hardware), so chances are this will > solve > >> your > >> >> problem. If not, post your dmesg output and we'll see if that > sheds > >> any > >> >> light on the issue. > >> >> > >> >> Cheers, > >> >> > >> >> Scott > >> >> > >> >> -- > >> >> > >> > >======================================================================= > > >> ==== > >> >> Scott Mitchell | PGP Key ID | "Eagles may soar, but > weasels > >> >> Cambridge, England | 0x54B171B9 | don't get sucked into jet > >> >engines" > >> >> scott.mitchell@mail.com | 0xAA775B8B | -- Anon > >> >> > >> > > >> > > >> >To Unsubscribe: send mail to majordomo@FreeBSD.org > >> >with "unsubscribe freebsd-mobile" in the body of the message > >> > >> > >> > >> > >> _________________________________________________________ > >> Do You Yahoo!? > >> Get your free @yahoo.com address at http://mail.yahoo.com > >> > > > > > _________________________________________________________ > Do You Yahoo!? > Get your free @yahoo.com address at http://mail.yahoo.com > 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?20010705211219.L22123-100000>