Automount not working

This forum is for topics specific to the Raspberry Pi and Arch Linux ARM

Automount not working

Postby dinjo » Tue Jan 08, 2013 2:43 pm

I cannot get my USB HDD automounted when starting it up it says

" Write cache: enabled, read cache: enabled, doesn't support DPO or FUA"

Below is the dmesg output there are some other errors too

$this->bbcode_second_pass_code('', ' 2.544713] systemd[1]: Starting Forward Password Requests to Wall Directory Watch.
[ 2.545447] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[ 2.545665] systemd[1]: Starting Remote File Systems.
[ 2.546546] systemd[1]: Reached target Remote File Systems.
[ 2.546741] systemd[1]: Expecting device sys-subsystem-net-devices-eth0.device...
[ 2.547556] systemd[1]: Starting Syslog Socket.
[ 2.548711] systemd[1]: Listening on Syslog Socket.
[ 2.548918] systemd[1]: Starting Delayed Shutdown Socket.
[ 2.549997] systemd[1]: Listening on Delayed Shutdown Socket.
[ 2.550184] systemd[1]: Starting /dev/initctl Compatibility Named Pipe.
[ 2.551219] systemd[1]: Listening on /dev/initctl Compatibility Named Pipe.
[ 2.551405] systemd[1]: Starting Encrypted Volumes.
[ 2.552296] systemd[1]: Reached target Encrypted Volumes.
[ 2.552564] systemd[1]: Starting Dispatch Password Requests to Console Directory Watch.
[ 2.553089] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
[ 2.553863] systemd[1]: Starting udev Kernel Socket.
[ 2.554941] systemd[1]: Listening on udev Kernel Socket.
[ 2.555701] systemd[1]: Starting udev Control Socket.
[ 2.556821] systemd[1]: Listening on udev Control Socket.
[ 2.557271] systemd[1]: Starting Arbitrary Executable File Formats File System Automount Point.
[ 2.559011] systemd[1]: Set up automount Arbitrary Executable File Formats File System Automount Point.
[ 2.559213] systemd[1]: Starting Swap.
[ 2.559976] systemd[1]: Reached target Swap.
[ 2.560164] systemd[1]: Expecting device dev-mmcblk0p1.device...
[ 2.560949] systemd[1]: Starting Journal Socket.
[ 2.562349] systemd[1]: Listening on Journal Socket.
[ 2.562597] systemd[1]: Mounting Temporary Directory...
[ 2.565164] systemd[1]: tmp.mount: Directory /tmp to mount over is not empty, mounting anyway. (To see the over-mounted files, please manually mount the underlying file system to a secondary location.)
[ 2.568628] systemd[1]: Started File System Check on Root Device.
[ 2.568965] systemd[1]: Starting Remount Root and Kernel File Systems...
[ 2.613702] systemd[1]: Started Load Kernel Modules.
[ 2.613961] systemd[1]: Mounted FUSE Control File System.
[ 2.628056] systemd[1]: Starting Apply Kernel Variables...
[ 2.645547] systemd[1]: Started Set Up Additional Binary Formats.
[ 2.645829] systemd[1]: Mounted Huge Pages File System.
[ 2.645999] systemd[1]: Starting Setup Virtual Console...
[ 2.653329] systemd[1]: Starting udev Coldplug all Devices...
[ 2.668542] systemd[1]: Starting udev Kernel Device Manager...
[ 2.683489] systemd[1]: Mounting POSIX Message Queue File System...
[ 2.693928] systemd[1]: Mounting Debug File System...
[ 2.708224] systemd[1]: Mounting Configuration File System...
[ 2.725190] systemd[1]: Starting Journal Service...
[ 2.744730] systemd[1]: Started Journal Service.
[ 2.745237] systemd[1]: Starting Syslog.
[ 2.747808] systemd[1]: Reached target Syslog.
[ 3.022627] usb 1-1.2: new high-speed USB device number 4 using dwc_otg
[ 3.079757] systemd-udevd[51]: starting version 196
[ 3.124179] usb 1-1.2: New USB device found, idVendor=0bc2, idProduct=5021
[ 3.124212] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 3.124229] usb 1-1.2: Product: FreeAgent GoFlex
[ 3.124244] usb 1-1.2: Manufacturer: Seagate
[ 3.124258] usb 1-1.2: SerialNumber: NA0EV57Q
[ 3.131382] scsi0 : usb-storage 1-1.2:1.0
[ 4.108408] bcm2708_spi bcm2708_spi.0: master is unqueued, this is deprecated
[ 4.108662] bcm2708_spi bcm2708_spi.0: SPI Controller at 0x20204000 (irq 80)
[ 4.111324] bcm2708_i2c bcm2708_i2c.0: BSC0 Controller at 0x20205000 (irq 79) (baudrate 100k)
[ 4.116464] bcm2708_i2c bcm2708_i2c.1: BSC1 Controller at 0x20804000 (irq 79) (baudrate 100k)
[ 4.123797] scsi 0:0:0:0: Direct-Access Seagate FreeAgent GoFlex 0148 PQ: 0 ANSI: 4
[ 4.125801] sd 0:0:0:0: [sda] 976773167 512-byte logical blocks: (500 GB/465 GiB)
[ 4.126619] sd 0:0:0:0: [sda] Write Protect is off
[ 4.126652] sd 0:0:0:0: [sda] Mode Sense: 1c 00 00 00
[b][ 4.127418] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA[/b]
[ 4.198434] sda: sda2
[ 4.203936] sd 0:0:0:0: [sda] Attached SCSI disk
[ 4.209349] Registered led device: led0
[ 5.070805] systemd-journald[55]: Received SIGUSR1
[ 5.172086] systemd-journald[55]: File /var/log/journal/5c49cb5bf08724338eb09a6900092bb0/system.journal corrupted or uncleanly shut down, renaming and replacing.
[ 6.291074] NET: Registered protocol family 10
[ 6.303147] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 7.045738] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[ 7.048067] smsc95xx 1-1.1:1.0: eth0: link up, 100Mbps, full-duplex, lpa 0x45E1
')

