Nie jesteś zalogowany.
Jeśli nie posiadasz konta, zarejestruj je już teraz! Pozwoli Ci ono w pełni korzystać z naszego serwisu. Spamerom dziękujemy!
Prosimy o pomoc dla małej Julki — przekaż 1% podatku na Fundacji Dzieciom zdazyć z Pomocą.
Więcej informacji na dug.net.pl/pomagamy/.
Witam!
Wczoraj kompilowałem wieczorem kernela i chyba coś udupiłem, bo [b]pendrive[/b] nie jest podpinany pod [b]/dev/sd*[/b].
[b]dmesg[/b]:
[ 85.117636] usb 1-2: new high-speed USB device number 3 using xhci_hcd [ 85.134618] usb 1-2: New USB device found, idVendor=0781, idProduct=5530 [ 85.134629] usb 1-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [ 85.134634] usb 1-2: Product: SanDisk Cruzer [ 85.134639] usb 1-2: Manufacturer: SanDisk [ 85.134643] usb 1-2: SerialNumber: 32484114379368B9
[b]uname -a[/b]:
Linux notebook 3.12.0 #1 SMP Tue Mar 18 17:38:36 CET 2014 x86_64 GNU/Linux
[b]lsusb[/b]:
logan@notebook:~$ lsusb Bus 004 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub Bus 004 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 003 Device 005: ID 10f1:1a43 Importek Bus 003 Device 008: ID 0930:0219 Toshiba Corp. Bus 003 Device 003: ID 0bda:0129 Realtek Semiconductor Corp. RTS5129 Card Reader Controller Bus 003 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 001 Device 002: ID 046d:c05f Logitech, Inc. M115 Optical Mouse Bus 001 Device 003: ID 0781:5530 SanDisk Corp. Cruzer Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
[b]ls /dev/[/b]:
block dri log null rts51x0 sda9 stderr tty14 tty23 tty32 tty41 tty50 tty6 ttyS2 vcs1 vcsa2 watchdog0 bsg fb0 loop0 port sda sdb stdin tty15 tty24 tty33 tty42 tty51 tty60 ttyS3 vcs2 vcsa3 xconsole bus fd MAKEDEV ppp sda1 sg0 stdout tty16 tty25 tty34 tty43 tty52 tty61 uinput vcs3 vcsa4 zero cdrom full mcelog psaux sda2 sg1 tty tty17 tty26 tty35 tty44 tty53 tty62 urandom vcs4 vcsa5 char fuse media0 ptmx sda3 sg2 tty0 tty18 tty27 tty36 tty45 tty54 tty63 v4l vcs5 vcsa6 console hidraw0 mei pts sda4 shm tty1 tty19 tty28 tty37 tty46 tty55 tty7 vboxdrv vcs6 vcsa63 core hpet mem random sda5 snapshot tty10 tty2 tty29 tty38 tty47 tty56 tty8 vboxdrvu vcs63 vcsa7 cpu input net rfkill sda6 snd tty11 tty20 tty3 tty39 tty48 tty57 tty9 vboxnetctl vcs7 vga_arbiter cpu_dma_latency kmsg network_latency rtc sda7 sndstat tty12 tty21 tty30 tty4 tty49 tty58 ttyS0 vboxusb vcsa video0 disk kvm network_throughput rtc0 sda8 sr0 tty13 tty22 tty31 tty40 tty5 tty59 ttyS1 vcs vcsa1 watchdog
[b]update-grub2[/b]:
Generating grub configuration file ... /proc/devices: No entry for device-mapper found /proc/devices: No entry for device-mapper found /proc/devices: No entry for device-mapper found /proc/devices: No entry for device-mapper found /proc/devices: No entry for device-mapper found Znaleziono obraz Linuksa: /boot/vmlinuz-3.12.0 Znaleziono obraz initrd: /boot/initrd.img-3.12.0 /proc/devices: No entry for device-mapper found /proc/devices: No entry for device-mapper found /proc/devices: No entry for device-mapper found /proc/devices: No entry for device-mapper found /proc/devices: No entry for device-mapper found /proc/devices: No entry for device-mapper found /proc/devices: No entry for device-mapper found /proc/devices: No entry for device-mapper found /proc/devices: No entry for device-mapper found Found memtest86+ image: /memtest86+.bin Found memtest86+ multiboot image: /memtest86+_multiboot.bin /proc/devices: No entry for device-mapper found /proc/devices: No entry for device-mapper found /proc/devices: No entry for device-mapper found Znaleziono Debian GNU/Linux (jessie/sid) na /dev/sda6 /proc/devices: No entry for device-mapper found /proc/devices: No entry for device-mapper found /proc/devices: No entry for device-mapper found /proc/devices: No entry for device-mapper found gotowe
Konfigurację kernela wrzuciłem na [url=http://chomikuj.pl/pavlo950/dug]chomika[/url]. Po południu zmienię hosting.
Kernel w wersji 3.12 dlatego, że z dystrybucyjnym 3.12 nie miałem problemów.
Pytanie:
- gdzie zrobiłem błąd?
//// Pendrive jest sprawny. Sprawdzałem na Live CD i jest poprawnie wykrywany.
Ostatnio edytowany przez Pavlo950 (2014-03-19 07:00:05)
Offline
584
Ostatnio edytowany przez uzytkownikubunt (2016-12-01 00:47:59)
Offline
[quote=uzytkownikubunt]Podaj wynik
lsmod | grep -i -e ehci -e ahc -e xhci -e usbcore -e usb
[/quote]
Bzdura.
cat /boot/config-$(uname -r )| grep -i -e ehci -e ahc -e xhci -e usbcore -e usb | egrep -v '^#'
W ten sposób pokaże zarówno moduły załadowane jak i wbudowane w kernel.
Wynik u mnie:
CONFIG_BT_HCIBTUSB=y CONFIG_SATA_AHCI=y CONFIG_USB_USBNET=m CONFIG_USB_NET_AX8817X=m CONFIG_USB_NET_AX88179_178A=m CONFIG_USB_NET_CDCETHER=m CONFIG_USB_NET_CDC_NCM=m CONFIG_USB_NET_NET1080=m CONFIG_USB_NET_CDC_SUBSET=m CONFIG_USB_BELKIN=y CONFIG_USB_ARMLINUX=y CONFIG_USB_NET_ZAURUS=m CONFIG_SND_USB=y CONFIG_SND_USB_AUDIO=y CONFIG_SND_USB_CAIAQ=y CONFIG_SND_USB_CAIAQ_INPUT=y CONFIG_USB_HID=y CONFIG_USB_HIDDEV=y CONFIG_USB_OHCI_LITTLE_ENDIAN=y CONFIG_USB_SUPPORT=y CONFIG_USB_COMMON=y CONFIG_USB_ARCH_HAS_HCD=y CONFIG_USB=y CONFIG_USB_DEFAULT_PERSIST=y CONFIG_USB_MON=y CONFIG_USB_EHCI_HCD=y CONFIG_USB_EHCI_ROOT_HUB_TT=y CONFIG_USB_EHCI_TT_NEWSCHED=y CONFIG_USB_EHCI_PCI=y CONFIG_USB_OHCI_HCD=y CONFIG_USB_OHCI_HCD_PCI=y CONFIG_USB_UHCI_HCD=y CONFIG_USB_PRINTER=y CONFIG_USB_STORAGE=y CONFIG_USB_SERIAL=y CONFIG_USB_SERIAL_GENERIC=y CONFIG_USB_SERIAL_WWAN=y CONFIG_USB_SERIAL_OPTION=y CONFIG_USB_SISUSBVGA=y CONFIG_USB_GADGET=y CONFIG_USB_GADGET_VBUS_DRAW=2 CONFIG_USB_GADGET_STORAGE_NUM_BUFFERS=2 CONFIG_USB_DUMMY_HCD=m CONFIG_USB_LIBCOMPOSITE=m CONFIG_USB_CONFIGFS=m CONFIG_USB_MIDI_GADGET=m CONFIG_GRKERNSEC_DENYUSB=y
Pozdro
;-)
Ostatnio edytowany przez Jacekalex (2014-03-19 11:02:42)
Offline
logan@notebook:~$ cat /boot/config-$(uname -r )| grep -i -e ehci -e ahc -e xhci -e usbcore -e usb | egrep -v '^#' CONFIG_BT_HCIBTUSB=m CONFIG_MEDIA_USB_SUPPORT=y CONFIG_USB_VIDEO_CLASS=m CONFIG_USB_VIDEO_CLASS_INPUT_EVDEV=y CONFIG_SND_USB=y CONFIG_USB_HID=m CONFIG_USB_HIDDEV=y CONFIG_USB_OHCI_LITTLE_ENDIAN=y CONFIG_USB_SUPPORT=y CONFIG_USB_COMMON=m CONFIG_USB_ARCH_HAS_HCD=y CONFIG_USB=m CONFIG_USB_ANNOUNCE_NEW_DEVICES=y CONFIG_USB_DEFAULT_PERSIST=y CONFIG_USB_DYNAMIC_MINORS=y CONFIG_USB_XHCI_HCD=m CONFIG_USB_EHCI_HCD=m CONFIG_USB_EHCI_ROOT_HUB_TT=y CONFIG_USB_EHCI_TT_NEWSCHED=y CONFIG_USB_EHCI_PCI=m CONFIG_USB_GADGET=m CONFIG_USB_GADGET_VBUS_DRAW=2 CONFIG_USB_GADGET_STORAGE_NUM_BUFFERS=2
Co jest do czego? :D
////
logan@notebook:~$ lsmod | grep -i -e ehci -e ahc -e xhci -e usbcore -e usb btusb 21440 0 bluetooth 215957 3 ath3k,btusb usbhid 44439 0 hid 94034 2 hid_generic,usbhid ehci_pci 12472 0 ehci_hcd 48414 1 ehci_pci xhci_hcd 107730 0 usbcore 154035 8 ath3k,btusb,uvcvideo,rts5139,ehci_hcd,ehci_pci,usbhid,xhci_hcd usb_common 12440 1 usbcore
Ostatnio edytowany przez Pavlo950 (2014-03-19 15:49:41)
Offline
Nie widać u Ciebie tych modułów:
CONFIG_USB_UHCI_HCD CONFIG_USB_OHCI_HCD
Offline
Time (s) | Query |
---|---|
0.00009 | SET CHARSET latin2 |
0.00004 | SET NAMES latin2 |
0.00119 | SELECT u.*, g.*, o.logged FROM punbb_users AS u INNER JOIN punbb_groups AS g ON u.group_id=g.g_id LEFT JOIN punbb_online AS o ON o.ident='3.138.125.86' WHERE u.id=1 |
0.00078 | REPLACE INTO punbb_online (user_id, ident, logged) VALUES(1, '3.138.125.86', 1732365811) |
0.00028 | SELECT * FROM punbb_online WHERE logged<1732365511 |
0.00088 | DELETE FROM punbb_online WHERE ident='3.129.63.252' |
0.00075 | DELETE FROM punbb_online WHERE ident='3.16.135.226' |
0.00056 | SELECT topic_id FROM punbb_posts WHERE id=260551 |
0.00008 | SELECT id FROM punbb_posts WHERE topic_id=25463 ORDER BY posted |
0.00027 | SELECT t.subject, t.closed, t.num_replies, t.sticky, f.id AS forum_id, f.forum_name, f.moderators, fp.post_replies, 0 FROM punbb_topics AS t INNER JOIN punbb_forums AS f ON f.id=t.forum_id LEFT JOIN punbb_forum_perms AS fp ON (fp.forum_id=f.id AND fp.group_id=3) WHERE (fp.read_forum IS NULL OR fp.read_forum=1) AND t.id=25463 AND t.moved_to IS NULL |
0.00025 | SELECT search_for, replace_with FROM punbb_censoring |
0.00146 | SELECT u.email, u.title, u.url, u.location, u.use_avatar, u.signature, u.email_setting, u.num_posts, u.registered, u.admin_note, p.id, p.poster AS username, p.poster_id, p.poster_ip, p.poster_email, p.message, p.hide_smilies, p.posted, p.edited, p.edited_by, g.g_id, g.g_user_title, o.user_id AS is_online FROM punbb_posts AS p INNER JOIN punbb_users AS u ON u.id=p.poster_id INNER JOIN punbb_groups AS g ON g.g_id=u.group_id LEFT JOIN punbb_online AS o ON (o.user_id=u.id AND o.user_id!=1 AND o.idle=0) WHERE p.topic_id=25463 ORDER BY p.id LIMIT 0,25 |
0.00079 | UPDATE punbb_topics SET num_views=num_views+1 WHERE id=25463 |
Total query time: 0.00742 s |