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

Bug#485609: Problem with device renaming and grub after clean install



Package: installation-reports

Boot method: netinst
Image version:
http://cdimage.debian.org/cdimage/daily-builds/daily/arch-latest/i386/iso-cd/
Date: 2008-06-08

Machine: i386 custom built
Processor: intel pentium 4 2.4 ghz circa 2003
Memory: 1GB
Partitions: df -Tl with the in memory mounts removed

Filesystem    Type   1K-blocks      Used Available Use% Mounted on
/dev/hda4     ext3    19236340  10108000   8151188  56% /
/dev/hdb1     ext2    76920416  59808876  13204132  82% /mnt/backups
/dev/hda2     ext3    18263556   7231344  10104460  42% /mnt/Stable
/dev/hda3     ext3    19228308   3024584  15226972  17% /mnt/Testing

This is a system arrangement I have been using for about 8 years now. I setup
swap, Stable, Testing, and Unstable on a single machine. As simple as this seems
grub (specifically update-grub) doesn't play very nice with it. I am generating
this report from the current unstable installation on hda4, which is as up to
date as I can get it without ripping out things I need.

Output of lspci -nn
00:00.0 Host bridge [0600]: Silicon Integrated Systems [SiS] 645xx [1039:0648]
(rev 02)
00:01.0 PCI bridge [0604]: Silicon Integrated Systems [SiS] Virtual PCI-to-PCI
bridge (AGP) [1039:0001]
00:02.0 ISA bridge [0601]: Silicon Integrated Systems [SiS] SiS963 [MuTIOL Media
IO] [1039:0963] (rev 04)
00:02.1 SMBus [0c05]: Silicon Integrated Systems [SiS] SiS961/2 SMBus Controller
[1039:0016]
00:02.3 FireWire (IEEE 1394) [0c00]: Silicon Integrated Systems [SiS] FireWire
Controller [1039:7007]
00:02.5 IDE interface [0101]: Silicon Integrated Systems [SiS] 5513 [IDE]
[1039:5513]
00:03.0 USB Controller [0c03]: Silicon Integrated Systems [SiS] USB 1.1
Controller [1039:7001] (rev 0f)
00:03.1 USB Controller [0c03]: Silicon Integrated Systems [SiS] USB 1.1
Controller [1039:7001] (rev 0f)
00:03.2 USB Controller [0c03]: Silicon Integrated Systems [SiS] USB 1.1
Controller [1039:7001] (rev 0f)
00:03.3 USB Controller [0c03]: Silicon Integrated Systems [SiS] USB 2.0
Controller [1039:7002]
00:09.0 Ethernet controller [0200]: 3Com Corporation 3c905C-TX/TX-M [Tornado]
[10b7:9200] (rev 78)
00:0a.0 Multimedia audio controller [0401]: Ensoniq 5880 AudioPCI [1274:5880]
(rev 04)
01:00.0 VGA compatible controller [0300]: ATI Technologies Inc Radeon R300 NE
[Radeon 9500 Pro] [1002:4e45]
01:00.1 Display controller [0380]: ATI Technologies Inc Radeon R300 [Radeon 9500
Pro] (Secondary) [1002:4e65]

and lspci -vnn:
00:00.0 Host bridge [0600]: Silicon Integrated Systems [SiS] 645xx [1039:0648]
(rev 02)
	Subsystem: ASUSTeK Computer Inc. Device [1043:8086]
	Flags: bus master, medium devsel, latency 32
	Memory at d0000000 (32-bit, non-prefetchable) [size=128M]
	Capabilities: [c0] AGP version 3.0
	Kernel driver in use: agpgart-sis
	Kernel modules: sis-agp

00:01.0 PCI bridge [0604]: Silicon Integrated Systems [SiS] Virtual PCI-to-PCI
bridge (AGP) [1039:0001]
	Flags: bus master, fast devsel, latency 64
	Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
	I/O behind bridge: 0000d000-0000dfff
	Memory behind bridge: cf000000-cfffffff
	Prefetchable memory behind bridge: e0000000-febfffff
	Kernel modules: shpchp

00:02.0 ISA bridge [0601]: Silicon Integrated Systems [SiS] SiS963 [MuTIOL Media
IO] [1039:0963] (rev 04)
	Flags: bus master, medium devsel, latency 0

00:02.1 SMBus [0c05]: Silicon Integrated Systems [SiS] SiS961/2 SMBus Controller
[1039:0016]
	Flags: medium devsel
	I/O ports at e600 [size=32]
	Kernel driver in use: sis96x_smbus
	Kernel modules: i2c-sis96x

