Re: [!][SMARTLINK][64BIT] Patch for slusb module for 64bit kernel

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Guiseppe

Thanks for the information thus far.  I need further understanding of:

Question RE: require 32bit libraries:
What are typical distinguishing names of cogent 32bit and 64 bit libraries?
My system is Ubuntu, Feisty release and
Jacques uses Redhat mostly at CERN

Question RE: compatible option enabled in kernel configuration
     (make config/xconfig/menuconfig).
Is this kernel configuration standard on most x86_64 installations?
Or is compilation of a custom kernel typically necessary?
Please send me your kernel config file.

Marvin

> What ever is working for the slusb driver functionality,
> should be expected to work for the ALSA modem drivers, are they are
> fully Open Source and should compile cleanly on a 64 bit System.

ioctl (and ioctl32) is a system function for open and use the /dev special
file (for example ttySL0, slusb ..., is one function for kernel module <->
user program comunication).



On 9/26/07, Giuseppe Della Bianca <bepi@xxxxxxxx> wrote:
> Il Thursday 27 September 2007 01:10:33 hai scritto:
> > Jacques & others bilingual,
> >
> > Please converse with Giuseppe in Italian and then report back to the List.
>
> Very thanks.
>
> > The issues are as follows:
> > 1) It is understood the slusb.ko is compiled on a x86_64 system with
> > 64 bit resources.
>
> Yes.
>
> > 2) The patch of  modem/Make  implements
> >       gcc -m32
> > so that slmodemd is compiled in 32 bit mode.
> > But does this require that some 32 bit libraries be installed, or do
> > the 64 bit libraries installed on a x86_64 system suffice?
>
> 32bit user program with 64bit kernel, require 32bit libraries and 32bit
> compatible option enabled in kernel configuration (make
> config/xconfig/menuconfig).
>
> > What ever is working for the slusb driver functionality,
> > should be expected to work for the ALSA modem drivers, are they are
> > fully Open Source and should compile cleanly on a 64 bit System.
>
> ioctl (and ioctl32) is a system function for open and use the /dev special
> file (for example ttySL0, slusb ..., is one function for kernel module <->
> user program comunication).
>
>
> 64 bit slusb and 32 bit slmodemd:
>
> The 64bit kernel module with 64bit USER program use the ioctl, the 64bit
> kernel module with 32bit USER program use the compat_ioctl32 .
>
> Without slusb 64bit patch in the /var/log/message:
>
> Sep 20 01:04:20 exnet kernel: ioctl32(slmodemd:7248): Unknown cmd fd(3)
> cmd(00000008){00} arg(00000000) on /dev/slusb0
> Sep 20 01:04:20 exnet kernel: ioctl32(slmodemd:7248): Unknown cmd fd(3)
> cmd(00000008){00} arg(00000000) on /dev/slusb0
> Sep 20 01:04:20 exnet kernel: ioctl32(slmodemd:7248): Unknown cmd fd(3)
> cmd(00000008){00} arg(00000001) on /dev/slusb0
> Sep 20 01:04:20 exnet kernel: ioctl32(slmodemd:7248): Unknown cmd fd(3)
> cmd(00000011){00} arg(00000000) on /dev/slusb0
> Sep 20 01:04:20 exnet kernel: ioctl32(slmodemd:7248): Unknown cmd fd(3)
> cmd(00000004){00} arg(00002580) on /dev/slusb0
> Sep 20 01:04:20 exnet kernel: ioctl32(slmodemd:7248): Unknown cmd fd(3)
> cmd(00000007){00} arg(00000060) on /dev/slusb0
> Sep 20 01:04:20 exnet kernel: ioctl32(slmodemd:7248): Unknown cmd fd(3)
> cmd(00000021){00} arg(00000000) on /dev/slusb0
> Sep 20 01:04:20 exnet kernel: ioctl32(slmodemd:7248): Unknown cmd fd(3)
> cmd(00000008){00} arg(00000000) on /dev/slusb0
> Sep 20 01:08:54 exnet kernel: ioctl32(slmodemd:7248): Unknown cmd fd(3)
> cmd(00000008){00} arg(00000000) on /dev/slusb0
> Sep 20 01:08:54 exnet kernel: ioctl32(slmodemd:7248): Unknown cmd fd(3)
> cmd(00000008){00} arg(00000000) on /dev/slusb0
> Sep 20 01:08:55 exnet kernel: ioctl32(slmodemd:7248): Unknown cmd fd(3)
> cmd(00000008){00} arg(00000001) on /dev/slusb0
> Sep 20 01:08:55 exnet kernel: ioctl32(slmodemd:7248): Unknown cmd fd(3)
> cmd(00000011){00} arg(00000000) on /dev/slusb0
> Sep 20 01:08:55 exnet kernel: ioctl32(slmodemd:7248): Unknown cmd fd(3)
> cmd(00000004){00} arg(00002580) on /dev/slusb0
> Sep 20 01:08:55 exnet kernel: ioctl32(slmodemd:7248): Unknown cmd fd(3)
> cmd(00000007){00} arg(00000060) on /dev/slusb0
> Sep 20 01:08:55 exnet kernel: ioctl32(slmodemd:7248): Unknown cmd fd(3)
> cmd(00000021){00} arg(00000000) on /dev/slusb0
>
> > Guiseppe,
> >    Being a biologist by training and an administrator in current work,
> > I am not knowledgeable in deeper coding issues.
> ]zac[
>
> Ok.
>
> I am only a very long time programmers, not a very kernel expert.
>
> Gdb
>

[Index of Archives]     [Linux Media Development]     [Asterisk]     [DCCP]     [Netdev]     [X.org]     [Xfree86]     [Fedora Women]     [Linux USB]

  Powered by Linux