lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <463B770C.7060407@ru.mvista.com>
Date:	Fri, 04 May 2007 22:10:20 +0400
From:	Sergei Shtylyov <sshtylyov@...mvista.com>
To:	Andrew Morton <akpm@...ux-foundation.org>
Cc:	Bartlomiej Zolnierkiewicz <bzolnier@...il.com>,
	michal.kepien@...zta.onet.pl, linux-ide@...r.kernel.org,
	linux-kernel@...r.kernel.org
Subject: Re: Fw: HPT366: 2.6.21 breaks HPT366 detection on boot

Hello.

Andrew Morton wrote:
> fyi..  (followup on-list if so inclined, please)

> Begin forwarded message:

> Date: Fri, 4 May 2007 18:44:18 +0200
> From: Michal Kepien <michal.kepien@...zta.onet.pl>
> To: The Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
> Subject: HPT366: 2.6.21 breaks HPT366 detection on boot

> Hi there all kernel hackers,

> I own an Abit BE-6 v1 mainboard with an on-board HPT366 controller. Until kernel
> version 2.6.20.7 it worked perfectly, however 2.6.21 broke it. My system is
> Slackware 11.0 + current. Relevant log fragments:

> 2.6.20.7:
> =========

> -------------------------------------------------------------------------------
> Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
> ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
> PIIX4: IDE controller at PCI slot 0000:00:07.1
> PIIX4: chipset revision 1
> PIIX4: not 100% native mode: will probe irqs later
>     ide0: BM-DMA at 0xf000-0xf007, BIOS settings: hda:DMA, hdb:pio
>     ide1: BM-DMA at 0xf008-0xf00f, BIOS settings: hdc:pio, hdd:pio
> Probing IDE interface ide0...
> hda: SAMSUNG CD-R/RW SW-252B, ATAPI CD/DVD-ROM drive
> ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
> Probing IDE interface ide1...
> HPT366: onboard version of chipset, pin1=1 pin2=2
> HPT366: IDE controller at PCI slot 0000:00:13.0
> PCI: setting IRQ 11 as level-triggered
> PCI: Found IRQ 11 for device 0000:00:13.0
> PCI: Sharing IRQ 11 with 0000:00:0b.0
> PCI: Sharing IRQ 11 with 0000:00:13.1
> HPT366: chipset revision 1
> HPT366: 100% native mode on irq 11
>     ide2: BM-DMA at 0xd800-0xd807, BIOS settings: hde:DMA, hdf:pio
> PCI: Found IRQ 11 for device 0000:00:13.1
> PCI: Sharing IRQ 11 with 0000:00:0b.0
> PCI: Sharing IRQ 11 with 0000:00:13.0
>     ide3: BM-DMA at 0xe400-0xe407, BIOS settings: hdg:pio, hdh:pio
> Probing IDE interface ide2...
> hde: IBM-DJNA-371350, ATA DISK drive
> hde: hw_config=2000
> hde: hw_config=2000
> ide2 at 0xd000-0xd007,0xd402 on irq 11
> Probing IDE interface ide3...
> hde: max request size: 128KiB
> hde: 26520480 sectors (13578 MB) w/1966KiB Cache, CHS=26310/16/63, UDMA(33)
> hde: cache flushes not supported
>  hde: hde1 hde2 < hde5 >
> hda: ATAPI 52X CD-ROM CD-R/RW drive, 2048kB Cache, UDMA(33)
> -------------------------------------------------------------------------------

> 2.6.21(.1):
> ===========

> -------------------------------------------------------------------------------
> Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
> ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
> PIIX4: IDE controller at PCI slot 0000:00:07.1
> PIIX4: chipset revision 1
> PIIX4: not 100% native mode: will probe irqs later
>     ide0: BM-DMA at 0xf000-0xf007, BIOS settings: hda:DMA, hdb:pio
>     ide1: BM-DMA at 0xf008-0xf00f, BIOS settings: hdc:pio, hdd:pio
> hda: SAMSUNG CD-R/RW SW-252B, ATAPI CD/DVD-ROM drive
> ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
> HPT366: onboard version of chipset, pin1=1 pin2=2
> HPT366: IDE controller at PCI slot 0000:00:13.0
> PCI: setting IRQ 11 as level-triggered
> PCI: Found IRQ 11 for device 0000:00:13.0
> PCI: Sharing IRQ 11 with 0000:00:0b.0
> PCI: Sharing IRQ 11 with 0000:00:13.1
> HPT366: chipset revision 1
> HPT366: using 33 MHz PCI clock
> HPT366: 100% native mode on irq 11
> HPT366: neither IDE port enabled (BIOS)
> PCI: Found IRQ 11 for device 0000:00:13.1
> PCI: Sharing IRQ 11 with 0000:00:0b.0
> PCI: Sharing IRQ 11 with 0000:00:13.0
> HPT366: using 33 MHz PCI clock
> HPT366: neither IDE port enabled (BIOS)

    Looks I was too bold with my 'enablebits' assumption and HPT366 didn't yet 
have them. I'll send a patch to try soon.

> hda: ATAPI 52X CD-ROM CD-R/RW drive, 2048kB Cache, UDMA(33)
> -------------------------------------------------------------------------------
> 
> Booting the system with 2.6.21 results in a kernel panic:
> 
> -------------------------------------------------------------------------------
> VFS: Cannot open root device "2101" or unknown-block(31,1)
> Please append a correct "root=" boot option
> Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(31,1) 
> -------------------------------------------------------------------------------

> I'd happily try out any patches and/or supply you with more details on demand.

MBR, Sergei
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