Re: Locks up with CURRENT

From: Lee Damon (nomad_at_castle.org)
Date: 10/12/03

  • Next message: Brendon and Wendy: "Re: Interesting...sched_ule discussion"
    To: freebsd-current@freebsd.org
    Date: Sat, 11 Oct 2003 15:03:21 -0700
    
    

    I'm having exactly the same hang on my IBM T30. I just tried sos' patch
    to ata-lowlevel.c but the result was no change - it still hangs after the
      ata1: resetting devices..
      done
    message. In the recent past I was able to boot if atapicam was
    not configured in the kernel, but now I can't boot regardless of
    the configuration of atapicam. I have to remove the CD-RW/DVD ROM
    drive from the system to boot. The drive label says it's a Panasonic
    UJDA720 (probably IBM's part number).

    nomad

    >Subject: Re: Locks up with CURRENT
    >From: Sam Leffler <sam@errno.com>
    >Date: Sat, 11 Oct 2003 10:31:19 -0700
    >To: Antony T Curtis <antony.t.curtis@ntlworld.com>,
    > freebsd-current@freebsd.org
    >
    >On Saturday 11 October 2003 03:20 am, Antony T Curtis wrote:
    >> On Sat, 2003-10-11 at 10:36, Antony T Curtis wrote:
    >> > Hi, I cvsuped at about 10/10/03 11PM GMT and rebuilt world and kernel.
    >> >
    >> > It locks up after displaying:
    >> >
    >> > GEOM: create disk ad0 dp=0xc456d370
    >> > ad0: 28615MB <TOSHIBA MK3021GAS> [58140/16/63] at ata0-master UDMA100
    >> > ata1: resetting devices ..
    >> > done
    >> >
    >> > System is a Toshiba Satellite 2455 notebook.
    >>
    >> Removing the CDRW drive allowed it to boot
    >
    >I suspect this is the same problem I've encountered with a Toshiba DVD/CDRW
    >drive on a ServerWorks CSB5 controller. The following change re-enables some
    >code to workaround a missed interrupt and allows my system to boot::
    >
    >diff ./ata-queue.c /data/devel/netperf/dev/ata/ata-queue.c
    >319c319
    >< #if 0
    >---
    >> #if 1
    >
    >However the Toshiba drive is not recognized. If after booting I do:
    >
    >atacontrol reinit 1
    >
    >I sometimes get the drive properly probed. sos sent me the following change
    >to try but I still haven't gotten to it. Beware that it's probably out of
    >date wrt current source:
    >
    >Index: ata-lowlevel.c
    >===================================================================
    >RCS file: /home/ncvs/src/sys/dev/ata/ata-lowlevel.c,v
    >retrieving revision 1.16
    >diff -u -r1.16 ata-lowlevel.c
    >--- ata-lowlevel.c 20 Sep 2003 08:38:33 -0000 1.16
    >+++ ata-lowlevel.c 26 Sep 2003 06:50:29 -0000
    >@@ -527,7 +527,8 @@
    > ATA_IDX_OUTB(ch, ATA_ALTSTAT, ATA_A_IDS | ATA_A_RESET);
    > DELAY(10000);
    > ATA_IDX_OUTB(ch, ATA_ALTSTAT, ATA_A_IDS);
    >- DELAY(10000);
    >+ DELAY(100000);
    >+ ATA_IDX_INB(ch, ATA_ERROR);
    >
    > /* wait for BUSY to go inactive */
    > for (timeout = 0; timeout < 310; timeout++) {
    >
    > Sam

    nomad
     -----------
    The cry has been that when war is declared, all opposition should
    therefore be hushed. A sentiment more unworthy of a free country could
    hardly be propagated. If the doctrine be admitted, rulers have only to
    declare war and they are screened at once from scrutiny ... In war,
    then, as in peace, assert the freedom of speech and of the press.
    Cling to this as the bulwark of all our rights and privileges.
                    -- William Ellery Channing

     ----------- - Lee "nomad" Damon - \
    play: nomad@castle.org or castle!nomad \
    work: nomad@ee.washington.edu \
                                                                         /\
    Seneschal, Castle PAUS. / \
                    "Celebrate Diversity" / \

    _______________________________________________
    freebsd-current@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-current
    To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"


  • Next message: Brendon and Wendy: "Re: Interesting...sched_ule discussion"

    Relevant Pages

    • War Made New: Technology, Warfare, and the Course of History, 1500 to Today
      ... War Made New: Technology, Warfare, and the Course of History, 1500 to ... revolutions in warfare since 1500 around which Max Boot chose to ... Boot illustrates the Gunpowder Revolution by choosing first to describe ... between European and Asian efficacy in war. ...
      (soc.culture.indian)
    • FC2 post-install hangs on dual boot system - SOLVED, KIND-OFF, NOT REALLY.
      ... BOOT AND INIT ISSUES: ... The second hang occurs after "Start service Kudzu" and the ... file after the kernel boot is done it is somewhat clear what is happening. ...
      (linux.redhat.install)
    • Strange boot-time hang (long, sorry)
      ... I am having difficulty diagnosing a strange boot-time hang on ... It still will not boot fully into ... so it's not clear if the console issue is an important ... The strange thing is, once I boot it into single-user mode, I can ...
      (Debian-User)
    • Re: Creating Apple /// boot disks using MacADT
      ... Block $0000 is exactly the same as Block $0001 of the ProDOS disk. ... have both the ProDOS and the SOS boot blocks. ... I just took a look at the SOS boot block code, ...
      (comp.sys.apple2)
    • Re: hard lock-up writing to tape
      ... Num lock doesn't come on. ... you will need to set up a serial console with some special ... Enable the serial console and boot the system. ... If you get the db> prompt, then your hang is probably due to a Giant ...
      (freebsd-current)