Re: F28 HotPlug not working properly

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 7 May 2018 12:54:48 -0700
Rick Stevens <ricks@xxxxxxxxxxxxxx> wrote:

> On 05/04/2018 02:58 PM, T_POL wrote:
> > On Fri, 4 May 2018 14:20:13 -0700
> > Rick Stevens <ricks@xxxxxxxxxxxxxx> wrote:
> >   
> >> On 05/04/2018 01:30 PM, T_POL wrote:  
> >>> I've noticed that Fedora 28 does not detect an external eSATA disk when it's inserted.
> >>> If the eSATA disk is already plugged at boot, it's normally detected and automounted.
> >>>
> >>> USB disks are handled correctly.
> >>>
> >>> I've made a test using a "Fedora-Xfce-live-27" and everything works fine.
> >>>
> >>> I'm using an HP Pavilion laptop. 
> >>>
> >>> Thanks in advance to anybody answering.    
> >>
> >> Have you verified that the disk is seen at all after hot plugging? You
> >> could run "fdisk -l" as root or look at the output of dmesg. If it shows
> >> up in the fdisk or dmesg output, then the kernel knows about it. I don't
> >> think eSATA stuff automounts by default (eSATA is handled differently
> >> than USB as they show up on different buses).
> >>  
> > 
> > Yes I did. The disk is not seen at all. 
> > "fdisk -l" just list /dev/sda (Internal).
> > "journalctl -f" and "dmesg" both list nothing.
> > What is strange is that on F27 it was working as expected
> > (detected and automounted)
> >   
> >> If the kernel does see it during hotplug, you could create a udev rule
> >> to automount it. You can get the relevant info needed for the rule by
> >> running "udevadm monitor -k" (to see raw kernel events) or "udevadm
> >> monitor -u" (to see existing udev processing) prior to plugging the
> >> drive in. Watch the output when you plug in the drive.  
> > 
> > Both "udevadm" commands lists nothing after plugging the drive.
> > The only way to make the drive detected is to run as root the following command :
> > 
> >    "echo "- - -" > /sys/class/scsi_host/host5/scan"
> > 
> > Found it with google :)  
> 
> Yeah, google is your friend (at times). That would trigger a SCSI bus
> scan.
> 
> > Immediately after that, disk is detected.  
> 
> It's odd that it's not seen at all except if plugged in at boot. Sounds
> like a bug, although I don't know if it'd be in the SCSI driver, hotplug
> code or kernel itself. I'd sure bugzilla it.

well, never opened a bugzilla in my (long) life.
May be this will be the first time.
ciao,
Angelo 


> ----------------------------------------------------------------------
> - Rick Stevens, Systems Engineer, AllDigital    ricks@xxxxxxxxxxxxxx -
> - AIM/Skype: therps2        ICQ: 22643734            Yahoo: origrps2 -
> -                                                                    -
> -       A squeegee, by any other name, wouldn't sound as funny.      -
> ----------------------------------------------------------------------
> _______________________________________________
> users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
> To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux