SCIENTIFIC-LINUX-USERS Archives

January 2005

SCIENTIFIC-LINUX-USERS@LISTSERV.FNAL.GOV

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
"Laurent B. Aphecetche" <[log in to unmask]>
Reply To:
Laurent B. Aphecetche
Date:
Wed, 5 Jan 2005 16:47:04 +0100
Content-Type:
text/plain
Parts/Attachments:
text/plain (122 lines)
Hi Troy, Connie,

Thanks a lot for your answers. I did not know that unsupported kernel
rpm. Good to know, and that's what I would use ... if I could. Seem the
RHEL3 pwc driver is a bit too old for my webcam :-(
Besides, it seems I may have a much lower level problem. When I plug my
webcam (which is a Logitech QuickCam Zoom -usb id=0x46D:0X8b4-), I see a
lot of kernel: usb_control/bulk_msg: timeout in my /var/log/messages.
And indeed, a /sbin/lsusb -v gives me a timeout, as well:

Bus 001 Device 004: ID 046d:08b4 Logitech, Inc.
Device Descriptor:
   bLength                18
   bDescriptorType         1
   bcdUSB               1.10
   bDeviceClass            0 Interface
   bDeviceSubClass         0
   bDeviceProtocol         0
   bMaxPacketSize0         8
   idVendor           0x046d Logitech, Inc.
   idProduct          0x08b4
   bcdDevice            0.03
   iManufacturer           0
   iProduct                0
   iSerial                 0
   bNumConfigurations      1
<<< long pause here <<<<
cannot get config descriptor 0, Connection timed out (110)
   Language IDs: (length=4)
      0409 English(US)

Has anyone else encountered such problems with webcam and/or usb devices ?

Thanks,

Troy Dawson wrote:
> Hi,
> The answer to the real question is that you just need to install the
> kernel-unsupported rpm to get the pwc kernel module.
>
>   yum install kernel-unsupported
> or if you have multiple cpu's
>   yum install kernel-unsupported kernel-smp-unsupported
>
> How could you have found that out?
> By using yum, and specifically 'yum provides'
>   yum provides pwc
> or
>   yum provides pwc.o
>
> But, to answer the questions you asked.
>
> Laurent Aphecetche wrote:
>
>> Hi,
>>
>> I'd like to make a custom kernel (to include the pwc driver for a
>> logitech
>> webcam), but would like to be sure I'll end up with a working one.
>> My first guess was to use the file /boot/config-2.4.21-27.0.1.EL
>> during make
>> xconfig, but :
>> a) the kernel compilation fails if I use this file
>> b) this file has CONFIG_USB_PWC=m but I cannot locate the pwc.o
>> anywhere on
>> my system
>> so I conclude that this was not the config file used to produce the
>> kernel
>> available in kernel-2.4.21-27.0.1.EL rpm
>>
>> So my first question is : "is there a way to get the configuration of a
>> SL-distributed kernel ?"
>>
>
> Well, your first guess was right, in that /boot/config-2.4.21-27.0.1.EL
> really is the config file used to make the kernel.  But RedHat seperated
> the kernel modules into those that they would accept buzilla reports
> for, and those they wouldn't accept bugzilla reports for.
>
> Personally, I think this is a bit goofy.
>
> Scientific Linux 3.0.4 will install kernel-unsupported by default, to
> avoid these types of confusions.
>
>> And next, after some trials, I was able to compile a custom kernel, but I
>> miss an openafs module for that one. How could I make a custom openafs
>> module ?
>>
>> Thanks,
>
>
> How to make a custom openafs module.  I'm going to tell you the easy
> way, and the way that I build my modules.
>
> Easy way.
> You haven't really changed anything, so the module for the regular
> kernel should work.  Just copy
>   /lib/modules/2.4.21-27.0.1.EL/kernel/fs/openafs/openafs.o
> to
>   /lib/modules/<my custom kernel>/kernel/fs/openafs/openafs.o
>
> Harder way.
> Get the src.rpm for our openafs.
> ftp://ftp.scientificlinux.org/linux/scientific/303/SRPMS/openafs-1.2.11-15.9.SL.src.rpm
>
> And then I run
> rpmbuild --rebuild openafs*src.rpm --define "build_userspace 0" --define
> "build_modules 1" --define "kernel X.Y.Z" --target i686
> an example would be
> rpmbuild --rebuild openafs-1.2.11-15.5.SL.src.rpm --define
> "build_userspace 0" --define "build_modules 1" --define "kernel
> 2.4.21-15.0.3.EL" --target i686
>
> Troy


--
Dr. Laurent APHECETCHE (mailto:[log in to unmask]) (IN2P3-CNRS)
SUBATECH-EMN-4 rue Alfred Kastler-BP 20722-44307 NANTES cedex 03
TEL (+33/0) 2 51 85 84 17 - FAX (+33/0) 2 51 85 84 24 (France)
Collaboration PHENIX http://www.phenix.bnl.gov/~aphecetc

ATOM RSS1 RSS2