00:02.3 FireWire (IEEE 1394) [0c00]: Silicon Integrated Systems [SiS] FireWire
Controller [1039:7007] (prog-if 10)
	Subsystem: ASUSTeK Computer Inc. Device [1043:809a]
	Flags: bus master, medium devsel, latency 64, IRQ 17
	Memory at ce800000 (32-bit, non-prefetchable) [size=4K]
	Expansion ROM at dffe0000 [disabled] [size=128K]
	Capabilities: [64] Power Management version 2
	Kernel driver in use: firewire_ohci
	Kernel modules: firewire-ohci

00:02.5 IDE interface [0101]: Silicon Integrated Systems [SiS] 5513 [IDE]
[1039:5513] (prog-if 80 [Master])
	Subsystem: ASUSTeK Computer Inc. Device [1043:8087]
	Flags: bus master, medium devsel, latency 128, IRQ 16
	[virtual] Memory at 000001f0 (32-bit, non-prefetchable) [disabled] [size=8]
	[virtual] Memory at 000003f0 (type 3, non-prefetchable) [disabled] [size=1]
	[virtual] Memory at 00000170 (32-bit, non-prefetchable) [disabled] [size=8]
	[virtual] Memory at 00000370 (type 3, non-prefetchable) [disabled] [size=1]
	I/O ports at a400 [size=16]
	Kernel driver in use: SIS_IDE
	Kernel modules: sis5513, pata_sis

00:03.0 USB Controller [0c03]: Silicon Integrated Systems [SiS] USB 1.1
Controller [1039:7001] (rev 0f) (prog-if 10)
	Subsystem: ASUSTeK Computer Inc. Device [1043:8087]
	Flags: bus master, medium devsel, latency 32, IRQ 20
	Memory at ce000000 (32-bit, non-prefetchable) [size=4K]
	Kernel driver in use: ohci_hcd
	Kernel modules: ohci-hcd

00:03.1 USB Controller [0c03]: Silicon Integrated Systems [SiS] USB 1.1
Controller [1039:7001] (rev 0f) (prog-if 10)
	Subsystem: ASUSTeK Computer Inc. Device [1043:8087]
	Flags: bus master, medium devsel, latency 32, IRQ 18
	Memory at cd800000 (32-bit, non-prefetchable) [size=4K]
	Kernel driver in use: ohci_hcd
	Kernel modules: ohci-hcd

00:03.2 USB Controller [0c03]: Silicon Integrated Systems [SiS] USB 1.1
Controller [1039:7001] (rev 0f) (prog-if 10)
	Subsystem: ASUSTeK Computer Inc. Device [1043:8087]
	Flags: bus master, medium devsel, latency 32, IRQ 19
	Memory at cd000000 (32-bit, non-prefetchable) [size=4K]
	Kernel driver in use: ohci_hcd
	Kernel modules: ohci-hcd

00:03.3 USB Controller [0c03]: Silicon Integrated Systems [SiS] USB 2.0
Controller [1039:7002] (prog-if 20)
	Subsystem: ASUSTeK Computer Inc. Device [1043:8087]
	Flags: bus master, medium devsel, latency 32, IRQ 21
	Memory at cc800000 (32-bit, non-prefetchable) [size=4K]
	Capabilities: [50] Power Management version 2
	Kernel driver in use: ehci_hcd
	Kernel modules: ehci-hcd

00:09.0 Ethernet controller [0200]: 3Com Corporation 3c905C-TX/TX-M [Tornado]
[10b7:9200] (rev 78)
	Subsystem: 3Com Corporation Device [10b7:1000]
	Flags: bus master, medium devsel, latency 32, IRQ 17
	I/O ports at 8400 [size=128]
	Memory at cb800000 (32-bit, non-prefetchable) [size=128]
	[virtual] Expansion ROM at 50000000 [disabled] [size=128K]
	Capabilities: [dc] Power Management version 2
	Kernel driver in use: 3c59x
	Kernel modules: 3c59x

00:0a.0 Multimedia audio controller [0401]: Ensoniq 5880 AudioPCI [1274:5880]
(rev 04)
	Subsystem: Ensoniq Device [1274:8001]
	Flags: bus master, slow devsel, latency 32, IRQ 22
	I/O ports at 8000 [size=64]
	Capabilities: [dc] Power Management version 2
	Kernel driver in use: ENS1371
	Kernel modules: snd-ens1371

01:00.0 VGA compatible controller [0300]: ATI Technologies Inc Radeon R300 NE
[Radeon 9500 Pro] [1002:4e45]
	Subsystem: ATI Technologies Inc Device [1002:0002]
	Flags: bus master, stepping, 66MHz, medium devsel, latency 255, IRQ 16
	Memory at f0000000 (32-bit, prefetchable) [size=128M]
	I/O ports at d800 [size=256]
	Memory at cf800000 (32-bit, non-prefetchable) [size=64K]
	Expansion ROM at effe0000 [disabled] [size=128K]
	Capabilities: [58] AGP version 3.0
	Capabilities: [50] Power Management version 2
	Kernel driver in use: fglrx_pci
	Kernel modules: fglrx, radeonfb

