Bug#352997: linux-image-2.6.15-1-686: no eth0 at all

Philippe Bourcier buffalo.phil at free.fr
Mon Feb 20 05:29:08 EST 2006


    hi all,

On Sat, Feb 18, 2006 at 04:44:05PM +0100, maximilian attems wrote:
> On Wed, 15 Feb 2006, Philippe Bourcier wrote:
> >   I never got my system full usable since 2.6...
> > see #303550 and #321419 (pcmcia related problems)
> > now, let's try to go forward: I don't have any network
>  
> have you pcmciautils installed? 

$ COLUMNS=40 dpkg -l |grep pcmciautils
ii  pcmciautils    012-3          PCMCIA utilities for Linux 2.6

> please send ouput of pccardctl:
> pccardctl info

$ sudo pccardctl info
PRODID_1="Adaptec, Inc."
PRODID_2="APA-1460 SCSI Host Adapter"
PRODID_3="Version 0.01"
PRODID_4=""
MANFID=012f,0002
FUNCID=255
PRODID_1="3Com"
PRODID_2="Megahertz 3CXEM556 B"
PRODID_3="LAN + 56k Modem"
PRODID_4=""
MANFID=0101,0035
FUNCID=6
 
> also check out the sys tree below /sys/class/pcmcia_socket

$ ls -algR /sys/class/pcmcia_socket
/sys/class/pcmcia_socket:
total 0
drwxr-xr-x  4 root 0 2006-02-20 10:44 ./
drwxr-xr-x 20 root 0 2006-02-20 10:45 ../
drwxr-xr-x  2 root 0 2006-02-20 10:52 pcmcia_socket0/
drwxr-xr-x  2 root 0 2006-02-20 10:52 pcmcia_socket1/

/sys/class/pcmcia_socket/pcmcia_socket0:
total 0
drwxr-xr-x 2 root    0 2006-02-20 10:52 ./
drwxr-xr-x 4 root    0 2006-02-20 10:44 ../
-rw------- 1 root 4096 2006-02-20 10:52 available_resources_io
-rw------- 1 root 4096 2006-02-20 10:52 available_resources_mem
-rw------- 1 root 4096 2006-02-20 10:52
available_resources_setup_done
--w------- 1 root 4096 2006-02-20 10:52 card_eject
--w------- 1 root 4096 2006-02-20 10:50 card_insert
-rw------- 1 root 4096 2006-02-20 10:52 card_irq_mask
-r-------- 1 root 4096 2006-02-20 10:52 card_type
-r-------- 1 root 4096 2006-02-20 10:52 card_vcc
-r-------- 1 root 4096 2006-02-20 10:52 card_voltage
-r-------- 1 root 4096 2006-02-20 10:52 card_vpp
-rw-r--r-- 1 root  512 2006-02-20 10:52 cis
lrwxrwxrwx 1 root    0 2006-02-20 10:52 device ->
../../../devices/pci0000:00/0000:00:03.0/
--w------- 1 root 4096 2006-02-20 10:52 uevent

/sys/class/pcmcia_socket/pcmcia_socket1:
total 0
drwxr-xr-x 2 root    0 2006-02-20 10:52 ./
drwxr-xr-x 4 root    0 2006-02-20 10:44 ../
-rw------- 1 root 4096 2006-02-20 10:52 available_resources_io
-rw------- 1 root 4096 2006-02-20 10:52 available_resources_mem
-rw------- 1 root 4096 2006-02-20 10:52
available_resources_setup_done
--w------- 1 root 4096 2006-02-20 10:52 card_eject
--w------- 1 root 4096 2006-02-20 10:50 card_insert
-rw------- 1 root 4096 2006-02-20 10:52 card_irq_mask
-r-------- 1 root 4096 2006-02-20 10:52 card_type
-r-------- 1 root 4096 2006-02-20 10:52 card_vcc
-r-------- 1 root 4096 2006-02-20 10:52 card_voltage
-r-------- 1 root 4096 2006-02-20 10:52 card_vpp
-rw-r--r-- 1 root  512 2006-02-20 10:52 cis
lrwxrwxrwx 1 root    0 2006-02-20 10:52 device ->
../../../devices/pci0000:00/0000:00:03.1/
--w------- 1 root 4096 2006-02-20 10:52 uevent

