Re: 3Com 3CXM756 Card not working with Suse 8.1
"Ajit Belsarkar" <[email protected]> Wed, 17 Dec 2003 19:20:44 -0500
| Newsgroups | gmane.linux.pcmcia.devel |
|---|---|
| Message-ID | <[email protected]> |
hi David, Thanks for replying. I have a dual boot laptop so I copied the responses on a floppy and pasted in a file below. I have pasted the config.opts completely, rest all I have taken relevant sections. My laptop does not have a serial port, I guessed that /dev/ttyS1 was a modem from the fact that its time stamp would be boot time. I bought the 3Com from store. Thanks Ajit ************************************************************************** *********************************************************************** #I added following lines to /etc/config file rest everything is same *********************************************************************** card "3Com Megahertz 3CXM756/3CCM756" manfid 0x0101, 0x003F bind "serial_cs" *********************************************************************** #Output of cardctl ident command is *********************************************************************** linux:/etc/pcmcia # cardctl ident Socket 0: product info: "3Com Megahertz", "3CXM756/3CCM756" manfid: 0x0101, 0x003f function: 2 (serial) Socket 1: no product info available *********************************************************************** #Here is the config.opts file *********************************************************************** # # Local PCMCIA Configuration File # #---------------------------------------------------------------------- # System resources available for PCMCIA devices # The following "include port" line below needs to be changed to ONLY include port # 0x100-0x4ff if you are using the 3Com Megahertz 3CXM/CM756. You should also comment out # the IBM Token Ring "include port" line. # ports 0x810-0x81f hurt on some DELL machines # include port 0x100-0x4ff, port 0x800-0x8ff, port 0xc00-0xcff # include port 0x100-0x4ff, port 0x1000-0x17ff include port 0x100-0x4ff include memory 0xc0000-0xfffff include memory 0xa0000000-0xa0ffffff, memory 0x60000000-0x60ffffff # High port numbers do not always work... # include port 0x1000-0x17ff # Extra port range for IBM Token Ring #include port 0xa00-0xaff # Resources we should not use, even if they appear to be available # First built-in serial port exclude irq 4 # Second built-in serial port # exclude irq 3 # First built-in parallel port exclude irq 7 # PS/2 Mouse controller port, comment this out if you don't have a PS/2 # based mouse exclude irq 12 exclude irq 3, port 0x03f8-0x3f8 exclude irq 4, port 0x03e8-0x3e8 exclude irq 3, port 0x02e8-0x2e8 #---------------------------------------------------------------------- # Examples of options for loadable modules # To fix sluggish network with IBM ethernet adapter... #module "pcnet_cs" opts "mem_speed=600" # Options for IBM Token Ring adapters #module "ibmtr_cs" opts "mmiobase=0xd0000 srambase=0xd4000" ****************************************************************** System log in /var/log/messages ***************************************************************** Dec 17 18:41:52 linux rcpcmcia: /sbin/insmod /lib/modules/2.4.19-4GB/kernel/drivers/pcmcia/pcmcia_core.o Dec 17 18:41:52 linux rcpcmcia: /sbin/insmod /lib/modules/2.4.19-4GB/kernel/drivers/pcmcia/ds.o Dec 17 18:41:52 linux cardmgr[803]: modpath = /lib/modules/2.4.19-4GB/ Dec 17 18:41:52 linux cardmgr[803]: modsubdir = pcmcia Dec 17 18:41:53 linux cardmgr[803]: watching 2 sockets Dec 17 18:41:53 linux kernel: cs: IO port probe 0x0100-0x04ff: excluding 0x378-0x37f 0x4d0-0x4d7 Dec 17 18:41:53 linux cardmgr[805]: starting, version is 3.2.0 Dec 17 18:41:53 linux kernel: cs: memory probe 0xa0000000-0xa0ffffff: clean. Dec 17 18:41:53 linux cardmgr[805]: socket 0: 3Com Megahertz 3CXM756/3CCM756 Dec 17 18:41:53 linux cardmgr[805]: executing: 'insmod -v /lib/modules/2.4.19-4GB//pcmcia/serial_cs.o' Dec 17 18:41:53 linux cardmgr[805]: + Using /lib/modules/2.4.19-4GB//pcmcia/serial_cs.o Dec 17 18:41:53 linux cardmgr[805]: + Symbol version prefix '' Dec 17 18:41:53 linux kernel: serial_cs: RequestIO: No more items Dec 17 18:41:54 linux cardmgr[805]: get dev info on socket 0 failed: Resource temporarily unavailable ****************************************************************** Output of the setserial commands ***************************************************************** linux:/var/log # setserial /dev/ttyS0; setserial /dev/ttyS1; setserial /dev/ttyS2; setserial /dev/ttyS3; setserial /dev/ttyS4 /dev/ttyS0, UART: unknown, Port: 0x03f8, IRQ: 4 /dev/ttyS1, UART: 16550A, Port: 0x02f8, IRQ: 3 /dev/ttyS2, UART: unknown, Port: 0x03e8, IRQ: 4 /dev/ttyS3, UART: unknown, Port: 0x02e8, IRQ: 3 /dev/ttyS4, UART: unknown, Port: 0xffffffff, IRQ: 0 ****************************************************************** Contents of the /proc/interrupts file ***************************************************************** 0: 133656 XT-PIC timer 1: 5328 XT-PIC keyboard 2: 0 XT-PIC cascade 5: 0 XT-PIC usb-uhci, usb-uhci, Allegro 6: 265 XT-PIC floppy 8: 2 XT-PIC rtc 9: 9067 XT-PIC acpi, eth0, usb-uhci, PCI device 1217:6933, PCI device 1217:6933 14: 8437 XT-PIC ide0 15: 436 XT-PIC ide1 NMI: 0 LOC: 0 ERR: 0 MIS: 0 ~ ************************************************************************** >From: David Hinds <[email protected]> >To: Ajit Belsarkar <[email protected]> >CC: [email protected] >Subject: Re: [Pcmcia-cs-devel]3Com 3CXM756 Card not working with Suse 8.1 >Date: Wed, 17 Dec 2003 14:17:22 -0800 > >On Wed, Dec 17, 2003 at 03:39:54PM -0500, Ajit Belsarkar wrote: > > > I bought a 3CXM756 card and am trying to make it work with my SuSe Linux >HP > > Pavillion N5445 Laptop. I could get it to work on Windows XP, so I know >the > > hardware is good.I did not find the card in the HOWTO list. But >apparently > > it is supported. I edited the config file to add this Modem with a bind >for > > serial port driver. > >Please show exactly what you added to the config file. > > > Whenever I insert the card and boot the machine, I get two beeps one >High > > and a low indicating that it does not like something. > > > > Here is what all the things I tried. > > 1. Edit the /etc/pcmcia/config.opts for "include ports 0x100-0x3FF" (I >got > > this file from 3Com website + additions from other people'e experiences) > > > > exclude irq 4 port 0x3F8-0x3F8 > > exclude irq 3 port 0x2e8-0x2e8 > > exclude irq 3 port 0x3e8-0x3e8 > > > > When I do the setserial /dev/ttyS1 > > I get > > UART 16550, Irq 3 > >/dev/ttyS1 is (apparently) a built-in serial port, it is not your >PCMCIA card, and it is not a modem. > > > I tried to see the system log, in /var/log/messages, and I got the > > error that irq 3 "autoconf failed" "get dev info failed" resource > > temporarily unavailable > >Please show actual messages and not a synopsis of what they were. > >Until the "autoconf failed" problem is fixed, there is no point in >testing a serial port, because no serial port was assigned to the >card. > > > I have a suspicion that it is a resource clash, but I am just not able >to > > find it and get rid of it. How do you guys test a modem whether it is > > working or not? Do you use wvdial? > >The PCMCIA-HOWTO has specific instructions. > >A stupid question: you bought the modem new, from a store, right? > >-- Dave _________________________________________________________________ Have fun customizing MSN Messenger learn how here! http://www.msnmessenger-download.com/tracking/reach_customize ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click