bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: More on oskit-mach booting troubles


From: Igor Khavkine
Subject: Re: More on oskit-mach booting troubles
Date: Sat, 21 Jul 2001 13:47:21 -0400
User-agent: Mutt/1.3.18i

On Sat, Jul 21, 2001 at 10:29:41AM -0400, Igor Khavkine wrote:
> The kernel does not crash at the same place anymore, but it still doesn't
> boot. It hangs somewhere in oskit's (originally linux's)
> ide_revalidate_disk() while initializing the CDROM (which it had trouble
> recognizing earlier in the boot process). I'll try to step through
> that and see what happens exactly. I'll keep everyone posted.

Ok, I've traced this problem to the linux cdrom initialization code.
When the driver tries to actually communicate with the cdrom drive
(by calling cdrom_mode_sense()). I've traced the actual hang to the
line [oskit]/linux/src/drivers/block/ide.c:1545:

1544  if (action == ide_wait && rq->rq_status != RQ_INACTIVE)
1545        down(&sem); /* wait for it to be serviced */

in the function ide_do_drive_cmd(). It looks like the actual trouble
occurs in [oskit]/linux/src/arch/i386/lib/semaphore.S:__down_fail.

At this point I have to give up because my knowledge of communication
protocols with IDE drives is nil.

I'll proceed to compile oskit without CDROM support and see if that works.

Igor



reply via email to

[Prev in Thread] Current Thread [Next in Thread]