$ sudo cat
/sys/class/pcmcia_socket/pcmcia_socket1/available_resources_io 
0x00000100 - 0x0000021f
0x00000230 - 0x000002ff
0x00000308 - 0x00000387
0x00000390 - 0x000004ff
0x00000808 - 0x000008ff
0x00000a00 - 0x00000aff
0x00000c00 - 0x00000cff
pingouin at ile:~/tmp$ sudo cat
/sys/class/pcmcia_socket/pcmcia_socket1/available_resources_mem 
0x000c0000 - 0x000fffff
0xa0100000 - 0xa0ffffff
pingouin at ile:~/tmp$ sudo cat
/sys/class/pcmcia_socket/pcmcia_socket1/available_resources_setup_done 
yes
$ sudo cat /sys/class/pcmcia_socket/pcmcia_socket1/card_irq_mask 
0x0628
pingouin at ile:~/tmp$ sudo cat
/sys/class/pcmcia_socket/pcmcia_socket1/card_type 
16-bit
pingouin at ile:~/tmp$ sudo cat
/sys/class/pcmcia_socket/pcmcia_socket1/card_vcc 
5.0V
pingouin at ile:~/tmp$ sudo cat
/sys/class/pcmcia_socket/pcmcia_socket1/card_voltage 
5.0V
pingouin at ile:~/tmp$ sudo cat
/sys/class/pcmcia_socket/pcmcia_socket1/card_vpp 
5.0V
$ sudo cat /sys/class/pcmcia_socket/pcmcia_socket1/cis 
�-3ComMegahertz 3CXEM556 BLAN + 56k Modem� 5cqU��m�]d0��C��

  I hope the followings will be useful:

$ sudo ./cbdump 
00:03.0 CardBus bridge: Texas Instruments PCI1250
  -- generic cardbus config registers
  Vendor ID                      [00] : 0x104c
  Device ID                      [02] : 0xac16
  PCI command                    [04] : 0x0007
  Base address                   [10] : 0x18010000
  Memory Base 0                  [1c] : 0x10000000
  Memory Limit 0                 [20] : 0x11fff000
  Memory Base 1                  [24] : 0x12000000
  Memory Limit 1                 [28] : 0x13fff000
  IO Base 0                      [2c] : 0x00001800
  IO Limit 0                     [30] : 0x000018fc
  IO Base 1                      [34] : 0x00001c00
  IO Limit 1                     [38] : 0x00001cfc
  Bridge control                 [3e] : 0x05c0
  Subsystem vendor ID            [40] : 0x0000
  Subsystem device ID            [42] : 0x0000
  Legacy mode base               [44] : 0x0001
  -- TI specific config registers
  System control                 [80] : 0x0844f061
  IRQ Mux                        [8c] : 0xcba97523
  Retry                          [90] : 0xc0
  Card control                   [91] : 0x83
  Device control                 [92] : 0x62
  Diagnostic                     [93] : 0x61
  -- cardbus registers
  CB_SOCKET_EVENT                [00] : 0x00000000
  CB_SOCKET_MASK                 [04] : 0x00000006
  CB_SOCKET_STATE                [08] : 0x30000459
  CB_SOCKET_FORCE                [0c] : 0x00000000
  CB_SOCKET_CONTROL              [10] : 0x00000020
  CB_SOCKET_POWER                [20] : 0x00000000
  -- exca registers
  I365_IDENT                     [00] : 0x84
  I365_STATUS                    [01] : 0x7f
  I365_POWER                     [02] : 0x90
  I365_INTCTL                    [03] : 0x73
  I365_CSC                       [04] : 0x00
  I365_CSCINT                    [05] : 0x08
  I365_ADDRWIN                   [06] : 0x41
  I365_IOCTL                     [07] : 0x02
  I365_GENCTL                    [16] : 0x00c0
  I365_GBLCTL                    [1e] : 0x0000
  I365_IO0_START                 [08] : 0x0340
  I365_IO0_STOP                  [0a] : 0x035f
  I365_IO1_START                 [0c] : 0x0000
  I365_IO1_STOP                  [0e] : 0x0001
  I365_MEM0_START                [10] : 0x0000
  I365_MEM0_STOP                 [12] : 0x8000
  I365_MEM0_OFF                  [14] : 0x4002
  I365_MEM0_PAGE                 [40] : 0xa0
  I365_MEM1_START                [18] : 0x0000
  I365_MEM1_STOP                 [1a] : 0x0000
  I365_MEM1_OFF                  [1c] : 0x0000
  I365_MEM1_PAGE                 [41] : 0x00
  I365_MEM2_START                [20] : 0x0000
  I365_MEM2_STOP                 [22] : 0x0000
  I365_MEM2_OFF                  [24] : 0x0000
  I365_MEM2_PAGE                 [42] : 0x00
  I365_MEM3_START                [28] : 0x0000
  I365_MEM3_STOP                 [2a] : 0x0000
  I365_MEM3_OFF                  [2c] : 0x0000
  I365_MEM3_PAGE                 [43] : 0x00
  I365_MEM4_START                [30] : 0x0000
  I365_MEM4_STOP                 [32] : 0x0000
  I365_MEM4_OFF                  [34] : 0x0000
  I365_MEM4_PAGE                 [44] : 0x00

