You are not logged in.
Hello:
Any ideas?
More additional information.
Kernel configuration has the card ticked:
groucho@devuan:~$ grep -i renesas /boot/config-4.19.0-14-amd64
CONFIG_NET_VENDOR_RENESAS=y
CONFIG_RENESAS_PHY=mThe card is detected as PCI card ...
groucho@devuan:~$ lspci -nn | grep -i usb
--- snip ---
04:00.0 USB controller [0c03]: Renesas Technology Corp. uPD720201 USB 3.0 Host Controller [1912:0014] (rev 03)
groucho@devuan:~$ ... and as a USB3.0 hub:
groucho@devuan:~$ lsusb | grep -i hub
Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 010 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 009 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub <--------- |x|
Bus 001 Device 002: ID 0424:2514 Standard Microsystems Corp. USB 2.0 Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
groucho@devuan:~$ Does it matter that it is not referenced in the same way the Dell monitor's hub is?
eg:
Bus 002 Device 001: ID 1d6b:0003 Renesas Technology Corp.USB 3.0 HubEdit:
groucho@devuan:~$ locate renesas
/usr/src/linux-headers-4.19.0-14-amd64/include/config/renesas
/usr/src/linux-headers-4.19.0-14-amd64/include/config/net/vendor/renesas.h
/usr/src/linux-headers-4.19.0-14-amd64/include/config/renesas/phy.h
/usr/src/linux-headers-4.19.0-14-common/arch/arm/include/debug/renesas-scif.S
/usr/src/linux-headers-4.19.0-14-common/include/dt-bindings/clock/renesas-cpg-mssr.h
/usr/src/linux-headers-4.19.0-14-common/include/linux/clk/renesas.h
/usr/src/linux-headers-4.19.0-14-common/include/linux/soc/renesas
/usr/src/linux-headers-4.19.0-14-common/include/linux/soc/renesas/rcar-rst.h
/usr/src/linux-headers-4.19.0-14-common/include/linux/soc/renesas/rcar-sysc.h
/usr/src/linux-headers-4.19.0-14-common/include/linux/usb/renesas_usbhs.h
/usr/src/linux-headers-4.19.0-14-common/include/media/drv-intf/renesas-ceu.h
groucho@devuan:~$ Thanks in advance.
Best,
A.
Hello:
Any ideas?
Some additional information.
I booted the box with an ubuntu fwts-live image which uses the 5.4.0 LTS kernel to see what showed up in dmesg:
[ 0.000000] Linux version 5.4.0-66-generic (buildd@lgw01-amd64-039) (gcc version 9.3.0 (Ubuntu 9.3.0-17ubuntu1~20.04)) #74-Ubuntu SMP Wed Jan 27 22:54:38 UTC 2021 (Ubuntu 5.4.0-66.74-generic 5.4.86)
[ 0.000000] Command line: BOOT_IMAGE=/boot/vmlinuz root=LABEL=writable ro console=tty1 console=ttyS0 quiet
--- snip ---
[ 0.628135] xhci_hcd 0000:04:00.0: xHCI Host Controller
[ 0.628138] xhci_hcd 0000:04:00.0: new USB bus registered, assigned bus number 10
[ 0.628141] xhci_hcd 0000:04:00.0: Host supports USB 3.0 SuperSpeed
[ 0.631214] usb usb10: We don't know the algorithms for LPM for this host, disabling LPM. <------------ | x |
[ 0.631234] usb usb10: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 5.04
[ 0.631236] usb usb10: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 0.631237] usb usb10: Product: xHCI Host Controller
[ 0.631238] usb usb10: Manufacturer: Linux 5.4.0-66-generic xhci-hcd
[ 0.631239] usb usb10: SerialNumber: 0000:04:00.0Then in lspci:
04:00.0 USB controller: Renesas Technology Corp. uPD720201 USB 3.0 Host Controller (rev 03)As before, nothing happened when I pugged in the external USB3.0 drive in the USB3.0 card socket.
Thanks in advance,
A.
Hello:
Any ideas?
The plot thickens.
I think there may be more to this USB problem than meets the eye.
This morning, the third or fourth time I rebooted my rig while in the course of running some tests, I was greeted by a non-working Logitech USB Optical mouse.
But not entirely as the mouse's LED was on with the pointer is visible on the desktop, albeit frozen.
I rebooted the box right there and then but nothing changed.
I then dropped into a virtual console with and checked dmesg.
It was not listed in dmsg, a is usual.
Back into X and without rebooting, I unplugged it from a rear socket of the onboard USB2.0 hub and plugged it in again in (same socket), to no avail.
I then plugged it into one of the front panel USB2.0 sockets and it came to life, as you can see here:
groucho@devuan:~$ sudo dmesg | tail -8
[ 53.916788] fuse init (API version 7.27)
[ 111.196029] usb 10-2: new low-speed USB device number 2 using uhci_hcd
[ 111.391046] usb 10-2: New USB device found, idVendor=046d, idProduct=c077, bcdDevice=72.00
[ 111.391051] usb 10-2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 111.391054] usb 10-2: Product: USB Optical Mouse
[ 111.391056] usb 10-2: Manufacturer: Logitech
[ 111.406441] input: Logitech USB Optical Mouse as /devices/pci0000:00/0000:00:1d.2/usb10/10-2/10-2:1.0/0003:046D:C077.0002/input/input15
[ 111.406624] hid-generic 0003:046D:C077.0002: input,hidraw1: USB HID v1.11 Mouse [Logitech USB Optical Mouse] on usb-0000:00:1d.2-2/input0
groucho@devuan:~$ As you can see here, the mouse was not there when I first booted:
groucho@devuan:~$ sudo dmesg | grep -i "Logitech USB"
[ 111.406441] input: Logitech USB Optical Mouse as /devices/pci0000:00/0000:00:1d.2/usb10/10-2/10-2:1.0/0003:046D:C077.0002/input/input15
[ 111.406624] hid-generic 0003:046D:C077.0002: input,hidraw1: USB HID v1.11 Mouse [Logitech USB Optical Mouse] on usb-0000:00:1d.2-2/input0
groucho@devuan:~$ A dmesg snip from this morning's first boot (as seen in /var/log/mesages) shows where, early in the boot sequence, it is found and initialised by the system:
Mar 20 06:58:41 [ 4.964090] input: Logitech USB Optical Mouse as /devices/pci0000:00/0000:00:1d.1/usb9/9-2/9-2:1.0/0003:046D:C077.0002/input/input5
Mar 20 06:58:41 [ 4.985718] hid-generic 0003:046D:C077.0002: input,hidraw1: USB HID v1.11 Mouse [Logitech USB Optical Mouse] on usb-0000:00:1d.1-2/input0Now this non-working mouse problem had already happened a couple of times before.
I had it plugged into the Dell monitor's hub for less cable clutter at floor level and as I do not use a mouse outside X, it was not a problem if the BIOS did no initilalise it at boot.
I thought that being plugged into the monitor's hub could somehow be causing the problem, so I plugged it back into the rear port and it started working immediately.
Until this morning.
I have now unplugged it from the front panel after and plugged it in the back socket again: it works without issue.
If on reboot it the problem crops up again, I'll edit this post about it.
Edit:
No problem on reboot, was not reproduced.
groucho@devuan:~$ sudo dmesg | grep -i "Logitech USB"
[ 4.477408] input: Logitech USB Optical Mouse as /devices/pci0000:00/0000:00:1d.1/usb9/9-1/9-1:1.0/0003:046D:C077.0001/input/input4
[ 4.487583] hid-generic 0003:046D:C077.0001: input,hidraw0: USB HID v1.11 Mouse [Logitech USB Optical Mouse] on usb-0000:00:1d.1-1/input0
groucho@devuan:~$ Any ideas?
Thanks in advance,
A.
Hello:
Add amd-iommu=off as well (as per my link).
Sorry ...
Confused it with another link where only iommu=soft was mentioned.
No change.
Also tried booting with the drive attached and also with pci=nomsi in the kernel command but no luck.
See here:
https://github.com/torvalds/linux/commi … 11094b6f09
usb: xhci: Add support for Renesas controller with memory
Some rensas controller like uPD720201 and uPD720202 need firmware to be
loaded. Add these devices in table and invoke renesas firmware loader
functions to check and load the firmware into device memory when
required.
See this post also: https://bbs.archlinux.org/viewtopic.php … 0#p1925250
Thanks for your input.
Cheers,
A.
Hello:
tl;dr: add iommu=soft as a kernel command line parameter.
Read my mind ...
My dmesg does have a reference to IOMMU:
groucho@devuan:~$ sudo dmesg | grep -i iommu
[ 1.903203] AMD IOMMUv2 driver by Joerg Roedel <jroedel@suse.de>
[ 1.903420] AMD IOMMUv2 functionality not available on this system
groucho@devuan:~$ Tried iommu=soft just now, but made no difference in what happens when I plug in the drive into a USB3.0 port.
Thanks for your input.
Cheers,
A.
Hello:
Running up to date Devuan Beowulf 3.1.0:
groucho@devuan:~$ uname -a
Linux devuan 4.19.0-14-amd64 #1 SMP Debian 4.19.171-2 (2021-01-30) x86_64 GNU/Linux
groucho@devuan:~$ My Sun Ultra 24 box has six onboard USB 2.0 ports and I've added a 4 port USB 3.0 card to the empty PCIe 8x slot.
Card shows up in lspci:
groucho@devuan:~$ lspci
--- snip ---
04:00.0 USB controller: Renesas Technology Corp. uPD720201 USB 3.0 Host Controller (rev 03)
--- snip ---
groucho@devuan:~$ dmesg finds it at USB5:
groucho@devuan:~$ sudo dmesg | grep -i "usb usb"
--- snip ---
[ 3.187425] usb usb5: We don't know the algorithms for LPM for this host, disabling LPM. <------------ | ? |
[ 3.187444] usb usb5: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 4.19
[ 3.187446] usb usb5: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 3.187447] usb usb5: Product: xHCI Host Controller
[ 3.187448] usb usb5: Manufacturer: Linux 4.19.0-14-amd64 xhci-hcd
[ 3.187449] usb usb5: SerialNumber: 0000:04:00.0
--- snip ---
groucho@devuan:~$ If I plug in an external USB3.0 HDD in any of the onboard USB2.0 ports , I get this in dmesg:
groucho@devuan:~$ sudo dmesg | tail -20
--- snip ---
[ 2090.462935] usb 6-5: new high-speed USB device number 4 using ehci-pci
[ 2090.624537] usb 6-5: New USB device found, idVendor=043e, idProduct=70f5, bcdDevice= 6.00
[ 2090.624541] usb 6-5: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 2090.624544] usb 6-5: Product: LG External HDD
[ 2090.624547] usb 6-5: Manufacturer: LG Electronics Inc.
[ 2090.624549] usb 6-5: SerialNumber: A1204000000004C7
[ 2090.646562] usb-storage 6-5:1.0: USB Mass Storage device detected
[ 2090.646692] scsi host8: usb-storage 6-5:1.0
[ 2090.646818] usbcore: registered new interface driver usb-storage
[ 2095.346949] scsi 8:0:0:0: Direct-Access Hitachi HTS545050A7E GG2O PQ: 0 ANSI: 2
[ 2095.347330] sd 8:0:0:0: Attached scsi generic sg6 type 0
[ 2095.351172] sd 8:0:0:0: [sdf] 976773164 512-byte logical blocks: (500 GB/466 GiB)
[ 2095.351792] sd 8:0:0:0: [sdf] Write Protect is off
[ 2095.351795] sd 8:0:0:0: [sdf] Mode Sense: 00 06 00 00
[ 2095.352416] sd 8:0:0:0: [sdf] No Caching mode page found
[ 2095.352419] sd 8:0:0:0: [sdf] Assuming drive cache: write through
[ 2095.384932] sdf: sdf1
[ 2096.469187] sd 8:0:0:0: [sdf] Attached SCSI disk
groucho@devuan:~$ lsusb sees it:
groucho@devuan:~$ lsusb
Bus 006 Device 005: ID 043e:70f5 LG Electronics USA, Inc. External HDD
--- snip ---
groucho@devuan:~$ But ...
If I unplug it and plug into one of the USB3.0 card's ports, I don't get anything in dmesg ...
[ 2592.690873] sdf: sdf1
[ 2593.767241] sd 8:0:0:0: [sdf] Attached SCSI disk
[ 3085.450843] usb 6-5: USB disconnect, device number 5... or lsusb.
Curiously enough, if I plug it into my Dell monitor's USB2.0 hub (plugged into one of the USB3.0 card's ports), dmesg sees it ...
groucho@devuan:~$ sudo dmesg | tail -20
[ 2592.690873] sdf: sdf1
[ 2593.767241] sd 8:0:0:0: [sdf] Attached SCSI disk
[ 3085.450843] usb 6-5: USB disconnect, device number 5
[ 3439.586951] usb 4-3.1: new high-speed USB device number 3 using xhci_hcd
[ 3439.694613] usb 4-3.1: New USB device found, idVendor=043e, idProduct=70f5, bcdDevice= 6.00
[ 3439.694617] usb 4-3.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 3439.694620] usb 4-3.1: Product: LG External HDD
[ 3439.694622] usb 4-3.1: Manufacturer: LG Electronics Inc.
[ 3439.694625] usb 4-3.1: SerialNumber: A1204000000004C7
[ 3439.701034] usb-storage 4-3.1:1.0: USB Mass Storage device detected
[ 3439.701160] scsi host8: usb-storage 4-3.1:1.0
[ 3443.643398] scsi 8:0:0:0: Direct-Access Hitachi HTS545050A7E GG2O PQ: 0 ANSI: 2
[ 3443.643741] sd 8:0:0:0: Attached scsi generic sg6 type 0
[ 3443.647507] sd 8:0:0:0: [sdf] 976773164 512-byte logical blocks: (500 GB/466 GiB)
[ 3443.648127] sd 8:0:0:0: [sdf] Write Protect is off
[ 3443.648132] sd 8:0:0:0: [sdf] Mode Sense: 00 06 00 00
[ 3443.648754] sd 8:0:0:0: [sdf] No Caching mode page found
[ 3443.648757] sd 8:0:0:0: [sdf] Assuming drive cache: write through
[ 3443.681214] sdf: sdf1
[ 3444.749112] sd 8:0:0:0: [sdf] Attached SCSI disk
groucho@devuan:~$ ... so does lsusb:
groucho@devuan:~$ lsusb
--- snip ---
Bus 004 Device 003: ID 043e:70f5 LG Electronics USA, Inc. External HDD
--- snip ---
groucho@devuan:~$ But as USBView says, it is working at USB2.0 speeds:
LG External HDD
Manufacturer: LG Electronics Inc.
Serial Number: A1204000000004C7
Speed: 480Mb/s (high) <----
Bus: 4
Address: 3
USB Version: 2.10
Device Class: 00(>ifc )
Device Subclass: 00
Device Protocol: 00
Maximum Default Endpoint Size: 64
Number of Configurations: 1
Vendor Id: 043e
Product Id: 70f5
Revision Number: 6.00The USB3.0 HDD drive works, the on board USB2.0 ports work, the USB3.0 card's ports work albeit through a hub and at USB2.0 speeds.
Thinking that there being a USB2.0 hub plugged into one of the card's ports, I unplugged it to check.
But nothing changed.
It would seem there is some sort of problem with the USB3.0 card working at USB3.0 speeds with USB3.0 devices.
Maybe it has to do with this line in dmsg?
[ 3.187425] usb usb5: We don't know the algorithms for LPM for this host, disabling LPM.Any ideas?
Thanks in advance,
A.
Hello:
... using cinnamon desktop ...
I looked at Gnome under Debian just once years ago in my first attempt at Linux.
Not really what I was wanting to see.
A couple of years later I used Cinammon and then Mate in a few other distributions.
I did not like them too much, really didn't see any need for so much bling and flash.
You have MS for that type of thing.
#! Linux with it's customised Openbox WM was great but that distrubution went south in 2015.
Then systemd crept into everything around me but then found Devuan which came with with Xfce.
As time goes by and I use it more (no more office IT work+MS stuff to deal with), I find Xfce more and more annoying.
The fact that at v4.12 Xfce has not been able to get icon behaviour working properly is really annoying and if 4.16 ends up being what it says it will be ...
... dont mind the extra ram usage and a bit of gnome ...
But I do mind.
Both in principle and in practice.
[rant]
Things are what they are in IT because the concept of lean and mean has long been abandoned.
Intelligent/clean coding seems to have become a thing of the past.
If those chaps who write those absolutely incredibly efficient viruses in 8 or 10 lines of code used their skills to write a Linux desktop, Linux would be the king of the desktop PCs today.
Yes, one highly adaptable and configurable desktop, instead of the absurd number of bloated DE we have today.
There's far too much crap (and time/effort spent) in the name of a mis-interpreted freedom within an ecosystem where everyone and his dog wants to be a prima donna.
[/rant]
Right.
I will now quietly step off my box and go have my second morning espresso.
Maybe then I'll feel better. 8^7
Thanks for your input.
Best,
A.
Hello:
... if the xfce4 compositor is the issue, maybe see what happens using compton ...
The issue is evidently xfce4 inter-component related.
And from what I have seen with how the 4.16 version is coming along, things won't get better.
It's a pity but that's how it is rolling these days.
So I won't insist with Thunar unless PCManFM ends up not being up to par and have to try something else.
I already have a parallel Beowulf installation that I am attempting to build up as what at one time #! Linux was, I really liked it.
Thanks a lot for your input.
Best,
A.
Hello:
... using xfwm4 compositing from the tweaks dialog ...
Yes.
It's all xfwm4: thunar, compositing, etc.
Unfortunately, removing thunar is a messy affaire.
It is so ingrained into Xfce and the desktop that without it, the icons on my desktop would not open and the system complained about org.xfce.filemanager not being found.
The workarounds I found on the web did not work and I had to install it again, bringing along thunar-volman.
It's a real pain in the ass and yet another reason to consider dumping Xfce.
Thanks for your input.
A.
Hello:
... play with mouse settings and see if this helps?
Does not make any difference, it is not a mouse problem.
Given my observations, I have concluded that this is a problem with thunar and how it interacts with compositing.
Maybe it is related to how Xfce intruments compositing?
The maintainers at gitlab.xfce.org first made a reference to my using " ... outdated versions of the various involved components (Thunar, GTK, X and xfwm4) ..."
They have told me me that no one else has reported it and had not been able to reproduce it.
On their suggestion, I also tried to get a backtrace but the gdb utility did not produce a stack on thread apply all bt full or bt.
Alternatively, running it as root completely froze my desktop and did not produce a stack either.
So there's evidently something wrong there.
So I will just get rid of thunar and stay with PCManFM.
It seems to work quite well and most importantly, does not crash under the same conditions thunar does.
Best,
A.
Hello:
An update on this post.
I have come across a problem in thunar which consists of it crashing ...
While testing, I realised that this problem only happens only inside thunar, in or from a thunar window.
I can "drag and drop" a file or folder from the desktop into a thunar window and everything will work as intended.
ie: thunar does not crash nor does the desktop freeze.
I cross-posted it to the Xfce forum, also with no luck.
So then I posted the problem to gitlab.xfce.org.
See: https://gitlab.xfce.org/xfce/thunar/-/i … note_27697
One comment was this:
Note that, the bug reporter is using outdated versions of the various involved components (thunar, GTK, X and xfwm4), so it may be the case that this issue was fixed long ago.
thunar, GTK, X and xfwm4 are all linked by being in the same bag so to speak. ie: Xfce 4.12.
So I don't really get the idea behind this comment.
I probably won't be upgrading to Xfce 4.16.
See https://www.xfce.org/about/news/?post=1608595200 and this thread https://forum.xfce.org/viewtopic.php?id=13689.
Acting on a question in the bug report, I turned off compositing in Applications > Settings > Window Manager Tweaks > Compositor and unchecked "Enable display compositing".
The problem went away.
Then I decided to try with another file manager to see if the "drag and drop" problem was common to any other one.
My first choice was PCManFM as it was the lightest download.
I did it without uninstalling thunar and with compositing enabled.
The experiment was a 100% success, the "drag and drop" problem did not happen with PCManFM.
At first I thought that installing PCManFM may have fixed something as the install also downloaded these files:
libfm4:amd64 - libfm-modules:amd64 - libfm-extra4:amd64 - lxmenu-data:amd64 - libfm-gtk4:amd64 - gvfs-fuse:amd64
libmenu-cache-bin:amd64 - libfm-data:amd64 - pcmanfm:amd64 - libmenu-cache3:amd64 - libfm-gtk-data:amd64
But no: running Thunar again with compositing enabled still has the "drag and drop" problem.
That's about it.
I will be keeping PCManFM and seriously considering leaving Xfce and if not, least pinning it at 4.12.
Cheers,
A.
Hello:
Try apt -f install ....
Didn't work.
Those packages do not seem to be in the Devuan Beowulf repositories.
Altoid wrote:Should I enable the Ubuntu repo?
No. You'll have to download the individual .debs from the Ubuntu repositories ...
I see ...
Seems there is a snap package which I distrust because of snap and a live version I can run from an SD card.
I think that's the best option for now.
Thanks for your input.
Best,
A.
Hello:
... latest version would be best (fwts_18.03.00-0ubuntu5_amd64.deb).
Both this and the previous version (fwts_18.03.00-0ubuntu1_amd64.deb) have some dependency problems.
groucho@devuan:~/Downloads$ sudo apt install /home/groucho/Downloads/fwts_18.03.00-0ubuntu1_amd64.deb
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'fwts' instead of '/home/groucho/Downloads/fwts_18.03.00-0ubuntu1_amd64.deb'
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
fwts : Depends: libfwtsiasl1 (= 18.03.00-0ubuntu1) but it is not installable
Depends: libfwtsacpica1 (= 18.03.00-0ubuntu1) but it is not installable
Depends: libfwts1 (= 18.03.00-0ubuntu1) but it is not installable
Depends: fwts-efi-runtime-dkms (= 18.03.00-0ubuntu1) but it is not installable
E: Unable to correct problems, you have held broken packages.
groucho@devuan:~/Downloads$ I installed with apt install because it is supposed to solve dependencies but these don't show up with apt list.
Should I enable the Ubuntu repo? (I think not ...)
Thanks in advance,
A.
Hello:
I think the latest version would be best (fwts_18.03.00-0ubuntu5_amd64.deb).
Right, thank you.
... fix things with acpica-tools instead.
See https://wiki.archlinux.org/index.php/DSDT for an overview of the technique.
Thanks, I'll have a look at that.
I know how and have been able to load an alternate DSDT, modified to be able to re-compile with no errors vis-a-vis the 30+ errors the original DSDT has.
It turned out to be rather tricky because different version of the Intel compiler produce different results on errors and warnings.
For this specific BIOS I settled on the one that supports ACPI Specification Revision 6.2A.
The catch is that I have not been able to solve the problems I describe in my previous post and it seems that the fwst application may shed some light on it as it has a number of tests to run and (try) to debug the BIOS/tables.
... submit a bug report with your findings so that the upstream kernel developers can make things work for everybody else.
Of course I will.
But to be honest, I don't expect anything much.
I wrote about this in 2019, a comment on a previous bug report in 2018:
https://bugzilla.kernel.org/show_bug.cgi?id=201965
No answers or fixes upstream.
A chap found a solution for a similar problem with a relatively new (?) Asus board.
He posted his findings here:
https://bugzilla.kernel.org/show_bug.cgi?id=210689
No answers either.
He then saw my post, wrote to me about his findings and got me started on this again, after a couple of years.
I used his DSDT data on mt tables but was not able to solve my problem.
I'm aware that I have the perfect combination: 10 year old + unmaintained hardware + non-existent OEM.
If you add that Sun evidently employed untrained monkeys to write this BIOS ...
rant
ie: how is it possible that a top of the line Sun WS worth US$1800/2300 in 2007 had a BIOS reporting it as "portable"?
A bug that was never fixed in later BIOS versions?
/rant
Thanks for your input.
Best,
A.
Hello:
Altoid wrote:Any idea as to what may have caused it?
... an ISO image was burned to the device at some point. The magic string laid down by that process can be very persistent.
Don't think so.
If you mean that I may have burnt an *.iso image to that HDD, I can tell you with certainty that it is not the case.
Either I mounted a that specific *.iso file with AcetoneISO, burnt it to a CD or DVD or wrote it to an SD card.
In any case, is there something that can be done so this does not happen again?
Thanks a lot for your input.
Cheers,
A.
Hello:
Now that I have a bit more time on my hands, I have decided to take up (once again) the troubleshooting of my Sun Ultra 24 BIOS and DSDT tables.
The BIOS in my box has a couple of annoying bugs:
1. a shutdown freeze with fans at 100%
2. a system restart after shutdown.
Both are of an absolutely aleatory nature and have never been able to reproduce them.
They just happen.
I strongly suspect that at least a part of the present situation is due to the fact that the board reports itself as being "Portable":
groucho@devuan:~$ sudo inxi -M
Machine: Type: Portable System: Sun Microsystems product: Ultra 24 v: 0.00.01 serial: 0123456789
Mobo: Sun Microsystems model: Ultra 24 v: 50 serial: 3K08QG BIOS: American Megatrends v: 1.56 date: 01/21/2011
groucho@devuan:~$ At ~ 16/19 kg. it quite obviously is not.
It IDs itself as being portable (probably) because the BIOS' ACPI FADT(Fixed ACPI Description Table) has the field PreferredPowerManagementProfile set to a value of "2" (Mobile) instead of any other value such as workstation, server etc. and this setting probably has some effect on what is going on.
But I digress ...
DSDT table modification has always been an area largely dominated by OSx enthusiasts wanting to run Apple's OS on x86 boxes, so Linux based tools are scarce.
But I have come across a Linux based application called ftws for which there are *.deb files (Ubuntu) available for download.
See: https://pkgs.org/download/fwts
I'd appreciate some guidance as to which to choose between the ones available for Ubuntu 18.04 LTS.
Thanks in advance,
A.
Hello:
# wipefs -o 0x8001 /dev/sdb
Done.
Worked a charm. 8^D
gparted now reports as it should, like parted and gnome-disks do .
But then gparted does read from the drive itself, albeit data which is not correct and in doing so prevents it from being able to do anything on that drive.
Altoid wrote:It is an *.iso file I have used at one time or another.
Yes, probably.
Which brings me back to why this happened.
Any idea as to what may have caused it?
Thanks a lot for your help.
Cheers,
A.
Hello:
They are created dynamically by udev.
I see ...
So udev reads data and creates the links on the fly.
That's why the pop up the instant I delete them.
Can we see
wipefs /dev/sdb{,1}
Of course:
groucho@devuan:~$ sudo wipefs /dev/sdb{,1}
DEVICE OFFSET TYPE UUID LABEL
sdb 0x8001 iso9660 2006-02-09-19-22-00-00 MAGIC_BOOT_DISK_V2_0
sdb 0x1fe dos
sdb1 0x438 ext4 49d1369c-ed70-4543-b0ee-ef65327e101b stuff
groucho@devuan:~$ That's it!
udev is reading the data held in the drive itself and gparted (unlike gnome-disks and parted) uses it.
The important question would be: just how did that label get wrtitten into the drive?
It is an *.iso file I have used at one time or another.
Thanks for your input.
A.
Hello:
... similar problem ...
... had to delete those links a few times.
... deleted /dev/sdd along with them.
Hmm ...
There is something strange going on here.
Because, just what is recreating these links the instant they are deleted?
I searched for the string with the last digits of the drive's UUID and found two files.
They were in /.local/share/gcfs-metadata.
There were also about 100 or so files of the same type, most dated 2018, 2019 and 2020.
So I got rid of them, to no avail.
The problem remains.
But hold on because the plot thickens considerably.
I then boot into my alternate (in construction) Beowulf 3.1.0 install to see if I can reach into the other installation's system files but I cannot see past /media/groucho/devuan/dev, even as root.
And here is the deal:
As I am writing this post from my alternate Boewulf installation and on a hunch decide to look further.
So I start gparted and what do I see?
I see /dev/sda (instead of /dev/sdb) with the very same filesystem (iso9660) and label (MAGIC_BOOT_DISK_V2_0) and UUID (2006-02-09-19-22-00-00) I see in my other Beowulf 3.1.0 installation.
Not only that, it turns out that (expectedly) /dev/disk/by-label/ has the same link, just to /sda instead of /sdb.
It is obviously the same drive.
What to do now?
Thanks in advance,
A.
Hello:
... your last posts and my edit crossed in time ...
Indeed ...
It's fixed.
Thanks again.
Cheers,
A.
Hello:
... improved the feature beyond useful again...
Happens.
We are all in the midst of some real bad shit these days.
... possibility the feature has just appeared.
Perhaps you, @Altoid ...
Of course.
I'll close this post and see again.
Cheers,
A.
Edit: yes, now it is there. Thanks @ralph.ronnquist for getting it fixed. 8^)
Hello:
... see a "Mark SOLVED" link near the top and one near the bottom ...
I had seen it referenced before (in other posts) but could never find it, so I do it manually.
No big deal.
Today I looked again after having my second espresso and cleaning my reading glasses, but no: there is no such animal to be seen here.
I do believe you see it, but it does not mean that it is actually there. 8^D !!! (just taking the pis ...)
I'd post a screen capture to prove it.
But I have not been able to convince the powers that be to make it an easy thing to do.
Uploading a SC elsewhere and linking to it in a post as a method to clearly/quickly illustrate something (because pix=1000 words) is rather a nuisance.
Cheers,
A.
Hello:
interesting.
... unless something has blessed the system with some special udev rules ...
... in /etc/udev/rules.d rather than /lib/udev/rules.d.
Way over my head.
... residue from some past "journey" in /etc/fstab? <- took the liberty of correcting fstan
My fstab (checked it just now) is clean, no residue.
Non relevant lines are properly commented.
# /swap partition in ssd
UUID=fb103b4c-e143-4432-a3a0-4883d288bddd none swap defaults 0 0
# log partition in ssd
UUID=c22304ec-0b30-428a-a6ac-500785614702 /var/log ext4 defaults,noatime 0 2
#
# -------------------------------------------------------------------------------------
# backup repository in Seagate 300Gb SATA
# was LABEL=Backup /media/backups ext4 defaults,noatime 0 2
UUID=ca8dbded-819d-4e2b-b017-0981a75ea718 /media/backups ext4 defaults,noatime 0 2
#
# -------------------------------------------------------------------------------------
#
# not automatically mounted - root only
# storage repository in 300Gb SAS
# was LABEL=storage /media/storage ext4 defaults,auto 0 2
UUID=bdf33361-5929-433e-ac7f-1a626aa6e844 /media/storage ext4 nouser,noauto 0 2
#
# -------------------------------------------------------------------------------------
#
# not automatically mounted - root only
# storage repository in IBM 73Gb SAS
# was LABEL=stuff /media/stuff ext4 defaults,auto 0 2
UUID=49d1369c-ed70-4543-b0ee-ef65327e101b /media/stuff ext4 nouser,noauto 0 2
#
# -------------------------------------------------------------------------------------
#
# added to be able to use USBView 2.0
# see https://slackbuilds.org/repository/14.2/system/usbview/?search=usbview
# in pclinuxos /etc/rc.d/rc.sysinit is supposed to mount it but for some reason doesn't
#
debugfs /sys/kernel/debug debugfs mode=755 0 0Could it be the last line?
14.2 > System > usbview (2.0)
USBView is a GTK program that displays the topography of the devices that are
plugged into the USB bus on a Linux machine. It also displays information on
each of the devices. This can be useful to determine if a device is working
properly or not.For this program to be useful, you will need to mount the debug filesystem
(debugfs). Add this line to your /etc/fstab:debugfs /sys/kernel/debug debugfs noauto 0 0
Now a simple `mount debugfs` will make the USB info available to USBView.
The debugfs root directory is accessible only to the root user by default.
You can grant access to the USB device info (as well as the rest of the
debugfs tree) with the "uid", "gid", and "mode" mount options. For example:debugfs /sys/kernel/debug debugfs noauto,mode=755 0 0
Thanks for your input.
Cheers,
A.
Hello:
Ha!
This is a blast from the past. 8^D
Incredible how time goes by and some things never change.
I'm still as curmudgeonous as ever.
... proprietary driver in beowulf 3.1 ...
... same thing again.
... video performance seems to be fine.
I'm running Beowulf 3.1.0:
groucho@devuan:~$ uname -a
Linux devuan 4.19.0-14-amd64 #1 SMP Debian 4.19.171-2 (2021-01-30) x86_64 GNU/Linux
groucho@devuan:~$ The video drivers nvidia-legacy-340xx-driver and the desktop is the default Xfce 4.12.
And I'm still getting the udev errors in dmesg:
groucho@devuan:~$ sudo dmesg | grep install | grep nvidia
[ 2.270084] udevd[99]: Error running install command for nvidia
[ 2.279694] udevd[109]: Error running install command for nvidia
groucho@devuan:~$ But like when I first posted (2018!), save for the (annoying) artifacts I mentioned, video is running fine.
Some time after that post, I decided to blacklist the Intel mei module:
groucho@devuan:~$ cat /etc/modprobe.d/blacklist-mei.conf
# https://wiki.archlinux.org/index.php/Kernel_module
# blacklist mei
# to prevent loading if another non-blacklisted module requests it
# effectively blacklists the module and any other that depends on it.
install mei /bin/false
groucho@devuan:~$ # https://wiki.archlinux.org/index.php/Kernel_module
# blacklist mei_me
# to prevent loading if another non-blacklisted module requests it
# effectively blacklists the module and any other that depends on it.
install mei_me /bin/false
groucho@devuan:~$ And as a result, I get an exact copy of the udev error in dmesg, albeit referred to the mei module.
groucho@devuan:~$ sudo dmesg | grep udevd | grep install
[ 2.270084] udevd[99]: Error running install command for nvidia
[ 2.279694] udevd[109]: Error running install command for nvidia
[ 22.662626] udevd[436]: Error running install command for mei
groucho@devuan:~$ So I think it is safe to conclude that the udevd error in dmesg is most probably related to the proprietary nature of the nvidia-legacy-340xx-driver and something that is blocked from installing in order for it to run properly under Linux.
It may be related to the nvidia licence module:
groucho@devuan:~$ sudo dmesg | grep taint
[ 22.765593] nvidia: loading out-of-tree module taints kernel.
[ 22.766631] nvidia: loading out-of-tree module taints kernel.
[ 22.777785] nvidia: module license 'NVIDIA' taints kernel.
[ 22.789691] nvidia: module license 'NVIDIA' taints kernel.
[ 22.801326] Disabling lock debugging due to kernel taint
[ 22.828817] nvidia: module verification failed: signature and/or required key missing - tainting kernel
groucho@devuan:~$ With respect to the artifacts, they are only produced when logging in for the first time.
ie: killing the X server and logging in again does not produce the artifacts.
They can be reproduced by rebooting the rig and then logging in.
I recently upgraded the Quadro FX580 cards' BIOS thinking that it was a BIOS mismatch issue (had different versions) but the result was that the artifacts now look rather different but they are still there.
A clue as to where they may be originating arises from the fact that another Devuan Beowulf 3.1.0 installation I have in the same box ie: different drive but same OS, same cards, same drivers, same LM but no Xfce does not have them them.
In any case, I will most probably end up moving away from Xfce.
I do not like it too much but much less when I see what is going on with the upcoming 4.16.
I'd label this thread as [Solved], but I don't have permisson to do it.
Cheers,
A.
Hello:
... some dangling links in some /dev/disk/by-* directory?
Indeed ...
There was one labeled MAGIC_BOOT_DISK_v2_0 in the /dev/disk/by-label/ folder, linked to /sdb.
And also another link in /dev/disk/by-uuid/ labeled 2006-02-09-19-22-00-00 and also linked to /sdb.
So I opened the folders as root and deleted them.
But after a reboot they were there again.
ie: I delete them, close Thunar and when I open the folders the links are there again.
Seems that they are regenerated instantly.
Thanks for your input.
Best,
A.