problem configuring pcmcia card
Hello, I'm trying to use a cdrom and a modem/ethernet card on my laptop (asus L8400) They are both detected at boot time, but I'm unable to use them afer. Here are the message I have for the cdrom: pr 17 20:02:07 (none) kernel: Linux Kernel Card Services 3.1.22 Apr 17 20:02:07 (none) kernel: options: [pci] [cardbus] [pm] Apr 17 20:02:07 (none) kernel: PCI: Found IRQ 9 for device 00:0a.0 Apr 17 20:02:07 (none) kernel: PCI: Sharing IRQ 9 with 01:00.0 Apr 17 20:02:07 (none) kernel: PCI: Assigned IRQ 9 for device 00:0a.1 Apr 17 20:02:07 (none) kernel: Yenta IRQ list 08b8, PCI irq9 Apr 17 20:02:07 (none) kernel: Socket status: 3410 Apr 17 20:02:07 (none) kernel: Yenta IRQ list 08b8, PCI irq9 Apr 17 20:02:07 (none) kernel: Socket status: 3006 Apr 17 20:02:08 (none) kernel: cs: memory probe 0x0c-0x0f: excluding 0xc-0xcbfff 0xe-0xf Apr 17 20:02:15 (none) kernel: hdc: probing with STATUS(0x80) instead of ALTSTATUS(0xff) Apr 17 20:02:15 (none) kernel: hdc: ARCHOS MiniCDRW XS8432, ATAPI CD/DVD-ROM drive Apr 17 20:02:15 (none) kernel: hdc: IRQ probe failed (0xb9f8) Apr 17 20:02:15 (none) kernel: ide1: DISABLED, NO IRQ Apr 17 20:02:17 (none) kernel: hdc: ERROR, PORTS ALREADY IN USE Apr 17 20:02:19 (none) kernel: ide1: ports already in use, skipping probe Apr 17 20:02:26 (none) last message repeated 3 times Apr 17 20:02:28 (none) kernel: ide1: ports already in use, skipping probe Apr 17 20:02:34 (none) last message repeated 3 times Apr 17 20:02:34 (none) kernel: ide_cs: ide_register() at 0x100 & 0x10e, irq 0 failed Apr 17 20:02:34 (none) kernel: Trying to free nonexistent resource <0100-010f> and the message I have for the modem/ethernet card: pr 17 20:02:07 (none) kernel: Linux Kernel Card Services 3.1.22 Apr 17 20:02:07 (none) kernel: options: [pci] [cardbus] [pm] Apr 17 20:02:07 (none) kernel: PCI: Found IRQ 9 for device 00:0a.0 Apr 17 20:02:07 (none) kernel: PCI: Sharing IRQ 9 with 01:00.0 Apr 17 20:02:07 (none) kernel: PCI: Assigned IRQ 9 for device 00:0a.1 Apr 17 20:02:07 (none) kernel: Yenta IRQ list 08b8, PCI irq9 Apr 17 20:02:07 (none) kernel: Socket status: 3410 Apr 17 20:02:07 (none) kernel: Yenta IRQ list 08b8, PCI irq9 Apr 17 20:02:07 (none) kernel: Socket status: 3006 Apr 17 20:02:08 (none) kernel: cs: memory probe 0x0c-0x0f: excluding 0xc-0xcbfff 0xe-0xf Apr 17 20:02:15 (none) kernel: hdc: probing with STATUS(0x80) instead of ALTSTATUS(0xff) Apr 17 20:02:15 (none) kernel: hdc: ARCHOS MiniCDRW XS8432, ATAPI CD/DVD-ROM drive Apr 17 20:02:15 (none) kernel: hdc: IRQ probe failed (0xb9f8) Apr 17 20:02:15 (none) kernel: ide1: DISABLED, NO IRQ Apr 17 20:02:17 (none) kernel: hdc: ERROR, PORTS ALREADY IN USE Apr 17 20:02:19 (none) kernel: ide1: ports already in use, skipping probe Apr 17 20:02:26 (none) last message repeated 3 times Apr 17 20:02:28 (none) kernel: ide1: ports already in use, skipping probe Apr 17 20:02:34 (none) last message repeated 3 times Apr 17 20:02:34 (none) kernel: ide_cs: ide_register() at 0x100 & 0x10e, irq 0 failed Apr 17 20:02:34 (none) kernel: Trying to free nonexistent resource <0100-010f> The module are correctly loaded (lsmod looks OK), but I can't access those devices. If you have any suggestion ??? For information, my cdrom is an archos external cdrom, and the ethernet/modem card is a 3com 3CCFEM556B 10/100 LAN + 56K Modem. I was able to use the modem card under slackware, but I can't figure out how to use it under debian (my laptop has a winmodem...too bad). Thanks in advance for your help. Renaud
Re: problem configuring pcmcia card
En réponse à Jeff <[EMAIL PROTECTED]>: > Renaud de Villemeur, 2003-Apr-17 20:19 +0200: > > Hello, > > ALTSTATUS(0xff) > > Apr 17 20:02:15 (none) kernel: hdc: ARCHOS MiniCDRW XS8432, ATAPI > > CD/DVD-ROM drive > > Apr 17 20:02:15 (none) kernel: hdc: IRQ probe failed (0xb9f8) > > Apr 17 20:02:15 (none) kernel: ide1: DISABLED, NO IRQ > > Apr 17 20:02:17 (none) kernel: hdc: ERROR, PORTS ALREADY IN USE > > Apr 17 20:02:19 (none) kernel: ide1: ports already in use, skipping > probe > > Apr 17 20:02:26 (none) last message repeated 3 times > > Apr 17 20:02:28 (none) kernel: ide1: ports already in use, skipping > probe > > Apr 17 20:02:34 (none) last message repeated 3 times > > Apr 17 20:02:34 (none) kernel: ide_cs: ide_register() at 0x100 & > 0x10e, irq 0 failed > > Apr 17 20:02:34 (none) kernel: Trying to free nonexistent resource > > <0100-010f> > > This section of your cdrom. The system is finding the hardware, but > it can't find an available interupt to bind it to. Check > /proc/devices to see what devices are available for use and > /proc/interupts to see what's being used by which interupt. > Here is my /proc/devices file Character devices: 1 mem 2 pty 3 ttyp 4 ttyS 5 cua 7 vcs 10 misc 13 input 14 sound 29 fb 128 ptm 129 ptm 136 pts 137 pts 162 raw 180 usb 188 ttyUSB and the interrupt one. Block devices: 2 fduser@(none):/proc$ cat interrupts CPU0 0:1032379 XT-PIC timer 1: 7186 XT-PIC keyboard 2: 0 XT-PIC cascade 9: 30417 XT-PIC usb-uhci, eth0 10: 26883 XT-PIC Allegro 12: 92067 XT-PIC PS/2 Mouse 14: 15047 XT-PIC ide0 NMI: 0 ERR: 0 > The modules will load, but there are no binding behind them to allow > you to use them. > > > For information, my cdrom is an archos external cdrom, and the > ethernet/modem card > > is a 3com 3CCFEM556B 10/100 LAN + 56K Modem. > > I was able to use the modem card under slackware, but I can't figure > out how to use it > > under debian (my laptop has a winmodem...too bad). > > jc Can you tell me which command i should do next. I think I should pass some parameters to the kernel, but I can't figure which one. Renaud
Re: problem configuring pcmcia card
En réponse à Jeff <[EMAIL PROTECTED]>: > I don't see any "Block devices:" on your output. On mine, "ide0" is > my HDD (/dev/hda) and "ide1" is my CDROM drive. Also note my "pcmcia" > device, which I don't see on your output either. I was editing my file after a 'pcmcia stop', to show the free resource on my computer, as it say that 'kernel: hdc: IRQ probe failed (0xb9f8)' > What kernel are you using? I'm using a 2.4.20 self compiled kernel. I have also updated the /etc/sysconfig/pcmcia file, changing the controler from PCIC="i82365" to PCIC="yenta_socket". I also copy the file /etc/pcmcia/config to /etc/pcmcia/config-2.4. Before that, my card weren't even detected. Now, they are detected, but I think I have a problem in ressource allocation. I must I have made something wrong in my copy/paste from /proc/devices, as I can see fd (my floppy drive), ide0 (my hard drive), and ide1 (my cdrom). It says 'ide1: ports already in use, skipping probe', so I guess my pcmcia cdrom drive should use something like ide2. Is there any way to tell the module that I must use this ??? > As for the modem on the PCMCIA card, you need to have pcmica serial > card services enabled in the kernel to use that. The module is correctly loaded, but I can't figure out which serial drive is now created. /dev/ttyS?? I guess, but what are the ??. Where can I find that information. I can't see it in the kernel message log (I was looking for something like 'kernel: ttyS?? probing, but I must be wrong) > jc > > > -- > Jeff Coppock Systems Engineer > Diggin' DebianAdmin and User Renaud
Re: problem configuring pcmcia card
En réponse à Jeff <[EMAIL PROTECTED]>: > I don't see any "Block devices:" on your output. On mine, "ide0" is > my HDD (/dev/hda) and "ide1" is my CDROM drive. Also note my "pcmcia" > device, which I don't see on your output either. I was editing my file after a 'pcmcia stop', to show the free resource on my computer, as it say that 'kernel: hdc: IRQ probe failed (0xb9f8)' > What kernel are you using? I'm using a 2.4.20 self compiled kernel. I have also updated the /etc/sysconfig/pcmcia file, changing the controler from PCIC="i82365" to PCIC="yenta_socket". I also copy the file /etc/pcmcia/config to /etc/pcmcia/config-2.4. Before that, my card weren't even detected. Now, they are detected, but I think I have a problem in ressource allocation. I must I have made something wrong in my copy/paste from /proc/devices, as I can see fd (my floppy drive), ide0 (my hard drive), and ide1 (my cdrom). It says 'ide1: ports already in use, skipping probe', so I guess my pcmcia cdrom drive should use something like ide2. Is there any way to tell the module that I must use this ??? > As for the modem on the PCMCIA card, you need to have pcmica serial > card services enabled in the kernel to use that. The module is correctly loaded, but I can't figure out which serial drive is now created. /dev/ttyS?? I guess, but what are the ??. Where can I find that information. I can't see it in the kernel message log (I was looking for something like 'kernel: ttyS?? probing, but I must be wrong) > jc > > > -- > Jeff Coppock Systems Engineer > Diggin' DebianAdmin and User Renaud
Re: problem configuring pcmcia card
> It would seem you haven't compile ISA into your kernel. Thanks for the tips. I'm getting one step further, but I'm still running into trouble. Here are the last messages I have when I insert my cd-rom card. This one is from /var/log/syslog Apr 22 22:33:11 (none) kernel: Linux Kernel Card Services 3.1.22 Apr 22 22:33:11 (none) kernel: options: [pci] [cardbus] [pm] Apr 22 22:33:11 (none) kernel: PCI: Found IRQ 9 for device 00:0a.0 Apr 22 22:33:11 (none) kernel: PCI: Sharing IRQ 9 with 01:00.0 Apr 22 22:33:11 (none) kernel: PCI: Found IRQ 9 for device 00:0a.1 Apr 22 22:33:11 (none) kernel: Yenta IRQ list 00b8, PCI irq9 Apr 22 22:33:11 (none) kernel: Socket status: 3410 Apr 22 22:33:11 (none) kernel: Yenta IRQ list 08b8, PCI irq9 Apr 22 22:33:11 (none) kernel: Socket status: 3416 Apr 22 22:33:12 (none) cardmgr[723]: starting, version is 3.1.33 Apr 22 22:33:12 (none) cardmgr[723]: watching 2 sockets Apr 22 22:33:12 (none) cardmgr[723]: Card Services release does not match Apr 22 22:33:12 (none) kernel: cs: IO port probe 0x0c00-0x0cff: clean. Apr 22 22:33:12 (none) kernel: cs: IO port probe 0x0800-0x08ff: clean. Apr 22 22:33:12 (none) kernel: cs: IO port probe 0x0100-0x04ff: excluding 0x398-0x39f 0x4d0-0x4d7 Apr 22 22:33:12 (none) kernel: cs: IO port probe 0x0a00-0x0aff: clean. Apr 22 22:33:12 (none) kernel: cs: memory probe 0xa000-0xa0ff: clean. Apr 22 22:33:12 (none) cardmgr[723]: socket 0: ATA/IDE Fixed Disk Apr 22 22:33:12 (none) cardmgr[723]: executing: 'modprobe ide-cs' Apr 22 22:33:19 (none) kernel: hdc: probing with STATUS(0x80) instead of ALTSTATUS(0xff) Apr 22 22:33:19 (none) kernel: hdc: ARCHOS MiniCDRW XS8432, ATAPI CD/DVD-ROM drive Apr 22 22:33:19 (none) kernel: ide1 at 0x100-0x107,0x10e on irq 3 Apr 22 22:33:19 (none) kernel: ide_cs: hdc: Vcc = 5.0, Vpp = 12.0 Apr 22 22:33:19 (none) cardmgr[723]: executing: './ide start hdc' Apr 22 22:33:19 (none) cardmgr[723]: + usage: /sbin/cardctl command [socket #] Apr 22 22:33:19 (none) cardmgr[723]: + or /sbin/cardctl [-c configpath] [-f scheme] [-s stab] scheme [name] Apr 22 22:33:19 (none) cardmgr[723]: + commands: status config ident suspend resume reset eject insert Apr 22 22:33:19 (none) kernel: hdc: bad special flag: 0x03 Apr 22 22:33:29 (none) kernel: hdc: irq timeout: status=0x58 { DriveReady SeekComplete DataRequest } Apr 22 22:33:29 (none) kernel: hdc: status error: status=0x58 { DriveReady SeekComplete DataRequest } Apr 22 22:33:29 (none) kernel: hdc: drive not ready for command and this one from /var/log/message > This problem is mentioned in the PCMCIA-HOWTO. > Apr 22 22:33:11 (none) kernel: Linux Kernel Card Services 3.1.22 Apr 22 22:33:11 (none) kernel: options: [pci] [cardbus] [pm] Apr 22 22:33:11 (none) kernel: PCI: Found IRQ 9 for device 00:0a.0 Apr 22 22:33:11 (none) kernel: PCI: Sharing IRQ 9 with 01:00.0 Apr 22 22:33:11 (none) kernel: PCI: Found IRQ 9 for device 00:0a.1 Apr 22 22:33:11 (none) kernel: Yenta IRQ list 00b8, PCI irq9 Apr 22 22:33:11 (none) kernel: Socket status: 3410 Apr 22 22:33:11 (none) kernel: Yenta IRQ list 08b8, PCI irq9 Apr 22 22:33:11 (none) kernel: Socket status: 3416 Apr 22 22:33:12 (none) kernel: cs: IO port probe 0x0c00-0x0cff: clean. Apr 22 22:33:12 (none) kernel: cs: IO port probe 0x0800-0x08ff: clean. Apr 22 22:33:12 (none) kernel: cs: IO port probe 0x0100-0x04ff: excluding 0x398-0x39f 0x4d0-0x4d7 Apr 22 22:33:12 (none) kernel: cs: IO port probe 0x0a00-0x0aff: clean. Apr 22 22:33:12 (none) kernel: cs: memory probe 0xa000-0xa0ff: clean. Apr 22 22:33:19 (none) kernel: hdc: probing with STATUS(0x80) instead of ALTSTATUS(0xff) Apr 22 22:33:19 (none) kernel: hdc: ARCHOS MiniCDRW XS8432, ATAPI CD/DVD-ROM drive Apr 22 22:33:19 (none) kernel: ide1 at 0x100-0x107,0x10e on irq 3 Apr 22 22:33:19 (none) kernel: ide_cs: hdc: Vcc = 5.0, Vpp = 12.0 Apr 22 22:33:19 (none) kernel: hdc: bad special flag: 0x03 Apr 22 22:33:29 (none) kernel: hdc: irq timeout: status=0x58 { DriveReady SeekComplete DataRequest } Apr 22 22:33:29 (none) kernel: hdc: status error: status=0x58 { DriveReady SeekComplete DataRequest } Apr 22 22:33:29 (none) kernel: hdc: drive not ready for command I took a close look at the pcmcia-howto, but I can't find out where I can link this problem with (to be honest, I didn't though that my first problem was related to ISA bus). Here is also a copy of lsmod: (none):/etc/init.d# lsmod Module Size Used byNot tainted ide-cs 3172 1 ds 6408 2 [ide-cs] yenta_socket8640 2 pcmcia_core35360 0 [ide-cs ds yenta_socket] input 3232 0 (autoclean) usb-storage43160 0 (unused) scsi_mod 51820 0 [usb-storage] visor 8492 0 (unused) usbserial 16444 0 [visor] slhc4384 0 (unused) A
Re: iSeries Thinkpad 1200 installation problem
En réponse à Dick Orgass <[EMAIL PROTECTED]>: In my situation, I install my system with a 2.2.X kernel, set up my network and download the latest kernel source. 2.4.X kernel compiled without any problem, and I'm now running all the latest software, after some few apt-get...I'm currently running kde 3.1.1, but install the latest version of gnome in parallel. Renaud > When I attempted to install Debian 3.0 with a CD set dated July 22, > 2002, I found that I could not install the 2.4 kernel version. I viewed > this as important because so many of the current gnome applications > depend on the later kernel and glibc which are not included with the 2.2 > kernel. > > When attempting to boot the installation CD (disk 1) with the 2.4 kernel > installation option, the system starts to boot and then hangs in a state > that is only resolved by powering down the system and then powering back > up. The last six lines of boot output are below. > > Is there any way to install a system based on a Debian 2.4 kernel? > > Thanks in advance for your help. > > Dick > > -end of boot output- > init started: BusyBox v0.60-3=pre ... > usb.c: registered new driver usbdevfs > usb.c: registered new driver hub > usb-uhci.c: $Revision: 1.275: USB Universal Host Controller Interface > driver > PCI: Guessed IRQ 10 for device 00:14.0 > usb-ohci.c: USB OHCI at membase 0xcc02d000, IRQ 10 > usb-ohci.c: usb-00:14.0, Acer Laboratories Inc. [ALi] M5237 USB > - > > > -- > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > with a subject of "unsubscribe". Trouble? Contact > [EMAIL PROTECTED] > >
Re: Help with pcmcia
En réponse à mey nat <[EMAIL PROTECTED]>: To check your pcmcia installation, you must use the cardctl command. cardmgr manage your pcmcia socket, detect the insertion or removal of your card, and load the appropriate module if it can find it. To check your system, you should run /etc/init.d/pcmcia stop, and the, /etc/init.d/pcmcia start, to stop and start the pcmcia sub-system, then check the messages in /var/log/message or /var/log/syslog. You'll then know if your card is recognized, and well configured. Renaud > Hey, I have an IBM Thinkpad 560z that I am wrestling > to get Debian on to. The machine has no CD or floppy > drive, so in order to install I got a hard drive pin > converter and threw it into a desktop, and installed > from a knoppix CD. I installed a 2.4.20-xrfs kernel. > Threw the drive back into the machine,fixed the > strange vga settings, and moved on to configuring > ethernet support. WhenI was given the machine it > was running Win98 and both sockets and cards modem and > ethernet were working. > > Through a few google searches I found that pcmcia > support on my machine can be obtaned through these > modules: > yenta_socket > pcmcia_core, > and that my ethernet card, a Linksys EC2T, uses > pcnet_cs . > > All of these modules are loaded (checked lsmod). When > I try to find the card with cardmgr I get the > following error: > > [EMAIL PROTECTED]/home/user# cardmgr > cardmgr[2433]: error in file 'config' line 1177: > parse error, unexpected > $undefined., expecting STRINGcardmgr[2433]: > open_sock(socket 0) failed: > Device orresources busy > cardmgr[2433]: another carmgr is already running > > When I check the /var/lib/pcmcia/stab I get > > Socket 0: empty > Socket 1: empty > > I tried running ifconfig eth0 up and got > > eth0: ERROR while getting interface flags: No such > device. > > In my search for an answer I found this thread on the > archives of this list: > > http://lists.debian.org/debian-laptop/2002/debian-laptop-200210/msg00210.html > > The problems described there mirror mine, but the > thread terminiates before the solution is found. (the > only difference in description is that my machine does > not beep when cards are inserted or removed. But all > outputs are similar enough. > > Thanks for any help, ~~nat > > > > > > __ > Do you Yahoo!? > The New Yahoo! Search - Faster. Easier. Bingo > http://search.yahoo.com > > > -- > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > with a subject of "unsubscribe". Trouble? Contact > [EMAIL PROTECTED] > >
Re: Help with pcmcia
En réponse à mey nat <[EMAIL PROTECTED]>: Can you tell me what are your configuration file. On my system, there were no file by default in /etc/pcmcia, and I'm too new on debian to know which command to perform to re-integrate them (I originally come from slackware). I download the pcmcia-cs package from the sourceforge web site, and copy manually the appropriate file in that directory (there is a /etc directory created in the pcmcia archive). Moreover, if you're running a 2.4.X kernel, your config file must be named 'config-2.4' (or config2.4, can't remember), which is a copy of the config file I found in the pcmcia tarball. I know my method is not very clean, but my system is now working with a 3com modem/ethernet properly set up. You can also read the pcmcia-howto. They are quite clear, and offer a step by step solution: 1. Your base module doesn't load 2. Your base module load, but your card is not recognized. etc... You should try to locate all the configuration file for the pcmcia package, and see if none are missing. Renaud > > > To check your system, you should run > > /etc/init.d/pcmcia stop, and the, > > /etc/init.d/pcmcia start, to stop and start the > > pcmcia sub-system, then check the > > messages in /var/log/message or /var/log/syslog. > > This is what I get in messages output > > box kernel: cs IO port probe 0x0c00-0x0cff: clean. > box kernel: cs IO port probe 0x0820-0x08ff: clean. > box kernel: cs IO port probe 0x0800-0x080f: clean. > box kernel: cs IO port probe 0x0100-0x04ff: excluding > 0x200-07 0x220-0x22f 0x388-0x38f 0x3b8-0x3df > 0x4d0-0x4d7box kernel: cs IO port probe 0x0a00-0x0aff: > clean. > >
unsubscribe
unsubscribe _ Le journal des abonnés Caramail - http://www.carazine.com
unsubscribe
unsubscribe _ Le journal des abonnés Caramail - http://www.carazine.com