00:03.1 CardBus bridge: Texas Instruments PCI1250
  -- generic cardbus config registers
  Vendor ID                      [00] : 0x104c
  Device ID                      [02] : 0xac16
  PCI command                    [04] : 0x0007
  Base address                   [10] : 0x18011000
  Memory Base 0                  [1c] : 0x14000000
  Memory Limit 0                 [20] : 0x15fff000
  Memory Base 1                  [24] : 0x16000000
  Memory Limit 1                 [28] : 0x17fff000
  IO Base 0                      [2c] : 0x00002000
  IO Limit 0                     [30] : 0x000020fc
  IO Base 1                      [34] : 0x00002400
  IO Limit 1                     [38] : 0x000024fc
  Bridge control                 [3e] : 0x05c0
  Subsystem vendor ID            [40] : 0x0000
  Subsystem device ID            [42] : 0x0000
  Legacy mode base               [44] : 0x0001
  -- TI specific config registers
  System control                 [80] : 0x0844f061
  IRQ Mux                        [8c] : 0xcba97523
  Retry                          [90] : 0xc0
  Card control                   [91] : 0x82
  Device control                 [92] : 0x62
  Diagnostic                     [93] : 0x61
  -- cardbus registers
  CB_SOCKET_EVENT                [00] : 0x00000000
  CB_SOCKET_MASK                 [04] : 0x00000006
  CB_SOCKET_STATE                [08] : 0x30000459
  CB_SOCKET_FORCE                [0c] : 0x00000000
  CB_SOCKET_CONTROL              [10] : 0x00000022
  CB_SOCKET_POWER                [20] : 0x00000000
  -- exca registers
  I365_IDENT                     [00] : 0x84
  I365_STATUS                    [01] : 0x7f
  I365_POWER                     [02] : 0x91
  I365_INTCTL                    [03] : 0x50
  I365_CSC                       [04] : 0x00
  I365_CSCINT                    [05] : 0x08
  I365_ADDRWIN                   [06] : 0x01
  I365_IOCTL                     [07] : 0x00
  I365_GENCTL                    [16] : 0x00c0
  I365_GBLCTL                    [1e] : 0x0000
  I365_IO0_START                 [08] : 0x0000
  I365_IO0_STOP                  [0a] : 0x0001
  I365_IO1_START                 [0c] : 0x0000
  I365_IO1_STOP                  [0e] : 0x0001
  I365_MEM0_START                [10] : 0x0100
  I365_MEM0_STOP                 [12] : 0x8100
  I365_MEM0_OFF                  [14] : 0x7f00
  I365_MEM0_PAGE                 [40] : 0xa0
  I365_MEM1_START                [18] : 0x0000
  I365_MEM1_STOP                 [1a] : 0x0000
  I365_MEM1_OFF                  [1c] : 0x0000
  I365_MEM1_PAGE                 [41] : 0x00
  I365_MEM2_START                [20] : 0x0000
  I365_MEM2_STOP                 [22] : 0x0000
  I365_MEM2_OFF                  [24] : 0x0000
  I365_MEM2_PAGE                 [42] : 0x00
  I365_MEM3_START                [28] : 0x0000
  I365_MEM3_STOP                 [2a] : 0x0000
  I365_MEM3_OFF                  [2c] : 0x0000
  I365_MEM3_PAGE                 [43] : 0x00
  I365_MEM4_START                [30] : 0x0000
  I365_MEM4_STOP                 [32] : 0x0000
  I365_MEM4_OFF                  [34] : 0x0000
  I365_MEM4_PAGE                 [44] : 0x00

