Re: mounting USB flash disk

<[email protected]>
Newsgroups gmane.linux.gentoo.ppc
Message-ID <39271.70.109.137.82.1134336738.squirrel@webmail.macintoshclub.com>
I finally just unmerged syslog-ng and reemerged it, but it still had the
same error. It also failed on both with both /dev/tty12 and /dev/console.
syslog-ng -s /etc/syslog-ng/syslog-ng.conf;echo $?
returns 0 :-(
I ran lsusb -vv and I have attached the output (minus flashdrive serial
number)
Luckily, cat /proc/sys/kernel/hotplug is correct.
Are there any other good loggers? I am currently emerging metalog...
thanks for all the help,
nick
> Hello Nick,
> I checked your syslog-ng.conf. The only difference is logging to
> /dev/console  instead of /dev/tty12. Just give it a try.
> I suggest to solve the problems in the order as they appear while
> booting.  So first of all you need an working syslog-ng.
> I installed version 1.6.8-r1 with default syslog-ng.conf.
> Please try syslog-ng -s /etc/syslog-ng/syslog-ng.conf;echo $?
> to check your config file.
>
> After this please check your hotplug config:
> cat /proc/sys/kernel/hotplug
> It should be /sbin/udevsend.
>
> To find out what goes wrong you should make an lsusb which is provided
> by  sys-apps/usbutils.
>
> Best regards Joerg
>
> Am Sonntag 11 Dezember 2005 20:52 schrieb [email protected]:
>> Sorry, links ate the rest of my message.
>> syslog-ng dies with "bad config file"
>> hotplug usb:
>> Bad USB agent invocation, no action
>> and dmesg still only shows the keypresses (I got rid of Kernel
>> hacking-> debugging). I also added SCSI multi-LUN support, HD support,
>> and general device support. USB mass storage became module (to test in
>> MOL). and I also tried to fix my windowing problems with GNOME, KDE,
>> and XFCE (all installed, all failing) by making radeonfb a module.
>> sorry,
>> nick
>>
>> > and the root hubs (ID 0000:0000)
>> > Thanks
>> > nick
>> >
>> >> Am Sonntag 11 Dezember 2005 17:07 schrieb [email protected]:
>> >>> > I am on a powerbook G4 800mhz and it is
>> >>> >> plugged into the back of the computer (port 2). Does anyone
>> know
>> >>> how to solve this problem?
>> >>> >> thanks
>> >>> >> nick
>> >>> >
>> >>> > First, next time, please start a new thread instead of replying
>> to
>> >>> an existing one.
>> >>> >
>> >>> > That said, you'll have to provide more information.  Can you
>> give
>> >>> us
>> >>> the
>> >>> >  kernel messages from dmesg related to the USB stick?  Are you
>> sure
>> >>> you
>> >>> > have USB disk support and generic scsi disk support in your
>> kernel?
>> >>> >
>> >>> > -Joe
>> >>> > --
>> >>> > [email protected] mailing list
>> >>> Sorry about replying instead of starting again.
>> >>> Are there any just-X11 browsers besides links -g that I can use?
>> Whenever I press the back arrow it goes back and deletes the email
>> I was writing.
>> >>>
>> >>> Anyway, the only messages in dmesg (I do not know why) are
>> keypress
>> >> events!?!
>> >>> I used to be informative, but now all it has are keypresses...
>> >>>
>> >>> I have SCSI support, and USB mass storage (with all sub-options)
>> >> compiled-in.
>> >>> Do I need to add support for SCSI disks, CDROMS, generic devices,
>> etc in order for USB versions of those to work?
>> >>> Thanks,
>> >>> nick
>> >>>
>> >>>
>> >>> --
>> >>> [email protected] mailing list
>> >>>
>> >>>
>> >> Hello Nick,
>> >> You need modules for SCSI device support, SCSI disk support and
>> please enable  'Probe all LUNs on each SCSI device' as it helps
>> with Multi Card Readers. As long as the USB is hotpluggable, you
>> should install hotplug and udev  packages.
>> >> A good idea is to put the USB Disk in and to have look in dmesg
>> and/or /var/log/messages.
>> >> Normally I the disk should recognized by the kernel and produce at
>> least some  messages. (May be a lsusb show if there is something
>> recognized.) Best regards Joerg
>> >> --
>> >> [email protected] mailing list
>>
>>
>>
>> --
>> [email protected] mailing list
>>
>>
> --
> [email protected] mailing list
lsusbvvout.txt (text/plain, 4.8 KB)
Bus 002 Device 002: ID 0634:3400  
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               0.02
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0 
  bDeviceProtocol         0 
  bMaxPacketSize0        64
  idVendor           0x0634 
  idProduct          0x3400 
  bcdDevice            1.00
  iManufacturer           1 Crucial        
  iProduct                2 Gizmo          
  iSerial                 3 XXXXXXXXXXXXXXX
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           32
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0
    bmAttributes         0x80
    MaxPower              120mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           2
      bInterfaceClass         8 Mass Storage
      bInterfaceSubClass      6 SCSI
      bInterfaceProtocol     80 Bulk (Zip)
      iInterface              0 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               none
        wMaxPacketSize         64
        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x02  EP 2 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               none
        wMaxPacketSize         64
        bInterval               0
  Language IDs: (length=4)
     0409 English(US)

Bus 002 Device 001: ID 0000:0000  
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB              10.01
  bDeviceClass            9 Hub
  bDeviceSubClass         0 Unused
  bDeviceProtocol         0 
  bMaxPacketSize0         8
  idVendor           0x0000 
  idProduct          0x0000 
  bcdDevice            6.02
  iManufacturer           3 Linux 2.6.12-gentoo-r6 ohci_hcd
  iProduct                2 OHCI Host Controller
  iSerial                 1 0001:10:19.0
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           25
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0
    bmAttributes         0xc0
      Self Powered
    MaxPower                0mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         9 Hub
      bInterfaceSubClass      0 Unused
      bInterfaceProtocol      0 
      iInterface              0 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               none
        wMaxPacketSize          2
        bInterval             255
  Language IDs: (length=4)
     0409 English(US)

Bus 001 Device 001: ID 0000:0000  
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB              10.01
  bDeviceClass            9 Hub
  bDeviceSubClass         0 Unused
  bDeviceProtocol         0 
  bMaxPacketSize0         8
  idVendor           0x0000 
  idProduct          0x0000 
  bcdDevice            6.02
  iManufacturer           3 Linux 2.6.12-gentoo-r6 ohci_hcd
  iProduct                2 OHCI Host Controller
  iSerial                 1 0001:10:18.0
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           25
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0
    bmAttributes         0xc0
      Self Powered
    MaxPower                0mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         9 Hub
      bInterfaceSubClass      0 Unused
      bInterfaceProtocol      0 
      iInterface              0 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               none
        wMaxPacketSize          2
        bInterval             255
  Language IDs: (length=4)
     0409 English(US)
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.