Problem with card services on Sony PCG-C1MHP and kernel 2.6 (more details)

Patrick Brunner astaroth at nethaus.ch
Tue Apr 13 22:52:56 BST 2004


Dear all

Unfortunately, my first post was screwed up by my webmail prog. I 
apologise for that. Below, there's the original text (plus dmesg output 
of 2.6).

Please note that there are two NICs in the notebook:

1) a built-in RealTek RTL8139, assigned to eth0: in 2.6.3 (eth1: in 2.4.23)
2) a D-Link DE-660 PCMCIA card, not recognised in 2.6.3 due to a problem 
with the card services (see below); assigned to eth0: in 2.4.23

---- original post -----

In a recent post to this mailing list with the title "D-Link DE-660 
network card not working under 2.6.x", I've been seeking for advice to 
get my network card working  
under a 2.6 kernel on my Sony PCG-C1MHP (aka Picturebook). Thanks to D. 
Hinds, it turned out, that the PCMCIA  services can't be started:

Starting PCMCIA services: cardmgr[3576]: no sockets found!  

content of /etc/sysconfig/pcmcia:  

PCIC=yenta_socket  
PCMCIA=yes  

dmesg output:

Linux version 2.6.3-4mdk (nplanel at n3.mandrakesoft.com) (gcc version 
3.3.2 (Mandrake Linux 10.0 3.3.2-6mdk)) #1 Tue Mar 2 07:26:13 CET 2004
BIOS-provided physical RAM map:
 BIOS-e820: 0000000000000000 - 000000000009b000 (usable)
 BIOS-e820: 000000000009b000 - 00000000000a0000 (reserved)
 BIOS-e820: 00000000000c0000 - 00000000000d0000 (reserved)
 BIOS-e820: 00000000000dc000 - 00000000000e0000 (reserved)
 BIOS-e820: 00000000000e4000 - 0000000000100000 (reserved)
 BIOS-e820: 0000000000100000 - 000000000eef0000 (usable)
 BIOS-e820: 000000000eef0000 - 000000000eefc000 (ACPI data)
 BIOS-e820: 000000000eefc000 - 000000000ef00000 (ACPI NVS)
 BIOS-e820: 000000000ef00000 - 000000000f000000 (usable)
 BIOS-e820: 00000000fff80000 - 0000000100000000 (reserved)
240MB LOWMEM available.
On node 0 totalpages: 61440
  DMA zone: 4096 pages, LIFO batch:1
  Normal zone: 57344 pages, LIFO batch:14
  HighMem zone: 0 pages, LIFO batch:1
