Comment 7 for bug 21186

Revision history for this message
h2os (t-waters-deactivatedaccount) wrote :

It seems I have found another issue which is related to this one:
I have 1 SATA and one PATA connected to the onboard controller.
Next to that I have a seperate SCSI controller with two additional disks.
When booting, Dmesg says the following:

[42949383.030000] SCSI device sda: 17773500 512-byte hdwr sectors (9100 MB)
[42949383.100000] SCSI device sda: drive cache: write back
[42949383.100000] sda: sda1
[42949383.100000] sd 0:0:1:0: Attached scsi disk sda
[42949383.160000] SCSI device sdb: 17773500 512-byte hdwr sectors (9100 MB)
[42949383.230000] SCSI device sdb: drive cache: write back
[42949383.270000] SCSI device sdb: 17773500 512-byte hdwr sectors (9100 MB)
[42949383.330000] SCSI device sdb: drive cache: write back
[42949383.330000] sdb: sdb1 sdb2 sdb4
[42949383.340000] sd 0:0:2:0: Attached scsi disk sdb

These are the disks that are connected to my SCSI controller.

[42949385.230000] ata2: PATA max UDMA/133 cmd 0x9800 ctl 0x9402 bmdma 0x9008 irq 177
[42949385.430000] ata1: dev 0 cfg 00:0040 49:2f00 82:7c6b 83:7f69 84:4773 85:7c69 86:3e01 87:4763 88:207f 93:0000
[42949385.430000] ata1: dev 0 ATA-7, max UDMA/133, 490234752 sectors: LBA48
[42949385.430000] sata_get_dev_handle: SATA dev addr=0x1f0002, handle=0xdffe5520
[42949385.430000] ata1: dev 0 configured for UDMA/133

This would be my PATA disk

[42949385.430000] sata_get_dev_handle: SATA dev addr=0x1f0002, handle=0xdffe5520
[42949385.430000] scsi1 : ata_piix
[42949386.610000] scsi2 : ata_piix
[42949386.610000] Vendor: ATA Model: Maxtor 6V250F0 Rev: VA11
[42949386.610000] Type: Direct-Access ANSI SCSI revision: 05
[42949386.610000] SCSI device sdc: 490234752 512-byte hdwr sectors (251000 MB)
[42949386.610000] SCSI device sdc: drive cache: write back
[42949386.610000] SCSI device sdc: 490234752 512-byte hdwr sectors (251000 MB)
[42949386.610000] SCSI device sdc: drive cache: write back
[42949386.610000] sdc: sdc1 sdc2 < sdc5 >
[42949386.650000] sd 1:0:0:0: Attached scsi disk sdc

And this is my SATA disk

Now, when i booted the first time it would just not boot, and I had to change the boot parameters
just like you guys. But now, after i booted there is something strange:

according to the mount command root is mounted to /dev/sda1 but ubuntu was installed at
my SATA disk ( /dev/sdc1)!
So mount mistakes /dev/sdc with /dev/sda. /dev/sdc1 fdisk shows:

Disk /dev/sdc: 251.0 GB, 251000193024 bytes
255 heads, 63 sectors/track, 30515 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot Start End Blocks Id System
/dev/sdc1 * 1 30141 242107551 83 Linux
/dev/sdc2 30142 30515 3004155 5 Extended
/dev/sdc5 30142 30515 3004123+ 82 Linux swap / Solaris

and /dev/sda

Disk /dev/sda: 9100 MB, 9100032000 bytes
255 heads, 63 sectors/track, 1106 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot Start End Blocks Id System
/dev/sda1 1 5 40131 12 Compaq diagnostics

mounts according to the MOUNT command:

/dev/sda1 on / type ext3 (rw,errors=remount-ro)
proc on /proc type proc (rw)
/sys on /sys type sysfs (rw)
varrun on /var/run type tmpfs (rw)
varlock on /var/lock type tmpfs (rw)
procbususb on /proc/bus/usb type usbfs (rw)
udev on /dev type tmpfs (rw)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
devshm on /dev/shm type tmpfs (rw)

Trying to mount /dev/sda1 results in the strange situation that /dev/sda1 is mounted but with different fat-systems:

/dev/sda1 on / type ext3 (rw,errors=remount-ro)
/dev/sda1 on /mnt/sda type vfat (rw)
proc on /proc type proc (rw)
/sys on /sys type sysfs (rw)
varrun on /var/run type tmpfs (rw)
varlock on /var/lock type tmpfs (rw)
procbususb on /proc/bus/usb type usbfs (rw)
udev on /dev type tmpfs (rw)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
devshm on /dev/shm type tmpfs (rw)

Perhaps I am mistaking, but this seems to me like a bug ( and because I had to change the boot paramaters in GRUB to, i think it is correlated with this bug ).