01:00.1 Display controller [0380]: ATI Technologies Inc Radeon R300 [Radeon 9500
Pro] (Secondary) [1002:4e65]
	Subsystem: ATI Technologies Inc Device [1002:0003]
	Flags: bus master, stepping, 66MHz, medium devsel, latency 64
	Memory at e0000000 (32-bit, prefetchable) [disabled] [size=128M]
	Memory at cf000000 (32-bit, non-prefetchable) [disabled] [size=64K]
	Capabilities: [50] Power Management version 2


Base System Installation Checklist:
[O] = OK, [E] = Error (please elaborate below), [ ] = didn't try it

Initial boot:           [O ]
Detect network card:    [O ]
Configure network:      [O ]
Detect CD:              [O ]
Load installer modules: [O ]
Detect hard drives:     [O ]
Partition hard drives:  [O ]
Install base system:    [O ]
Clock/timezone setup:   [O ]
User/password setup:    [O ]
Install tasks:          [O ]
Install boot loader:    [E ]
Overall install:        [E ]

Comments/Problems:

Generally speaking this version is just as successful as the last few revisions
and public releases. However since the last stable release the installation has
has installed a kernel and grub configuration that will not successfully boot.
What happens is the system sucesfully creates a grub entry like this (taken from
the clean install on /dev/hda3)

title		Debian GNU/Linux, kernel 2.6.24-1-686
root		(hd0,2)
kernel		/boot/vmlinuz-2.6.24-1-686 root=/dev/hda3 ro quiet
initrd		/boot/initrd.img-2.6.24-1-686

However when this boots from grub the kernel remaps the device location for
/dev/hda to /dev/sda. Here's a section from dmesg on the testing partition:

ACPI: PCI Interrupt 0000:00:09.0[A] -> GSI 17 (level, low) -> IRQ 16
3c59x: Donald Becker and others.
0000:00:09.0: 3Com PCI 3c905C Tornado at f8832000.
pata_sis 0000:00:02.5: version 0.5.2
ACPI: PCI Interrupt 0000:00:02.5[A] -> GSI 16 (level, low) -> IRQ 17
scsi0 : pata_sis
ohci_hcd: 2006 August 04 USB 1.1 'Open' Host Controller (OHCI) Driver
scsi1 : pata_sis
ata1: PATA max UDMA/133 cmd 0x1f0 ctl 0x3f6 bmdma 0xa400 irq 14
ata2: PATA max UDMA/133 cmd 0x170 ctl 0x376 bmdma 0xa408 irq 15
Floppy drive(s): fd0 is 1.44M
FDC 0 is a post-1991 82077
ata1.00: ATA-6: ST360015A, 3.33, max UDMA/100
ata1.00: 117231408 sectors, multi 16: LBA
ata1.01: ATA-6: ST380011A, 3.06, max UDMA/100
ata1.01: 156301488 sectors, multi 16: LBA48
ata1.00: configured for UDMA/100
ata1.01: configured for UDMA/100
ata2.00: ATAPI: LITE-ON DVDRW LH-16W1P, SL02, max UDMA/66
ata2.01: ATAPI: LITE-ON LTR-52246S, 6S0C, max UDMA/33
ata2.00: limited to UDMA/33 due to 40-wire cable
ata2.00: configured for UDMA/33
ata2.01: configured for UDMA/33
scsi 0:0:0:0: Direct-Access     ATA      ST360015A        3.33 PQ: 0 ANSI: 5
scsi 0:0:1:0: Direct-Access     ATA      ST380011A        3.06 PQ: 0 ANSI: 5
scsi 1:0:0:0: CD-ROM            LITE-ON  DVDRW LH-16W1P   SL02 PQ: 0 ANSI: 5
scsi 1:0:1:0: CD-ROM            LITE-ON  LTR-52246S       6S0C PQ: 0 ANSI: 5
ACPI: PCI Interrupt 0000:00:03.0[A] -> GSI 20 (level, low) -> IRQ 20
ohci_hcd 0000:00:03.0: OHCI Host Controller
ohci_hcd 0000:00:03.0: new USB bus registered, assigned bus number 1
ohci_hcd 0000:00:03.0: irq 20, io mem 0xce000000
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 2 ports detected


I included the previous and following PCI setup sections to assure that all of
the PATA section is accounted for.

It seems that the kernel is remapping /dev/hda using the scsi emulation, which I
did not enable and grub doesn't know about during the installation. Oddly I have
the same kernel installed for the unstable partition and I do not run into the
same problem. I took a look at the kernel config on both and nothing stands out.

I can get grub to boot the testing partition using root=/dev/sda3 or by editing
the grub entry in the grub shell. If you have any ideas on where I can look to
find the problem let me know. I don't use the testing partition unless I want to
see how the release is going, so I can keep it intact as needed.

Thanks,

Matthew McGuire



Reply to: