Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 167370 - Install/Live CD does not mount PCMCIA CD
Summary: Install/Live CD does not mount PCMCIA CD
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Release Media
Classification: Unclassified
Component: Everything (show other bugs)
Hardware: x86 Linux
: High critical (vote)
Assignee: Gentoo Release Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-02-17 19:05 UTC by jonathan e. Snow
Modified: 2007-05-29 20:01 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description jonathan e. Snow 2007-02-17 19:05:37 UTC
The Sony Vaio 505 series has an external pcmcia CD rom that is setup by the bios on powerup, and addressed as ide2=0x180,0x386 as boot paramters. In fact, 
dmesg shows the cdrom on /dev/hde, where it should be, but the boot loader cannot find the medium. Then I'm left with the message to specify boot device, but neither /dev/hde or /dev/hde1 work. 

This used to work just fine, but now neither the Gentoo LiveCD nor recent knoppix verisons work. Too bad, as these are excellent little laptops (~1kg!),
and still have a lot of life in them. 

Reproducible: Always
Comment 1 Andrew Gaffney (RETIRED) gentoo-dev 2007-02-18 05:56:55 UTC
If you drop to the shell at that point, can you mount the CD by hand?
Comment 2 jonathan e. Snow 2007-02-19 15:56:10 UTC
> ------- Comment #1 from agaffney@gentoo.org  2007-02-18 05:56 0000 -------
> If you drop to the shell at that point, can you mount the CD by hand?
>
>
Tried that: I made a mount point /mnt/hde1 and gave
   mount /dev/hde1 /mnt/hde1 
but got "Invalid block device". Which seems strange because it was recognized
by the kernel on boot. Also tried /dev/hde and hde2-7.

I worked around the problem by installing from knoppix 4.0.2, which uses the old boot setup. Apparently, knoppix 5.1 and gentoo now do about the same thing on boot, because the result is the same.

Another strange thing: When the boot procedure is trying to mount the CD, it only tries /dev/hda, 3 times! And gives something like:

Trying /dev/hda ... device not found!
Trying /dev/hda1 ... device not found!
Trying /dev/hda2 ... device not found!
...

I'm paraphrasing from memory here, the actual complaints may have been slightly different. It goes through /dev/hda through /dev/hda7 three times total before giving up.

Hope this helps.
Comment 3 jonathan e. Snow 2007-02-19 16:19:30 UTC
Results of some googling: This problem seems to be well known from many laptops that boot from external CD's: The CD is attached to a PCMCIA IDE interface (in my case recognized as a Ninja-ATA for what that's worth), and the BIOS is tweaked to recognize that and set it up as the boot device. 

As I said, knoppix < 5.0 dealt with this fine, and I haven't been able to boot with *anything* more recent, so it must be a general problem. It's solved for me, because I could boot from an old CD, but eventually gentoo is going to evolve beyond the ability to do an "old knoppix" install (new replacement for /proc? kernel 2.8?). One of the great advantages of gentoo is rescuing old but good hardware that would have to be chucked otherwise. 




Comment 4 Andrew Gaffney (RETIRED) gentoo-dev 2007-02-19 16:23:06 UTC
This sounds like a kernel issue. Perhaps you should take the issue upstream. Although, did (or can you) find any indication this issue has been fixed in newer kernels (2.6.19, perhaps)?
Comment 5 Chris Gianelloni (RETIRED) gentoo-dev 2007-02-19 20:01:38 UTC
Can you also try booting with "dopcmcia" to see if by us loading the "ide-cs" modules prior to trying to detect the CD it works?
Comment 6 Chris Gianelloni (RETIRED) gentoo-dev 2007-05-10 21:32:52 UTC
Can you try 2007.0?
Comment 7 jonathan e. Snow 2007-05-27 19:44:46 UTC
> Can you also try booting with "dopcmcia" to see if by us 
> loading the "ide-cs" modules prior to trying to detect the CD it works?

Tried this, nothing doing. As I said, the ide device is there, but the 
CD won't boot off it. 

> Can you try 2007.0?

Just did, exact same behavior. Please, I need this machine to work, and 
it's becoming difficult to get it to boot a modern live CD, as they all apparently use the same boot sequence. 

Comment 8 Andrew Gaffney (RETIRED) gentoo-dev 2007-05-27 20:43:21 UTC
Like I said before, this is a kernel issue. The "Invalid block device" when trying to mount it by hand says as much. There isn't really much we can do about it. I suggest reporting this bug upstream with the kernel people.
Comment 9 Chris Gianelloni (RETIRED) gentoo-dev 2007-05-29 20:01:32 UTC
I agree.  This is especially noticeable since you experience this with other distributions, also.  I can guarantee you of one thing.  Gentoo's boot sequence matches nobody else's and isn't even close.  This means the problem is with the kernel itself, and you'll need to take it up with them, unfortunately.