[laptop-discuss] Re: Cardbus report: PCMCIA CDMA modem

Douglas Atique tellmebout-solaris at yahoo.com
Fri Oct 27 05:04:21 PDT 2006


> d0b189c0 unix:die+a7 (e, d0b18a60, 0, 0)
> d0b18a4c unix:trap+103f (d0b18a60, 0, 0)
> d0b18a60 unix:cmntrap+9a (1b0, 0, d0b10160, f)
> d0b18ae0 pcplusmp:apic_check_stuck_interrupt+16
> (d180d760, fe, 0, 0,)
> d0b18b34 pcplusmp:apic_rebind+dc (d180d760, 0, 1, 0)
> d0b18b50 pcplusmp:apic_setup_io_intr+20 (d180d760,
> ff)
> d0b18b74 pcplusmp:apic_addspl+121 (ff, 1, 1, 1)
> d0b18b9c unix:add_avintr+dd (d25d2918, 1, f7cfd0)
> d0b18be8 cardbus:cardbus_moddesc+27969762 (d69ad5b0,
> cf9ab018,)
> d0b18c08 cardbus:cardbus_moddesc+2796985f (d69ad5b0,
> cf9ab018,)
> d0b18c34 unix:i_ddi_intr_ops+33 (cf9ab018, cf9ab018,)
> d0b18c50 unix:i_ddi_handle_intr_ops+17 (cf9ab018,
> cf9ab018,)
> d0b18c78 genunix:ddi_intr_enable+42 (d25d2918)
> d0b18c98 ohci:ohci_register_intrs_and_init_mutex+ee
> (d0126480)
> d0b18cc4 ohci:ohci_attach+f0 (cf9ab018, 0)
> d0b18cf8 genunix:devi_attach+6f (cf9ab018, 0)
> d0b18d14 genunix:attach_node+78 (cf9ab018)
> d0b18d2c genunix:i_ndi_config_node+82 (cf9ab018, 6,
> 0)
> d0b18d44 genunix:i_ddi_attachchild+32 (cf9ab018)
> d0b18d5c genunix:devi_attach_node+65 (cf9ab018, 4048)
> d0b18d7c genunix:config_immediate_children+b4
> (d69ad5b0, 4048, 75)
> d0b18d98 genunix:devi_config_common+76 (d69ad5b0,
> 4048, 75)
> d0b18dc8 genunix:mt_config_thread+90 (d25c1c38, 0)
> d0b18dd8 unix:thread_start+8 ()
> 
> This looks like another problem with the header
> files.  V0.3 was 
> compiled some time ago when the header files were
> different. If we 
> recompile it using latest header files, it won't work
> on old versions of 
> Solaris. That's the problem.

Can the driver sources be compiled in Solaris 10? Even though the Makefiles refer to other Makefiles that probably reside in the OpenSolaris ON sources, can I build the sources without them?
Which compiler and linker options should I use?
cc -D_KERNEL -c *.c
ld -r -dy -N...

> 
> As a nexus driver, cardbus has to use some private
> header files internal 
> to DDI implementation. While these files change over
> time, we've been 
> trying to adapt to the changes by adding private
> versions of the header 
> files in v0.3. That's why v0.3, as a downloadable
> version, has been 
> working fine on S10, S10updates and S11. But it's
> hard to keep up the 
> good "hack" work.

Does "keeping up the good \"hack\" work" mean that I will be able to build the driver on S10?

BTW, I found this document about PCMCIA drivers for Solaris: http://docs.sun.com/app/docs/doc/802-6321
Is that information up to date? What are the main differences of the cardbus implementation?

-- Douglas
 
 
This message posted from opensolaris.org



More information about the laptop-discuss mailing list