DMI present.
Sony Vaio laptop detected.
ACPI: RSDP (v000 PTLTD                                     ) @ 0x000f7bc0
ACPI: RSDT (v001 SONY   E0       0x20020419  LTP 0x00000000) @ 0x0eef86ed
ACPI: FADT (v002 SONY   E0       0x20020419 PTL  0x01000000) @ 0x0eefbe82
ACPI: SSDT (v001 PTLTD  ACPIPST1 0x20020419  LTP 0x00000001) @ 0x0eefbf06
ACPI: DSDT (v001   SONY E0       0x20020419 MSFT 0x0100000d) @ 0x00000000
ACPI: PM-Timer IO Port: 0x8008
Built 1 zonelists
Kernel command line: auto BOOT_IMAGE=linux ro root=305 devfs=mount 
splash=silent
bootsplash: silent mode.
No local APIC present or hardware disabled
Initializing CPU#0
PID hash table entries: 1024 (order 10: 8192 bytes)
Detected 859.856 MHz processor.
Using pmtmr for high-res timesource
Console: colour dummy device 80x25
Memory: 238884k/245760k available (1815k kernel code, 6048k reserved, 
846k data, 272k init, 0k highmem)
Checking if this processor honours the WP bit even in supervisor mode... 
Ok.
Calibrating delay loop... 1703.93 BogoMIPS
Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
Mount-cache hash table entries: 512 (order: 0, 4096 bytes)
checking if image is initramfs...it isn't (no cpio magic); looks like an 
initrd
Freeing initrd memory: 332k freed
CPU:     After generic identify, caps: 0084893f 0081813f 00000000 00000000
CPU:     After vendor identify, caps: 0084893f 0081813f 0000004e 00000000
CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (32 bytes/line)
CPU: L2 Cache: 512K (128 bytes/line)
CPU: Processor revision 1.4.1.0, 867 MHz
CPU: Code Morphing Software revision 4.3.0-9-197
CPU: 20020207 23:55 official release 4.3.0#7
CPU serial number disabled.
CPU:     After all inits, caps: 0080893f 0081813f 0000004e 00000000
CPU: Transmeta(tm) Crusoe(tm) Processor TM5800 stepping 03
Checking 'hlt' instruction... OK.
POSIX conformance testing by UNIFIX
NET: Registered protocol family 16
EISA bus registered
PCI: PCI BIOS revision 2.10 entry at 0xfd85e, last bus=0
PCI: Using configuration type 1
mtrr: v2.0 (20020519)
ACPI: Subsystem revision 20040211
Looking for DSDT in initrd ... not found!
ACPI: IRQ9 SCI: Level Trigger.
ACPI: Interpreter enabled
ACPI: Using PIC for interrupt routing
ACPI: PCI Root Bridge [PCI0] (00:00)
PCI: Probing PCI hardware (bus 00)
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT]
ACPI: Embedded Controller [EC0] (gpe 1)
ACPI: PCI Interrupt Link [LNK1] (IRQs *9)
ACPI: PCI Interrupt Link [LNK2] (IRQs *9)
ACPI: PCI Interrupt Link [LNK3] (IRQs *9)
ACPI: PCI Interrupt Link [LNK4] (IRQs *9)
ACPI: PCI Interrupt Link [LNK5] (IRQs *9)
ACPI: PCI Interrupt Link [LNK6] (IRQs 9)
ACPI: PCI Interrupt Link [LNK7] (IRQs *9)
ACPI: PCI Interrupt Link [LNK8] (IRQs *9)
ACPI: PCI Interrupt Link [LNKU] (IRQs *9)
ACPI: Power Resource [LRP0] (off)
Linux Plug and Play Support v0.97 (c) Adam Belay
PnPBIOS: Disabled
ACPI: PCI Interrupt Link [LNK8] enabled at IRQ 9
ACPI: PCI Interrupt Link [LNK7] enabled at IRQ 9
ACPI: PCI Interrupt Link [LNK2] enabled at IRQ 9
ACPI: PCI Interrupt Link [LNK3] enabled at IRQ 9
ACPI: PCI Interrupt Link [LNK1] enabled at IRQ 9
ACPI: PCI Interrupt Link [LNK5] enabled at IRQ 9
ACPI: No IRQ known for interrupt pin A of device 0000:00:10.0 - using 
IRQ 255
ACPI: PCI Interrupt Link [LNKU] enabled at IRQ 9
PCI: Using ACPI for IRQ routing
PCI: if you experience problems, try using option 'pci=noacpi' or even 
'acpi=off'
vesafb: framebuffer at 0xf0000000, mapped to 0xcf80b000, size 8192k
vesafb: mode is 800x600x16, linelength=1600, pages=7
vesafb: protected mode interface info at c000:5231
vesafb: scrolling: redraw
vesafb: directcolor: size=0:5:6:5, shift=0:11:5:0
fb0: VESA VGA frame buffer device
apm: BIOS version 1.2 Flags 0x0b (Driver version 1.16ac)
apm: overridden by ACPI.
ikconfig 0.7 with /proc/config*
VFS: Disk quotas dquot_6.5.1
devfs: 2004-01-31 Richard Gooch (rgooch at atnf.csiro.au)
devfs: boot_options: 0x1
Initializing Cryptographic API
Activating ISA DMA hang workarounds.
isapnp: Scanning for PnP cards...
isapnp: No Plug & Play device found
bootsplash 3.1.3-2003/11/14: looking for picture.... silentjpeg size 
14856 bytes, found (800x600, 14808 bytes, v3).
Console: switching to colour frame buffer device 92x32
pty: 1024 Unix98 ptys configured
Serial: 8250/16550 driver $Revision: 1.90 $ 8 ports, IRQ sharing enabled
ttyS0 at I/O 0x1828 (irq = 9) is a 8250
ttyS1 at I/O 0x1840 (irq = 9) is a 8250
ttyS2 at I/O 0x1850 (irq = 9) is a 8250
ttyS3 at I/O 0x1860 (irq = 9) is a 8250
ttyS4 at I/O 0x1870 (irq = 9) is a 8250
RAMDISK driver initialized: 16 RAM disks of 32000K size 1024 blocksize
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
ALI15X3: IDE controller at PCI slot 0000:00:10.0
ACPI: No IRQ known for interrupt pin A of device 0000:00:10.0 - using 
IRQ 255
ALI15X3: chipset revision 196
ALI15X3: not 100% native mode: will probe irqs later
    ide0: BM-DMA at 0x2800-0x2807, BIOS settings: hda:DMA, hdb:pio
ALI15X3: simplex device: DMA forced
    ide1: BM-DMA at 0x2808-0x280f, BIOS settings: hdc:DMA, hdd:DMA
hda: IC25N030ATCS04-0, ATA DISK drive
Using anticipatory io scheduler
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
hda: max request size: 128KiB
hda: 58605120 sectors (30005 MB) w/1768KiB Cache, CHS=58140/16/63, 
UDMA(100)
 /dev/ide/host0/bus0/target0/lun0: p1 p2 < p5 p6 >
Console: switching to colour frame buffer device 92x32
mice: PS/2 mouse device common for all mice
serio: i8042 AUX port at 0x60,0x64 irq 12
input: PS/2 Generic Mouse on isa0060/serio1
serio: i8042 KBD port at 0x60,0x64 irq 1
input: AT Translated Set 2 keyboard on isa0060/serio0
md: md driver 0.90.0 MAX_MD_DEVS=256, MD_SB_DISKS=27
EISA: Probing bus 0 at eisa0
NET: Registered protocol family 2
IP: routing cache hash table of 2048 buckets, 16Kbytes
TCP: Hash tables configured (established 16384 bind 32768)
NET: Registered protocol family 1
BIOS EDD facility v0.12 2004-Jan-26, 1 devices found
Please report your BIOS at http://linux.dell.com/edd/results.html
PM: Reading pmdisk image.
PM: Resume from disk failed.
ACPI: (supports S0 S3 S4 S5)
md: Autodetecting RAID arrays.
md: autorun ...
md: ... autorun DONE.
RAMDISK: Compressed image found at block 0
VFS: Mounted root (ext2 filesystem).
Mounted devfs on /dev
SCSI subsystem initialized
sbp2: $Rev: 1096 $ Ben Collins <bcollins at debian.org>
kjournald starting.  Commit interval 5 seconds
EXT3-fs: mounted filesystem with ordered data mode.
Mounted devfs on /dev
Freeing unused kernel memory: 272k freed
Real Time Clock Driver v1.12
drivers/usb/core/usb.c: registered new driver usbfs
drivers/usb/core/usb.c: registered new driver hub
ohci_hcd: 2004 Feb 02 USB 1.1 'Open' Host Controller (OHCI) Driver (PCI)
ohci_hcd: block sizes: ed 64 td 64
ohci_hcd 0000:00:0f.0: OHCI Host Controller
ohci_hcd 0000:00:0f.0: irq 9, pci mem d000e000
ohci_hcd 0000:00:0f.0: new USB bus registered, assigned bus number 1
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 2 ports detected
ohci_hcd 0000:00:14.0: OHCI Host Controller
ohci_hcd 0000:00:14.0: irq 9, pci mem c00e0000
ohci_hcd 0000:00:14.0: new USB bus registered, assigned bus number 2
usb 1-1: new full speed USB device using address 2
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 2 ports detected
Initializing USB Mass Storage driver...
scsi0 : SCSI emulation for USB Mass Storage devices
  Vendor: Sony      Model: MSC-U03           Rev: 1.00
  Type:   Direct-Access                      ANSI SCSI revision: 02
Attached scsi removable disk sda at scsi0, channel 0, id 0, lun 0
WARNING: USB Mass Storage data integrity not assured
USB Mass Storage device found at 2
drivers/usb/core/usb.c: registered new driver usb-storage
USB Mass Storage support registered.
EXT3 FS on hda5, internal journal
imm: Version 2.05 (for Linux 2.4.0)
ppa: Version 2.07 (for Linux 2.4.x)
NTFS driver 2.1.6 [Flags: R/O MODULE].
NTFS volume version 3.1.
ohci1394: $Rev: 1097 $ Ben Collins <bcollins at debian.org>
ohci1394: fw-host0: OHCI-1394 1.1 (PCI): IRQ=[9] 
 MMIO=[e8018000-e80187ff]  Max Packet=[2048]
ieee1394: Host added: ID:BUS[0-00:1023]  GUID[0800460300de29b5]
Linux Kernel Card Services
  options:  [pci] [cardbus] [pm]
8139too Fast Ethernet driver 0.9.27
eth0: RealTek RTL8139 at 0xd013f800, 08:00:46:47:4f:03, IRQ 9
eth0:  Identified 8139 chip type 'RTL-8100B/8139D'
ip_tables: (C) 2000-2002 Netfilter core team
ip_conntrack version 2.1 (1920 buckets, 15360 max) - 300 bytes per 
conntrack
ip_tables: (C) 2000-2002 Netfilter core team
ip_conntrack version 2.1 (1920 buckets, 15360 max) - 300 bytes per 
conntrack
ACPI: Battery Slot [BAT1] (battery present)
ACPI: AC Adapter [ACAD] (on-line)
ACPI: Fan [LRA0] (off)
ACPI: Processor [CPU0] (supports C1 C2 C3)
ACPI: Thermal Zone [ATF0] (20 C)
ACPI: Lid Switch [LID]
ACPI: Power Button (CM) [PWRB]
inserting floppy driver for 2.6.3-4mdk
floppy0: no floppy controllers found
drivers/usb/core/usb.c: registered new driver hiddev
drivers/usb/core/usb.c: registered new driver hid
drivers/usb/input/hid-core.c: v2.0:USB HID core driver
NET: Registered protocol family 17
eth0: link down
NET: Registered protocol family 10
Disabled Privacy Extensions on device c035fa20(lo)
IPv6 over IPv4 tunneling driver
Installing knfsd (copyright (C) 1996 okir at monad.swb.de).
atkbd.c: Unknown key released (translated set 2, code 0x7a on 
isa0060/serio0).
atkbd.c: This is an XFree86 bug. It shouldn't access hardware directly.
atkbd.c: Unknown key released (translated set 2, code 0x7a on 
isa0060/serio0).
atkbd.c: This is an XFree86 bug. It shouldn't access hardware directly.
eth0: no IPv6 routers present
bootsplash 3.1.3-2003/11/14: looking for picture.... found (800x600, 
11943 bytes, v3).
bootsplash: status on console 0 changed to on
bootsplash 3.1.3-2003/11/14: looking for picture.... found (800x600, 
11943 bytes, v3).
bootsplash: status on console 1 changed to on
bootsplash 3.1.3-2003/11/14: looking for picture.... found (800x600, 
11943 bytes, v3).
bootsplash: status on console 2 changed to on
bootsplash 3.1.3-2003/11/14: looking for picture.... found (800x600, 
11943 bytes, v3).
bootsplash: status on console 3 changed to on
bootsplash 3.1.3-2003/11/14: looking for picture.... found (800x600, 
11943 bytes, v3).
bootsplash: status on console 4 changed to on
bootsplash 3.1.3-2003/11/14: looking for picture.... found (800x600, 
11943 bytes, v3).
bootsplash: status on console 5 changed to on
inserting floppy driver for 2.6.3-4mdk
floppy0: no floppy controllers found
inserting floppy driver for 2.6.3-4mdk
floppy0: no floppy controllers found
inserting floppy driver for 2.6.3-4mdk
floppy0: no floppy controllers found
Attached scsi generic sg0 at scsi0, channel 0, id 0, lun 0,  type 0

output of lspci:

00:00.0 Host bridge: Transmeta Corporation LongRun Northbridge (rev 02)
00:00.1 RAM memory: Transmeta Corporation SDRAM controller
00:00.2 RAM memory: Transmeta Corporation BIOS scratchpad
00:06.0 Multimedia audio controller: ALi Corporation M5451 PCI AC-Link 
Controller Audio Device (rev 02)
00:07.0 ISA bridge: ALi Corporation M1533 PCI to ISA Bridge [Aladdin IV]
00:08.0 Modem: ALi Corporation Intel 537 [M5457 AC-Link Modem]
00:09.0 FireWire (IEEE 1394): Texas Instruments TSB43AB22/A 
IEEE-1394a-2000 Controller (PHY/Link)
00:0a.0 Multimedia controller: Fujitsu Limited.: Unknown device 2011
00:0b.0 Ethernet controller: Realtek Semiconductor Co., Ltd. 
RTL-8139/8139C/8139C+ (rev 10)
00:0c.0 VGA compatible controller: ATI Technologies Inc Radeon Mobility 
M6 LY
00:0f.0 USB Controller: ALi Corporation USB 1.1 Controller (rev 03)
00:10.0 IDE interface: ALi Corporation M5229 IDE (rev c4)
00:11.0 Non-VGA unclassified device: ALi Corporation M7101 PMU
00:12.0 CardBus bridge: Ricoh Co Ltd RL5c475 (rev 80)
00:14.0 USB Controller: ALi Corporation USB 1.1 Controller (rev 03)




In contrast, the services always worked well under 2.4 kernels (dmesg 
output of 2.4.23):  

...  
Linux Kernel Card Services 3.1.22  
 options:  [pci] [cardbus] [pm]  
PCI: Found IRQ 9 for device 00:12.0  
PCI: Sharing IRQ 9 with 00:0a.0  
PCI: Sharing IRQ 9 with 00:0b.0  
Yenta IRQ list 0cb8, PCI irq9  
Socket status: 30000410  
cs: IO port probe 0x0c00-0x0cff: clean.  
cs: IO port probe 0x0820-0x08ff: clean.  
cs: IO port probe 0x0800-0x080f: clean.  
cs: IO port probe 0x0100-0x04ff: excluding  
0x200-0x207 0x220-0x22f 0x330-0x337 0x388-0x38f  
0x408-0x40f 0x480-0x48f 0x4d0-0x4d7  
cs: IO port probe 0x0a00-0x0aff: clean.  
cs: memory probe 0xa0000000-0xa0ffffff: clean.  
eth0: NE2000 Compatible: io 0x300, irq 3, hw_addr  
00:80:C8:8F:E1:B4  
...  

And the output of lspci -vvv (2.4.23):  

00:12.0 CardBus bridge: Ricoh Co Ltd RL5c475 (rev 80)
        Subsystem: Sony Corporation: Unknown device 80ec
        Control: I/O+ Mem+ BusMaster+ SpecCycle-
MemWINV- VGASnoop- ParErr- Stepping- SERR-
FastB2B-
        Status: Cap+ 66Mhz- UDF- FastB2B- ParErr-
DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR-
<PERR-
        Latency: 168
        Interrupt: pin A routed to IRQ 9
        Region 0: Memory at 10000000 (32-bit,
non-prefetchable) [size=4K]
        Bus: primary=00, secondary=01,
subordinate=01, sec-latency=176
        Memory window 0: 10400000-107ff000
(prefetchable)
        Memory window 1: 10800000-10bff000
        I/O window 0: 00004000-000040ff
        I/O window 1: 00004400-000044ff
        BridgeCtl: Parity- SERR- ISA- VGA- MAbort-
 >Reset- 16bInt+ PostWrite+
        16-bit legacy interface ports at 0001


Does anybody have an idea what's wrong with the services in 2.6.x?

Thank you very much for help & best regards

Patrick





More information about the linux-pcmcia mailing list