Re: [gentoo-user] Android ADB emerge fails on amd64

2019-01-29 Thread malloc1337
Thus spoke Neil Bothwick (n...@digimed.co.uk): > > If you only want adb and friends, rather than the full SDK, emerge > dev-util/android-tools instead. > I did not think of that, but the Gentoo Wiki on Android/ADB suggests that the full android-sdk-update-manager package is a prerequisite for de

Re: [gentoo-user] Video database software

2019-01-29 Thread Dale
Mick wrote: > On Tuesday, 29 January 2019 02:55:02 GMT Dale wrote: >> Andrew Udvare wrote: On 2019-01-28, at 17:54, Dale wrote: So far, I have installed Griffith and GCStar. I been googling for others but some either are not in the tree or I already know they won't do one

Re: [gentoo-user] RAID-1 on secondary disks how?

2019-01-29 Thread Rich Freeman
On Tue, Jan 29, 2019 at 7:36 PM Grant Taylor wrote: > > That assumes that there is a boot loader. There wasn't one with the old > Slackware boot & root disks. > Linux no longer supports direct booting from the MBR. arch/x86/boot/header.S bugger_off_msg: .ascii "Use a boot loader.\r\n"

Re: [gentoo-user] RAID-1 on secondary disks how?

2019-01-29 Thread karl
Peter Humphrey: ... > In my case I > haven't needed an initramfs so far, and now I see I still don't need one - > why > add complication? Having set the kernel option to assemble raid devices at > boot time, now that /dev/md0 has been created I find it ready to go as soon > as > I boot up an

Re: [gentoo-user] RAID-1 on secondary disks how?

2019-01-29 Thread Grant Taylor
On 01/29/2019 02:17 PM, Neil Bothwick wrote: AFAIR the initramfs code is built into the kernel, not as an option. The reason given for using a cpio archive is that it is simple and available in the kernel. The kernel itself has an initramfs built into it which is executed automatically, it's ju

Re: [gentoo-user] RAID-1 on secondary disks how?

2019-01-29 Thread Peter Humphrey
On Tuesday, 29 January 2019 20:37:31 GMT Wol's lists wrote: > On 28/01/2019 16:56, Peter Humphrey wrote: > > I must be missing something, in spite of following the wiki instructions. > > Can someone help an old duffer out? > > Gentoo wiki, or kernel raid wiki? Gentoo wiki. It's fascinating to se

Re: [gentoo-user] RAID-1 on secondary disks how?

2019-01-29 Thread Neil Bothwick
On Tue, 29 Jan 2019 13:37:43 -0700, Grant Taylor wrote: > > An initramfs typically loads kernel modules, assuming there are any > > that need to be loaded. > > And where is it going to load them from if said kernel doesn't support > initrds or loop back devices or the archive or file system ty

Re: [gentoo-user] RAID-1 on secondary disks how?

2019-01-29 Thread Alan Mackenzie
On Tue, Jan 29, 2019 at 20:58:37 +, Wol's lists wrote: > On 29/01/2019 19:41, Grant Taylor wrote: > > The kernel /must/ have (at least) the minimum drivers (and dependencies) > > to be able to boot strap.  It doesn't matter if it's boot strapping an > > initramfs or otherwise. > > All of the

Re: [gentoo-user] RAID-1 on secondary disks how?

2019-01-29 Thread Wol's lists
On 29/01/2019 19:41, Grant Taylor wrote: The kernel /must/ have (at least) the minimum drivers (and dependencies) to be able to boot strap.  It doesn't matter if it's boot strapping an initramfs or otherwise. All of these issues about lack of a driver are avoided by having the driver statical

Re: [gentoo-user] RAID-1 on secondary disks how?

2019-01-29 Thread Rich Freeman
On Tue, Jan 29, 2019 at 3:37 PM Grant Taylor wrote: > > On 01/29/2019 01:26 PM, Rich Freeman wrote: > > Uh, an initramfs typically does not exec a second kernel. I guess it > > could, in which case that kernel would need its own initramfs to get > > around to mounting its root filesystem. Presum

Re: [gentoo-user] RAID-1 on secondary disks how?

