From mboxrd@z Thu Jan 1 00:00:00 1970 From: Adam Agnew To: Jonathan Larmour Cc: "Trenton D. Adams" , "'Matthew M. DeLoera'" , , , , Subject: Re: [ECOS] Problems with RedBoot on x86 generic pc... Date: Fri, 14 Sep 2001 09:14:00 -0000 Message-id: References: <3BA0E06D.F904DF1A@redhat.com> X-SW-Source: 2001-09/msg00345.html I finally found time to try that, and yes it worked on machines where it wasn't working when there were two serial ports specified. Thanks, and I hope this info is helpfull in tracking the bug down. - adam agnewx On Thu, 13 Sep 2001, Jonathan Larmour wrote: > Adam Agnew wrote: > > > > I've tried the provided image for a floppy on several x86 boxen, and it > > works on some, doesn't on others. As a test, i tried setting > > > > cdl_option CYGNUM_HAL_VIRTUAL_VECTOR_COMM_CHANNELS { user_value 1 }; > > and > > cdl_option CYGSEM_HAL_I386_PC_DIAG_SCREEN { user_value 0 }; > > > > That certainly cleared up the problem, but of course gets rid of the PC's > > screen, which was nice. Maybe someone can use this info to track down the > > bug, I'm not that familiar with the code base yet. But that's a temporary > > fix for poor folks like me who it wasn't working for. Perhaps this is > > just a problem with motherboards with only one serial port. Perhaps its > > deeper, *shrug*. > > One way to find out if there's a problem with boards with one serial > port.... go to hal/i386/pcmb/current/src/pcmb_serial.c and comment out the > stuff for channel 1 in cyg_hal_plf_serial_init. > > Then go to pcmb_screen.c and in cyg_hal_plf_screen_init change all the "2"s > to "1"s. > > Go to /hal_diag.c and remove the middle entry of pc_ser_channels and change > the 3 to a 2. > > Finally go to hal/i386/pc/current/cdl_hal_i386_pc.cdl and change > CYGNUM_HAL_VIRTUAL_VECTOR_COMM_CHANNELS to have: > > default_value { CYGSEM_HAL_I386_PC_DIAG_SCREEN ? 2 : 1 } > > Then build and try a redboot on a PC with one serial port. If it works > where the old image didn't, let us know. > > Jifl > -- > Red Hat, Rustat House, Clifton Road, Cambridge, UK. Tel: +44 (1223) 271062 > Maybe this world is another planet's Hell -Aldous Huxley || Opinions==mine >