> A newer cardbus driver is now available on
> opensolaris.org.
> I haven't seen the panic stack in the case of the TDK
> modem but
> I guess it's likely due to a header file change in
> recent snv builds.
> If the guess is correct then  the problem could have
> been fixed.
> 
> (The cardbus driver and the Nevada gate share some
> unstable
> header files so they can be out of sync sometimes.)
> 
> Vincent.

Vincent,

I installed the newer cardbus driver set on my T43p
after uninstalling the older drivers.  The notebook is
running snv_27a (I haven't tried 28 as an older notebook
(IBM A21p) has shutdown issues with 28).

I have done a bit of testing with some PCMCIA/Cardbus
cards I have.

An IBM 11a/b/g Wireless Cardbus Adapter (FRU P/N
31P9109) with an atheros chipset  works with wificonfig
and inetmenu.

A 3Com 3C589D (PCMCIA ethernet card) apparently
configures but will not plumb:

        pci8086,2448, instance #1 (driver name: pci_pci)
            pci1014,56c, instance #0 (driver name: pcic)
                pcs, instance #0 (driver name: pcs)
                network (driver name: pcelx)

[t43p:/]# ifconfig pcelx0 plumb
ifconfig: plumb: pcelx0: no such interface

A USR Courier V.Everything (33,600) PCMCIA PC Card
modem is recognized and responds correctly to
an ATI command using 'tip pc0'.

Two different TDK modems (both of which used to
work with older versions of Solaris with older IBM
machines) crash the machine (no mouse movement
or keyboard response) after apparently configuring
OK.  I used the same 'tip pc0' command and cannot
do anything after hitting enter.  I do get the connected
prompt.  I can do a prtconf -D or prtconf -v after inserting
the TDK modems.  The following from dmesg after
inserting and removing the USR and a TDK Global
Freedom 5600:

Dec 18 06:07:31 t43p pcic: [ID 152030 kern.notice] dip is:0xd6b00490
Dec 18 06:07:31 t43p pcic: [ID 759616 kern.notice] parent dip is:0xd6b19008
Dec 18 06:07:32 t43p pcmcia: [ID 580848 kern.info] pcser0 at pcic at 0 in 
socket 0
Dec 18 06:07:32 t43p genunix: [ID 936769 kern.info] pcser0 is /pci at 
0,0/pci8086,2448 at 1e/pci1014,56c at 0/serial at 0
Dec 18 06:07:32 t43p genunix: [ID 408114 kern.info] /pci at 0,0/pci8086,2448 at 
1e/pci1014,56c at 0/serial at 0 (pcser0) online
Dec 18 06:09:46 t43p genunix: [ID 408114 kern.info] /pci at 0,0/pci8086,2448 at 
1e/pci1014,56c at 0/serial at 0 (pcser0) offline
Dec 18 06:09:59 t43p pcic: [ID 152030 kern.notice] dip is:0xd6b00490
Dec 18 06:09:59 t43p pcic: [ID 759616 kern.notice] parent dip is:0xd6b19008
Dec 18 06:09:59 t43p pcmcia: [ID 580848 kern.info] pcser0 at pcic at 0 in 
socket 0
Dec 18 06:09:59 t43p genunix: [ID 936769 kern.info] pcser0 is /pci at 
0,0/pci8086,2448 at 1e/pci1014,56c at 0/serial at 0
Dec 18 06:09:59 t43p genunix: [ID 408114 kern.info] /pci at 0,0/pci8086,2448 at 
1e/pci1014,56c at 0/serial at 0 (pcser0) online
Dec 18 06:10:57 t43p genunix: [ID 408114 kern.info] /pci at 0,0/pci8086,2448 at 
1e/pci1014,56c at 0/serial at 0 (pcser0) offline

I unplug the 3C589D and get the following in dmesg:

Dec 18 06:33:33 t43p genunix: [ID 408114 kern.info] /pci at 0,0/pci8086,2448 at 
1e/pci1014,56c at 0/network at 0 (pcelx0) offline

I plug in an IBM IEEE 1394 CardBus Card and get:


Dec 18 06:34:54 t43p cardbus: [ID 451854 kern.notice] pciclass,0607000: 
Subtractive Dcode bridge detected 
Dec 18 06:34:54 t43p unix: [ID 954099 kern.info] NOTICE: IRQ16 is being shared 
by drivers with different interrupt levels.
Dec 18 06:34:54 t43p This may result in reduced system performance.
Dec 18 06:34:54 t43p cardbus: [ID 788695 kern.notice]   Bus   5 Device  0 
Function  0 Vendor 0x104c Device 0x8019 Name pciclass,0c0010
Dec 18 06:34:54 t43p genunix: [ID 936769 kern.info] hci13940 is /pci at 
0,0/pci8086,2448 at 1e/pci1014,56c at 0/pci104c,100 at 0
Dec 18 06:34:54 t43p genunix: [ID 408114 kern.info] /pci at 0,0/pci8086,2448 at 
1e/pci1014,56c at 0/pci104c,100 at 0 (hci13940) online
Dec 18 06:34:54 t43p cardbus: [ID 451854 kern.notice] pciclass,0607000: 
........................................
Dec 18 06:34:54 t43p cardbus: [ID 451854 kern.notice] pciclass,0607000:  Pri 
Bus     = [0x4]
Dec 18 06:34:54 t43p cardbus: [ID 451854 kern.notice] pciclass,0607000:  Sec 
Bus     = [0x5]
Dec 18 06:34:54 t43p cardbus: [ID 451854 kern.notice] pciclass,0607000:  Sub 
Bus     = [0x5]
Dec 18 06:34:54 t43p cardbus: [ID 451854 kern.notice] pciclass,0607000:  
Cardbus Lattimer = [0x40]
Dec 18 06:34:54 t43p cardbus: [ID 451854 kern.notice] pciclass,0607000:  Cache 
Linesz= [0x0]
Dec 18 06:34:54 t43p cardbus: [ID 451854 kern.notice] pciclass,0607000:  
Lattimer= [0x40]
Dec 18 06:34:54 t43p cardbus: [ID 451854 kern.notice] pciclass,0607000:  
Command     = [0x7]
Dec 18 06:34:54 t43p cardbus: [ID 451854 kern.notice] pciclass,0607000:  BAR0   
     = [0xa8400000]
Dec 18 06:34:54 t43p cardbus: [ID 451854 kern.notice] pciclass,0607000:  mem 
Base 0  = [0x80004000]
Dec 18 06:34:54 t43p cardbus: [ID 451854 kern.notice] pciclass,0607000:  mem 
Lim 0   = [0x8000c000]
Dec 18 06:34:54 t43p cardbus: [ID 451854 kern.notice] pciclass,0607000:  mem 
Base 1  = [0x0]
Dec 18 06:34:54 t43p cardbus: [ID 451854 kern.notice] pciclass,0607000:  mem 
Lim 1   = [0x0]
Dec 18 06:34:54 t43p cardbus: [ID 451854 kern.notice] pciclass,0607000:  I/0 
Base 0  = [0x0]
Dec 18 06:34:54 t43p cardbus: [ID 451854 kern.notice] pciclass,0607000:  I/O 
Lim 0   = [0x0]
Dec 18 06:34:54 t43p cardbus: [ID 451854 kern.notice] pciclass,0607000:  I/O 
Base 1  = [0x0]
Dec 18 06:34:54 t43p cardbus: [ID 451854 kern.notice] pciclass,0607000:  I/O 
Lim 1   = [0x0]
Dec 18 06:34:54 t43p cardbus: [ID 451854 kern.notice] pciclass,0607000:  Sec. 
Status = [0x200]
Dec 18 06:34:54 t43p cardbus: [ID 451854 kern.notice] pciclass,0607000:  Intr 
Line   = [0xb]
Dec 18 06:34:54 t43p cardbus: [ID 451854 kern.notice] pciclass,0607000:  Intr 
Pin    = [0x1]
Dec 18 06:34:54 t43p cardbus: [ID 451854 kern.notice] pciclass,0607000:  BrIdge 
CTL 0x3e  = [0x420]
Dec 18 06:34:54 t43p cardbus: [ID 451854 kern.notice] pciclass,0607000:  Subsys 
Venid= [0x1014]
Dec 18 06:34:54 t43p cardbus: [ID 451854 kern.notice] pciclass,0607000:  Subsys 
ID   = [0x56c]
Dec 18 06:34:54 t43p cardbus: [ID 451854 kern.notice] pciclass,0607000:  PCCARD 
I/F  = [0x1]
Dec 18 06:34:54 t43p cardbus: [ID 451854 kern.notice] pciclass,0607000:  SYS 
CTL    0x80  = [0x4800001]
Dec 18 06:34:54 t43p cardbus: [ID 451854 kern.notice] pciclass,0607000:  GEN 
CTL    0x86  = [0x0]
Dec 18 06:34:54 t43p cardbus: [ID 451854 kern.notice] pciclass,0607000:  G 
Purpos   0x88  = [0x4630464]
Dec 18 06:34:54 t43p cardbus: [ID 451854 kern.notice] pciclass,0607000:  
MF-routing 0x8c  = [0x0]
Dec 18 06:34:54 t43p cardbus: [ID 451854 kern.notice] pciclass,0607000:  Card 
CTL   0x91  = [0x0]
Dec 18 06:34:54 t43p cardbus: [ID 451854 kern.notice] pciclass,0607000:  DEV  
CTL   0x92  = [0x0]
Dec 18 06:34:54 t43p cardbus: [ID 451854 kern.notice] pciclass,0607000:  DIAG   
    0x93  = [0x0]
Dec 18 06:34:54 t43p cardbus: [ID 451854 kern.notice] pciclass,0607000: 
........................................
Dec 18 06:34:54 t43p cardbus: [ID 451854 kern.notice] pciclass,0c00100: 
........................................
Dec 18 06:34:54 t43p cardbus: [ID 451854 kern.notice] pciclass,0c00100:  
VendorId    = [0x104c]
Dec 18 06:34:54 t43p cardbus: [ID 451854 kern.notice] pciclass,0c00100:  
DeviceId    = [0x8019]
Dec 18 06:34:54 t43p cardbus: [ID 451854 kern.notice] pciclass,0c00100:  
Command     = [0x146]
Dec 18 06:34:54 t43p cardbus: [ID 451854 kern.notice] pciclass,0c00100:  
CacheLineSz = [0x10]
Dec 18 06:34:54 t43p cardbus: [ID 451854 kern.notice] pciclass,0c00100:  
LatencyTmr  = [0x18]
Dec 18 06:34:54 t43p cardbus: [ID 451854 kern.notice] pciclass,0c00100:  BAR0   
     = [0x80004000]
Dec 18 06:34:54 t43p cardbus: [ID 451854 kern.notice] pciclass,0c00100:  BAR1   
     = [0x80008000]
Dec 18 06:34:54 t43p cardbus: [ID 451854 kern.notice] pciclass,0c00100:  BAR2   
     = [0x8000c000]
Dec 18 06:34:54 t43p cardbus: [ID 451854 kern.notice] pciclass,0c00100:  BAR3   
     = [0x0]
Dec 18 06:34:54 t43p cardbus: [ID 451854 kern.notice] pciclass,0c00100:  BAR4   
     = [0x0]
Dec 18 06:34:54 t43p cardbus: [ID 451854 kern.notice] pciclass,0c00100:  CIS    
     = [0x2]
Dec 18 06:34:54 t43p cardbus: [ID 451854 kern.notice] pciclass,0c00100:  ILINE  
     = [0xb]
Dec 18 06:34:54 t43p cardbus: [ID 451854 kern.notice] pciclass,0c00100:  IPIN   
     = [0x1]

I then connect the firewire cable to a Lacie 2.5" hard disk enclosure with a 
Hitachi
60 GB 7200 RPM notebook drive and then plug in the power supply to the 
enclosure.
The disk spins up and prtconf -D shows the following:

        pci8086,2448, instance #1 (driver name: pci_pci)
            pci1014,56c, instance #0 (driver name: pcic)
                pcs, instance #0 (driver name: pcs)
                pci104c,100, instance #0 (driver name: hci1394)
                    unit, instance #1 (driver name: scsa1394)
                        disk, instance #4 (driver name: sd)

rmformat gives:

Looking for devices...
     1. Volmgt Node: /vol/dev/aliases/rmdisk0
        Logical Node: /dev/rdsk/c4t0d0p0
        Physical Node: /pci at 0,0/pci8086,2448 at 1e/pci1014,56c at 
0/pci104c,100 at 0/unit at 00d04b530f087e59/disk at 0,0
        Connected Device: HTS72606 0M9AT00          MH4O
        Device Type: Removable
        Bus: <Unknown>
        Size: 57.2 GB
        Label: <None>
        Access permissions: Medium is not write protected.

I can access the disk from /rmdisk/unnamed_rmdisk.
Device entries were created for controller 4 (c4t0d0sN) in
/dev/dsk and /dev/rdsk.  Very nice!

After another reboot, I'll try a CF card in a PC Card Adapter
to see if that works.

I have a docking station for the machine at work.  It has two
TI1420 PCI-Cardbus bridges.  Should those two slots work with
the new Cardbus driver?  (I would like to install an Intel 100 Mbit
Cardbus Mobile Adapter which previously worked with the
Lynnsoft Cardbus drivers in Solaris 10 GA (before the new ddi
stuff) so I can test SunRay 3.1 on x86 with the SunRay being
connected on a separate 100 Mbit network separate from the
gigabit system network port.)

Thanks,

Stuart
This message posted from opensolaris.org

Reply via email to