LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - ARM
User Name
Password
Slackware - ARM This forum is for the discussion of Slackware ARM.

Notices


Reply
  Search this Thread
Old 07-14-2019, 05:14 AM   #1
dodoLQ
LQ Newbie
 
Registered: Dec 2014
Location: France
Distribution: Slackware, Slackware64, Slackware ARM
Posts: 10

Rep: Reputation: Disabled
Ext4' mount options for eMMC


Hello, i experienced transfer-file pbs on an OPi+2e with nfs and returning me many error-copying My question: is there special mount options when you use eMMC for (e.g. "/") to correct the pb?
 
Old 07-14-2019, 08:02 PM   #2
glorsplitz
Member
 
Registered: Dec 2002
Distribution: slackware!
Posts: 752

Rep: Reputation: 162Reputation: 162
what errors? how is nfs setup? what's in exports? what does
Code:
showmount -e ipaddr
show?
 
Old 07-15-2019, 11:56 AM   #3
dodoLQ
LQ Newbie
 
Registered: Dec 2014
Location: France
Distribution: Slackware, Slackware64, Slackware ARM
Posts: 10

Original Poster
Rep: Reputation: Disabled
Hi glorsplitz,

the pb is not a network setting! I respected the howto in installdocs/ for my board but some time setup install a pkg as a corrupted one.. Surprisingly on the machine acting as an tftp/nfs server, integrity's pkg is OK and the solution is to copy a *second* time the pkg to install it properly! Is it specific to ARM architecture (sort of "delay" during operations) ? I don't have such pbs with x86/x86_64
 
Old 08-17-2019, 06:08 AM   #4
dodoLQ
LQ Newbie
 
Registered: Dec 2014
Location: France
Distribution: Slackware, Slackware64, Slackware ARM
Posts: 10

Original Poster
Rep: Reputation: Disabled
Hi again, I think my pb was that i didn't entered the correct date/time with date and it's an important step before running setup BUT there's still a pb: setup don't detect any eMMC as /dev/mmcblk1 but a /dev/mmcblk2 exist! So
is there a option to give to setup to recognize /dev/mmcblk2 as /dev/mmcblk1 ? I "forced" the pb with symbolic links for the install: ln -s /dev/mmcblk2 mmcblk1 in the /dev directory.. Install worked with further tricks..
 
Old 08-17-2019, 06:21 AM   #5
drmozes
Slackware Contributor
 
Registered: Apr 2008
Location: Surrey, England
Distribution: Slackware
Posts: 838

Rep: Reputation: 632Reputation: 632Reputation: 632Reputation: 632Reputation: 632Reputation: 632
Quote:
Originally Posted by dodoLQ View Post
Hi again, I think my pb was that i didn't entered the correct date/time with date and it's an important step before running setup BUT there's still a pb: setup don't detect any eMMC as /dev/mmcblk1 but a /dev/mmcblk2 exist! So
is there a option to give to setup to recognize /dev/mmcblk2 as /dev/mmcblk1 ? I "forced" the pb with symbolic links for the install: ln -s /dev/mmcblk2 mmcblk1 in the /dev directory.. Install worked with further tricks..


In Linux, this is what I have on my OrangePi Plus2E:
Code:
root@zippy:~# ls -la /dev/mmcblk*
brw-rw---- 1 root disk 179,  0 Aug 15 16:06 /dev/mmcblk0
brw-rw---- 1 root disk 179,  1 Aug 15 16:06 /dev/mmcblk0p1
brw-rw---- 1 root disk 179,  8 Aug 15 16:06 /dev/mmcblk2
brw-rw---- 1 root disk 179, 16 Aug 15 16:06 /dev/mmcblk2boot0
brw-rw---- 1 root disk 179, 24 Aug 15 16:06 /dev/mmcblk2boot1
root@zippy:~#
I don't use it for the OS, so I'm not concerned about the numbering.
As long as it does not change numbering at any point, what is the issue here?

Last edited by drmozes; 08-17-2019 at 06:22 AM.
 
Old 08-17-2019, 11:16 AM   #6
dodoLQ
LQ Newbie
 
Registered: Dec 2014
Location: France
Distribution: Slackware, Slackware64, Slackware ARM
Posts: 10

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by drmozes View Post
what is the issue here?
Hi Stuart, setup simply didn't detect any "Linux" partition at the beginning, right after the search for an dhcpd server..
However, eMMC is properly configured with fdisk (only an "Linux" part. no swap). It would be good to modify one of the setup's script to take care of that case..
 
Old 08-20-2019, 02:57 AM   #7
drmozes
Slackware Contributor
 
Registered: Apr 2008
Location: Surrey, England
Distribution: Slackware
Posts: 838

Rep: Reputation: 632Reputation: 632Reputation: 632Reputation: 632Reputation: 632Reputation: 632
Quote:
Originally Posted by dodoLQ View Post
Hi Stuart, setup simply didn't detect any "Linux" partition at the beginning, right after the search for an dhcpd server..
However, eMMC is properly configured with fdisk (only an "Linux" part. no swap). It would be good to modify one of the setup's script to take care of that case..
I thought setup did, but I'll need to check when I next install.
Did it offer to mount any of the partitions on the eMMC after you'd chosen the root filesystem?
 
Old Yesterday, 11:53 AM   #8
dodoLQ
LQ Newbie
 
Registered: Dec 2014
Location: France
Distribution: Slackware, Slackware64, Slackware ARM
Posts: 10

Original Poster
Rep: Reputation: Disabled
Just given a test with setup:

Code:
root@slackware:/# date 082118032019
Wed Aug 21 18:03:00 UTC 2019
root@slackware:/# fdisk -l
Disk /dev/mmcblk0: 14.45 GiB, 15502147584 bytes, 30277632 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0xb8571e0e

Device         Boot Start   End Sectors Size Id Type
/dev/mmcblk0p1 *     2048  6143    4096   2M  1 FAT12


Disk /dev/mmcblk2: 14.57 GiB, 15634268160 bytes, 30535680 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x00000000

Device         Boot Start      End  Sectors  Size Id Type
/dev/mmcblk2p1       2048 30535679 30533632 14.6G 83 Linux
root@slackware:/# setup
But i USED fdisk (not cfdisk) to partition eMMC.. I don't think fdisk is the pb.
Attached Thumbnails
Click image for larger version

Name:	setup_scan_part.png
Views:	8
Size:	133.1 KB
ID:	31176  
 
Old Today, 12:17 PM   #9
dodoLQ
LQ Newbie
 
Registered: Dec 2014
Location: France
Distribution: Slackware, Slackware64, Slackware ARM
Posts: 10

Original Poster
Rep: Reputation: Disabled
I've a last question: i'm not familiar with U-boot but is it possible with a cmd line to rename mmcblk2 to mmcblk1 permanently? This will resolve the pb..
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Raspberry Pi CM3+ module adds eMMC options up to 32GB LXer Syndicated Linux News 0 01-30-2019 08:41 PM
question about xfs and ext4 and mount options unix1adm Red Hat 16 10-10-2018 09:16 AM
[SOLVED] Any idea why mount would fail (eMMC related)? elsutjr Linux - Embedded & Single-board computer 1 03-05-2014 12:17 PM
LiveDVD which is better ext3 or ext4? How do you add mount options? MikeyCarter Linux - Software 1 10-01-2010 09:37 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - ARM

All times are GMT -5. The time now is 01:36 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration