Re: [gentoo-user] external SSD problem
Am 28.05.2013 22:39, schrieb Paul Hartman: You can maybe also post it to the linux-usb mailing list (linux-...@vger.kernel.org), I think there is at least one person there who works exclusively on XHCI stuff in the kernel. You might also want to check if there are any firmware updates for the USB3 chipset on your motherboard. lspci should reveal the chipset. My old motherboard had a flaky USB3 chipset (Renesas/NEC) that could only be updated from Windows, so I never bothered with updating it, but there are some that are updatable from within linux or from a DOS boot disk. A bit different topic but similar: I get problems with using a PL2303 usb-to-serial-adapter lately. Same issue on thinkpad and main desktop pc so that might not be the chipset. Something like this: http://www.geekdevs.com/2010/04/solved-unable-to-enumerate-usb-device-disabling-ehci_hcd/ disabling ehci_hcd disabled my keyboard as well so that is no solution ;-) Maybe I didn't fully understand how to do that ... anyone in here already solved that? I use that pl2303 to access embedded PCs like ALIX or WRAP to configure routers/firewalls ... it would be great to have that available on my thinkpad again. Stefan
Re: [gentoo-user] kernel panick after time while compiling....
on 05/29/2013 12:41 AM Tamer Higazi wrote the following: It's usually a quality power supply unit, that made it 6 years. However, what I find totally strange, at the same time. That applications die during my work. Totally strange, like clock dies, and restarts. Eclipse dies, firefox dies. I have the feeling that memory and power supply are making me headache. windows died yesterday during installation of .NET SP 4.5 fixes. The machine drives me nuts However, I am getting myself a new machine. Tamer Someone had these kind of lockups due to kernel in conjunction with EFI ...
Re: [gentoo-user] Mac Mini with Grub booting Mac OSX and Windows?!
We can't have more then 4 primary partitions on a hard disk. Gentoo needs 2 partitions, /boot and a Virtual partition (that count's as well as one primary) with all the other folders. Windows will create 2. and Mac OSX minimum 1, am I right?! Your Windows partitions have to be in the first four, but OSX and linux partitions can be anywhere thanks to the gpt partition table. Things are both simpler and more complex than that. The real problem is that while rEFIt/rEFInd, OSX and Linux have no problem dealing with a GPT partition table, Windows only supports MBR. (Windows 7+ supports GPT partition tables but it can only boot from a GPT disk in EFI mode. On a Mac OSes other than OSX must be booted in BIOS emulation mode, therefore the requirement for MBR on the system disk for Windows still stands). GPT and MBR, however, are only indexing schemes: they describe how many partitions are on a disk and their location, but apart from providing a high level 'type' label they have nothing to do with what's inside a partition. GPT-partitioned disks traditionallly have what's called a 'protective MBR', i.e. a dummy MBR which defines a single partition of type 0xEE spanning the whole disk; this is intended to keep partitioning tools that are not GPT-aware from considering the disk uninitialized and inadvertently destroying its contents. However, nothing prevents you from adding to the protective MBR regular entries for some of the partitions, and have the disk look like a 'normal' MBR disk as far as those partitions are concerned. The result is called a 'hybrid MBR' and it's the main trick behind Boot Camp. There is really nothing special about booting (or installing) Windows on a Mac: it just works, as long as you have both a properly set up hybrid MBR with an entry for the Windows partition and a suitable EFI boot manager. The former can be done with a tool such as gpt-fdisk (you can easily find a binary package for OSX, and there are directions for dealing with hybrid MBRs on the author's site); rEFInd is your best option for the latter. The standard Apple boot manager will also do, if you only need to boot OSX and Windows. Booting Linux works in a similar fashion. You don't even need a GPT-aware bootloader: good old GRUB 1 is perfectly up to the task, as long as there is an entry for its boot partition in the hybrid MBR. Then you can load a kernel with GPT support, and from there it's just a standard multiboot setup. HTH, andrea
[gentoo-user] Re: external SSD problem
Grant emailgrant at gmail.com writes: sd 8:0:0:0: [sdb] Synchronizing SCSI cache sd 8:0:0:0: Device offlined - not ready after error recovery The only way to get the /dev/sdb device back is to 'modprobe -r xhci_hcd modprobe xhci_hcd'. I've tried two different USB3 cables. I have an external USB3 hard drive that works fine but /dev/sdb doesn't appear after ejecting the SSD unless I modprobe xhci_hcd. Should I file a kernel bug? Hello Grant, I've had similar device issues with hardware attached to the pci bus. I found this obscure command that updates the master list of pci device id on a gentoo system: /usr/sbin/update-pciids This may help: http://www.gossamer-threads.com/lists/gentoo/user/198486 Maybe there is such a script for usb buss related numbers, or the ones posted for your devices need updating? It's a shot in the dark, but may give you and idea on what's misaligned with that particular device? hth, James
[gentoo-user] Re: external SSD problem
Grant emailgrant at gmail.com writes: sd 8:0:0:0: [sdb] Synchronizing SCSI cache sd 8:0:0:0: Device offlined - not ready after error recovery Grant, Look at: /usr/share/misc/* to get an idea of the numberings for various hardware devices. hth, James
Re: [gentoo-user] Re: external SSD problem
sd 8:0:0:0: [sdb] Synchronizing SCSI cache sd 8:0:0:0: Device offlined - not ready after error recovery Grant, Look at: /usr/share/misc/* to get an idea of the numberings for various hardware devices. lsusb shows the following for my SSD: Bus 004 Device 002: ID 174c:07d1 ASMedia Technology Inc. I updated to hwids- but 174c:07d1 doesn't match any device in /usr/share/misc/usb.ids that I can see. Could that be the problem? I also noticed these messages in dmesg after removing and reloading the xhci_hcd module: Result: hostbyte=DID_NO_CONNECT driverbyte=DRIVER_OK ... Parent hub missing LPM exit latency info. Power management will be impacted. - Grant
Re: [gentoo-user] Mac Mini with Grub booting Mac OSX and Windows?!
On Wed, May 29, 2013, at 04:25 AM, Andrea Conti wrote: We can't have more then 4 primary partitions on a hard disk. Gentoo needs 2 partitions, /boot and a Virtual partition (that count's as well as one primary) with all the other folders. Windows will create 2. and Mac OSX minimum 1, am I right?! Your Windows partitions have to be in the first four, but OSX and linux partitions can be anywhere thanks to the gpt partition table. Things are both simpler and more complex than that. The real problem is that while rEFIt/rEFInd, OSX and Linux have no problem dealing with a GPT partition table, Windows only supports MBR. (Windows 7+ supports GPT partition tables but it can only boot from a GPT disk in EFI mode. On a Mac OSes other than OSX must be booted in BIOS emulation mode, therefore the requirement for MBR on the system disk for Windows still stands). GPT and MBR, however, are only indexing schemes: they describe how many partitions are on a disk and their location, but apart from providing a high level 'type' label they have nothing to do with what's inside a partition. GPT-partitioned disks traditionallly have what's called a 'protective MBR', i.e. a dummy MBR which defines a single partition of type 0xEE spanning the whole disk; this is intended to keep partitioning tools that are not GPT-aware from considering the disk uninitialized and inadvertently destroying its contents. However, nothing prevents you from adding to the protective MBR regular entries for some of the partitions, and have the disk look like a 'normal' MBR disk as far as those partitions are concerned. The result is called a 'hybrid MBR' and it's the main trick behind Boot Camp. There is really nothing special about booting (or installing) Windows on a Mac: it just works, as long as you have both a properly set up hybrid MBR with an entry for the Windows partition and a suitable EFI boot manager. The former can be done with a tool such as gpt-fdisk (you can easily find a binary package for OSX, and there are directions for dealing with hybrid MBRs on the author's site); rEFInd is your best option for the latter. The standard Apple boot manager will also do, if you only need to boot OSX and Windows. Booting Linux works in a similar fashion. You don't even need a GPT-aware bootloader: good old GRUB 1 is perfectly up to the task, as long as there is an entry for its boot partition in the hybrid MBR. Then you can load a kernel with GPT support, and from there it's just a standard multiboot setup. HTH, andrea Thanks Andrea. I had though that the MBR was automatically mapped to the the first 4 gpt partitions because that's they way it's always been on my system. So now I wonder how it's been set that way, because I know i've never touched gpt-fdisk and I didn't use bootcamp. Maybe the refit installer.
[gentoo-user] Re: external SSD problem
Grant emailgrant at gmail.com writes: Look at: /usr/share/misc/* to get an idea of the numberings for various hardware devices. lsusb shows the following for my SSD: Bus 004 Device 002: ID 174c:07d1 ASMedia Technology Inc. I updated to hwids- but 174c:07d1 doesn't match any device in /usr/share/misc/usb.ids that I can see. Could that be the problem? Hard to say. These sort of things are difficult to flush out. You do need to find a dev in this area and make inqueries, and just keep googling. and digging. Look for a firmware dev that works for the company, or open up a trouble ticket with the company that manufactures the device (if you can find them). I also noticed these messages in dmesg after removing and reloading the xhci_hcd module: Result: hostbyte=DID_NO_CONNECT driverbyte=DRIVER_OK Parent hub missing LPM exit latency info. Power management will be impacted. This stuff is complicated hooking up SD(hard drives) that are connected via the usb(3) buss. I use to have some usb buss analyzer software, but it was MS based and I do not have access to such fancy commercial software at this time. It looks like you've found the error trail. How to fix it, from my experience, is all about using googl until you find somebody with the right knowledge. I'd suggest going to the dev (kernel docs) for that part of the kernel for these things to find somebody qualified to really help you. Somebody to advise you who really knows what's going on. Read the comments for the various parts of the kernel and track down the maintainers or devs. Sorry I could not be of more help. Good Hunting! James
[gentoo-user] Re: external SSD problem
James wireless at tampabay.rr.com writes: lsusb shows the following for my SSD: Bus 004 Device 002: ID 174c:07d1 ASMedia Technology Inc. http://www.totalphase.com/products/beagle_usb5000_v1/ Maybe there is a free usb software based buss analyzer out there? James
[gentoo-user] Re: external SSD problem
James wireless at tampabay.rr.com writes: Maybe there is a free usb software based buss analyzer out there? http://www.lvr.com/development_tools.htm
Re: [gentoo-user] Re: external SSD problem
Look at: /usr/share/misc/* to get an idea of the numberings for various hardware devices. lsusb shows the following for my SSD: Bus 004 Device 002: ID 174c:07d1 ASMedia Technology Inc. I updated to hwids- but 174c:07d1 doesn't match any device in /usr/share/misc/usb.ids that I can see. Could that be the problem? Hard to say. These sort of things are difficult to flush out. You do need to find a dev in this area and make inqueries, and just keep googling. and digging. Look for a firmware dev that works for the company, or open up a trouble ticket with the company that manufactures the device (if you can find them). I also noticed these messages in dmesg after removing and reloading the xhci_hcd module: Result: hostbyte=DID_NO_CONNECT driverbyte=DRIVER_OK Parent hub missing LPM exit latency info. Power management will be impacted. This stuff is complicated hooking up SD(hard drives) that are connected via the usb(3) buss. I use to have some usb buss analyzer software, but it was MS based and I do not have access to such fancy commercial software at this time. It looks like you've found the error trail. How to fix it, from my experience, is all about using googl until you find somebody with the right knowledge. I'd suggest going to the dev (kernel docs) for that part of the kernel for these things to find somebody qualified to really help you. Somebody to advise you who really knows what's going on. Read the comments for the various parts of the kernel and track down the maintainers or devs. Sorry I could not be of more help. Good Hunting! James OK I will report back with what I find. - Grant
Re: [gentoo-user] What does xgetdefault use flag do
Seriously overthought that one. I am going to blame the long weekend. Sorry for the noise On Mon, May 27, 2013 at 11:58 AM, Alan McKinnon alan.mckin...@gmail.com wrote: On 27/05/2013 18:01, Mr G wrote: You'll have to look in those app's docs or code to find out what they do with ./configure --enable xgetdefault, but I suppose a reasonable reading is that it uses Xresources in addition to $SOMETHING_ELSE. I didn't find anything concrete about what it does but I did find a reference to the fact that rxvt doesn't read the $HOME/.Xresources file if the operating system loads them into the X display. He also does not seem to be a big Gentoo fan so I am guessing this flag has something to do with this. It's the reference to the small version in the USE flag that was confusing me. I also have no idea what small version means - it's not English, it doesn't parse, and it makes no sense. -- Alan McKinnon alan.mckin...@gmail.com -- B G
Re: [gentoo-user] Nvidia drivers and KDE problem
On Sun, May 26, 2013 at 4:12 AM, Dale rdalek1...@gmail.com wrote: The problem. After I am logged into KDE for a good while, like several hours to maybe a day or so, the kicker thingy at the bottom locks up tight. I can't switch desktops, clock stops working, can't click the K menu thingy either. Everything in the kicker thingy is dead as a door nail. I can switch desktops with the keyboard and everything else works in KDE just fine. I can also switch to a console too. Killing X and restarting it fixes it, xdm restart in my case. I don't have to reload drivers or restart the system. I do go back and downgrade the drivers after testing it. I recently started having trouble where KDE becomes unresponsive at login and logout for about 20 seconds or more. In my case it was because of pulseaudio and KDE not getting along together for some reason. The facts are a bit more nuanced but the work-around that makes everything normal for me again was to edit /etc/xdg/autostart/pulseaudio.desktop and add a line which says: NotShowIn=KDE Maybe unrelated to your problem but I thought I would mention it just in case.
Re: [gentoo-user] Nvidia drivers and KDE problem
Paul Hartman wrote: On Sun, May 26, 2013 at 4:12 AM, Dale rdalek1...@gmail.com wrote: The problem. After I am logged into KDE for a good while, like several hours to maybe a day or so, the kicker thingy at the bottom locks up tight. I can't switch desktops, clock stops working, can't click the K menu thingy either. Everything in the kicker thingy is dead as a door nail. I can switch desktops with the keyboard and everything else works in KDE just fine. I can also switch to a console too. Killing X and restarting it fixes it, xdm restart in my case. I don't have to reload drivers or restart the system. I do go back and downgrade the drivers after testing it. I recently started having trouble where KDE becomes unresponsive at login and logout for about 20 seconds or more. In my case it was because of pulseaudio and KDE not getting along together for some reason. The facts are a bit more nuanced but the work-around that makes everything normal for me again was to edit /etc/xdg/autostart/pulseaudio.desktop and add a line which says: NotShowIn=KDE Maybe unrelated to your problem but I thought I would mention it just in case. I don't use pulseaudio but thanks for the post tho. If I did, could have helped. :-) Also, I still have two posts I have not replied to because it hasn't locked up yet. I haven't been able to test the things yet. If it locks up again, will reply with the results. Dale :-) :-) -- I am only responsible for what I said ... Not for what you understood or how you interpreted my words!
Re: [gentoo-user] Mac Mini with Grub booting Mac OSX and Windows?!
Hi Andrea! Am 29.05.2013 11:25, schrieb Andrea Conti: The real problem is that while rEFIt/rEFInd, OSX and Linux have no problem dealing with a GPT partition table, Windows only supports MBR. (Windows 7+ supports GPT partition tables but it can only boot from a GPT disk in EFI mode. So, let us assume we have in the game: Windows 7 Ultimate Edition Gentoo Linux and Mac OSX (latest version) then we are all on the same side accessing the same partition table type, no?! Booting Linux works in a similar fashion. You don't even need a GPT-aware bootloader: good old GRUB 1 is perfectly up to the task, as long as there is an entry for its boot partition in the hybrid MBR. Then you can load a kernel with GPT support, and from there it's just a standard multiboot setup. HTH, andrea