[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

upgrading i386 kernel on AMD64



Hi,
I have installed Debian-i386 and Debian-amd64 on a new machine. For the i386
install I used a sarge snapshot from July, which worked great. Only this
installed a 2.6.6 kernel, which I'd like to update to 2.6.8. On the AMD64
installation, I simply installed new debian kernel-images and everything is
fine. when I try the same on the i386 install, however, those new kernels do
not boot, I tried 2.6.8-1-386, 2.6.8-1-k7, 2.4.26-1-386, and even a self
compiled 2.6.8 starting with the (working) 2.6.6 config.

The problem is, the kernel does not find the root filesystem, since it does
not detect the harddisk. This box (ASUS K8V mainboard) has one SATA disk
connected to the VIA VT8237 RAID controller, the Promise 20376 is not used,
the IDE controller is only used for the DVD. The i386 install kernel sees
the SATA disk fine, and detects it as hde. The AMD64 kernels sees the disk
as sda. All newer i386 kernels, the ones provided by debian, as well as
self-built, do not see the SATA disk at all, and I wonder why, and how to
fix this.

Linux version 2.6.6-1-386 (herbert@gondolin) (gcc version 3.3.3 (Debian 20040401)) #1 Wed May 12 13:19:06 EST 2004
[...]
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
VIA8237SATA: IDE controller at PCI slot 0000:00:0f.0
VIA8237SATA: chipset revision 128
VIA8237SATA: 100% native mode on irq 20
    ide2: BM-DMA at 0xd400-0xd407, BIOS settings: hde:pio, hdf:pio
    ide3: BM-DMA at 0xd408-0xd40f, BIOS settings: hdg:pio, hdh:pio
hde: ST3160023AS, ATA DISK drive
Using anticipatory io scheduler
ide2 at 0xe800-0xe807,0xe402 on irq 20
VP_IDE: IDE controller at PCI slot 0000:00:0f.1
VP_IDE: chipset revision 6
VP_IDE: not 100% native mode: will probe irqs later
VP_IDE: VIA vt8237 (rev 00) IDE UDMA133 controller on pci0000:00:0f.1
    ide0: BM-DMA at 0xfc00-0xfc07, BIOS settings: hda:DMA, hdb:pio
    ide1: BM-DMA at 0xfc08-0xfc0f, BIOS settings: hdc:pio, hdd:pio
hda: HL-DT-ST DVDRAM GSA-4120B, ATAPI CD/DVD-ROM drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
hde: max request size: 1024KiB
hde: 312581808 sectors (160041 MB) w/8192KiB Cache, CHS=19457/255/63
 /dev/ide/host2/bus0/target0/lun0: p1 p2 p3 p4 < p5 p6 p7 p8 p9 p10 >


Linux version 2.6.8-1-amd64-k8 (root@athlon.lowpingbastards.de) (gcc version 3.3.4 (Debian 1:3.3.4-7)) #1 Mon Aug 16 19:03:27 CEST 2004
[...]
SCSI subsystem initialized
libata version 1.02 loaded.
sata_promise version 1.00
ACPI: PCI interrupt 0000:00:08.0[A] -> GSI 18 (level, low) -> IRQ 18
ata1: SATA max UDMA/133 cmd 0xFFFFFF000005C200 ctl 0xFFFFFF000005C238 bmdma 0x0 irq 18
ata2: SATA max UDMA/133 cmd 0xFFFFFF000005C280 ctl 0xFFFFFF000005C2B8 bmdma 0x0 irq 18
ata1: no device found (phy stat 00000000)
scsi0 : sata_promise
ata2: no device found (phy stat 00000000)
scsi1 : sata_promise
Using anticipatory io scheduler
sata_via version 0.20
ACPI: PCI interrupt 0000:00:0f.0[B] -> GSI 20 (level, low) -> IRQ 20
sata_via(0000:00:0f.0): routed to hard irq line 10
ata3: SATA max UDMA/133 cmd 0xE800 ctl 0xE402 bmdma 0xD400 irq 20
ata4: SATA max UDMA/133 cmd 0xE000 ctl 0xD802 bmdma 0xD408 irq 20
ata3: dev 0 cfg 49:2f00 82:346b 83:7d01 84:4003 85:3469 86:3c01 87:4003 88:407f
ata3: dev 0 ATA, max UDMA/133, 312581808 sectors: lba48
ata3: dev 0 configured for UDMA/133
scsi2 : sata_via
ata4: no device found (phy stat 00000000)
scsi3 : sata_via
  Vendor: ATA       Model: ST3160023AS Rev: 3.18
  Type:   Direct-Access ANSI SCSI revision: 05
SCSI device sda: 312581808 512-byte hdwr sectors (160042 MB)
SCSI device sda: drive cache: write back
 /dev/scsi/host2/bus0/target0/lun0: p1 p2 p3 p4 < p5 p6 p7 p8 p9 p10 >
Attached scsi disk sda at scsi2, channel 0, id 0, lun 0

SATA in the install kernel (ie disk is detected as hde):

cts@vreneli:/boot>grep SATA config-2.6.6-1-386 
CONFIG_SCSI_SATA=y
CONFIG_SCSI_SATA_SVW=m
CONFIG_SCSI_SATA_PROMISE=m
CONFIG_SCSI_SATA_SIL=m
CONFIG_SCSI_SATA_SIS=m
CONFIG_SCSI_SATA_VIA=m
CONFIG_SCSI_SATA_VITESSE=m

SATA in the self-built kernel, no initrd, disk not detected, also when
CONFIG_BLK_DEV_IDE_SATA was off:
cts@vreneli:/boot>grep SATA config-2.6.8
CONFIG_BLK_DEV_IDE_SATA=y
CONFIG_SCSI_SATA=y
# CONFIG_SCSI_SATA_SVW is not set
# CONFIG_SCSI_SATA_NV is not set
CONFIG_SCSI_SATA_PROMISE=y
CONFIG_SCSI_SATA_SX4=y
# CONFIG_SCSI_SATA_SIL is not set
# CONFIG_SCSI_SATA_SIS is not set
CONFIG_SCSI_SATA_VIA=y
# CONFIG_SCSI_SATA_VITESSE is not set

SATA in Debian kernel, initrd, disk not detected:
cts@vreneli:/boot>grep SATA config-2.6.8-1-k7 
# CONFIG_BLK_DEV_IDE_SATA is not set
CONFIG_SCSI_SATA=y
CONFIG_SCSI_SATA_SVW=m
CONFIG_SCSI_SATA_NV=m
CONFIG_SCSI_SATA_PROMISE=m
CONFIG_SCSI_SATA_SX4=m
CONFIG_SCSI_SATA_SIL=m
CONFIG_SCSI_SATA_SIS=m
CONFIG_SCSI_SATA_VIA=m
CONFIG_SCSI_SATA_VITESSE=m

It would be great if somebody could explain, what I am doing wrong, and why
the disk is ide on i386 (IDE_SATA?), and sda on AMD64.

Thanks,
Christian



Reply to: