Public bug reported:
Hello All,
First of all I would like to comment that I'm not a Linux newbie, using
it since some 10 years now.
In my Dell desktop I have two identical IDE harddisks which are seen by Feisty
as sda and sdb.
On sdb I manually and regularly create a "dd" backup of sda.
sdb is marked with a # in /etc/fstab and even switched to "OFF" in the BIOS
settings.
When I reboot my desktop it seems that the hardisks both can be randomly
selected and thus being assigned sda or sdb.
For example, yesterday I created a directory under my homedir in which I
downloaded the contents of my digicam. This evening I started my PC and the
directory seems to be gone.
However, when I manually mount the sdb, the directory suddenly shows up there.
I'm struggeling with this for some weeks now and this evening I pulled the
plugs from the second disk so there cannot be any mistake anymore taken by the
system.
I've tried to use both /etc/fstab versions, that is the old-style one without
the UUID stuff and the new-style with the UUID, to no avail.
I think it's bizarre that while the disk is hashed in fstab and set to OFF in
the BIOS the Linux kernel still can __random__ access it.
My installation was Ubuntu 6.10, then I upgraded to 7.04 and discovered the
problem. I thought this might be a
flaw in the upgrade so then I executed a complete install. With the smae result.
[EMAIL PROTECTED]:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 7.04
Release: 7.04
Codename: feisty
[EMAIL PROTECTED]:~$ uname -a
Linux renault 2.6.20-15-generic #2 SMP Sun Apr 15 07:36:31 UTC 2007 i686
GNU/Linux
[EMAIL PROTECTED]:~$
[ 31.826128] ata1: PATA max UDMA/100 cmd 0x000101f0 ctl 0x000103f6 bmdma
0x0001ffa0 irq 14
[ 31.826205] ata2: PATA max UDMA/100 cmd 0x00010170 ctl 0x00010376 bmdma
0x0001ffa8 irq 15
[ 31.826238] scsi0 : ata_piix
[ 31.911822] Floppy drive(s): fd0 is 1.44M
[ 31.941123] FDC 0 is a post-1991 82077
[ 31.990949] ata1.00: ata_hpa_resize 1: sectors = 156250000, hpa_sectors =
156250000
[ 31.990955] ata1.00: ATA-7: Maxtor 6Y080L0, YAR41BW0, max UDMA/133
[ 31.990958] ata1.00: 156250000 sectors, multi 8: LBA
[ 31.998925] ata1.00: ata_hpa_resize 1: sectors = 156250000, hpa_sectors =
156250000
[ 31.998929] ata1.00: configured for UDMA/100
[ 31.998946] scsi1 : ata_piix
[ 32.318179] ata2.00: ATAPI, max UDMA/33
[ 32.481881] ata2.00: configured for UDMA/33
[ 32.485631] scsi 0:0:0:0: Direct-Access ATA Maxtor 6Y080L0 YAR4
PQ: 0 ANSI: 5
[ 32.495455] scsi 1:0:0:0: CD-ROM _NEC DVD_RW ND-3520A 1.04
PQ: 0 ANSI: 5
[ 32.507507] b44.c:v1.01 (Jun 16, 2006)
[ 32.507539] ACPI: PCI Interrupt 0000:01:09.0[A] -> GSI 17 (level, low) ->
IRQ 20
[ 32.511071] eth0: Broadcom 4400 10/100BaseT Ethernet 00:0f:1f:46:c4:4b
[ 32.589424] usb 2-1: new low speed USB device using uhci_hcd and address 2
[ 32.764275] usb 2-1: configuration #1 chosen from 1 choice
[ 33.004659] usb 3-1: new full speed USB device using uhci_hcd and address 2
[ 33.146113] SCSI device sda: 156250000 512-byte hdwr sectors (80000 MB)
[ 33.146406] sda: Write Protect is off
[ 33.146411] sda: Mode Sense: 00 3a 00 00
[ 33.148376] SCSI device sda: write cache: enabled, read cache: enabled,
doesn't support DPO or FUA
[ 33.151653] SCSI device sda: 156250000 512-byte hdwr sectors (80000 MB)
[ 33.152390] sda: Write Protect is off
[ 33.152394] sda: Mode Sense: 00 3a 00 00
[ 33.155638] SCSI device sda: write cache: enabled, read cache: enabled,
doesn't support DPO or FUA
[ 33.155644] sda:<6>usb 3-1: configuration #1 chosen from 1 choice
[ 33.171803] sda1 sda2 <<6>hub 3-1:1.0: USB hub found
[ 33.176336] hub 3-1:1.0: 4 ports detected
[ 33.203495] sda5 >
[ 33.204722] sd 0:0:0:0: Attached scsi disk sda
[ 33.212526] sd 0:0:0:0: Attached scsi generic sg0 type 0
[ 33.212833] scsi 1:0:0:0: Attached scsi generic sg1 type 5
[EMAIL PROTECTED]:~$ cat /etc/fstab
# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
# /dev/sda1
UUID=59e08117-8097-42ba-a6d1-c2f5048d2156 / ext3
defaults,errors=remount-ro 0 1
# /dev/sda5
UUID=f55685a0-a7bc-414d-b496-ef22aa870ded none swap sw
0 0
/dev/scd0 /media/cdrom0 udf,iso9660 user,noauto 0 0
/dev/fd0 /media/floppy0 auto rw,user,noauto 0 0
[EMAIL PROTECTED]:~$
Does anyone recognize this problem and if so, is there a cure for it?
Should you need more information please don't hesitate to contact me.
I consider this also as a security vulnerability because there might be
data on the other disk while you expect it is lost.
Best regards,
Ivo Naninck
** Affects: Ubuntu
Importance: Undecided
Status: Unconfirmed
** Visibility changed to: Public
--
Random selected hard disk Ubuntu 7.04
https://bugs.launchpad.net/bugs/116670
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs