From: "Aleksey Avdeev" <solo@solin.spb.ru> To: ALT Linux kernel packages development <devel-kernel@altlinux.ru> Subject: Re: [d-kernel] Неполучается поднять kernel версии 2.4.22-std-up-alt15 на машине с SIS 5511/2/3 Date: Thu, 19 Feb 2004 11:27:59 +0300 Message-ID: <4034738F.4030301@solin.spb.ru> (raw) In-Reply-To: <20040216121306.GB7789@master.mivlgu.local> Sergey Vlasov wrote: > On Mon, Feb 16, 2004 at 12:23:50AM +0300, Aleksey Avdeev wrote: > >> Не получается у меня поставить ядро 2.4.22-std-up-alt15 на >>свой домашний старый пень (на чипсете SIS 5511/2/3). >> >> Судя по логу - проблемы с поднятием IDE (файл serial.txt в >>аттаче). Помогите пожалуйста. > ... > > Похоже, эта ситуация должна лечиться патчем: > > --- kernel-source-2.4.22/drivers/ide/ide-iops.c.ide-oops 2003-06-13 18:51:33 +0400 > +++ kernel-source-2.4.22/drivers/ide/ide-iops.c 2004-02-16 15:06:21 +0300 > @@ -908,7 +908,8 @@ int ide_config_drive_speed (ide_drive_t > // ide_delay_50ms(); > > #if defined(CONFIG_BLK_DEV_IDEDMA) && !defined(CONFIG_DMA_NONPCI) > - hwif->ide_dma_host_off(drive); > + if (hwif->ide_dma_check) > + hwif->ide_dma_host_off(drive); > #endif /* (CONFIG_BLK_DEV_IDEDMA) && !(CONFIG_DMA_NONPCI) */ > > /* > @@ -976,10 +977,12 @@ int ide_config_drive_speed (ide_drive_t > drive->id->dma_1word &= ~0x0F00; > > #if defined(CONFIG_BLK_DEV_IDEDMA) && !defined(CONFIG_DMA_NONPCI) > - if (speed >= XFER_SW_DMA_0) > - hwif->ide_dma_host_on(drive); > - else > - hwif->ide_dma_off_quietly(drive); > + if (hwif->ide_dma_check) { > + if (speed >= XFER_SW_DMA_0) > + hwif->ide_dma_host_on(drive); > + else > + hwif->ide_dma_off_quietly(drive); > + } > #endif /* (CONFIG_BLK_DEV_IDEDMA) && !(CONFIG_DMA_NONPCI) */ > > switch(speed) { Есть ли данный патч в виде kernel-fix-drivers-*? > > Почему-то это до сих пор сломано - видимо, контроллер слишком > древний и мало у кого встречающийся. Ладно, будем чинить. -- С уважением. Алексей.
prev parent reply other threads:[~2004-02-19 8:27 UTC|newest] Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top 2004-02-15 21:23 Aleksey Avdeev 2004-02-16 8:55 ` Alexey Kotovich 2004-02-16 9:17 ` Anton Farygin 2004-02-16 12:12 ` Aleksey Avdeev 2004-02-16 15:34 ` Aleksey Avdeev 2004-02-16 12:13 ` Sergey Vlasov 2004-02-16 13:06 ` Aleksey Avdeev 2004-02-17 8:30 ` Aleksey Avdeev 2004-02-17 9:58 ` Sergey Vlasov 2004-02-17 10:56 ` Aleksey Avdeev 2004-02-19 8:24 ` Aleksey Avdeev 2004-02-19 8:27 ` Aleksey Avdeev [this message]
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=4034738F.4030301@solin.spb.ru \ --to=solo@solin.spb.ru \ --cc=devel-kernel@altlinux.ru \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
ALT Linux kernel packages development This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/devel-kernel/0 devel-kernel/git/0.git # If you have public-inbox 1.1+ installed, you may # initialize and index your mirror using the following commands: public-inbox-init -V2 devel-kernel devel-kernel/ http://lore.altlinux.org/devel-kernel \ devel-kernel@altlinux.org devel-kernel@altlinux.ru devel-kernel@altlinux.com public-inbox-index devel-kernel Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.devel-kernel AGPL code for this site: git clone https://public-inbox.org/public-inbox.git