Re: SiS900 / Etherboot / Symantec Ghost-2.5
Thomas Miletich <[email protected]>
| Newsgroups | gmane.network.etherboot.user |
|---|---|
| Message-ID | <[email protected]> |
Hi I don't know about Etherboot, but it it possible to use Ghost with gPXE under certain circumstances. - Depending on the image type you use, you have to prevent gPXE from shutting down the UNDI stack. - The NIC driver has to enable all relevant interrupt sources. Unfortunately the current sis900 driver isn't enabling any interrupts at all. I attached a small patch for the latest git source code of gPXE to enable all interrupt sources for sis900. I don't have a sis900 card, so this patch is totally untested. I uploaded a precompiled version at http://etherboot.org/share/meteger/sis900.pxe Please let us know if this changes anything for you. Thomas 2009/9/8 Hubert Mercier <[email protected]>: > Hi, > > I have been working for quite a long time on these buggy network chips, > with unsufficient results. I explane : > > At the beginning, syslinux simply hangs the machine. PXE is buggy on the > SiS900. So i use a workaround, chainloading etherboot (sis900.zpxe). It > works quite well, and syslinux works just fine, as well as many other > tools. But I can't manage to make Symantec Ghost work properly : I got i > booting, but network menus of the interface are greyed... And I really > have no more idea... > > If someone has a clue... > > Thanks ! > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > Etherboot-discuss mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/etherboot-discuss > > ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Etherboot-discuss mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/etherboot-discuss
0001--sis900-enable-interrupts-for-Symantec-Ghost.patch
(text/x-diff, 1.2 KB)
From 86ac350f6be048ce6eab3cc580887dbd18606aa8 Mon Sep 17 00:00:00 2001 From: Thomas Miletich <[email protected]> Date: Tue, 8 Sep 2009 19:35:55 +0200 Subject: [PATCH] [sis900] enable interrupts for Symantec Ghost. --- src/drivers/net/sis900.c | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/src/drivers/net/sis900.c b/src/drivers/net/sis900.c index 177cd65..da14a09 100644 --- a/src/drivers/net/sis900.c +++ b/src/drivers/net/sis900.c @@ -1183,8 +1183,12 @@ static int sis900_poll(struct nic *nic, int retrieve) { u32 rx_status = rxd[cur_rx].cmdsts; + u32 intr_status; int retstat = 0; + /* acknowledge interrupts by reading interrupt status register */ + intr_status = inl(ioaddr + isr); + if (sis900_debug > 2) printf("sis900_poll: cur_rx:%d, status:%X\n", cur_rx, (unsigned int) rx_status); @@ -1264,8 +1268,10 @@ sis900_irq(struct nic *nic __unused, irq_action_t action __unused) { switch ( action ) { case DISABLE : + outl(0, ioaddr + imr); break; case ENABLE : + outl((RxSOVR|RxORN|RxERR|RxOK|TxURN|TxERR|TxIDLE), ioaddr + imr); break; case FORCE : break; -- 1.6.0.4