And when i manually mounts it

[ 1487.102011] EXT4-fs (sda2): recovery complete
[ 1487.183527] EXT4-fs (sda2): mounted filesystem with ordered data mode. Opts: (null)


$this->bbcode_second_pass_code('', '[root@alarmpi ~]# cat /proc/partitions
major minor #blocks name

179 0 3872256 mmcblk0
179 1 96256 mmcblk0p1
179 2 1833984 mmcblk0p2
8 0 488386583 sda
8 2 487275520 sda2

[root@alarmpi ~]# lsusb
Bus 001 Device 002: ID 0424:9512 Standard Microsystems Corp. LAN9500 Ethernet 10/100 Adapter
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp.
Bus 001 Device 004: ID 0bc2:5021 Seagate RSS LLC FreeAgent GoFlex USB 2.0
[root@alarmpi ~]# blkid
/dev/mmcblk0: PTTYPE="dos"
/dev/mmcblk0p1: SEC_TYPE="msdos" UUID="A697-C157" TYPE="vfat"
/dev/mmcblk0p2: UUID="f9e11351-e87a-4df2-a9be-27f03d215329" TYPE="ext4"
/dev/sda2: LABEL="Data" UUID="2ba032fc-0e7e-4563-aa0d-77a89b35cdd2" TYPE="ext4"
')
dinjo
 
Posts: 258
Joined: Mon Nov 28, 2011 5:59 am

Re: Automount not working

Postby pepedog » Tue Jan 08, 2013 3:21 pm

Can you install udevil and see if automount works
pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK

Re: Automount not working

Postby dinjo » Tue Jan 08, 2013 3:39 pm

Will try that out anything else ? I use the same drive on pogo and it gets mounted properly when plugged in
dinjo
 
Posts: 258
Joined: Mon Nov 28, 2011 5:59 am

Re: Automount not working

Postby pepedog » Tue Jan 08, 2013 3:58 pm

The pogo probably has udev-automount installed, udevil is later
pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK

Re: Automount not working

Postby dinjo » Wed Jan 09, 2013 2:11 pm

No Still the same cant get it automounted.

$this->bbcode_second_pass_code('', '[ 6.965701] scsi0 : usb-storage 1-1.2:1.0
[ 7.837597] NET: Registered protocol family 10
[ 7.839528] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 7.963663] scsi 0:0:0:0: Direct-Access Seagate FreeAgent GoFlex 0148 PQ: 0 ANSI: 4
[ 7.965826] sd 0:0:0:0: [sda] 976773167 512-byte logical blocks: (500 GB/465 GiB)
[ 7.966715] sd 0:0:0:0: [sda] Write Protect is off
[ 7.966751] sd 0:0:0:0: [sda] Mode Sense: 1c 00 00 00
[ 7.967541] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[ 8.038561] sda: sda2
[ 8.044317] sd 0:0:0:0: [sda] Attached SCSI disk
[ 8.619352] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[ 8.621756] smsc95xx 1-1.1:1.0: eth0: link up, 100Mbps, full-duplex, lpa 0x45E1
[root@alarmpi ~]#
')


Also why is it showing me these errors
$this->bbcode_second_pass_code('', '
[ 3.322585] systemd[1]: Reached target Syslog.
[ 3.500086] systemd-udevd[52]: starting version 196
[ 4.641543] bcm2708_spi bcm2708_spi.0: master is unqueued, this is deprecated
[ 4.641800] bcm2708_spi bcm2708_spi.0: SPI Controller at 0x20204000 (irq 80)
[ 4.648513] bcm2708_i2c bcm2708_i2c.0: BSC0 Controller at 0x20205000 (irq 79) (baudrate 100k)
[ 4.654078] bcm2708_i2c bcm2708_i2c.1: BSC1 Controller at 0x20804000 (irq 79) (baudrate 100k)
[ 4.757390] Registered led device: led0
[ 5.628067] systemd-journald[56]: Received SIGUSR1
[ 5.756528] systemd-journald[56]: File /var/log/journal/5c49cb5bf08724338eb09a6900092bb0/system.journal corrupted or uncleanly shut down, renaming and replacing.
[ 6.852836] usb 1-1.2: new high-speed USB device number 4 using dwc_otg
[ 6.954553] usb 1-1.2: New USB device found, idVendor=0bc2, idProduct=5021
[ 6.954569] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 6.954578] usb 1-1.2: Product: FreeAgent GoFlex
[ 6.954586] usb 1-1.2: Manufacturer: Seagate
[ 6.954594] usb 1-1.2: SerialNumber: NA0EV57Q')
dinjo
 
Posts: 258
Joined: Mon Nov 28, 2011 5:59 am

Re: Automount not working

Postby pepedog » Wed Jan 09, 2013 3:14 pm

No one has answer to "system.journal corrupted or uncleanly " and can affect even x86
Someone reported error went with another card. Error can be ignored, just annoying
What does df show?
If you plugged in after boot what does df show?
pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK

Re: Automount not working

Postby dinjo » Thu Jan 10, 2013 4:35 am

No it does not show anything for USB drive (other mount points are shown) unless i manually mount it
dinjo
 
Posts: 258
Joined: Mon Nov 28, 2011 5:59 am

Re: Automount not working

Postby pepedog » Thu Jan 10, 2013 10:09 am

Something is broken, it works on my v7 trimslice
pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK

Re: Automount not working

Postby dinjo » Thu Jan 10, 2013 11:18 am

Maybe WarheadSE can advice here :ugeek:

Should i force install udev-automount ?
dinjo
 
Posts: 258
Joined: Mon Nov 28, 2011 5:59 am

Re: Automount not working

Postby WarheadsSE » Thu Jan 10, 2013 2:43 pm

Do not force install udev-automount.
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Next

Return to Raspberry Pi

Who is online

Users browsing this forum: No registered users and 49 guests