User avatar
RDK
Posts: 301
Joined: Wed Aug 13, 2014 10:19 am
Location: Wyoming and France

Log errors with now install Buster on PiB+

Sun Mar 29, 2020 7:42 am

I have installed Buster on an older Raspberry Pi B+. It seems to be working ok, but when I look at the log (cat /var/log/syslog |grep failed) I see these "failed" messages:

Mar 29 09:21:15 PiBBuster automount[418]: mount_autofs_indirect: failed to read map for /media/
Mar 29 09:21:15 PiBBuster automount[418]: handle_mounts: mount of /media/ failed!
Mar 29 09:21:15 PiBBuster automount[418]: master_do_mount: failed to startup mount
Mar 29 09:22:15 PiBBuster systemd[1]: Dependency failed for Configure Bluetooth Modems connected by UART.
Mar 29 09:22:15 PiBBuster systemd[1]: hciuart.service: Job hciuart.service/start failed with result 'dependency'.
Mar 29 09:22:15 PiBBuster systemd[1]: dev-serial1.device: Job dev-serial1.device/start failed with result 'timeout'.

Since the Pi B+ does not have a Bluetooth chip I assume that I need to change something so that it does not try to start service??? But where?

I have a USB memory stick attached to the unit. What are the "mount" messages about? And how do I fix them?

I have no idea about the last two messages.

Lastly, my rc.local writes some messages which I see in the consol screen, but cannot find in the above log. How can I find/see them?

Thanks for any help/ideas.....RDK

User avatar
rpdom
Posts: 16968
Joined: Sun May 06, 2012 5:17 am
Location: Chelmsford, Essex, UK

Re: Log errors with now install Buster on PiB+

Sun Mar 29, 2020 8:01 am

That service is part of the 'pi-bluetooth' package. Removing that package should get rid of it. It will probably remove a few other packages as well, all to do with bluetooth. Check the list of packages to be removed carefully before agreeing to the removal.

Alternatively you can disable the service with sudo systemctl disable hciuart.service
Unreadable squiggle

User avatar
RDK
Posts: 301
Joined: Wed Aug 13, 2014 10:19 am
Location: Wyoming and France

Re: Log errors with now install Buster on PiB+

Sun Mar 29, 2020 2:58 pm

OK, thanks. That addresses one of the issues. Any ideas about the rest?....RDK

User avatar
FTrevorGowen
Forum Moderator
Forum Moderator
Posts: 5577
Joined: Mon Mar 04, 2013 6:12 pm
Location: Bristol, U.K.
Contact: Website

Re: Log errors with now install Buster on PiB+

Sun Mar 29, 2020 3:11 pm

W.r.t. the USB "memory stick" are you booting up with it already plugged in or plugging it in after boot? Are you booting to desktop? Auto-mount is usually handled by the File Manager - as shown in this old, but still valid example https://www.cpmspectrepi.uk/raspberry_p ... 29_Methods
How old is said stick? What size? What does lsusb and usb-devices report when it's plugged in?
FWIW, some info. about quite a few I've used over the years: https://www.cpmspectrepi.uk/raspberry_p ... rives.html
Trev.
Still running Raspbian Jessie or Stretch on some older Pi's (an A, B1, 2xB2, B+, P2B, 3xP0, P0W, 2xP3A+, P3B+, P3B, B+, and a A+) but Buster on the P4B's. See: https://www.cpmspectrepi.uk/raspberry_pi/raspiidx.htm

User avatar
RDK
Posts: 301
Joined: Wed Aug 13, 2014 10:19 am
Location: Wyoming and France

Re: Log errors with now install Buster on PiB+

Mon Mar 30, 2020 7:04 am

The usb stick is "permanently" attached to the Pi. It is a newer 16GB stick. I have this line in the /etc/fstab
/dev/sda1 /mnt/usbdrive vfat defaults,dmask=000,fmask=111 0 3
. autofs is installed

I boot to the command line.
lsusb
Bus 001 Device 005: ID 0781:5575 SanDisk Corp. Cruzer Glide
Bus 001 Device 004: ID 148f:5370 Ralink Technology, Corp. RT5370 Wireless Adapter
Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp. SMSC9512/9514 Fast Ethernet Adapter
Bus 001 Device 002: ID 0424:9514 Standard Microsystems Corp. SMC9514 Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
usb-devices

T: Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=480 MxCh= 1
D: Ver= 2.00 Cls=09(hub ) Sub=00 Prot=01 MxPS=64 #Cfgs= 1
P: Vendor=1d6b ProdID=0002 Rev=04.19
S: Manufacturer=Linux 4.19.97+ dwc_otg_hcd
S: Product=DWC OTG Controller
S: SerialNumber=20980000.usb
C: #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=0mA
I: If#=0x0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub

T: Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 2 Spd=480 MxCh= 5
D: Ver= 2.00 Cls=09(hub ) Sub=00 Prot=02 MxPS=64 #Cfgs= 1
P: Vendor=0424 ProdID=9514 Rev=02.00
C: #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=2mA
I: If#=0x0 Alt= 1 #EPs= 1 Cls=09(hub ) Sub=00 Prot=02 Driver=hub

T: Bus=01 Lev=02 Prnt=02 Port=00 Cnt=01 Dev#= 3 Spd=480 MxCh= 0
D: Ver= 2.00 Cls=ff(vend.) Sub=00 Prot=01 MxPS=64 #Cfgs= 1
P: Vendor=0424 ProdID=ec00 Rev=02.00
C: #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=2mA
I: If#=0x0 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=00 Prot=ff Driver=smsc95xx

T: Bus=01 Lev=02 Prnt=02 Port=02 Cnt=02 Dev#= 4 Spd=480 MxCh= 0
D: Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1
P: Vendor=148f ProdID=5370 Rev=01.01
S: Manufacturer=Ralink
S: Product=802.11 n WLAN
S: SerialNumber=1.0
C: #Ifs= 1 Cfg#= 1 Atr=80 MxPwr=450mA
I: If#=0x0 Alt= 0 #EPs= 7 Cls=ff(vend.) Sub=ff Prot=ff Driver=rt2800usb

T: Bus=01 Lev=02 Prnt=02 Port=04 Cnt=03 Dev#= 5 Spd=480 MxCh= 0
D: Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1
P: Vendor=0781 ProdID=5575 Rev=01.27
S: Manufacturer=SanDisk
S: Product=Cruzer Glide
S: SerialNumber=4C531001631123123164
C: #Ifs= 1 Cfg#= 1 Atr=80 MxPwr=200mA
I: If#=0x0 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50 Driver=usb-storage
By the way, after disabling the BT service I now only have the three mount failure messages...RDK

Return to “Beginners”