Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Gentoo (and other linux distributions), refuse to boot
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
olger901
l33t
l33t


Joined: 17 Mar 2005
Posts: 625

PostPosted: Wed Aug 16, 2006 12:00 pm    Post subject: Gentoo (and other linux distributions), refuse to boot Reply with quote

Hi all,

I bought a new server at work and wanted to use linux to create images.

The motherboard is an Asus P5B with Intel SATA Controller. (Which has 2 320GB Seagate SATA drives).
The motherboard has an additional JMicron JMB363 Controller. (Which has 2 Lite-On DVD-/+RW drives).
Linux boots fine from either of the DVD-/+RWs and everything is fine until it tries to mount the DVD-/+RW Drive.
It's probing for /dev/sda, sdb and sdc and so on... afterwards it tells me it can't find a CD to boot and that another medium is needed and the only thing that I can get is a bare shell.
Is there anything I can do to fix this, do I need another IDE Controller that is compatible with linux? (on ubuntu it displays mounting root filesystem where it hangs and knoppix does not boot either).
Back to top
View user's profile Send private message
davascript
l33t
l33t


Joined: 07 Apr 2004
Posts: 618
Location: Pennsylvania

PostPosted: Wed Aug 16, 2006 12:44 pm    Post subject: Reply with quote

Have you tried to pass any options to the gentoo kernel like
Code:
gentoo failsafe


if it boots and finds the boot medium then the controller shoudl work but maybe it cant mount the device due to the secondary ide channel being open or just a hardwae conflict.


Last edited by davascript on Wed Aug 16, 2006 12:48 pm; edited 1 time in total
Back to top
View user's profile Send private message
Cuardin
l33t
l33t


Joined: 06 Feb 2003
Posts: 713
Location: vasastaden.stockholm.se

PostPosted: Wed Aug 16, 2006 12:47 pm    Post subject: Reply with quote

You said the problem was with the CD/DVD drives right? No problems with the HDs just now, right?

In that case, does the kernel you are booting with have built in support for the controller that controlls the CD/DVDs? It appears that 2.6.15+ kernels or so have support for the controller, so it shouldn't be an impossibility to fix.
_________________
Part of "The adopt an unanswered post initiative"
Back to top
View user's profile Send private message
jpl888
Guru
Guru


Joined: 13 Apr 2005
Posts: 337
Location: Piltown, Co. Kilkenny, Ireland.

PostPosted: Wed Aug 16, 2006 12:58 pm    Post subject: Reply with quote

And according to the JMicron website Gentoo is supported.

Looking through the kernel sources "AHCI" refers to that controller, so is AHCI loaded? Other than that are there any errors in dmesg? Does lspci report the controller?
Back to top
View user's profile Send private message
olger901
l33t
l33t


Joined: 17 Mar 2005
Posts: 625

PostPosted: Wed Aug 16, 2006 1:30 pm    Post subject: Reply with quote

Well it's basically like this:
The Onboard JMicron Controller is a SATA/PATA (IDE) Controller and has support for 2 SATA (1 Internal 1 on-the-go) and 2 IDE/PATA Drives.
I am currently only using the JMicron PATA Controller (I am using the Intel SATA Controller for the 2 Seagate HDD's) The Primary Master is a Lite-On SHM16P5S and the Primary Slave is a Lite-On SHM16P5S aswell.

When I pop in the CD it shows me the ISO Linux screen and I pressed enter there, then it loaded the kernel and various module which all went fine until it comes to the part where it tries to mount the CD-Rom as a filesystem.

EDIT: Ok I just tried booting with just a single DVD-/+RW Connected...same thing, I also tried to just boot with the failsafe option gives me the same thing.

The exact error

Code:

Making tmpfs for /newroot

Attempting to mount CD: - /dev/sda
Attempting to mount CD: - /dev/sda1
Attempting to mount CD: - /dev/sda2
Attempting to mount CD: - /dev/sda3
Attempting to mount CD: - /dev/sda4
Attempting to mount CD: - /dev/sda5

and goes on like this for sdb, and sdc..

No bootable medium found. Waiting for new devices...

Attempting to mount CD: - /dev/sda
Attempting to mount CD: - /dev/sda1
Attempting to mount CD: - /dev/sda2
Attempting to mount CD: - /dev/sda3
Attempting to mount CD: - /dev/sda4
Attempting to mount CD: - /dev/sda5

and goes on like this for sdb, and sdc..

Could not find CD to boot, something else needed.
Mounting /newroot/dev on /dev failed. No such file or directory.


Afterwards all I can do is type shell to get a minimum shell.
Back to top
View user's profile Send private message
FantomKnight
Tux's lil' helper
Tux's lil' helper


Joined: 09 Aug 2006
Posts: 135
Location: USA

PostPosted: Wed Aug 16, 2006 1:43 pm    Post subject: Reply with quote

Instead of just pressing enter at the boot prompt, type in gentoo doscsi. Sometimes, SATA controllers need to have SCSI support forced in order for the CD to be recognized. Also, if you are like me and don't want to boot into the GUI from the LiveCD, you can type gentoo doscsi nox. This will basically give you the same non-GUI interface that previous Gentoo install CDs had.
_________________
Windows = a 32-bit extension to a 16-bit graphical shell for an 8-bit operating system originally coded for a 4-bit microprocessor by a 2-bit company that can't stand 1 bit of competition.
Back to top
View user's profile Send private message
olger901
l33t
l33t


Joined: 17 Mar 2005
Posts: 625

PostPosted: Wed Aug 16, 2006 1:44 pm    Post subject: Reply with quote

FantomKnight wrote:
Instead of just pressing enter at the boot prompt, type in gentoo doscsi. Sometimes, SATA controllers need to have SCSI support forced in order for the CD to be recognized. Also, if you are like me and don't want to boot into the GUI from the LiveCD, you can type gentoo doscsi nox. This will basically give you the same non-GUI interface that previous Gentoo install CDs had.


The CD-Rom drive is NOT connected to a SATA controller but to a regular 40-pin IDE Controller...I already am using the minimal install cd so I got no GUI, thanks for the tips though.
Back to top
View user's profile Send private message
Cuardin
l33t
l33t


Joined: 06 Feb 2003
Posts: 713
Location: vasastaden.stockholm.se

PostPosted: Wed Aug 16, 2006 1:47 pm    Post subject: Reply with quote

Yeah, that is pretty much how I understood it.
What you need to do is get a kernel that has built-in support for your controller.
If I understand correctly, what you are seeing is that the BIOS can communicate with the controller and load the boot-loader and then the boot-loader asks the bios to load the kernel. Then the kernel starts up, and since bios-calls are super-slow, it skips those and begins to load drivers that can communicate directly. Now, if there is no driver for the JMicron device, then the kernel willr efuse to communicate with that device. That way, you just lost communication with the DVD-drive that contains the init-scripts and everything else you need to get the installation system running.

What I would do is place one DVD on the Intel controller instead of a HD. Place the gentoo-cd in there and boot. This should work flawlessly. Now install gentoo on the remaining HD, and make sure you enable support for the JMicron device (as well as everything else) in the kernel. When you boot your fresh system, it should be able to read both DVD drives.

Now, since you have two identical drives, I assume RAID is on the menu. I am not an expert on raid, but I am fairly sure you can fix RAID after you pretty much got the complete system installed if you plan ahead. Just jack in the second device in the right place and tell your system that this drive is to be part of the RAID array. If things are properly configured, everything should work automagically.

If you don't want RAID, then you have no problem. Just put the second drive back and do whatever you want with it.
_________________
Part of "The adopt an unanswered post initiative"
Back to top
View user's profile Send private message
olger901
l33t
l33t


Joined: 17 Mar 2005
Posts: 625

PostPosted: Wed Aug 16, 2006 1:49 pm    Post subject: Reply with quote

Cuardin wrote:
Yeah, that is pretty much how I understood it.
What you need to do is get a kernel that has built-in support for your controller.
If I understand correctly, what you are seeing is that the BIOS can communicate with the controller and load the boot-loader and then the boot-loader asks the bios to load the kernel. Then the kernel starts up, and since bios-calls are super-slow, it skips those and begins to load drivers that can communicate directly. Now, if there is no driver for the JMicron device, then the kernel willr efuse to communicate with that device. That way, you just lost communication with the DVD-drive that contains the init-scripts and everything else you need to get the installation system running.

What I would do is place one DVD on the Intel controller instead of a HD. Place the gentoo-cd in there and boot. This should work flawlessly. Now install gentoo on the remaining HD, and make sure you enable support for the JMicron device (as well as everything else) in the kernel. When you boot your fresh system, it should be able to read both DVD drives.

Now, since you have two identical drives, I assume RAID is on the menu. I am not an expert on raid, but I am fairly sure you can fix RAID after you pretty much got the complete system installed if you plan ahead. Just jack in the second device in the right place and tell your system that this drive is to be part of the RAID array. If things are properly configured, everything should work automagically.

If you don't want RAID, then you have no problem. Just put the second drive back and do whatever you want with it.


The Intel Controller has no 40-pin IDE Connectors...just SATA Connectors.

BTW to FantomKnight I just did a doscsi aswell to be sure but that did not help unfortunately:(
Back to top
View user's profile Send private message
FantomKnight
Tux's lil' helper
Tux's lil' helper


Joined: 09 Aug 2006
Posts: 135
Location: USA

PostPosted: Wed Aug 16, 2006 1:50 pm    Post subject: Reply with quote

Your previous post said
Quote:
The Onboard JMicron Controller is a SATA/PATA (IDE) Controller
which indicates that it MIGHT need a SCSI option at boot. Also, the minimal CD may not have the proper drivers for this controller. Maybe you should try the LiveCD with the options I suggested.
_________________
Windows = a 32-bit extension to a 16-bit graphical shell for an 8-bit operating system originally coded for a 4-bit microprocessor by a 2-bit company that can't stand 1 bit of competition.
Back to top
View user's profile Send private message
Cuardin
l33t
l33t


Joined: 06 Feb 2003
Posts: 713
Location: vasastaden.stockholm.se

PostPosted: Wed Aug 16, 2006 1:53 pm    Post subject: Reply with quote

Isn't there a list of what devices are compiled into the boot kernels? That would easilly and decidedly resolve this issue?
_________________
Part of "The adopt an unanswered post initiative"
Back to top
View user's profile Send private message
olger901
l33t
l33t


Joined: 17 Mar 2005
Posts: 625

PostPosted: Wed Aug 16, 2006 1:54 pm    Post subject: Reply with quote

FantomKnight wrote:
Your previous post said
Quote:
The Onboard JMicron Controller is a SATA/PATA (IDE) Controller
which indicates that it MIGHT need a SCSI option at boot. Also, the minimal CD may not have the proper drivers for this controller. Maybe you should try the LiveCD with the options I suggested.


There is no use in doing that because the drivers that are included are exactly the same as far as I am aware, next to that if this should have been the solution at least knoppix or ubuntu should have booted...
Back to top
View user's profile Send private message
Cuardin
l33t
l33t


Joined: 06 Feb 2003
Posts: 713
Location: vasastaden.stockholm.se

PostPosted: Wed Aug 16, 2006 1:57 pm    Post subject: Reply with quote

But are you sure the drivers ARE included?
_________________
Part of "The adopt an unanswered post initiative"
Back to top
View user's profile Send private message
olger901
l33t
l33t


Joined: 17 Mar 2005
Posts: 625

PostPosted: Wed Aug 16, 2006 1:58 pm    Post subject: Reply with quote

I wouldn't know, how would I, but by default if a kernel is compiled, the developpers include the whole module dir right? If so it should be included.
Back to top
View user's profile Send private message
FantomKnight
Tux's lil' helper
Tux's lil' helper


Joined: 09 Aug 2006
Posts: 135
Location: USA

PostPosted: Wed Aug 16, 2006 2:01 pm    Post subject: Reply with quote

I just know that I once had a machine that I tried to boot several distros on, including Ubuntu. None of them would boot. The only one that I could get to boot was Gentoo using the doscsi option. Although this may not be the solution in your case. Hope you get it working though. 8)
_________________
Windows = a 32-bit extension to a 16-bit graphical shell for an 8-bit operating system originally coded for a 4-bit microprocessor by a 2-bit company that can't stand 1 bit of competition.
Back to top
View user's profile Send private message
olger901
l33t
l33t


Joined: 17 Mar 2005
Posts: 625

PostPosted: Wed Aug 16, 2006 2:04 pm    Post subject: Reply with quote

Ok i just read through the forums and found the all-generic-ide option. I booted with this option and it worked, however when using this option, everything is REALLY slow...

BTW: It found my drive on /dev/hdk...
Back to top
View user's profile Send private message
olger901
l33t
l33t


Joined: 17 Mar 2005
Posts: 625

PostPosted: Wed Aug 16, 2006 2:08 pm    Post subject: Reply with quote

Even things like starting cfdisk takes a few minutes...:?
Back to top
View user's profile Send private message
olger901
l33t
l33t


Joined: 17 Mar 2005
Posts: 625

PostPosted: Wed Aug 16, 2006 2:14 pm    Post subject: Reply with quote

Okay I found similair threads in google with people having the exact same problems with the exact same motherboards so it's a critical bug.

More information: http://www.ubuntuforums.org/showthread.php?p=1369854 and http://fcp.homelinux.org/modules/newbb/viewtopic.php?topic_id=24885&forum=12&post_id=105517

It might be fixed in kernel 2.6.18 as stated...now lets hope that the Gentoo Linux 2006.1 CD uses the 2.6.18 kernel or patches it prematurely.
Back to top
View user's profile Send private message
Cuardin
l33t
l33t


Joined: 06 Feb 2003
Posts: 713
Location: vasastaden.stockholm.se

PostPosted: Wed Aug 16, 2006 2:31 pm    Post subject: Reply with quote

If you have another computer, you can allways place one of your HDs in that comp and do the installation on that comp, then move it to your new comp and boot it up. Not a good solution, but I did it once, and it isn't as complex as it may sound.

Still need good drivers for your DVD sooner or later, though.
_________________
Part of "The adopt an unanswered post initiative"
Back to top
View user's profile Send private message
FantomKnight
Tux's lil' helper
Tux's lil' helper


Joined: 09 Aug 2006
Posts: 135
Location: USA

PostPosted: Wed Aug 16, 2006 3:55 pm    Post subject: Reply with quote

Or, maybe you could do what one of the guys in those posts did. He disabled the JMicron controller and booted from a USB CD-ROM drive to get his system installed.
_________________
Windows = a 32-bit extension to a 16-bit graphical shell for an 8-bit operating system originally coded for a 4-bit microprocessor by a 2-bit company that can't stand 1 bit of competition.
Back to top
View user's profile Send private message
FantomKnight
Tux's lil' helper
Tux's lil' helper


Joined: 09 Aug 2006
Posts: 135
Location: USA

PostPosted: Wed Aug 16, 2006 4:20 pm    Post subject: Reply with quote

olger901, I just ran across another thread where someone used the docache boot option to get through an installation when nothing else worked. He probably had a different mobo, though. But still may be worth a shot.
_________________
Windows = a 32-bit extension to a 16-bit graphical shell for an 8-bit operating system originally coded for a 4-bit microprocessor by a 2-bit company that can't stand 1 bit of competition.
Back to top
View user's profile Send private message
olger901
l33t
l33t


Joined: 17 Mar 2005
Posts: 625

PostPosted: Wed Aug 16, 2006 5:03 pm    Post subject: Reply with quote

Thanks, I am gonna try that docache option, btw I filed a blocker bug report about 2 hours ago now, hoping that someone will look at it as I believe other motherboards that use the same JMicron controller may be having problems aswell...
Back to top
View user's profile Send private message
zuluxxx
n00b
n00b


Joined: 21 Apr 2006
Posts: 40
Location: Paris, France

PostPosted: Wed Aug 16, 2006 5:48 pm    Post subject: Reply with quote

I have the exact same problem, I posted on Hardawre under the name of my motherboard which uses JMicron
https://forums.gentoo.org/viewtopic-t-488808.html

I guess this one also has the same problem here:
https://forums.gentoo.org/viewtopic-t-488723.html

I made net install of Fedora which does not require to mount the CD and then installed gentoo from this. Of course I'm not satisfied that my burner is not recognised. you can find Alan Cox discussing this exact problem specific to JMicron here:
http://groups.google.co.uk/group/fa.linux.kernel/browse_frm/thread/85c93347ac2e53c7/beb56497d80c2493?tvc=1&q=jmicron+pata+linux#beb56497d80c2493
According to this thread the problemis solced in linux-2.6.18-mm2.
I installed it but could still not get the drive to work. If anybody succeeds, BIOS conf and Kernel conf would be highly appreciated

:D
Back to top
View user's profile Send private message
hinibi
n00b
n00b


Joined: 24 Aug 2006
Posts: 1

PostPosted: Thu Aug 24, 2006 9:15 am    Post subject: Reply with quote

hello ppl :)

well i had the same problem, thought a bit, look in bios and found in the Bios (where it shows the detected ide device). there i found an option about the ide device, it was on Enhance. I switch option to Compatible, booted on gentoo CD, and all went well :)

hope this helps you 8)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum