Mailinglist Archive: opensuse-hu (212 mails)

< Previous Next >
Re: [opensuse-hu] USB
  • From: Burján Ferenc <feri.bp@xxxxxxx>
  • Date: Mon, 15 Jun 2009 22:19:44 +0200
  • Message-id: <1245097184.4304.5.camel@xxxxxxxxxxxxxxx>
No ez jó hosszú lett:

A dologhoz még írnék pár körülményt. Ez egy clevo alapokon nyugvó
Albacomp laptop. USB Hub is ugyan erre a sorsra szokott jutni. Érdekes,
hogy a billentyű ritkább hibával működni szokott, ha betolom az USB-be,
az egér is.

No a kimenet, de lelőttem egy Ctrl + c -vel, mert nem akar végetérni.

tail -f /var/log/messages
Jun 15 22:10:09 linux-rlzp nm-dispatcher.action: Script
'/etc/NetworkManager/dispatcher.d/autofs' exited with error status 1.
Jun 15 22:10:10 linux-rlzp SuSEfirewall2: Setting up rules
from /etc/sysconfig/SuSEfirewall2 ...
Jun 15 22:10:10 linux-rlzp SuSEfirewall2: using default zone 'ext' for
interface pan0
Jun 15 22:10:10 linux-rlzp SuSEfirewall2: batch committing...
Jun 15 22:10:10 linux-rlzp SuSEfirewall2: Firewall rules successfully
set
Jun 15 22:10:10 linux-rlzp sm-notify[4015]: Already notifying clients;
Exiting!
Jun 15 22:10:10 linux-rlzp nm-dispatcher.action: Script
'/etc/NetworkManager/dispatcher.d/nfs' exited with error status 6.
Jun 15 22:10:10 linux-rlzp dbus-daemon: Rejected send message, 12
matched rules; type="method_return", sender=":1.48" (uid=0 pid=3759
comm="/usr/lib/NetworkManager/nm-dispatcher.action ")
interface="(unset)" member="(unset)" error name="(unset)"
requested_reply=0 destination=":1.8" (uid=0 pid=2848
comm="/usr/sbin/NetworkManager "))
Jun 15 22:10:57 linux-rlzp kernel: process `skype' is using obsolete
setsockopt SO_BSDCOMPAT
Jun 15 22:12:22 linux-rlzp su: (to root) feri on /dev/pts/1
Jun 15 22:13:02 linux-rlzp kernel: hub 4-0:1.0: unable to enumerate USB
device on port 4
Jun 15 22:13:02 linux-rlzp kernel: hub 4-0:1.0: unable to enumerate USB
device on port 4
Jun 15 22:13:02 linux-rlzp kernel: usb 4-4: new high speed USB device
using ehci_hcd and address 5
Jun 15 22:13:02 linux-rlzp kernel: hub 4-0:1.0: unable to enumerate USB
device on port 4
Jun 15 22:13:02 linux-rlzp kernel: hub 4-0:1.0: unable to enumerate USB
device on port 4
Jun 15 22:13:02 linux-rlzp kernel: hub 4-0:1.0: unable to enumerate USB
device on port 4
Jun 15 22:13:03 linux-rlzp kernel: hub 4-0:1.0: unable to enumerate USB
device on port 4
Jun 15 22:13:03 linux-rlzp kernel: hub 4-0:1.0: unable to enumerate USB
device on port 4
Jun 15 22:13:03 linux-rlzp kernel: hub 4-0:1.0: unable to enumerate USB
device on port 4
Jun 15 22:13:03 linux-rlzp kernel: hub 4-0:1.0: unable to enumerate USB
device on port 4
Jun 15 22:13:03 linux-rlzp kernel: hub 4-0:1.0: unable to enumerate USB
device on port 4
Jun 15 22:13:04 linux-rlzp kernel: usb 4-4: new high speed USB device
using ehci_hcd and address 13
Jun 15 22:13:04 linux-rlzp kernel: hub 4-0:1.0: unable to enumerate USB
device on port 4
Jun 15 22:13:04 linux-rlzp kernel: hub 4-0:1.0: unable to enumerate USB
device on port 4
Jun 15 22:13:04 linux-rlzp kernel: hub 4-0:1.0: unable to enumerate USB
device on port 4
Jun 15 22:13:04 linux-rlzp kernel: hub 4-0:1.0: unable to enumerate USB
device on port 4
Jun 15 22:13:05 linux-rlzp kernel: hub 4-0:1.0: unable to enumerate USB
device on port 4
Jun 15 22:13:05 linux-rlzp kernel: hub 4-0:1.0: unable to enumerate USB
device on port 4
Jun 15 22:13:05 linux-rlzp kernel: hub 4-0:1.0: unable to enumerate USB
device on port 4
Jun 15 22:13:05 linux-rlzp kernel: hub 4-0:1.0: unable to enumerate USB
device on port 4
Jun 15 22:13:05 linux-rlzp kernel: hub 4-0:1.0: unable to enumerate USB
device on port 4
Jun 15 22:13:06 linux-rlzp kernel: usb 4-4: new high speed USB device
using ehci_hcd and address 22
Jun 15 22:13:06 linux-rlzp kernel: hub 4-0:1.0: unable to enumerate USB
device on port 4
Jun 15 22:13:06 linux-rlzp kernel: hub 4-0:1.0: unable to enumerate USB
device on port 4
Jun 15 22:13:06 linux-rlzp kernel: hub 4-0:1.0: unable to enumerate USB
device on port 4
Jun 15 22:13:06 linux-rlzp kernel: hub 4-0:1.0: unable to enumerate USB
device on port 4
Jun 15 22:13:06 linux-rlzp kernel: hub 4-0:1.0: unable to enumerate USB
device on port 4
Jun 15 22:13:07 linux-rlzp kernel: hub 4-0:1.0: unable to enumerate USB
device on port 4
Jun 15 22:13:07 linux-rlzp kernel: hub 4-0:1.0: unable to enumerate USB
device on port 4
Jun 15 22:13:07 linux-rlzp kernel: usb 4-4: new high speed USB device
using ehci_hcd and address 29
Jun 15 22:13:07 linux-rlzp kernel: hub 4-0:1.0: unable to enumerate USB
device on port 4
Jun 15 22:13:07 linux-rlzp kernel: hub 4-0:1.0: unable to enumerate USB
device on port 4
Jun 15 22:13:07 linux-rlzp kernel: hub 4-0:1.0: unable to enumerate USB
device on port 4
Jun 15 22:13:08 linux-rlzp kernel: hub 4-0:1.0: unable to enumerate USB
device on port 4
Jun 15 22:13:08 linux-rlzp kernel: hub 4-0:1.0: unable to enumerate USB
device on port 4
Jun 15 22:13:08 linux-rlzp kernel: hub 4-0:1.0: unable to enumerate USB
device on port 4
Jun 15 22:13:08 linux-rlzp kernel: hub 4-0:1.0: unable to enumerate USB
device on port 4
Jun 15 22:13:08 linux-rlzp kernel: hub 4-0:1.0: unable to enumerate USB
device on port 4
Jun 15 22:13:09 linux-rlzp kernel: hub 4-0:1.0: unable to enumerate USB
device on port 4
Jun 15 22:13:09 linux-rlzp kernel: hub 4-0:1.0: unable to enumerate USB
device on port 4
Jun 15 22:13:09 linux-rlzp kernel: hub 4-0:1.0: unable to enumerate USB
device on port 4
Jun 15 22:13:09 linux-rlzp kernel: hub 4-0:1.0: unable to enumerate USB
device on port 4
Jun 15 22:13:09 linux-rlzp kernel: hub 4-0:1.0: unable to enumerate USB
device on port 4
Jun 15 22:13:09 linux-rlzp kernel: hub 4-0:1.0: unable to enumerate USB
device on port 4
^C





2009. 06. 15, hétfő keltezéssel 21.59-kor "Horváth Gergely J." ezt írta:
Igen, elfelejtettem mondani, hogy ezt a parancsot még úgy add ki, hogy
nincs benn az USB. Mikor kiadod a parancsot, akkor nem kapod vissza a
terminált, hanem folyamatosan látni fogod az üzeneteket. Ekkor bedugod
az USB-t, és látnod kell hirtelen usb-s üzeneteket. Erre vagyunk
kiváncsiak :)

Mutatok egy példát:

Jun 15 21:56:04 asus kernel: usb 4-1: new full speed USB device using
uhci_hcd and address 2
Jun 15 21:56:04 asus kernel: usb 4-1: not running at top speed; connect
to a high speed hub
Jun 15 21:56:04 asus kernel: usb 4-1: configuration #1 chosen from 1 choice
Jun 15 21:56:04 asus kernel: scsi7 : SCSI emulation for USB Mass Storage
devices
Jun 15 21:56:04 asus kernel: usb-storage: device found at 2
Jun 15 21:56:04 asus kernel: usb-storage: waiting for device to settle
before scanning
Jun 15 21:56:04 asus kernel: usb 4-1: New USB device found,
idVendor=058f, idProduct=6387
Jun 15 21:56:04 asus kernel: usb 4-1: New USB device strings: Mfr=1,
Product=2, SerialNumber=3
Jun 15 21:56:04 asus kernel: usb 4-1: Product: Mass Storage
Jun 15 21:56:04 asus kernel: usb 4-1: Manufacturer: Generic
Jun 15 21:56:04 asus kernel: usb 4-1: SerialNumber: 1E7FD5BD
Jun 15 21:56:05 asus kernel: scsi 7:0:0:0: Direct-Access Generic
Flash Disk 8.07 PQ: 0 ANSI: 2
Jun 15 21:56:05 asus kernel: sd 7:0:0:0: [sdh] 2058240 512-byte hardware
sectors (1054 MB)
Jun 15 21:56:05 asus kernel: sd 7:0:0:0: [sdh] Write Protect is off
Jun 15 21:56:05 asus kernel: sd 7:0:0:0: [sdh] Mode Sense: 03 00 00 00
Jun 15 21:56:05 asus kernel: sd 7:0:0:0: [sdh] Assuming drive cache:
write through
Jun 15 21:56:05 asus kernel: sd 7:0:0:0: [sdh] 2058240 512-byte hardware
sectors (1054 MB)
Jun 15 21:56:05 asus kernel: sd 7:0:0:0: [sdh] Write Protect is off
Jun 15 21:56:05 asus kernel: sd 7:0:0:0: [sdh] Mode Sense: 03 00 00 00
Jun 15 21:56:05 asus kernel: sd 7:0:0:0: [sdh] Assuming drive cache:
write through
Jun 15 21:56:06 asus kernel: sdh: sdh1
Jun 15 21:56:06 asus kernel: sd 7:0:0:0: [sdh] Attached SCSI removable disk
Jun 15 21:56:06 asus kernel: sd 7:0:0:0: Attached scsi generic sg10 type 0
Jun 15 21:56:06 asus kernel: usb-storage: device scan complete
Jun 15 21:56:06 asus hald: mounted /dev/sdh1 on behalf of uid 1000
Jun 15 21:56:06 asus gnome-keyring-daemon[4494]: adding removable
location: volume_uuid_49CB_7AF4 at /media/disk-1

Ebből látszik, hogy gyönyörűen felismerte (máramennyire gyönyörűnek
lehet nevezni a nem teljes sebességet és az scsi emulációt). Kapott
helyet a /dev/sdh alatt, és a gnome pedig mountolta is /media/disk-1 alá.


Üdv!

Burján Ferenc wrote:
Köszi a segítséget. Mielőtt belebonyolódnánk fontos, hogy úgy adom-e ki
a tail-t, hogy bootoláskor bent volt az USB-ben, vagy nem?

Most itt van egy tail kimenet, de most éppen bent van az USB-ben és
működik,mert bootolás után vagyok. Ha leválasztom, akkor megint nem lesz
csak reboottal.

A kimenet:

tail -f /var/log/messages

Jun 15 20:25:13 linux-rlzp dhclient: DHCPACK from 192.168.1.1
Jun 15 20:25:13 linux-rlzp dhclient: bound to 192.168.1.100 -- renewal
in 1785 seconds.
Jun 15 20:54:58 linux-rlzp dhclient: DHCPREQUEST on eth1 to 192.168.1.1
port 67
Jun 15 20:54:58 linux-rlzp dhclient: DHCPACK from 192.168.1.1
Jun 15 20:54:58 linux-rlzp dhclient: bound to 192.168.1.100 -- renewal
in 1656 seconds.
Jun 15 20:55:28 linux-rlzp syslog-ng[2015]: Log statistics;
dropped='pipe(/dev/xconsole)=0', dropped='pipe(/dev/tty10)=0',
processed='center(queued)=354', processed='center(received)=307',
processed='destination(newsnotice)=0', processed='destination(acpid)=2',
processed='destination(firewall)=25', processed='destination(null)=4',
processed='destination(mail)=2', processed='destination(mailinfo)=2',
processed='destination(console)=13', processed='destination(newserr)=0',
processed='destination(newscrit)=0',
processed='destination(messages)=164',
processed='destination(mailwarn)=0',
processed='destination(localmessages)=0',
processed='destination(netmgm)=110', processed='destination(mailerr)=0',
processed='destination(xconsole)=13', processed='destination(warn)=19',
processed='source(src)=307'
Jun 15 21:22:34 linux-rlzp dhclient: DHCPREQUEST on eth1 to 192.168.1.1
port 67
Jun 15 21:22:34 linux-rlzp dhclient: DHCPACK from 192.168.1.1
Jun 15 21:22:34 linux-rlzp dhclient: bound to 192.168.1.100 -- renewal
in 1788 seconds.
Jun 15 21:44:42 linux-rlzp su: (to root) feri on /dev/pts/1


B. Feri

2009. 06. 15, hétfő keltezéssel 21.39-kor "Horváth Gergely J." ezt írta:
Szia!

Engem érdekelne, hogy a kernel barátkozik-e vele:

tail -f /var/log/messages

Ha megismerkednek egymással, akkor a kernel ad neki valami jó kis helyet
/dev/sd# környékén, onnantól kezdve lehet mountolni. Gnome és KDE is
elméletben automatikusan megteszi, ha mégsem, akkor mondjuk

mount -t vfat /dev/sde /mnt/usb

Remélem segít. Ha a kernel szintjén minden oké, és Gnome-on vagy, akkor
utána nézek mi lehet a hiba. Ha KDE, akkor <txtch> ? :)

Burján Ferenc wrote:
A 11.0 verzió óta miért nem tudok pen drivét a rendszerre illeszteni
csak bootoláskor?

B. Feri






< Previous Next >