2019-01-29 Thread Grant Taylor
On 01/29/2019 01:26 PM, Rich Freeman wrote: Uh, an initramfs typically does not exec a second kernel. I guess it could, in which case that kernel would need its own initramfs to get around to mounting its root filesystem. Presumably at some point you'd want to have your system stop kexecing k

Re: [gentoo-user] RAID-1 on secondary disks how?

2019-01-29 Thread Wol's lists
On 28/01/2019 16:56, Peter Humphrey wrote: I must be missing something, in spite of following the wiki instructions. Can someone help an old duffer out? Gentoo wiki, or kernel raid wiki? Cheers, Wol

Re: [gentoo-user] RAID-1 on secondary disks how?

2019-01-29 Thread Wol's lists
On 29/01/2019 19:01, Rich Freeman wrote: It would surely be a bug if the kernel were capable of manipulating RAIDs, but not of initialising and mounting them. Linus would disagree with you there, and has said as much publicly. He does not consider initialization to be the responsibility of ke

Re: [gentoo-user] RAID-1 on secondary disks how?

2019-01-29 Thread Rich Freeman
On Tue, Jan 29, 2019 at 3:15 PM Grant Taylor wrote: > > On 01/29/2019 01:08 PM, Rich Freeman wrote: > > You seem to be focusing on the second kernel that the initramfs execs. > Uh, an initramfs typically does not exec a second kernel. I guess it could, in which case that kernel would need its ow

Re: [gentoo-user] RAID-1 on secondary disks how?

2019-01-29 Thread Grant Taylor
On 01/29/2019 01:08 PM, Rich Freeman wrote: Obviously. Hence the reason I said that it shouldn't matter if the module is built in-kernel. I'm saying it does matter. I'm not sure why it seems like we're talking past each other here... You seem to be focusing on the second kernel that the in

Re: [gentoo-user] RAID-1 on secondary disks how?

2019-01-29 Thread Rich Freeman
On Tue, Jan 29, 2019 at 2:59 PM Grant Taylor wrote: > > On 01/29/2019 12:47 PM, Rich Freeman wrote: > > It couldn't. Hence the reason I said, "obviously it needs whatever > > drivers it needs, but I don't see why it would care if they are built > > -in-kernel vs in-module." > > You are missing wh

Re: [gentoo-user] RAID-1 on secondary disks how?

2019-01-29 Thread Rich Freeman
On Tue, Jan 29, 2019 at 2:52 PM Grant Taylor wrote: > > On 01/29/2019 12:33 PM, Rich Freeman wrote: > > > However, as soon as you throw so much as a second hard drive in a system > > that becomes unreliable. > > Mounting the root based on UUID (or labels) is *WONDERFUL*. It makes > the system MUC

[gentoo-user] lots of problems in world update including new perl -- need some help

2019-01-29 Thread John Covici
Hi. I am having lots of problems doing my world update -- usually it works fine, but todays is having problems. One of the problems is a new major version of perl. In the past it would emerge and then I had to use perl-cleaner to fix, but not this time. Also openssl is giving me problems. I tr

Re: [gentoo-user] RAID-1 on secondary disks how?

2019-01-29 Thread Grant Taylor
On 01/29/2019 12:47 PM, Rich Freeman wrote: It couldn't. Hence the reason I said, "obviously it needs whatever drivers it needs, but I don't see why it would care if they are built -in-kernel vs in-module." You are missing what I'm saying. Even the kernel the initramfs uses MUST have support

Re: [gentoo-user] RAID-1 on secondary disks how?

2019-01-29 Thread Wol's lists
On 29/01/2019 16:48, Alan Mackenzie wrote: Hello, All. On Tue, Jan 29, 2019 at 09:32:19 -0700, Grant Taylor wrote: On 01/29/2019 09:08 AM, Peter Humphrey wrote: I'd rather not have to create an initramfs if I can avoid it. Would it be sensible to start the raid volume by putting an mdadm --ass

Re: [gentoo-user] RAID-1 on secondary disks how?

2019-01-29 Thread Grant Taylor
On 01/29/2019 12:33 PM, Rich Freeman wrote: If all my boxes could function reliably without an initramfs I probably would do it that way. ;-) However, as soon as you throw so much as a second hard drive in a system that becomes unreliable. I disagree. I've been reliably booting and running

Re: [gentoo-user] RAID-1 on secondary disks how?

2019-01-29 Thread Rich Freeman
On Tue, Jan 29, 2019 at 2:41 PM Grant Taylor wrote: > > On 01/29/2019 12:01 PM, Rich Freeman wrote: > > > > That is news to me. Obviously it needs whatever drivers it needs, but > > I don't see why it would care if they are built in-kernel vs in-module. > > How is a kernel going to be able to mou

Re: [gentoo-user] RAID-1 on secondary disks how?

2019-01-29 Thread Grant Taylor
On 01/29/2019 12:01 PM, Rich Freeman wrote: Not sure why you would think this. It is just a cpio archive of a root filesystem that the kernel runs as a generic bootstrap. IMHO the simple fact that such is used when it is not needed is ugly part. This means that your bootstrap for initializing

Re: [gentoo-user] RAID-1 on secondary disks how?

2019-01-29 Thread Rich Freeman
On Tue, Jan 29, 2019 at 2:22 PM Grant Taylor wrote: > > On 01/29/2019 12:04 PM, Rich Freeman wrote: > > I don't see the value in using a different configuration on a box simply > > because it happens to work on that particular box. Dracut is a more > > generic solution that allows me to keep host

Re: [gentoo-user] RAID-1 on secondary disks how?

2019-01-29 Thread Grant Taylor
On 01/29/2019 12:04 PM, Rich Freeman wrote: I don't see the value in using a different configuration on a box simply because it happens to work on that particular box. Dracut is a more generic solution that allows me to keep hosts the same. And if all the boxes in the fleet can function witho

Re: [gentoo-user] RAID-1 on secondary disks how?

2019-01-29 Thread Rich Freeman
On Tue, Jan 29, 2019 at 1:54 PM Grant Taylor wrote: > > On 01/29/2019 10:58 AM, Rich Freeman wrote: > > Can't say I've tried it recently, but I'd be shocked if it changed much. > > The linux kernel guys generally consider this somewhat deprecated > > behavior, and prefer that users use an initramf

Re: [gentoo-user] Android ADB emerge fails on amd64

2019-01-29 Thread Neil Bothwick
On Tue, 29 Jan 2019 13:31:38 +0100, m4110c wrote: > I'm trying to install the Android Tools to use "adb" with my phone on > gentoo. > > When I try to install android-sdk-update-manager it fails on compiling > its dependency dev-java/swt-3.7.2-r2. If you only want adb and friends, rather than the

Re: [gentoo-user] RAID-1 on secondary disks how?

2019-01-29 Thread Rich Freeman
On Tue, Jan 29, 2019 at 1:39 PM Alan Mackenzie wrote: > > On Tue, Jan 29, 2019 at 12:58:38 -0500, Rich Freeman wrote: > > Can't say I've tried it recently, but I'd be shocked if it changed > > much. The linux kernel guys generally consider this somewhat > > deprecated behavior, and prefer that us

Re: [gentoo-user] RAID-1 on secondary disks how?

2019-01-29 Thread Grant Taylor
On 01/29/2019 10:58 AM, Rich Freeman wrote: Can't say I've tried it recently, but I'd be shocked if it changed much. The linux kernel guys generally consider this somewhat deprecated behavior, and prefer that users use an initramfs for this sort of thing. It is exactly the sort of problem an in

Re: [gentoo-user] RAID-1 on secondary disks how?

2019-01-29 Thread Alan Mackenzie
Hello, Rich. On Tue, Jan 29, 2019 at 12:58:38 -0500, Rich Freeman wrote: > On Tue, Jan 29, 2019 at 11:48 AM Alan Mackenzie wrote: > > On Tue, Jan 29, 2019 at 09:32:19 -0700, Grant Taylor wrote: > > > On 01/29/2019 09:08 AM, Peter Humphrey wrote: > > > > I'd rather not have to create an initramfs

