Forumi


Povratak   PC Ekspert Forum > Računala > Software > Operativni sustavi
Ime
Lozinka

Odgovori
 
Uređivanje
Staro 21.02.2018., 10:12   #1
tomek@vz
Premium
Moj komp
 
tomek@vz's Avatar
 
Datum registracije: May 2006
Lokacija: Varaždin
Postovi: 1,964
[OpenSuse 13.1] USB muke

Imam jako čudan problem sa prepoznavanjem USB vanjskog diska na OpenSuse 13 stroju. Disk u pitanju je Seagate M3 USB 3.0 1TB (2 kom, 100% ispravni jer svugdje rade samo ne tu) i pretpostavljam da udev radi probleme ali nemogu skužit kako riješit stvar.

Code:
# udevadm monitor --udev 
monitor will print the received events for:
UDEV - the event which udev sends out after rule processing

UDEV  [83499.217409] remove   /devices/pci0000:00/0000:00:14.0/usb4/4-6/4-6:1.0 (usb)
UDEV  [83499.217876] remove   /devices/pci0000:00/0000:00:14.0/usb4/4-6 (usb)
UDEV  [83573.759521] add      /devices/pci0000:00/0000:00:14.0/usb4/4-6 (usb)
UDEV  [83573.762405] add      /devices/pci0000:00/0000:00:14.0/usb4/4-6/4-6:1.0 (usb)
lsusb ga normalno vidi.

Code:
# lsusb
Bus 001 Device 002: ID 8087:8008 Intel Corp. 
Bus 002 Device 002: ID 8087:8000 Intel Corp. 
Bus 004 Device 011: ID 0bc2:61b6 Seagate RSS LLC 
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Ali...

Code:
#ls -l /dev/disk/by-uuid/
total 0
lrwxrwxrwx 1 root root 9 Feb 20 10:52 054a3503-1bcc-4fde-9111-4f70e807f818 -> ../../md1
lrwxrwxrwx 1 root root 9 Feb 20 10:52 8024a2dc-7959-48a8-afd9-b04cee2cc2f7 -> ../../md2
lrwxrwxrwx 1 root root 9 Feb 20 10:52 97fbed61-5806-4546-8a4f-2c755b28757f -> ../../md0
Ideje?
tomek@vz je offline   Reply With Quote
Staro 21.02.2018., 10:35   #2
madwifi
Registered User
 
Datum registracije: Sep 2009
Lokacija: Zagreb
Postovi: 15
Code:
dmesg | tail
Code:
uname -a
Code:
fdisk -l
Star je OS, ak ti HW ne dela - probaj kernel upgrade >4.4 ili novi udev/eudev, novi hwdb.bin .. Pretpostavljam da je kernel stariji od diska.
madwifi je offline   Reply With Quote
Oglasni prostor
Oglas
 
Oglas
Staro 21.02.2018., 20:38   #3
tomek@vz
Premium
Moj komp
 
tomek@vz's Avatar
 
Datum registracije: May 2006
Lokacija: Varaždin
Postovi: 1,964
Citiraj:
Autor madwifi Pregled postova
Code:
dmesg | tail
Code:
uname -a
Code:
fdisk -l
Star je OS, ak ti HW ne dela - probaj kernel upgrade >4.4 ili novi udev/eudev, novi hwdb.bin .. Pretpostavljam da je kernel stariji od diska.
Nekaj takvog...problem je kaj je do prošlog tjedna radilo. Na sustavu ništa nije dirano. Nestalo struje, ponovo paljenje stroja > problem. Gledao sam i sa dmesg i fdisk -l > 0 bodova. Kao da kad mu kernel treba reći ovo je disk, prikaži particije > 0 bodova. Na bilo kojoj drugoj mašini normalno radi , dodijeli mu odma particiju i tak. 2 diska su unutra pa bi ovaj trebao biti "sdc". Inače USB stickove mi normalno prepozna i mogu ih mountat.

Code:
fdisk -l

