Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
My ThinkPad has an UltraBase dock. The dock has a drive bay for either (1) the CD/DVD drive, or (2) an HDD drive.
I put a new larger HDD drive into the dock and booted CloneZilla.
After some questions, I get an error "only one drive found".
From the shell, I could only find the original system drive and
could not see the HDD in the dock.
During boot of the CloneZilla media, I get an error saying that there is an HDD problem "press <esc> to continue".
I have another HDD drive and a second ThinkPad with Ubuntu linux.
I can see both the internal drive and the dock drive on the Ubuntu
box. CloneZilla won't see any HDD in the dock bay.
Ubuntu sees the internal drive as /dev/sda and the ultra-bay drive as /dev/hda. Both drives are mechanically SATA devices.
I suppose that there are drivers or kernel modules missing from the CloneZilla ISO so that all-both drives are available.
1. shutdown
2. rig up the hardware
3. boot and gather lshw and lspci details
4. repeat for all combinations
I know that the ultra-BAY module for HDD expects a SATA device.
Both the HDD module and the DVD module have identical connectors.
In my "normal" configuration, the DVD appears as /dev/cdrom-->/dev/hda. The command 'sudo eject /dev/hda' will open the DVD.
I'll do the tests above and report back shortly.
Quote:
Remember that WinXP lets me Stop, change modules, use new module,
and repeat regardless of DVD or HDD in the hopper. (1) Ubuntu and
(2) Linux ought to be able to do the same things -- the hardware
presents the feature. How do we make it available?
1. shutdown
2. rig up the hardware
3. boot and gather lshw and lspci details
4. repeat for all combinations
I did these tests and learned some things:
A. The ultra-bay drives are mechanically SATA devices
B. The ultra-bay drive "carriers" have a proprietary connection
to the ultra-base dock
C. I get this report from lshw
D. Notice that linux sees both drives as /dev/hda in spite of
using mechanical SATA hardware
E. I got identical reports from dmesg after each configuration change.
F. I got identical reports from lspci after each configuration change.
QUESTION:
Which other logs should have details about what is going on as I try to Stop-Swap-Use this ultra-bay hardware?
QUESTION:
Are there config options for any of the system services that will make things more verbose with logging details?
Can you clarify your results for me. 2 drives, 2 thinkpads; do they all work with each other now?
As for hda, it means there that from a software perspective, it is ide; That would limit top speed, but of course, the usb would act as a limit much quicker. My laptop is similar (disk=sda, cdrom=hda). The fact that you have mount points means your drivers are seeing the device.
Put in the drive that is not seen and type 'hdparm -I /dev/hda' fopr piles of info about it. At least the system interrogates it. Or fdisk -l /dev/hda to see the partitions
I found this description on ThinkWiki http://www.thinkwiki.org/wiki/How_to...trabay_devices
that starts to explain what is going on with the hardware.
As yet, no one explains why win-dose (M$ XP) can handle this and linux (Ubuntu any) cannot.
The ThinkWiki page offers these details about my configuration:
Code:
X60, X60s, X60 Tablet, X61, X61s, X61 Tablet
internal => 2.5" HDD is SATA,
Ultrabay => 1.8" HDD is PATA with SATA conversion Legacy IDE (PATA)
Driver => ahci + ata_piix -
Can you clarify your results for me.
...
Put in the drive that is not seen
...
Both the DVD and the HDD are seen and work when present at startup.
I can unmount and undock the HDD.
I can unmount the DVD media.
Once the media is out, there is no DVD device to do anything with.
After I undock a drive, when I try to change drives without reboot, various bad things happen -- not the least is a frozen system and worst is a panic.
Sigh,
~~~ 0;-Dan
IMHO: Too small a user base (sic) for enough folks to care about getting this to work.advantage Win-dose
Right. Are we talking about one of those little netbooks where you can have a dvd drive, or you can take out the dvd drive and put in a hard drive? And you want to boot from the hard drive and watch a dvd?? Forgive me, I am slow on the uptake.
If you ever pull the / hard drive on a working system, bad things are inclined to happen. You don't need a driver guru - you need a magician! You would have to make a ramdisk, or get some other root partition, and chroot to it. Then it needs /dev :-/.
A better option is:
1. Boot from an external usb drive. Presuming you are not allowed,
2. put /boot on your hard drive. Use an external usb drive. Then you might just get away with pulling the hard drive, as long as / is on the usb. I wish you luck on the dvd side
Last edited by business_kid; 05-10-2010 at 03:21 AM.
Right. Are we talking about one of those little netbooks where you can have a dvd drive, or you can take out the dvd drive and put in a hard drive? And you want to boot from the hard drive and watch a dvd?? Forgive me, I am slow on the uptake.
Yes, we are talking about something similar:
laptop with "docking station"
dock has one drive bay: DVD or HDD
want to use DVD to media
stop and remove the DVD drive; replace with an HDD
use the HDD for whatever
stop and remove the HDD; replace with DVD
use the DVD again
Win-dose lets me do this without a reboot. Ubuntu linux does not.
Before you pull a hdd from linux, you need to provide it with a working root, proc, sysfs, etc. Linux _really_ doesn't like you pulling root. I had a box here where the drive on the ide bus was borderline with 2 drives attached. I would be working away and suddenly I would get a pause, then
hda: not ready
hdb: not ready
Maybe a three fingered salute? No go
hda: not ready
hdb: not ready
Can't execute /sbin/shutdown -r now
ls
hda: not ready
hdb: not ready etc.
The kernel was floating up there with it's feet firmly planted on nothing, if you follow me.
discussion has wandered far off from the question at hand
Laptop has an internal HDD with a running,happy, viable Ubuntu linux. I don't want to do anything with this drive.
Laptop has an Ultrabase(tm) dock with an Ultrabay(tm) drive bay.The drive bay holds one of: DVD, HDD, battery.
When installed, the HDD appears at /wrk as project space.
When I boot Clonezilla there are visibility problems with this
ultrabay HDD as described in the OP.
All of my questions deal with the drives loaded into the ultrabay and then logically mounted by a very happy linux on the other HDD
within the main laptop body.
Cheers,
~~~ 0;-Dan
Last edited by SaintDanBert; 05-11-2010 at 11:07 AM.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.