ALT Linux kernel packages development
 help / color / mirror / Atom feed
From: Sergey Vlasov <vsu@altlinux.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: Mon, 16 Feb 2004 15:13:06 +0300
Message-ID: <20040216121306.GB7789@master.mivlgu.local> (raw)
In-Reply-To: <402FE366.5070004@solin.spb.ru>

[-- Attachment #1: Type: text/plain, Size: 2060 bytes --]

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 в 
> аттаче). Помогите пожалуйста.
[skip]
> Uniform Multi-Platform E-IDE driver Revision: 7.00beta4-2.4
> ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
> SIS5513: IDE controller at PCI slot 00:01.1
> SIS5513: chipset revision 8
> SIS5513: not 100% native mode: will probe irqs later
> SIS5513: SiS551x ATA 16 controller
>     ide0: BM-DMA at 0xffa0-0xffa7, BIOS settings: hda:pio, hdb:pio
> SIS5513: simplex device: DMA disabled
> ide1: SIS5513 Bus-Master DMA disabled (BIOS)
> hda: QUANTUM FIREBALLP AS10.2, ATA DISK drive
> hdc: Maxtor 6E030L0, ATA DISK drive
> Unable to handle kernel NULL pointer dereference at virtual address 00000000

Похоже, эта ситуация должна лечиться патчем:

--- 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) {

Почему-то это до сих пор сломано - видимо, контроллер слишком
древний и мало у кого встречающийся.  Ладно, будем чинить.

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

  parent reply	other threads:[~2004-02-16 12:13 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 [this message]
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

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=20040216121306.GB7789@master.mivlgu.local \
    --to=vsu@altlinux.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