gPhoto2 kernel problems

Net Llama! netllama
Mon May 17 11:46:56 PDT 2004


On Mon, 28 Apr 2003, Bob Hemus wrote:
> Here are the usb modules I have on my 2.4.20 machine.
>
> usb-storage            48704   1
> scsi_mod               50092   5  [sg usb-storage sr_mod ide-scsi sd_mod]
> usb-uhci               20964   0  (unused)
> usbcore                54272   1  [usb-storage snd usb-uhci hid]
>
> I have the first 4 in my lsmod;
> [root at localhost root]# lsmod
> Module                  Size  Used by    Not tainted
> *usb-storage            54852   0  (unused)
> ppp_deflate             3904   0  (autoclean)
> zlib_deflate           20032   0  (autoclean) [ppp_deflate]
> ppp_async               8320   0  (autoclean)
> ppp_generic            24012   0  (autoclean) [ppp_deflate ppp_async]
> slhc                    6284   0  (autoclean) [ppp_generic]
> *sr_mod                 16344   0  (autoclean)
> es1370                 29252   1  (autoclean)
> gameport                3392   0  (autoclean) [es1370]
> soundcore               6436   4  (autoclean) [es1370]
> binfmt_misc             7204   1
> parport_pc             17988   1  (autoclean)
> lp                      9024   0  (autoclean)
> parport                33280   1  (autoclean) [parport_pc lp]
> autofs                 11940   0  (autoclean) (unused)
> ipchains               40456  14
> *ide-scsi                9312   0
> *scsi_mod              103904   2  [usb-storage sr_mod ide-scsi]
> ide-cd                 29856   0
> cdrom                  33184   0  [sr_mod ide-cd]
> *usb-uhci               23492   0  (unused)
> *usbcore                71168   1  [usb-storage usb-uhci]
> ext3                   64448   1
> jbd                    47608   1  [ext3]
>
> As you can see, I'm mising hid, sg, and snd (I think). May I insmod
> these modules (chicken to try with-out confirmation)?

hid = human interface device (i think), and is an explicit kernel config
option.  sg is part of the long list of scsi config options, snd seems
like some funky sound related module.

> Here's what I get for:
>
>         [root at localhost root]# cat cat /proc/scsi/usb-storage-0/1
>         cat: cat: No such file or directory

you've got a typo there, as you're catting 'cat'.

>         cat: /proc/scsi/usb-storage-0/1: No such file or directory
>         [root at localhost root]#
>
> [root at localhost root]# cdrecord -scanbus
> Cdrecord 1.10 (i686-pc-linux-gnu) Copyright (C) 1995-2001 J?rg Schilling
> Linux sg driver version: 3.1.22
> Using libscg version 'schily-0.5'
> scsibus0:
>         0,0,0     0) '        ' 'CD-R/RW RW7083A ' '1.20' Removable CD-ROM
>         0,1,0     1) *
>         0,2,0     2) *
>         0,3,0     3) *
>         0,4,0     4) *
>         0,5,0     5) *
>         0,6,0     6) *
>         0,7,0     7) *
> [root at localhost root]#
> So, may I insert those modules or upgrade the kernel?  Or both?

Do a 'modprobe hid' and see what happens.  I don't see why you'd need the
snd module.  modprobing sg can't hurt either.

-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Lonni J Friedman				netllama at linux-sxs.org
Linux Step-by-step & TyGeMo		     http://netllama.ipfox.com



More information about the Linux-users mailing list