$ lsmod
Module                  Size  Used by
iptable_mangle          2560  0 
ipv6                  221664  14 
ipt_ULOG                7396  3 
ipt_state               1728  3 
ipt_recent              9580  2 
ipt_limit               2144  4 
iptable_filter          2720  1 
ipt_REJECT              4992  1 
ip_conntrack           49420  1 ipt_state
nfnetlink               5976  1 ip_conntrack
ip_tables              17280  7
iptable_mangle,ipt_ULOG,ipt_state,ipt_recent,ipt_limit,iptable_filter,ipt_REJECT
usbmouse                5056  0 
sd_mod                 17072  0 
serial_cs              18280  0 
adm1021                12400  0 
sb                     12900  0 
sb_lib                 41828  1 sb
uart401                10628  1 sb_lib
sound                  69420  2 sb_lib,uart401
soundcore               8928  2 sb_lib,sound
3c589_cs               12456  0 
aha152x_cs             32944  1 
scsi_mod              125736  2 sd_mod,aha152x_cs
joydev                  8864  0 
evdev                   8800  0 
mousedev               10496  3 
rtc                    11316  0 
pcmcia                 35708  3 serial_cs,3c589_cs,aha152x_cs
parport_pc             32036  0 
firmware_class          9696  1 pcmcia
parport                31624  1 parport_pc
analog                 10336  0 
ns558                   5092  0 
gameport               13928  3 analog,ns558
irtty_sir               7584  0 
sir_dev                16972  1 irtty_sir
irda                  162300  2 irtty_sir,sir_dev
crc_ccitt               1952  1 irda
psmouse                32356  0 
serio_raw               6468  0 
i2c_piix4               8240  0 
pcspkr                  1668  0 
i2c_core               19280  2 adm1021,i2c_piix4
yenta_socket           24972  6 
rsrc_nonstatic         11968  1 yenta_socket
pcmcia_core            37872  3
pcmcia,yenta_socket,rsrc_nonstatic
ext3                  117768  1 
jbd                    48404  1 ext3
mbcache                 8484  1 ext3
ide_cd                 36484  0 
cdrom                  33280  1 ide_cd
ide_disk               15712  3 
ide_generic             1120  0 [permanent]
usbhid                 32320  0 
uhci_hcd               28016  0 
usbcore               113284  4 usbmouse,usbhid,uhci_hcd
piix                    8964  0 [permanent]
generic                 4260  0 [permanent]
ide_core              112800  5
ide_cd,ide_disk,ide_generic,piix,generic
processor              22912  0 

$ /sbin/ifconfig
lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

$ sudo /sbin/ifconfig eth0 up
eth0: ERROR while getting interface flags: No such device

  ask more if you need,
-- 
                                           /             \
                                          ((__-^^-,-^^-__))
 .''`.          Philippe BOURCIER          `-_---' `---_-'  .-.
: :' :  http://bourcier.philippe.online.fr  `--|o` 'o|--'   /V\
`. `'                                          \  `  /     // \\
  `-   Linux Counter registered user #290012    ): :(     /(   )\
                                                :o_o:      ^^-^^
                                                 "-"



More information about the linux-pcmcia mailing list