Re: [gentoo-user] How to flash an LSI SAS controller from IR to IT mode on linux with sas2flsh
On 03/21/2018 03:20 PM, taii...@gmx.com wrote: > On 03/21/2018 04:44 PM, Corbin Bird wrote: > >> Curious ... you cannot use 'FreeDOS' even as a bootable cdrom? >> Its very easy to open the image, tuck in two files and one new >> directory, then close and burn the image. > I have not figured out where to place them on the iso so that they are > accessible nor alternatively how to load the drivers and mount a cdrom. > Do you know how? . Okay. Refresh complete. This should work if 16bit support / BIOS PAL is in good order on the target system. The 'FreeDOS' install cd is bootable. It loads a 'generic' cdrom driver automatically. Write down the flash commands EXACTLY as spec'd in the LSI docs. Use 'isomaster' for a GUI ISO image utility. Very convenient. It's in the Gentoo repository. Get this file ( FreeDOS v1.1 source ) http://www.ibiblio.org/pub/micro/pc-stuff/freedos/files/distributions/1.1/fd11src.iso create a directory on your HD, call it 'firmware' place all the needed LSI files in it. Example HBA && files ( LSI 2004 / 9211-41 ) -- 2114IR.BIN -- 2114IT.BIN -- MPTSAS2.ROM -- SAS2FLSH.EXE Open the image ( fd11src.iso ) with ISO Master. Bottom Widow of ISO Master. 2 dirs showing. double-click FREEDOS. Top Window, find your firmware dir, highlight it, click the 'add to the ISO' button Save (as) the ISO to 'lsiboot' somewhere on you HD. Exit ISO Master. burn 'lisboot.iso' to cd. boot the cdrom choose the following options ( in order ) : Install to C: Drive C 2 English press the [Enter] key Run FreeDOS from CD-ROM Command Prompt will show [ F:\ ] cd firmware [Enter] let the sas2flsh'ing commence. Corbin
[gentoo-user] Re: LuaKit Browser and HTML5 video playback
I've solved this problem. In case anyone ever runs into anything similar both qutebrowser and luakit require specific gstreamer plugins for each html5 video type. The media-libs/gst-plugins-meta package was not sufficient as it only contained a collection of audio plugins. Best, James
Re: [gentoo-user] How to flash an LSI SAS controller from IR to IT mode on linux with sas2flsh
> Jesus christ it is 2018 and they still want us to use dos to flash > hardware >:'[ While DOS is usually the recommended environment for flashing hardware, in my experience the most reliable option for (cross)flashing LSI SAS2 controllers is the EFI version of sas2flash. Specifically, on some recent motherboards the DOS version of sas2flash will simply refuse to start with obscure hardware initialization errors. If you can build a FreeDOS image with little effort, it might be worth a try; just be warned that it's not a guaranteed way to success and that your time might be better spent by looking for a board with UEFI firmware that you can borrow for the ten minutes needed to flash the card. And no, I don't like UEFI either, but I do think it's a useful tool for the job at hand. HTH, Andrea
Re: [gentoo-user] How to flash an LSI SAS controller from IR to IT mode on linux with sas2flsh
On 03/21/2018 03:20 PM, taii...@gmx.com wrote: > On 03/21/2018 04:44 PM, Corbin Bird wrote: > >> Curious ... you cannot use 'FreeDOS' even as a bootable cdrom? >> Its very easy to open the image, tuck in two files and one new >> directory, then close and burn the image. > I have not figured out where to place them on the iso so that they are > accessible nor alternatively how to load the drivers and mount a cdrom. > Do you know how? > . I've done it in the past. Give me an hour to refresh the memory / retest the process / write the process down. Corbin
Re: [gentoo-user] How to flash an LSI SAS controller from IR to IT mode on linux with sas2flsh
On 03/21/2018 04:44 PM, Corbin Bird wrote: > Curious ... you cannot use 'FreeDOS' even as a bootable cdrom? > Its very easy to open the image, tuck in two files and one new > directory, then close and burn the image. I have not figured out where to place them on the iso so that they are accessible nor alternatively how to load the drivers and mount a cdrom. Do you know how? 0xDF372A17.asc Description: application/pgp-keys
Re: [gentoo-user] Re: A new AMD CPU weakness?
On 03/21/2018 11:55 AM, R0b0t1 wrote: > On Sun, Mar 18, 2018 at 4:40 PM, taii...@gmx.comwrote: >> On 03/18/2018 05:33 PM, R0b0t1 wrote: >> >>> On Sun, Mar 18, 2018 at 4:24 PM, taii...@gmx.com wrote: Everyone please remember this is simply an exploit to obtain data off of AMD's version of ME which is a DRM mechanism added for hollywood and it requires physical access to reprogram the firmware thus this exploit has zero impact on anyone who doesn't profit off of DRM. >>> Except if it's anything like the Intel ME exploit, physical access can >>> be faked using a compromized USB device. >> You mean the skylake debug port? ME/PSP are evil - don't buy computers that have them - you have choices! >>> No we don't. >> Yes we do. >> TALOS 2? g505s laptop? kgpe-d16? novena? >> >> I play new games at max settings on a pre-PSP AMD system KGPE-D16 where I >> have installed a libre firmware for the board and the BMC via the recent >> OpenBMC port (the facebook version of OpenBMCless features than the IBM >> version but still quite nice) >> >> The TALOS 2 costs less than a brand new xeon system with similar performance >> and it has better features such as IBM's OpenBMC, PCI-e 4.0, SMT4 etc. >> The stars have aligned and given us a libre firmware server/workstation that >> is brand new and very very fast. >> > The x86 parts are slowly going out of stock to the point where they > are expensive *when* I have found them. There are still a few sites selling the KGPE-D16 brand new for the original MSRP of $415, and you can obtain a used CPU from ebay for a reasonable price that is capable of having two people maxing out the latest games on a dual gaming VM setup. > The TALOS 2 is the cheapest POWER system available, but is still many > thousands of dollars more > than a consumer computer (though much higher performance). Trying to sell libre computers that compete with grandmas $499 dell is an impossible proposition - competing in the professional workstation market is however practical and attainable. > ARM based computers are not comparable in performance to common consumer > systems. Self hosting on a performant ARM processor is not a > reasonable proposition. High dollar ARM servers have closed > motherboard firmware. > > Sure, if you devote all of a good salary's disposable income to a > mostly open hardware computer you can buy one. Most people don't make > that much. The idea behind the TALOS 2 is that you spend $2.5K (plus case, ram, etc) on a computer every 5-10 years rather than $500-$1K on a computer every year or two. High performance costs real money, otherwise you can buy one of the older libre laptops, a kgpe-d16 with a cheap $10 CPU etc. The Talos 2 is entirely owner controlled, it has libre firmware for the board and BMC plus various documentation is available even if you aren't a member of the OpenPOWER foundation. The only firmware required is for the broadcom nic but there is a project to remove that and it is behind the IOMMU - this was viewed as better than supporting intel by purchasing their NIC ASICs. https://git.raptorcs.com/git/ in case you want to examine some code https://wiki.raptorcs.com/wiki/Category:Documentation the currently available public documentation > The bigger issue than that is all main manufacturers do not > want to remove their backdoors, and so ever so slowly, there will come > to be absolutely no choice at all, even for inordinate amounts of > money. Yeah, but IBM is luckily becoming more open rather than less open and they also accept input from the smaller members of the OpenPOWER foundation. POWER is the way forward for the high performance sector and IBM's only real way of differentiating themselves is being owner controlled, sure POWER is faster than x86 for the same price and it has more threads per core and more cores per CPU but a compelling reason is needed for the average business to take the time to port their software.
Re: [gentoo-user] How to flash an LSI SAS controller from IR to IT mode on linux with sas2flsh
On 03/20/2018 02:02 PM, taii...@gmx.com wrote: > On 03/19/2018 08:02 PM, mad.scientist.at.la...@tutanota.com wrote: >> A virtual machine is useful largely because it isolates the VM from the real >> hardware, therefore it's not likely you can update firmware from a VM (you >> really shouldn't be able to). > Actually you can update firmware from a VM, I have done it many times > on many different PCI-e cards and I already updated the IR mode > firmware to the latest version in a linux VM (but you need DOS to go > IR>IT) > > It is part of the reason as to why SR-IOV was created besides the > performance benefits you also get security benefits with restricted > registers and the inability to flash a malicious firmware from a guest > if you attach a VF to the VM instead of the PF. > > I don't have any UEFI machines as I hate UEFI (all my machines run > coreboot with the grub payload) >> The reason they still want us to upgrade with dos is it's a lowest common >> denominator, i.e. every one has it or can get it (freedos). it also helps >> that it's a minimal enviroment. >> >> In any case, I suggest you run a REAL freedos on a Real machine, so that you >> can update real not virtual firmware. i.e. no Virtual Machine. > The issue is not being able to use linux as well and having a bare > metal freedos won't help my disk driver issue there still won't be a > way to load the files. . Curious ... you cannot use 'FreeDOS' even as a bootable cdrom? Its very easy to open the image, tuck in two files and one new directory, then close and burn the image. FreeDOS comes with a 'generic' PATA / SATA driver for cdrom drives. Correction : (but you need DOS to go IR>IT) ---> the EFI Shell also can do it. Corbin
Re: [gentoo-user] rsync: mkstemp - failed: Permission denied (13)
On 03/21/2018 12:12 PM, the...@sys-concept.com wrote: [snip > > mount -t cifs gid=1001,uid=1001 -o username=,password= > //10.10.0.9/Images /home/thelma/mnt/Images > mount: only root can use "--options" option > > Is there a way to mount windows-7 partition as user? Windows-7 runs in > VirtualBox > This way the owner of the mounted directory/files would be thelma:thelma > (not root:root) This command works: mount -t cifs -o username=,password= //10.10.0.9/Images /home/thelma/mnt/Images When I add: gid=1001, uid=1001 it does not work
Re: [gentoo-user] rsync: mkstemp - failed: Permission denied (13)
On 03/21/2018 11:36 AM, Neil Bothwick wrote:[snip] >> rsync -av --delete /Monday/Images/O/OSMANFathia2946/ >> thelma@10.10.0.6:/Monday/Images/O/OSMANFathia2946/ sending incremental >> file list rsync: failed to set times on >> "/Monday/Images/O/OSMANFathia2946/.": Operation not permitted (1) ./ >> OSMANFathia6463.pdf > > ...you are writing to the destination computer as thelma. You need to use > a user that can write to the destination directories. The reason I'm running backup script as user as I mount windows-7 partition to backup some file and I use "--options" with mount command. So when directory is mounted the owner is root. When I try to run this command as user: mount -t cifs gid=1001,uid=1001 -o username=,password= //10.10.0.9/Images /home/thelma/mnt/Images mount: only root can use "--options" option Is there a way to mount windows-7 partition as user? Windows-7 runs in VirtualBox This way the owner of the mounted directory/files would be thelma:thelma (not root:root) >> Destination dir: >> ll Monday/Images/O/OSMANFathia2946/ >> total 252 >> -rwxr-xr-x 1 root root 44943 Jul 22 2013 OSMANFathia1567.pdf >> -rwxr-xr-x 1 root root 42493 Jul 30 2013 OSMANFathia1601.pdf >> -rwxr-xr-x 1 root root 49640 Nov 7 2014 OSMANFathia2822.pdf >> -rwxr-xr-x 1 root root 56028 Mar 11 2015 OSMANFathia3268.pdf >> -rwxr-xr-x 1 root root 54155 Oct 19 2015 OSMANFathia3862.pdf > > This shows the permissions of files within the directory but not the > directory itself, use ls -ld ls -al -id /home/thelma/Monday/Images/O/OSMANFathia2946/ 34210401 drwxr-xr-x 2 root root 4096 Mar 21 11:22 /home/thelma/Monday/Images/O/OSMANFathia2946/ When I change recursively: chown thelma:thelma -r directory; I was able to copy all the file correctly. -- Thelma
Re: [gentoo-user] rsync: mkstemp - failed: Permission denied (13)
On Wed, 21 Mar 2018 11:10:03 -0600, the...@sys-concept.com wrote: > I'm trying rsync directory (daily backups) and on some files I get > "Permission denied" from rsync: (I'm running the rsync as root) Maybe so, but... > rsync -av --delete /Monday/Images/O/OSMANFathia2946/ > thelma@10.10.0.6:/Monday/Images/O/OSMANFathia2946/ sending incremental > file list rsync: failed to set times on > "/Monday/Images/O/OSMANFathia2946/.": Operation not permitted (1) ./ > OSMANFathia6463.pdf ...you are writing to the destination computer as thelma. You need to use a user that can write to the destination directories. > Destination dir: > ll Monday/Images/O/OSMANFathia2946/ > total 252 > -rwxr-xr-x 1 root root 44943 Jul 22 2013 OSMANFathia1567.pdf > -rwxr-xr-x 1 root root 42493 Jul 30 2013 OSMANFathia1601.pdf > -rwxr-xr-x 1 root root 49640 Nov 7 2014 OSMANFathia2822.pdf > -rwxr-xr-x 1 root root 56028 Mar 11 2015 OSMANFathia3268.pdf > -rwxr-xr-x 1 root root 54155 Oct 19 2015 OSMANFathia3862.pdf This shows the permissions of files within the directory but not the directory itself, use ls -ld -- Neil Bothwick If it isn't broken, I can fix it. pgpa5EsDNfWMq.pgp Description: OpenPGP digital signature
[gentoo-user] rsync: mkstemp - failed: Permission denied (13)
I'm trying rsync directory (daily backups) and on some files I get "Permission denied" from rsync: (I'm running the rsync as root) rsync -av --delete /Monday/Images/O/OSMANFathia2946/ thelma@10.10.0.6:/Monday/Images/O/OSMANFathia2946/ sending incremental file list rsync: failed to set times on "/Monday/Images/O/OSMANFathia2946/.": Operation not permitted (1) ./ OSMANFathia6463.pdf rsync: mkstemp "/Monday/Images/O/OSMANFathia2946/.OSMANFathia6463.pdf.lasI73" failed: Permission denied (13) Source dir: ll Monday/Images/O/OSMANFathia2946/ total 324 -rwxr-xr-x 1 root root 44943 Jul 22 2013 OSMANFathia1567.pdf -rwxr-xr-x 1 root root 42493 Jul 30 2013 OSMANFathia1601.pdf -rwxr-xr-x 1 root root 49640 Nov 7 2014 OSMANFathia2822.pdf -rwxr-xr-x 1 root root 56028 Mar 11 2015 OSMANFathia3268.pdf -rwxr-xr-x 1 root root 54155 Oct 19 2015 OSMANFathia3862.pdf -rwxr-xr-x 1 root root 54939 Mar 14 15:31 OSMANFathia6463.pdf Destination dir: ll Monday/Images/O/OSMANFathia2946/ total 252 -rwxr-xr-x 1 root root 44943 Jul 22 2013 OSMANFathia1567.pdf -rwxr-xr-x 1 root root 42493 Jul 30 2013 OSMANFathia1601.pdf -rwxr-xr-x 1 root root 49640 Nov 7 2014 OSMANFathia2822.pdf -rwxr-xr-x 1 root root 56028 Mar 11 2015 OSMANFathia3268.pdf -rwxr-xr-x 1 root root 54155 Oct 19 2015 OSMANFathia3862.pdf Last file rsync can not copy to dest. dir. Sub-directory permission are OK as "rsync" could copy the file "OSMANFathia3862.pdf" from Tusday to Firday but not Monday dir. Destination dir Tuesday to Friday look the same: ll /Tuesday/Images/O/OSMANFathia2946/ total 308 -rwxr-xr-x 1 root root 44943 Jul 22 2013 OSMANFathia1567.pdf -rwxr-xr-x 1 root root 42493 Jul 30 2013 OSMANFathia1601.pdf -rwxr-xr-x 1 root root 49640 Nov 7 2014 OSMANFathia2822.pdf -rwxr-xr-x 1 root root 56028 Mar 11 2015 OSMANFathia3268.pdf -rwxr-xr-x 1 root root 54155 Oct 19 2015 OSMANFathia3862.pdf -rwxr-xr-x 1 root root 54939 Mar 14 15:31 OSMANFathia6463.pdf -- Thelma
Re: [gentoo-user] Re: A new AMD CPU weakness?
On Sun, Mar 18, 2018 at 4:40 PM, taii...@gmx.comwrote: > On 03/18/2018 05:33 PM, R0b0t1 wrote: > >> On Sun, Mar 18, 2018 at 4:24 PM, taii...@gmx.com wrote: >>> >>> Everyone please remember this is simply an exploit to obtain data off of >>> AMD's version of ME which is a DRM mechanism added for hollywood and it >>> requires physical access to reprogram the firmware thus this exploit has >>> zero impact on anyone who doesn't profit off of DRM. >>> >> Except if it's anything like the Intel ME exploit, physical access can >> be faked using a compromized USB device. > > You mean the skylake debug port? >>> >>> ME/PSP are evil - don't buy computers that have them - you have choices! >> >> No we don't. > > Yes we do. > TALOS 2? g505s laptop? kgpe-d16? novena? > > I play new games at max settings on a pre-PSP AMD system KGPE-D16 where I > have installed a libre firmware for the board and the BMC via the recent > OpenBMC port (the facebook version of OpenBMCless features than the IBM > version but still quite nice) > > The TALOS 2 costs less than a brand new xeon system with similar performance > and it has better features such as IBM's OpenBMC, PCI-e 4.0, SMT4 etc. > The stars have aligned and given us a libre firmware server/workstation that > is brand new and very very fast. > The x86 parts are slowly going out of stock to the point where they are expensive *when* I have found them. The TALOS 2 is the cheapest POWER system available, but is still many thousands of dollars more than a consumer computer (though much higher performance). ARM based computers are not comparable in performance to common consumer systems. Self hosting on a performant ARM processor is not a reasonable proposition. High dollar ARM servers have closed motherboard firmware. Sure, if you devote all of a good salary's disposable income to a mostly open hardware computer you can buy one. Most people don't make that much. The bigger issue than that is all main manufacturers do not want to remove their backdoors, and so ever so slowly, there will come to be absolutely no choice at all, even for inordinate amounts of money.
[gentoo-user] LuaKit Browser and HTML5 video playback
Hello all, Does anyone here know how luakit (webkit browser) accesses video codecs? I'm just trying it out and I've been really enjoying it but anything HTML5 (mp4, ogg, webm) in video form does not load. luakit uses gstreamer as a backend and I've used the gstreamer flag during compilation. I installed media-libs/gst-plugins-meta after installation. I'm out of ideas at this point aside from recompiling luakit which would take a couple of hours. --- Output of `emerge -pv`: Calculating dependencies... done! [ebuild R] net-libs/webkit-gtk-2.18.6:4/37::gentoo USE="X egl geolocation gstreamer introspection jit libnotify opengl spell webgl (-aqua) -coverage -doc -gles2 -gnome-keyring -nsplugin {-test} -wayland" --- Best wishes, James
Re: [gentoo-user] Re: A new AMD CPU weakness?
https://community.amd.com/community/amd-corporate/blog/2018/03/20/initial-amd-technical-assessment-of-cts-labs-research tl:dr bios updates to come