Главная страница


ru.linux

 
 - RU.LINUX ---------------------------------------------------------------------
 From : Dmitry Dolgopolov                    2:5000/97.33   02 Sep 2000  00:15:02
 To : All
 Subject : PCMCIA trouble
 -------------------------------------------------------------------------------- 
 
 Суть проблемы: ОДHОВРЕМЕHHО не работает eth0 и ttyS2 (сетевуха и модем)
 т.е. если не поднимать eth0, то ttyS2 нормально работает, если поднять --
 отваливается.
 :-(
 
 Попытаюсь описать ситуацию с конфигами:
 
 соответственно ядро:
 [root@gsm /root]# rpm -q kernel
 kernel-2.2.0_pre6_ac2.KSI2-2
 
 и pcmcia:
 [root@gsm /root]# rpm -qa| grep pcmcia
 kernel-pcmcia-cs-3.0.8.KSI2-2
 
 Вот что написал в /etc/sysconfig/pcmcia (обчитавшись man i82365):
 [root@gsm sysconfig]# cat /etc/sysconfig/pcmcia
 PCMCIA=yes
 PCIC=i82365
 PCIC_OPTS="irq_list=11 has_dma=1 freq_bypass=1 fast_pci=1 irq_mode=2"
 CORE_OPTS=
 
 [root@gsm pcmcia]# cat /etc/pcmcia/serial.opts
 # Serial device configuration
 case "$ADDRESS" in
 *,*,*)
     # Symbolic link to dialout device
     LINK="/dev/ttyS2"
     # Options for 'setserial'
     SERIAL_OPTS="irq 11 port 0x3e8"
     # Should we create an inittab entry for this port?
     #INITTAB="/sbin/mgetty"
     ;;
 esac
 
 в /etc/pcmcia/network.opts прописаны сетевые параметры:
     IPADDR="194.135.202.2"
     NETMASK="255.255.255.0"
     NETWORK="194.135.202.0"
     BROADCAST="194.135.202.255"
 
 При запуске (/etc/rc.d./init.d/pcmcia start) вот что находим в /var/log/kernel:
 Linux PCMCIA Card Services 3.0.8
 kernel build: 2.2.0-pre6-ac2 unknown
 :   options:  [pci] [cardbus]
 : Intel PCIC probe:
 :   Cirrus PD6729 PCI-to-PCMCIA at bus 0 slot 4, port 0xfcfc, 2 sockets
 :     host opts [0]: [ring] [1/66/15] [1/66/15]
 :     host opts [1]: [ring] [1/66/15] [1/66/15]
 :     ISA irqs (default) = 11 polling interval = 1000 ms
 : cs: IO port probe 0x1000-0x17ff: excluding 0x1170-0x1177 0x1200-0x1207
 0x1220-0x122f 0x12f8-0x1307 0x1370-0x137f 0x1388-0x138f 0x13f0-0x13ff
 0x1570-0x1577 0x16f8-0x16ff 0x1770-0x177f 0x17f0-0x17ff
 : cs: IO port probe 0x0100-0x04ff: excluding 0x200-0x207 0x378-0x37f 0x388-0x38f
 0x480-0x48f
 : IO port probe 0x0a00-0x0aff: excluding 0xaf8-0xaff
 : cs: memory probe 0x0d0000-0x0dffff: clean.
 : eth0: NE2000 Compatible: port 0x320, irq 11, hw_addr 00:E0:98:13:09:3F
 : tty02 at 0x03e8 (irq = 11) is a 16550A
 : tty_io.c: process 132 (setserial) used obsolete /dev /cua2 - update software
 to use /dev/ttyS2
 
 вот что показывает lsmod касаемо pcmcia:
 [root@gsm init.d]# /sbin/lsmod
 Module                  Size  Used by
 serial_cs               3684   0  (unused)
 pcnet_cs                7152   1
 8390                    6044   0  [pcnet_cs]
 ds                      5660   2  [serial_cs pcnet_cs]
 i82365                 21564   2
 pcmcia_core            36340   0  [serial_cs pcnet_cs ds i82365]
 
 [root@gsm init.d]# /sbin/setserial -bg /dev/ttyS?
 /dev/ttyS0 at 0x03f8 (irq = 4) is a 16550A
 /dev/ttyS1 at 0x02f8 (irq = 3) is a 16550A
 /dev/ttyS2 at 0x03e8 (irq = 11) is a 16550A
 
 после поднятия eth0, ttyS2 наглухо отваливается (спасает только
 /etc/rc.d/init.d/pcmcia stop start -- и все заново), а сетевуха наоборот
 нормально работает:
 
 [root@gsm init.d]# /sbin/ifconfig
 eth0      Link encap:Ethernet  HWaddr 00:E0:98:13:09:3F
           inet addr:194.135.202.2  Bcast:194.135.202.255  Mask:255.255.255.0
           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
           RX packets:50253 errors:0 dropped:0 overruns:0 frame:0
           TX packets:56799 errors:0 dropped:0 overruns:0 carrier:0
           collisions:0 txqueuelen:100
           Interrupt:11 Base address:0x320
 
 Что это? У кого линукс нормально живет на PCMCIA/Combo? Help!!
 
 * Crossposted in ru.linux
 * Crossposted in ru.unix.linux
 * Crossposted in spb.linux
 
   /dd                  e-mail: d_dolgopolov@mail.ru     ICQ: 79183798
 
 --- GoldED/W32 3.0.1
  * Origin: <nothing> (2:5000/97.33)
 
 

Вернуться к списку тем, сортированных по: возрастание даты  уменьшение даты  тема  автор 

 Тема:    Автор:    Дата:  
 PCMCIA trouble   Dmitry Dolgopolov   02 Sep 2000 00:15:02 
 PCMCIA trouble   Dmitry Ivanov   11 Jun 2001 18:53:20 
Архивное /ru.linux/334639b046f3.html, оценка 2 из 5, голосов 10
Яндекс.Метрика
Valid HTML 4.01 Transitional