Re: [gentoo-user] Android ADB emerge fails on amd64

2019-01-29 Thread m4110c
Thus spoke Andrew Udvare (audv...@gmail.com): > > I'm not sure ADB is a Java app, but I think it's not, so you don't have to > switch just for ADB. > No, only the Android SDK that contains the ADB Tools is a Java app. So I guess it's only needed to install, not for ADB usage. > > The Android

Re: [gentoo-user] RAID-1 on secondary disks how?

2019-01-29 Thread Rich Freeman
On Tue, Jan 29, 2019 at 11:48 AM Alan Mackenzie wrote: > > On Tue, Jan 29, 2019 at 09:32:19 -0700, Grant Taylor wrote: > > On 01/29/2019 09:08 AM, Peter Humphrey wrote: > > > I'd rather not have to create an initramfs if I can avoid it. Would it > > > be sensible to start the raid volume by puttin

Re: [gentoo-user] Video database software

2019-01-29 Thread Mick
On Tuesday, 29 January 2019 02:55:02 GMT Dale wrote: > Andrew Udvare wrote: > >> On 2019-01-28, at 17:54, Dale wrote: > >> > >> So far, I have installed Griffith and GCStar. I been googling for > >> others but some either are not in the tree or I already know they won't > >> do one thing I'd lik

Re: [gentoo-user] RAID-1 on secondary disks how?

2019-01-29 Thread Grant Taylor
On 01/29/2019 09:48 AM, Alan Mackenzie wrote: However, there's another quirk which bit me: something in the Gentoo installation disk took it upon itself to renumber my /dev/md2 to /dev/md127. I raised bug #539162 for this, but it was decided not to fix it. (This was back in February 2015.)

Re: [gentoo-user] RAID-1 on secondary disks how?

2019-01-29 Thread Alan Mackenzie
Hello, All. On Tue, Jan 29, 2019 at 09:32:19 -0700, Grant Taylor wrote: > On 01/29/2019 09:08 AM, Peter Humphrey wrote: > > I'd rather not have to create an initramfs if I can avoid it. Would it > > be sensible to start the raid volume by putting an mdadm --assemble > > command into, say, /etc/l

Re: [gentoo-user] RAID-1 on secondary disks how?

2019-01-29 Thread Grant Taylor
On 01/29/2019 09:08 AM, Peter Humphrey wrote: I'd rather not have to create an initramfs if I can avoid it. Would it be sensible to start the raid volume by putting an mdadm --assemble command into, say, /etc/local.d/raid.start? The machine doesn't boot from /dev/md0. Drive by comment. I tho

Re: [gentoo-user] RAID-1 on secondary disks how?

2019-01-29 Thread Mick
On Tuesday, 29 January 2019 16:08:27 GMT Peter Humphrey wrote: > On Tuesday, 29 January 2019 09:20:46 GMT Mick wrote: > > Hello Mick, > > --->8 > > > Do you have CONFIG_MD_RAID1 (or whatever it should be these days) built in > > your kernel? > > Yes, I have, but something else was missing: CONF

Re: [gentoo-user] RAID-1 on secondary disks how?

2019-01-29 Thread Peter Humphrey
On Tuesday, 29 January 2019 09:20:46 GMT Mick wrote: Hello Mick, --->8 > Do you have CONFIG_MD_RAID1 (or whatever it should be these days) built in > your kernel? Yes, I have, but something else was missing: CONFIG_DM_RAID=y. This is in the SCSI section, which I'd overlooked (I hadn't needed i

Re: [gentoo-user] dev-php/xdebug-2.6.1 will not build

2019-01-29 Thread John Covici
On Tue, 29 Jan 2019 08:01:30 -0500, Andrew Udvare wrote: > > > > > On Jan 29, 2019, at 06:26, John Covici wrote: > > > > Hi. I have dev-php/xdebug in my world file, but when I tried to do my > > world update I get the following. Note that I have the following line > > in my make.conf > > PHP

Re: [gentoo-user] dev-php/xdebug-2.6.1 will not build

