You are not logged in.
Pages: 1
I have this USB device i want use with my computer but it doesn't get a sd* file.
When i do
ls /dev
There's no sdb only sda
autofs media0 stdin tty3 tty53 vcs4
block mem stdout tty30 tty54 vcs5
bsg memory_bandwidth tty tty31 tty55 vcs6
btrfs-control mqueue tty0 tty32 tty56 vcs63
bus network_latency tty1 tty33 tty57 vcsa
cdrom network_throughput tty10 tty34 tty58 vcsa1
char null tty11 tty35 tty59 vcsa2
console port tty12 tty36 tty6 vcsa3
core psaux tty13 tty37 tty60 vcsa4
cpu ptmx tty14 tty38 tty61 vcsa5
cpu_dma_latency pts tty15 tty39 tty62 vcsa6
disk random tty16 tty4 tty63 vcsa63
dri rfkill tty17 tty40 tty7 vcsu
fb0 rtc tty18 tty41 tty8 vcsu1
fd rtc0 tty19 tty42 tty9 vcsu2
full sda tty2 tty43 ttyS0 vcsu3
gpiochip0 sda1 tty20 tty44 ttyS1 vcsu4
hpet sda3 tty21 tty45 ttyS2 vcsu5
hugepages sda4 tty22 tty46 ttyS3 vcsu6
hwrng sg0 tty23 tty47 udmabuf vcsu63
initctl sg1 tty24 tty48 urandom vga_arbiter
input shm tty25 tty49 v4l video0
kfd snapshot tty26 tty5 vcs video1
kmsg snd tty27 tty50 vcs1 watchdog
lightnvm sr0 tty28 tty51 vcs2 watchdog0
log stderr tty29 tty52 vcs3 zero
However, it does get recognized by
lsusb
. It's the Alcor Micro Corp. Flash Drive.
Bus 004 Device 002: ID 0bda:0129 Realtek Semiconductor Corp. RTS5129 Card Reader Controller
Bus 004 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 002: ID 174f:148d Syntek
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 002 Device 008: ID 058f:6387 Alcor Micro Corp. Flash Drive
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Here is
lsusb
without the USB in.
Bus 004 Device 002: ID 0bda:0129 Realtek Semiconductor Corp. RTS5129 Card Reader Controller
Bus 004 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 002: ID 174f:148d Syntek
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
fdisk -l
with the USB in.
Disk /dev/sda: 465.8 GiB, 500107862016 bytes, 976773168 sectors
Disk model: ST500LT012-1DG14
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt
Disk identifier: 84DFE93F-2441-4B3C-B767-0598F358AA2A
Device Start End Sectors Size Type
/dev/sda1 2048 2099199 2097152 1G EFI System
/dev/sda3 2099200 17653759 15554560 7.4G Linux swap
/dev/sda4 17653760 976773134 959119375 457.4G Linux filesystem
Offline
Googling the name of the pen drive yields some interesting results, amongst others, this.
The drive might be broken, but you can try to low-level format it under Windows as mentioned in the linked thread.
macro_rules! yolo { { $($tokens:tt)* } => { unsafe { $($tokens)* } }; }
Offline
Do the versions reported from `uname -a` and `pacman -Q linux` match? If not, reboot.
"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" - Richard Stallman
Offline
It doesn't match and rebooting does not seem to do anything.
[hampus@laptop ~]$ uname -a
Linux laptop 5.1.0-rc3 #1 SMP PREEMPT Sun Apr 7 14:33:15 CEST 2019 x86_64 GNU/Linux
[hampus@laptop ~]$ pacman -Q linux
linux 5.0.6.arch1-1
Do the versions reported from `uname -a` and `pacman -Q linux` match? If not, reboot.
Offline
(Why) do you use a self-compiled kernel?
Does it maybe lack USB drive support?
What are the outputs of the above commands after the reboot.
Is the device recognized when you use the up-to-date default Arch Kernel or the LTS kernel?
Also linux-5.0.6 is from 3rd of April. Maybe run a full system upgrade first.
Last edited by schard (2019-06-12 12:39:50)
macro_rules! yolo { { $($tokens:tt)* } => { unsafe { $($tokens)* } }; }
Offline
I am 100% sure the USB isn't broken as i am able to boot from it (i have a arch on it) and as the USB is booted from, it's shows up in lsblk and fdisk -l
Googling the name of the pen drive yields some interesting results, amongst others, this.
The drive might be broken, but you can try to low-level format it under Windows as mentioned in the linked thread.
Offline
I use a self-compiled kernel because i like stuff to be bleeding edge. Whats the point of updating something if no one isn't going to use the update?
I don't see how it could lack USB drive support. Shouldn't that come as default?
The output of it after reboot is
[hampus@laptop ~]$ uname -a
Linux laptop 5.1.0-rc3 #1 SMP PREEMPT Sun Apr 7 14:33:15 CEST 2019 x86_64 GNU/Linux
[hampus@laptop ~]$ pacman -Q linux
linux 5.0.6.arch1-1
I dont know how i would pull off checking if it works when i use the up-to-date default Arch Kernel or the LTS kernel as changing kernel takes a buncha time.
I will do a system upgrade and see if it works after that.
(Why) do you use a self-compiled kernel?
Does it maybe lack USB drive support?
What are the outputs of the above commands after the reboot.
Is the device recognized when you use the up-to-date default Arch Kernel or the LTS kernel?
Also linux-5.0.6 is from 3rd of April. Maybe run a full system upgrade first.
Offline
as changing kernel takes a buncha time.
Errrrmm… what? Why? How? You just reboot and choose the other kernel. What have you done? Did you simply replace the existing kernel from the package w/ your custom one??
Online
What's the output of `ls /usr/lib/modules/$(uname -r)/`?
"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" - Richard Stallman
Offline
I use a self-compiled kernel because i like stuff to be bleeding edge.
Linux laptop 5.1.0-rc3 #1 SMP PREEMPT Sun Apr 7 14:33:15 CEST 2019 x86_64 GNU/Linux
Uh.. huh.
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Online
HA! I didn't even look at the version/date.
HampusM, your best bet is clearly just to switch back to the kernel from the repos. It will be "more bleeding edge", and as a bonus, modules will actually load and work.
Last edited by Trilby (2019-06-12 14:05:15)
"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" - Richard Stallman
Offline
build modules.dep.bin
kernel modules.devname
modules.alias modules.order
modules.alias.bin modules.softdep
modules.builtin modules.symbols
modules.builtin.bin modules.symbols.bin
modules.dep source
What's the output of `ls /usr/lib/modules/$(uname -r)/`?
Offline
Pages: 1