Disk /dev/sda: 2000.4 GB, 2000398934016 bytes, 3907029168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk label type: dos
Disk identifier: 0x0008a36f

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *        2048   209713151   104855552   fd  Linux raid autodetect
/dev/sda2       209713152   243271679    16779264   fd  Linux raid autodetect
/dev/sda3       243271680  3907028991  1831878656    f  W95 Ext'd (LBA)
/dev/sda5       243273728  3907008511  1831867392   fd  Linux raid autodetect

Disk /dev/sdb: 2000.4 GB, 2000398934016 bytes, 3907029168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk label type: dos
Disk identifier: 0x000ad8d8

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1   *        2048   209713151   104855552   fd  Linux raid autodetect
/dev/sdb2       209713152   243271679    16779264   fd  Linux raid autodetect
/dev/sdb3       243271680  3907028991  1831878656    f  W95 Ext'd (LBA)
/dev/sdb5       243273728  3907008511  1831867392   fd  Linux raid autodetect

Disk /dev/md1: 17.2 GB, 17165189120 bytes, 33525760 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/md0: 107.4 GB, 107371954176 bytes, 209710848 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/md2: 1875.7 GB, 1875697991680 bytes, 3663472640 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Code:
uname -a
Linux server 3.12.67-64-xen #1 SMP Fri Dec 9 15:56:17 UTC 2016 (35c7b99) x86_64 x86_64 x86_64 GNU/Linux
Code:
dmesg |tail
[121390.812506]  [<ffffffff8000a89c>] show_stack+0x1c/0x50
[121390.812517]  [<ffffffff80549514>] dump_stack+0x76/0xab
[121390.812530]  [<ffffffff80031cbf>] warn_slowpath_common+0x7f/0xb0
[121390.812539]  [<ffffffff80031d37>] warn_slowpath_fmt+0x47/0x50
[121390.812575]  [<ffffffffa02b3932>] hsw_disable_lcpll+0x4e2/0x600 [i915]
[121390.812688]  [<ffffffff8004c77b>] process_one_work+0x19b/0x4b0
[121390.812699]  [<ffffffff8004d635>] worker_thread+0x115/0x420
[121390.812710]  [<ffffffff80053bff>] kthread+0xaf/0xc0
[121390.812720]  [<ffffffff805578a0>] ret_from_fork+0x60/0x90
[121390.812729] ---[ end trace 81fdb04802b18336 ]---
Malo me ovo u /var/log/messages zbunjuje:

Code:
2018-02-21T20:37:08.266538+01:00 server kernel: [121510.812360] CPU: 0 PID: 23353 Comm: kworker/0:1 Tainted: G        W       3.12.67-64-xen #1
2018-02-21T20:37:08.266541+01:00 server kernel: [121510.812364] Hardware name: To Be Filled By O.E.M. To Be Filled By O.E.M./B85M, BIOS P2.10 12/06/2013
2018-02-21T20:37:08.266545+01:00 server kernel: [121510.812401] Workqueue: events hsw_enable_pc8_work [i915]
2018-02-21T20:37:08.266548+01:00 server kernel: [121510.812406]  ffffffffa02fd7a0 ffffffff80549514 ffff880080e39db0 ffffffffa02fd7a0
2018-02-21T20:37:08.266551+01:00 server kernel: [121510.812413]  00000000000017fa ffffffff80031cbf ffff880003288000 ffff880080e39e00
2018-02-21T20:37:08.266554+01:00 server kernel: [121510.812419]  0000000000000001 ffff880002046c98 0000000000000001 ffffffff80031d37
2018-02-21T20:37:08.266557+01:00 server kernel: [121510.812426] Call Trace:
2018-02-21T20:37:08.266559+01:00 server kernel: [121510.812450]  [<ffffffff80008ab4>] dump_trace+0x74/0x1a0
2018-02-21T20:37:08.266562+01:00 server kernel: [121510.812460]  [<ffffffff80008c6f>] show_stack_log_lvl+0x8f/0x170
2018-02-21T20:37:08.266565+01:00 server kernel: [121510.812469]  [<ffffffff8000a89c>] show_stack+0x1c/0x50
2018-02-21T20:37:08.266568+01:00 server kernel: [121510.812479]  [<ffffffff80549514>] dump_stack+0x76/0xab
2018-02-21T20:37:08.266571+01:00 server kernel: [121510.812492]  [<ffffffff80031cbf>] warn_slowpath_common+0x7f/0xb0
2018-02-21T20:37:08.266574+01:00 server kernel: [121510.812502]  [<ffffffff80031d37>] warn_slowpath_fmt+0x47/0x50
2018-02-21T20:37:08.266577+01:00 server kernel: [121510.812538]  [<ffffffffa02b3932>] hsw_disable_lcpll+0x4e2/0x600 [i915]
2018-02-21T20:37:08.266579+01:00 server kernel: [121510.812645]  [<ffffffff8004c77b>] process_one_work+0x19b/0x4b0
2018-02-21T20:37:08.266582+01:00 server kernel: [121510.812656]  [<ffffffff8004d635>] worker_thread+0x115/0x420
2018-02-21T20:37:08.266585+01:00 server kernel: [121510.812667]  [<ffffffff80053bff>] kthread+0xaf/0xc0
2018-02-21T20:37:08.266588+01:00 server kernel: [121510.812676]  [<ffffffff805578a0>] ret_from_fork+0x60/0x90
2018-02-21T20:37:08.266591+01:00 server kernel: [121510.812685] ---[ end trace 81fdb04802b18338 ]---
tomek@vz je offline   Reply With Quote
Staro 22.02.2018., 11:08   #4
madwifi
Registered User
 
Datum registracije: Sep 2009
Lokacija: Zagreb
Postovi: 15
Ak je struja nestala nekaj na root disku je off, probaj livecd distru zavrtit [knoppix, salix, systemrescuecd] i
Code:
 umount /dev/sdaX && fsck /dev/sdaX
na disku di je sdaX=root
madwifi je offline   Reply With Quote
Staro 22.02.2018., 11:11   #5
madwifi
Registered User
 
Datum registracije: Sep 2009
Lokacija: Zagreb
Postovi: 15
USB-3.0 stick ako dela na istom (3.0) port-u vjerojatno nije HW problem nego FS korupcija, ak ti je root tree koruptiran najbolje napravit backup image i formatirat, Kernel 3.12.67 ti je obsolete plus kaj ima Taint, da je moj server; prvo format, novi root i kernel >>3.16.54 ili >>4.4.116
madwifi je offline   Reply With Quote
Staro 22.02.2018., 20:19   #6
tomek@vz
Premium
Moj komp
 
tomek@vz's Avatar
 
Datum registracije: May 2006
Lokacija: Varaždin
Postovi: 1,964
Nije do diska nit je korupmiran FS. Bug u kernelu. Downgrade na 3.11 > opet sva radi kako treba. Tak da...riješeno
tomek@vz je offline   Reply With Quote
Staro 23.02.2018., 09:13   #7
madwifi
Registered User
 
Datum registracije: Sep 2009
Lokacija: Zagreb
Postovi: 15
Citiraj:
problem je kaj je do prošlog tjedna radilo. Na sustavu ništa nije dirano. Nestalo struje, ponovo paljenje stroja > problem.
Je ak prije 7 dana je sve radilo na tom istom kernelu; 100% korupcija zbog struje, nekaj ti je puklo u /lib/modules kaj auto fsck nije mogo popravit.
madwifi je offline   Reply With Quote
Oglasni prostor
Oglas
 
Oglas
Odgovori


Uređivanje

Pravila postanja
Vi ne možete otvarati nove teme
Vi ne možete pisati odgovore
Vi ne možete uploadati priloge
Vi ne možete uređivati svoje poruke

BB code je Uključeno
Smajlići su Uključeno
[IMG] kod je Uključeno
HTML je Isključeno

Idi na