2019-01-29 Thread John Covici
On Tue, 29 Jan 2019 08:01:30 -0500, Andrew Udvare wrote: > > > > > On Jan 29, 2019, at 06:26, John Covici wrote: > > > > Hi. I have dev-php/xdebug in my world file, but when I tried to do my > > world update I get the following. Note that I have the following line > > in my make.conf > > PHP

Re: [gentoo-user] Android ADB emerge fails on amd64

2019-01-29 Thread Andrew Udvare
> On Jan 29, 2019, at 08:12, m4110c wrote: > > Thus spoke Andrew Udvare (audv...@gmail.com): >> >> Choose another JDK with 'eselect java-vm set system ...'. You might need to >> install another like icedtea or Oracle's version. >> > > I use Oracle JDK 1.8. I thought maybe I need a 32bit JD

Re: [gentoo-user] Android ADB emerge fails on amd64

2019-01-29 Thread m4110c
Thus spoke Andrew Udvare (audv...@gmail.com): > > Choose another JDK with 'eselect java-vm set system ...'. You might need to > install another like icedtea or Oracle's version. > I use Oracle JDK 1.8. I thought maybe I need a 32bit JDK, because it installed some dependencies with the abi_x86_3

Re: [gentoo-user] Android ADB emerge fails on amd64

2019-01-29 Thread Andrew Udvare
> On Jan 29, 2019, at 07:31, m4110c wrote: > > Hi all, > > I'm trying to install the Android Tools to use "adb" with my phone on > gentoo. > > When I try to install android-sdk-update-manager it fails on compiling > its dependency dev-java/swt-3.7.2-r2. > > The output of "emerge --info '=de

Re: [gentoo-user] Re: Android ADB emerge fails on amd64

2019-01-29 Thread m4110c
Thus spoke Nikos Chantziaras (rea...@gmail.com): > > Probably not the answer you want, but I gave up on the Android stuff from > portage. I installed the Android Studio package from Google instead which > has everything that's needed bundled with it. > Not necessarily. I think the answer is qui

Re: [gentoo-user] dev-php/xdebug-2.6.1 will not build

2019-01-29 Thread Andrew Udvare
> On Jan 29, 2019, at 06:26, John Covici wrote: > > Hi. I have dev-php/xdebug in my world file, but when I tried to do my > world update I get the following. Note that I have the following line > in my make.conf > PHP_TARGETS="php5-6 php7-0 php-7-1 php-7-2" The last two are not written corr

[gentoo-user] Re: Android ADB emerge fails on amd64

2019-01-29 Thread Nikos Chantziaras
On 29/01/2019 14:31, m4110c wrote: Hi all, I'm trying to install the Android Tools to use "adb" with my phone on gentoo. When I try to install android-sdk-update-manager it fails on compiling its dependency dev-java/swt-3.7.2-r2. Probably not the answer you want, but I gave up on the Android

[gentoo-user] Android ADB emerge fails on amd64

2019-01-29 Thread m4110c
Hi all, I'm trying to install the Android Tools to use "adb" with my phone on gentoo. When I try to install android-sdk-update-manager it fails on compiling its dependency dev-java/swt-3.7.2-r2. The output of "emerge --info '=dev-java/swt-3.7.2-r2::gentoo'":

[gentoo-user] dev-php/xdebug-2.6.1 will not build

2019-01-29 Thread John Covici
Hi. I have dev-php/xdebug in my world file, but when I tried to do my world update I get the following. Note that I have the following line in my make.conf PHP_TARGETS="php5-6 php7-0 php-7-1 php-7-2" but I get the following output !!! Problem resolving dependencies for dev-php/xdebug from @selec

Re: [gentoo-user] RAID-1 on secondary disks how?

2019-01-29 Thread Mick
Hello Peter, On Monday, 28 January 2019 16:56:57 GMT Peter Humphrey wrote: > Hello list, > When I run "mdadm --create /dev/md0 --level=1 --raid-devices=2 /dev/sda2 > /dev/ sdb2", this is what I get: > > # mdadm --stop /dev/md0 > mdadm: stopped /dev/md0 > # mdadm: /dev/sda2 appears to contain an