[11:38] <BluesKaj> Hiyas all
[11:39] <penguin42> hey BK
[11:47] <BluesKaj> hey penguin42
[15:39] <hyper_ch> Hi there, I noticed something strange. I did download the ubuntu mini iso for wily and wanted to do an install because I want to have a raid1 with 1 disk on my notebook. However it has issues with my intel gigabit ethernet and I had to attach an ancient usb wifi stick. However the problem I couldn't solve was that it did not detect my SSD.
[15:39] <hyper_ch> I tried then the same with current utopic mini iso. Same issues with wifi and again no SSD detected. I went to a different tty and check /dev/disk/by-id and only the usb stick was there
[15:40] <hyper_ch> any suggestion?
[15:40] <penguin42> it's odd not to detect an ssd
[15:41] <penguin42> hyper_ch: How is the ssd connected - just normal ssd?
[15:41] <hyper_ch> penguin42: samsung 840 pro attached on the notebook's internal sata 3 connector
[15:41] <hyper_ch> Sysinfo for 'subi': Running inside KDE Plasma 5 on Ubuntu 15.04 (Vivid Vervet) powered by Linux 3.19.0-22-generic, CPU: Intel(R) Core(TM) i5-4200U CPU @ 1.60GHz at 998-1656/2600 MHz, RAM: 4781/15489 MB, Storage: 355/469 GB, 259 procs, 0.11h up
[15:42] <hyper_ch> so I'm pondering to try the server install and then just add kubuntu-desktop
[15:42] <hyper_ch> but what else is changed in the server edition?
[15:42] <penguin42> hyper_ch: OK, so hmm, so if you can get a shell on the mini iso  I'd check  cat /proc/partitions   to see if the ssd is showing up that far, and also check lspci     to see if the ether and sata controllers are visible
[15:43] <hyper_ch> penguin42: feeling like to troubleshoot it? if so, I boot up the other notebook and re-try... otherwise I might give the server edition a try
[15:43] <penguin42> hyper_ch: I'm around, so feel free to ask
[15:44] <hyper_ch> ok, let's boot up the other notebook
[15:52] <hyperch> so, almost ready regarding the missing ssd
[15:54] <penguin42> good
[15:54] <hyperch> veracrypt takes long to load
[15:55] <hyperch> it's doing hardware detection
[15:56] <hyperch> so, selected manual partitioning -> only the usb stick is shown
[15:56] <hyperch> ok, am in terminal, what should I check?
[15:56] <hyperch> lspci and /proc/partitions ?
[15:56] <penguin42> cat /proc/partitions
[15:57] <hyperch> penguin42: only  sda   and  sda1   listed which is the usb stick
[15:57] <penguin42> hyperch: OK, can you do an lspci now and see if you can see the sata controller and ether controller?
[15:58] <hyperch> well, it did detect the ethernet (but not internal wifi) but couldn't get dhcp connection
[15:59] <penguin42> ok, is the sata controller there?
[15:59] <hyperch> as for sata: SATA controller: Intel Corporation 8 Series SATA Controller (AHCI mode) (rev 04)
[16:00] <penguin42> hmm good, ok, then dmesg to search for messages from the sata controller
[16:00] <hyperch> also:  Ethernet controller: Realtek Semiconductor Co., Ltd RTL111/8168/8411 PCI Express Gigabit Ethernet Controller
[16:00] <hyperch> and:  Network controller: Intel Corporation Wireless 7260
[16:00] <penguin42> excellent
[16:01] <hyperch> but installer didn't show internal wifi at all
[16:01] <hyperch> dmesg | grep -i sata
[16:01] <penguin42> if you can pastebin the dmesg it might help
[16:01] <hyperch> ACPI: SSDT 0xa-lot-of-hex 000313 v01 hpqoem sataahci 00001000 intl 20110112
[16:02] <hyperch> ahci 000:00:1f.2: ahci 0001.0300 32 slots 2 ports 6 gpbs 0x1 impl sata mode
[16:02] <hyperch> ata1: sata max udma/133 abar m2048@0xHEX... port 0xHEX.... irg 46
[16:03] <penguin42> best to pastebin
[16:03] <hyperch> ata 1 SATA link up 6.0 Gbps (SStatus 133 SControl 300)
[16:03] <hyperch> how to pastebin?
[16:03] <hyperch> ata1: limit sata link speed to 3.0 gbps
[16:03] <penguin42> do you have networking?
[16:03] <hyperch> can't install pastebinit
[16:04] <hyperch> yes, networking works with the usb wifi
[16:04] <penguin42> hmm pastebinit was what I was going to suggest
[16:04] <hyperch> it's mini install cd shell
[16:04] <hyperch> apt-get: not found ;)
[16:06] <hyperch> but I have another way
[16:07] <hyperch> http://images.sjau.ch/img/37e8dfb4.jpg
[16:08] <hyperch> penguin42: git it?
[16:08] <hyperch> got
[16:09] <hyperch> I'll try with server cd now
[16:11]  * penguin42 looks
[16:12] <penguin42> hyperch: Problem is it doesn't have the rest of the log
[16:12] <hyperch> well, what else to grep for?
[16:12] <hyperch> problem is I can't pastebin the file
[16:12] <hyperch> I can only take pics
[16:12] <penguin42> hyperch: Can you get the whole of dmesg off by copying it to a usb stick?
[16:13] <hyperch> I could do that
[16:13] <hyperch> lets see how server acts
[16:13] <penguin42> I mean that all looks good, it sees a sata controller
[16:14] <hyperch> no dhcp either on internal ethernet card
[16:14] <hyperch> intel wireless not recognized
[16:15] <hyperch> need again external wifi stick
[16:18] <hyperch> this is weird.... server didn't recognize either
[16:19] <penguin42> that doesn't surprise me; if it's a kernel driver problem it's probably the same kernel
[16:20] <hyperch> well, trying to get the dmesg onto a stick
[16:20] <hyperch> but can't figre out hw
[16:21] <hyperch> copy syslog?7
[16:21] <penguin42> well if you've got the stick mounted then just do  dmesg > /path/to/the/stick
[16:22] <hyperch> brb
[16:25] <hyper_ch> penguin42: hmmm, could the current raid1 setup be an issue
[16:25] <hyper_ch> pasting now
[16:26] <hyper_ch> penguin42: https://paste.debian.net/261923/
[16:28] <hyper_ch> lines 761-774 look weird
[16:34] <penguin42> hyper_ch: Can you explain your raid1 setup?
[16:36] <penguin42> hyper_ch: 648etc explain why your wifi isn't working - it's missing the firmware package
[16:38] <penguin42> hyper_ch: And yes, 761-774 show your problem - it's found the controller but it's failing to perform the most basic sata commands on the drive
[16:47] <penguin42> hyper_ch: So file a kernel bug for it
[16:50] <hyperch> penguin42: so, back again
[16:50] <hyperch> did you write anything?
[16:51] <hyperch> I tried to dd if=/dev/zero of=/dev/sda to get rid of the partition stuff
[16:51] <hyperch> and then I tried the mini again, still not recognized
[16:51] <penguin42> hyperch: It looks like a kernel bug, just file it
[16:51] <hyperch> so now I'm dd-ing backup my previous backup
[16:51] <hyperch> penguin42: problem is same happened with utopic also
[16:51] <hyperch> s/dd-ing/dcfldd-ing/
[16:52] <hyperch> and I did install utopic from beta mini
[16:52] <hyperch> file at ubuntu's launchpad? or linux kernel?
[16:53] <penguin42> ubuntu launchpad
[16:53] <hyperch> hmmm, I wonder now how I can convert from ext4 to btrfs
[16:53] <penguin42> oh I think there is a converter for that, haven't tried btrfs for a while
[16:54] <hyperch> it's encrypted raid1
[16:54] <penguin42> encrypted by what?
[16:54] <penguin42> standard luks ?
[16:54] <hyperch> yes
[16:55] <penguin42> ok, that's not related then since it's not got as far as finding the underlying disk
[16:55] <hyperch> -> /boot is just raid1 and / is encrypted raid1 (dmcrypt, mdadm) and no swap
[16:59] <penguin42> hang on, you say raid1 - if it's only missing your ssd, where is your other half of your raid?
[16:59] <hyperch> it's raid1 with 1 disk usually
[17:02] <hyperch> I think I'll try again with 15.04 server image and then do upgrade to wily.... let's see if that works
[17:03] <penguin42> so where is your disk?
[17:03] <hyperch> it's the ssd in the notebook
[17:03] <hyperch> but when I make hotcopies, I attach a usb 3.0 disk
[17:03] <hyperch> expand the raid to 2 devices
[17:03] <hyperch> let it sink
[17:04] <hyperch> mark the external disk faulty
[17:04] <hyperch> shrink raid again to 1 device
[17:04] <hyperch> s/sink/sync/
[17:05] <penguin42> oh ok, weird way of doing it, but ok
[17:06] <hyperch> why weird? that way I don't have to power the notebook off
[17:08]  * penguin42 tends to backup using the files rather than the disk, but it's ok
[17:08] <hyperch> if I do a server install, what is different from when I do a minimal install and then select kubuntu-desktop or from the desktop cd?
[17:09] <hyperch> well, the goal of doing it that way would be, that if your harddisk in the computer fails, you can just boot from the external backed up disk
[17:09] <hyperch> stil have a few grub issues to sort out but gneerally it works
[17:09] <penguin42> yeh, it's not that bad a way
[17:09] <hyperch> grub starts fine but it sort of complains then... haven't found out the reason yet :)
[17:14] <penguin42> yeh it'll probably be because it's expecting it to be on the bios disk
[17:15] <hyperch> penguin42:  http://paste.debian.net/261941/
[17:17] <hyperch> trying now with ubuntu server 15.04
[17:22] <hyperch> now I can't get wifi connection :(
[17:31] <hyperch> but ethernet works and ssd gets detected
[17:52] <hyperch> penguin42: that was now a fight...
[17:53] <penguin42> so 15.04 sees the ssd but 15.10 doesn't ?
[17:54] <hyperch> well, the server cd from 15.04 sees the ssd...
[17:54] <hyperch> while 15.10 doesn't see it at all (neither server nor minimal)
[17:54] <hyperch> I'll test with 15.04 minimal in a bit
[17:55] <hyperch> well, my main reasons for the pain is change to btrfs and make /boot non-raid and also to get systemd 220 :)
[17:55] <penguin42> hyperch: You can do things like find exactly which kernel version broke it
[17:55] <hyperch> I mean what else is there to do on a hot sunny summer's day :)
[17:56] <hyperch> how would I find the exact kernel version? I will upgrade the 15.04 then 15.10
[17:57] <penguin42> hyperch: http://kernel.ubuntu.com/~kernel-ppa/mainline/    that's got a range of kernel versions - you find which one works, which one doesn't - once you've filed a bug, if you're lucky they'll walk you through it
[17:57] <penguin42> hyperch: If you can build kernels you can use git bisect to find the exact code change
[17:57] <hyperch> that sounds scary :)
[17:58] <hyperch> hmmm, ubuntu server has also nice tasksel for openssh and kubuntu desktop
[17:58] <hyperch> maybe I have used ubuntu server install back in april
[17:59] <hyperch> no need to test the mini iso then but I can straight go ahead upgrade to 15.10 when I'm done
[17:59] <hyperch> as for the upgrade, I'd just alter the sources.list to wily and do dist-upgrade or is there a better option?
[17:59] <BluesKaj> hyperch, 15.10 alpha image is released
[18:00] <hyperch> BluesKaj: as told before in #kubuntu, the installer doesn't find my ssd
[18:00] <BluesKaj> ok , didn't realize it was the 15.10 verson
[18:01] <hyperch> no worries :)
[18:01] <hyperch> penguin42 thinks it's the kernel's fault
[18:01] <penguin42> BluesKaj: dmesg shows it's finding the controller and spits a bunch of errors when trying to send the first command to the drive
[18:09] <BluesKaj> penguin42, still on the mini cd?
[18:10] <hyperch> BluesKaj: errors were both on mini and server for 15.10
[18:10] <hyperch> doing now install on 15.04 and will then upgrade
[18:13] <BluesKaj> hope that works for you hyperch
[18:13] <hyperch> well, can't even boot the 15.04 install
[18:13] <hyperch> this is weird
[18:14] <BluesKaj> how far do you get?
[18:14] <hyperch> well, I installed it
[18:14] <hyperch> but it just keeps rebooting
[18:14] <BluesKaj> when booting
[18:14] <hyperch> not even sure if it gets to grub
[18:15] <hyperch> I set /boot to btrfs
[18:15] <hyperch> and / is encrypted raid1 with btrfs
[18:16] <BluesKaj> try the tty/vt, grub might be 0 hidden time out
[18:16] <hyperch> (on my backup I have /boot as raid1 ext4 and / as raid1 ext4
[18:16] <hyperch> how to try that tty?
[18:16] <BluesKaj> ctl+alt+F1-F6
[18:16] <hyperch> when? it just keeps rebooting
[18:17] <BluesKaj> uhoh
[18:17] <BluesKaj> at he blinking cursor
[18:17] <BluesKaj> the
[18:18] <hyperch> no tty opens
[18:19] <BluesKaj> btrfs...why? my understanding is that file system is unstable and buggy
[18:19] <hyperch> snapshotting
[18:19] <hyperch> probably can do on /boot without
[18:19] <hyperch> let's do another install :)
[18:20] <hyperch> it's a grub issue
[18:20] <hyperch> I entered the 15.04 server usb stick... and forgot to press to boot from it... now I ended up at the luks password entry screen
[18:22] <BluesKaj> not familar territory for me, so not much help from this user  :/
[18:22] <hyperch> seems that grub go installed onto the usb stick instead of the ssd
[18:23] <hyperch> opening konsole sudo grub-install /dev/sda fixed the issue :)
[18:27] <hyperch> downloading now wily packages
[18:27] <hyperch> only 400mb
[18:50] <hyperch> ok, upgrade done with a few hiccups.. now lets see if it reboots
[18:51] <hyperch> ok, I'm back in
[19:24] <hyper_ch> so, restoring files and configs and stuff
[19:24] <hyper_ch> kernel seems to work fine... still curious why I couldn't install with it