Hi. Does anyone have problems using ide_init()? While using it on IBM 123G HDDs, ide_init() sometimes seems to run forever, (stuck in the numerous busy-waitings, i guess) and my H/W watchdog eventually reboots the system. Of course, in most occasions everything goes just fine. Is there a better way of initializing HDDs?
Ed.
I think Greg Watson is porting a decent IDE driver to LinuxBIOS from Etherboot. The one in LinuxBIOS is not quite right.
ron
Ron is right, I'm in the process of retrofitting the etherboot-5.1.8 IDE driver into LB. I can't get the standard IDE driver to even recognize my controller.
Greg
At 6:55 AM -0600 20/5/03, ron minnich wrote:
I think Greg Watson is porting a decent IDE driver to LinuxBIOS from Etherboot. The one in LinuxBIOS is not quite right.
ron
Linuxbios mailing list Linuxbios@clustermatic.org http://www.clustermatic.org/mailman/listinfo/linuxbios
gee, are you mentioning disk_init() in pcbios.S ? I just took a look at it, and I had to close the file because it was in asm! (I'm really scared of asm, you see..) When your done, I hope I could get a copy, badly :) good luck!
Ed
----- Original Message ----- From: "Greg Watson" gwatson@lanl.gov To: linuxbios@clustermatic.org Sent: Tuesday, May 20, 2003 10:38 PM Subject: Re: [linuxBios] HDD init problem
Ron is right, I'm in the process of retrofitting the etherboot-5.1.8 IDE driver into LB. I can't get the standard IDE driver to even recognize my controller.
Greg
At 6:55 AM -0600 20/5/03, ron minnich wrote:
I think Greg Watson is porting a decent IDE driver to LinuxBIOS from Etherboot. The one in LinuxBIOS is not quite right.
ron
Linuxbios mailing list Linuxbios@clustermatic.org http://www.clustermatic.org/mailman/listinfo/linuxbios
Linuxbios mailing list Linuxbios@clustermatic.org http://www.clustermatic.org/mailman/listinfo/linuxbios
No, I'm just working on pc80/ide/ide.c in the linuxbios tree. I need this for the PPC port, so x86 asm code won't be of much help.
Cheers,
Greg
gee, are you mentioning disk_init() in pcbios.S ? I just took a look at it, and I had to close the file because it was in asm! (I'm really scared of asm, you see..) When your done, I hope I could get a copy, badly :) good luck!
Ed
----- Original Message ----- From: "Greg Watson" gwatson@lanl.gov To: linuxbios@clustermatic.org Sent: Tuesday, May 20, 2003 10:38 PM Subject: Re: [linuxBios] HDD init problem
Ron is right, I'm in the process of retrofitting the etherboot-5.1.8 IDE driver into LB. I can't get the standard IDE driver to even recognize my controller.
Greg
At 6:55 AM -0600 20/5/03, ron minnich wrote:
I think Greg Watson is porting a decent IDE driver to LinuxBIOS from Etherboot. The one in LinuxBIOS is not quite right.
ron
Linuxbios mailing list Linuxbios@clustermatic.org http://www.clustermatic.org/mailman/listinfo/linuxbios
Linuxbios mailing list Linuxbios@clustermatic.org http://www.clustermatic.org/mailman/listinfo/linuxbios
Linuxbios mailing list Linuxbios@clustermatic.org http://www.clustermatic.org/mailman/listinfo/linuxbios
Greg Watson gwatson@lanl.gov writes:
No, I'm just working on pc80/ide/ide.c in the linuxbios tree. I need this for the PPC port, so x86 asm code won't be of much help.
Please look at src/drivers/disk/ide_disk.c in a etherboot-5.1 tree. It is a simpler and more correct driver. In some sense it is a derivative of pc80/ide/ide.c, as much as a complete rewrite can be derivative code. And there is no x86 asm.
The important thing is the etherboot driver gets the ide spin up case correct. And it seems to handle a wider range of drives.
Porting the etherboot driver back into LinuxBIOS is one of the todo list items. If you are brave a port of etherboot to the ppc would not be rejected. The only big problem is that etherboot currently does not run on any big endian architectures so there may be some endian problems in the etherboot code. Of course for most cases a little endian architecture is more likely to show problems so there should not be too many problems. The alignment problems should already be handled by the Itanium port.
The cute thing of course would be to get openbios or some other implementation of open firmware running on top of LinuxBIOS. Giving linuxbios backwards compatibility on both Macs and PCs.
Eric
=?ks_c_5601-1987?B?RWR3YXJkIExlZSBcKMDMwOW/+Fwp?= noshel@idis.co.kr writes:
gee, are you mentioning disk_init() in pcbios.S ? I just took a look at it, and I had to close the file because it was in asm! (I'm really scared of asm, you see..) When your done, I hope I could get a copy, badly :) good luck!
disk_init() is the old driver, that uses BIOS calls. The fact it is in pcbios.S should be a pretty good clue it isn't what you want. Under a normal LinuxBIOS configuration it is not even compiled in.
Eric