SliTaz SliTaz Forum

You are not logged in.

#1 2019-10-07 12:26:20

Guest
Guest

automounting problem with an external drive ...

I have set up an install of Slitaz5 32-bit on an Intel Atom Samsung netbook.

When I attach a USB pendrive, it automounts and I can read/write the files on it.

However, when I attach an external SSD via USB, it doesn't automount (it automount with my other distros)- how can it be mounted? Will automounting work better with 64-bit Slitaz?

#2 2019-10-09 19:04:29

Guest
Guest

Re: automounting problem with an external drive ...

Also, when I attach the external drive, that is either a 1TB SSD (ext4/msdos format) or a 4TB HDD (ntfs/GPT format) via the USB 2.0 port, neither gparted nor the command '$ blkid' show that they are attached. They are not recognised at all by Slitaz5 32-bit, but they are recognised by other Linux distros (I only used 64-bit distros). Could it be an issue of 32-bit vs. 64-bit ? However, as I said above, a USB stick (fat32 format), containing personal data files, is recognised.

This presents a problem because I need 'blkid' to show me the UUID identifier and mount point, so that I can make an entry in the fstab file, so that the external drive automounts when it's attached.

Any help is much appreciated - merci d'avance

#3 2019-10-09 19:41:00

Guest
Guest

Re: automounting problem with an external drive ...

When I run '$ dmesg' in terminal I get this output:

'tux@slitaz:~$ dmesg

mtip32xx Version 1.3.1

Error creating debugfs parent

ahci 0000:00:1f.2: version 3.0

ahci 0000:00:1f.2: irq 44 for MSI/MSI-X

ahci 0000:00:1f.2: AHCI 0001.0100 32 slots 4 ports 3 Gbps 0xf impl SATA mode

ahci 0000:00:1f.2: flags: 64bit ncq pm led clo pio slum part

scsi0 : ahci

scsi1 : ahci

scsi2 : ahci

scsi3 : ahci

ata1: SATA max UDMA/133 abar m1024@0xf0604400 port 0xf0604500 irq 44

ata2: SATA max UDMA/133 abar m1024@0xf0604400 port 0xf0604580 irq 44

ata3: SATA max UDMA/133 abar m1024@0xf0604400 port 0xf0604600 irq 44

ata4: SATA max UDMA/133 abar m1024@0xf0604400 port 0xf0604680 irq 44

scsi4 : pata_legacy

ata5: PATA max PIO4 cmd 0x1f0 ctl 0x3f6 irq 14

ata1: SATA link up 3.0 Gbps (SStatus 123 SControl 300)

ata2: SATA link down (SStatus 0 SControl 300)

ata3: SATA link down (SStatus 0 SControl 300)

ata1.00: ATA-9: CT1000BX100SSD1, MU01, max UDMA/133

ata1.00: 1953525168 sectors, multi 2: LBA48 NCQ (depth 31/32), AA

ata4: SATA link down (SStatus 0 SControl 300)

ata1.00: configured for UDMA/133

scsi 0:0:0:0: Direct-Access     ATA      CT1000BX100SSD1  MU01 PQ: 0 ANSI: 5

sd 0:0:0:0: [sda] 1953525168 512-byte logical blocks: (1.00 TB/931 GiB)

sd 0:0:0:0: Attached scsi generic sg0 type 0

sd 0:0:0:0: [sda] Write Protect is off

sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00

sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA

sda: sda1 sda2 < sda5 >

sd 0:0:0:0: [sda] Attached SCSI disk

scsi5 : pata_legacy

ata6: PATA max PIO4 cmd 0x170 ctl 0x376 irq 15

tun: Universal TUN/TAP device driver, 1.6

tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>

pcnet32: pcnet32.c:v1.35 21.Apr.2008 tsbogend@alpha.franken.de

dmfe: Davicom DM9xxx net driver, version 1.36.4 (2002-01-17)

v1.01-e (2.4 port) Sep-11-2006  Donald Becker <becker@scyld.com>

  http://www.scyld.com/network/drivers.html

igbvf: Intel(R) Gigabit Virtual Function Network Driver - version 2.0.2-k

igbvf: Copyright (c) 2009 - 2012 Intel Corporation.

ns83820.c: National Semiconductor DP83820 10/100/1000 driver.

tlan: ThunderLAN driver v1.17

tlan: 0 devices installed, PCI: 0  EISA: 0

PPP generic driver version 2.4.2

PPP BSD Compression module registered

PPP Deflate Compression module registered

PPP MPPE Compression module registered

NET: Registered protocol family 24

ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver

ehci-pci: EHCI PCI platform driver

ehci-pci 0000:00:1d.7: EHCI Host Controller

ehci-pci 0000:00:1d.7: new USB bus registered, assigned bus number 1

ehci-pci 0000:00:1d.7: debug port 1

ehci-pci 0000:00:1d.7: cache line size of 32 is not supported

ehci-pci 0000:00:1d.7: irq 23, io mem 0xf0604000

ehci-pci 0000:00:1d.7: USB 2.0 started, EHCI 1.00

hub 1-0:1.0: USB hub found

hub 1-0:1.0: 8 ports detected

ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver

ohci-pci: OHCI PCI platform driver

uhci_hcd: USB Universal Host Controller Interface driver

uhci_hcd 0000:00:1d.0: UHCI Host Controller

uhci_hcd 0000:00:1d.0: new USB bus registered, assigned bus number 2

uhci_hcd 0000:00:1d.0: irq 23, io base 0x00001820

hub 2-0:1.0: USB hub found

hub 2-0:1.0: 2 ports detected

uhci_hcd 0000:00:1d.1: UHCI Host Controller

uhci_hcd 0000:00:1d.1: new USB bus registered, assigned bus number 3

uhci_hcd 0000:00:1d.1: irq 19, io base 0x00001840

hub 3-0:1.0: USB hub found

hub 3-0:1.0: 2 ports detected

uhci_hcd 0000:00:1d.2: UHCI Host Controller

uhci_hcd 0000:00:1d.2: new USB bus registered, assigned bus number 4

uhci_hcd 0000:00:1d.2: irq 18, io base 0x00001860

hub 4-0:1.0: USB hub found

hub 4-0:1.0: 2 ports detected

uhci_hcd 0000:00:1d.3: UHCI Host Controller

uhci_hcd 0000:00:1d.3: new USB bus registered, assigned bus number 5

uhci_hcd 0000:00:1d.3: irq 16, io base 0x00001880

hub 5-0:1.0: USB hub found

hub 5-0:1.0: 2 ports detected

usbcore: registered new interface driver usb-storage

i8042: PNP: PS/2 Controller [PNP0303:KBC0,PNP0f13:MSE0] at 0x60,0x64 irq 1,12

serio: i8042 KBD port at 0x60,0x64 irq 1

serio: i8042 AUX port at 0x60,0x64 irq 12

mousedev: PS/2 mouse device common for all mice

input: PC Speaker as /devices/platform/pcspkr/input/input1

rtc_cmos 00:01: rtc core: registered rtc_cmos as rtc0

rtc_cmos 00:01: alarms up to one month, y3k, 114 bytes nvram, hpet irqs

sdhci: Secure Digital Host Controller Interface driver

sdhci: Copyright(c) Pierre Ossman

wbsd: Winbond W83L51xD SD/MMC card interface driver

wbsd: Copyright(c) Pierre Ossman

VUB300 Driver rom wait states = 1C irqpoll timeout = 0400

usbcore: registered new interface driver vub300

usbcore: registered new interface driver ushc

sdhci-pltfm: SDHCI platform and OF driver helper

usbcore: registered new interface driver usbhid

usbhid: USB HID core driver

ipip: IPv4 over IPv4 tunneling driver

gre: GRE over IPv4 demultiplexor driver

TCP: cubic registered

NET: Registered protocol family 17

NET: Registered protocol family 15

NET: Registered protocol family 33

Key type rxrpc registered

Key type rxrpc_s registered

RxRPC: Registered security type 2 'rxkad'

Key type dns_resolver registered

Using IPI No-Shortcut mode

registered taskstats version 1

Btrfs loaded

rtc_cmos 00:01: setting system clock to 2019-10-09 18:48:26 UTC (1570646906)

input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/input0

usb 1-8: new high-speed USB device number 2 using ehci-pci

psmouse serio1: synaptics: queried max coordinates: x [..5806], y [..4906]

psmouse serio1: synaptics: Touchpad model: 1, fw: 7.2, id: 0x1c0b1, caps: 0xd04773/0xa40000/0xa0000, board id: 0, fw id: 597434

input: SynPS/2 Synaptics TouchPad as /devices/platform/i8042/serio1/input/input3

EXT4-fs (sda1): couldn't mount as ext3 due to feature incompatibilities

EXT4-fs (sda1): couldn't mount as ext2 due to feature incompatibilities

EXT4-fs (sda1): INFO: recovery required on readonly filesystem

EXT4-fs (sda1): write access will be enabled during recovery

EXT4-fs (sda1): recovery complete

EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: (null)

VFS: Mounted root (ext4 filesystem) readonly on device 8:1.

Freeing unused kernel memory: 528K (c1771000 - c17f5000)

udevd[1009]: starting version 182

EXT4-fs (sda1): re-mounted. Opts: data=ordered

EXT4-fs (sda1): re-mounted. Opts: data=ordered

EXT4-fs (sda5): mounted filesystem with ordered data mode. Opts: (null)

random: nonblocking pool is initialized

input: Lid Switch as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0D:00/input/input4

ACPI: Lid Switch [LID0]

input: Power Button as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0C:00/input/input5

ACPI: Power Button [PWRB]

input: Sleep Button as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0E:00/input/input6

ACPI: Sleep Button [SLPB]

input: Power Button as /devices/LNXSYSTM:00/LNXPWRBN:00/input/input7

ACPI: Power Button [PWRF]

Linux agpgart interface v0.103

agpgart-intel 0000:00:00.0: Intel GMA3150 Chipset

agpgart-intel 0000:00:00.0: detected gtt size: 524288K total, 262144K mappable

agpgart-intel 0000:00:00.0: detected 8192K stolen memory

agpgart-intel 0000:00:00.0: AGP aperture is 256M @ 0xd0000000

sky2: driver version 1.30

sky2 0000:09:00.0: Yukon-2 FE+ chip revision 0

sky2 0000:09:00.0: irq 45 for MSI/MSI-X

sky2 0000:09:00.0 eth0: addr e8:03:9a:1c:80:f3

cfg80211: Calling CRDA to update world regulatory domain

NET: Registered protocol family 10

snd_hda_intel 0000:00:1b.0: irq 46 for MSI/MSI-X

Intel(R) Wireless WiFi driver for Linux, in-tree:

Copyright(c) 2003- 2014 Intel Corporation

iwlwifi 0000:05:00.0: can't disable ASPM; OS doesn't have ASPM control

[drm] Initialized drm 1.1.0 20060810

iwlwifi 0000:05:00.0: irq 47 for MSI/MSI-X

iwlwifi 0000:05:00.0: loaded firmware version 39.31.5.1 build 32895 op_mode iwldvm

iwlwifi 0000:05:00.0: CONFIG_IWLWIFI_DEBUG disabled

iwlwifi 0000:05:00.0: CONFIG_IWLWIFI_DEBUGFS disabled

iwlwifi 0000:05:00.0: CONFIG_IWLWIFI_DEVICE_TRACING disabled

iwlwifi 0000:05:00.0: Detected Intel(R) Centrino(R) Wireless-N 100 BGN, REV=0x6C

iwlwifi 0000:05:00.0: L1 Enabled - LTR Disabled

ieee80211 phy0: Selected rate control algorithm 'iwl-agn-rs'

iwlwifi 0000:05:00.0: L1 Enabled - LTR Disabled

iwlwifi 0000:05:00.0: Radio type=0x0-0x0-0x3

[drm] Memory usable by graphics device = 512M

[drm] Replacing VGA console driver

Console: switching to colour dummy device 80x25

iwlwifi 0000:05:00.0: L1 Enabled - LTR Disabled

iwlwifi 0000:05:00.0: Radio type=0x0-0x0-0x3

[drm] Supports vblank timestamp caching Rev 2 (21.10.2013).

[drm] Driver supports precise vblank timestamp query.

vgaarb: device changed decodes: PCI:0000:00:02.0,olddecodes=io+mem,decodes=io+mem:owns=io+mem

[drm] initialized overlay support

fbcon: inteldrmfb (fb0) is primary device

IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready

wlan0: authenticate with 10:fe:ed:cb:08:39

wlan0: direct probe to 10:fe:ed:cb:08:39 (try 1/3)

sound hdaudioC0D0: autoconfig: line_outs=1 (0x14/0x0/0x0/0x0/0x0) type:speaker

sound hdaudioC0D0:    speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)

sound hdaudioC0D0:    hp_outs=1 (0x15/0x0/0x0/0x0/0x0)

sound hdaudioC0D0:    mono: mono_out=0x0

sound hdaudioC0D0:    inputs:

sound hdaudioC0D0:      Internal Mic=0x19

sound hdaudioC0D0:      Mic=0x18

Console: switching to colour frame buffer device 128x37

i915 0000:00:02.0: fb0: inteldrmfb frame buffer device

i915 0000:00:02.0: registered panic notifier

ACPI: Video Device [IGD0] (multi-head: yes  rom: no  post: no)

acpi device:03: registered as cooling_device2

input: Video Bus as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/LNXVIDEO:00/input/input8

[drm] Initialized i915 1.6.0 20080730 for 0000:00:02.0 on minor 0

wlan0: send auth to 10:fe:ed:cb:08:39 (try 2/3)

wlan0: authenticated

wlan0: associate with 10:fe:ed:cb:08:39 (try 1/3)

wlan0: RX AssocResp from 10:fe:ed:cb:08:39 (capab=0x411 status=0 aid=1)

wlan0: associated

IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready

cfg80211: Calling CRDA to update world regulatory domain

usb 1-7: new high-speed USB device number 3 using ehci-pci

usb 1-7: USB disconnect, device number 3

usb 1-7: new high-speed USB device number 4 using ehci-pci

usb 1-3: new high-speed USB device number 5 using ehci-pci

#4 2019-10-10 05:04:18

Guest
Guest

Re: automounting problem with an external drive ...

I just went to check if 32-bit vs. 64-bit made a difference with opening large external drives  - a question I asked myself in the second post of this thread.

With a bit of experimentation, I've just discovered that 1TB and 4TB external drives automount on either 32-bit or 64-bit antiX19, even though they are not recognized on the Slitaz5 32-bit that I'm using.

#5 2019-10-10 10:05:53

Guest
Guest

Re: automounting problem with an external drive ...

It seems the problem is the interface between the external drive and the laptop. The Inatek caddy (Model FE2010) I've been using, doesn't work with either a 1TB SSD or 750G HDD.

So, I took the drives out of this caddy and then used an older one (sorry, I don't know the make). It worked - both drives were recognized and I could read/write files to them.

However, this doesn't help for the "Seagate 4TB USB 3.0 Portable 2.5 inch External Hard Drive", which I bought from Amazon. Obviously, I'm unable to replace the in-built interface. Is there a way of solving this?

Maybe the problem with some USB interfaces is due to the older Kernel that Slitaz5 uses (3,16), as I don't have this problem with other distros (Manjaro, Ubuntu, Debian-based distros) on old hard hardware, where I routinely use Kernel 4.4.

What do you think ?

#6 2019-10-10 20:08:43

mojo
Administrator
Registered: 2011-03-29
Posts: 2,174

Re: automounting problem with an external drive ...

Install usbutils.

Run the command lsusb in a terminal without the external drive connected.

Connect the external drive and run lsusb again.

The new line with the drive connected has the external drives hardware interface info.

Grep the unique idVendor:idProduct against the kernels modules.alias file to determine if the kernel is compiled with a matching driver.

Replace the colon : with dot.glob* in the pattern search

[c]grep -i XXXX.*XXXX /lib/modules/3.16.55-slitaz/modules.alias[/c]

If you get a match use the driver name followed by .ko.xz with tazpkg search-pkgname <drivername.ko.xz> to search for the kernel driver package that owns the driver and install the package.

If you don't get a match do a google search with 'XXXX:XXXX lkddb'

lkddb stands for linux kernel driver database which provides driver module name, kernel configuration,and the kernel versions that offer the driver.

The search result at https://cateee.net provides this information.

Provide the XXXX:XXXX in your reply, if the current kernel 3.16.55 offers the configuration it will be added and the 32/64 bit kernel rebuilt.

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.016 seconds, 7 queries executed - Memory usage: 1.56 MiB (Peak: 1.77 MiB) ]