Bug #82314 in linux-source-2.6.20 (Ubuntu), test result

From: yong Jung
Date: Wed May 30 2007 - 11:55:26 EST


Hi,
.
According to Kyle's recommendation,
https://bugs.launchpad.net/ubuntu/+source/linux-source-2.6.20/+bug/82314,
we tested ignore_hpa option after upgrading to
kernel-2.6.20.10.
But it didn't work as the following messages.
In fdisk output, it can't show us the whole disk size.
In messages file, we found that the system found hpa
area and it's size.
We are ready to more test after the patch modification
soon.
If you don't mind, please check my mistakes in this
test.
............................
[root@localhost log]# df -k
Filesystem 1K-blocks Used Available
Use% Mounted on
/dev/mapper/VolGroup00-LogVol00
21092956 5174144 15704872
25% /
/dev/sda2 101105 18457 77427
20% /boot
tmpfs 448556 0 448556
0% /dev/shm
[root@localhost log]# fdisk -l
Disk /dev/sda: 239.2 GB, 239282664960 bytes
255 heads, 63 sectors/track, 29091 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id
System
/dev/sda1 * 1 26181 210298851 7
HPFS/NTFS
/dev/sda2 26182 26194 104422+ 83
Linux
/dev/sda3 26195 29091 23270152+ 8e
Linux LVM
[root@localhost log]#

/var/log/messages
..
May 28 17:36:49 localhost kernel: ata3: SATA link up
1.5 Gbps (SStatus 113 SControl 300)
May 28 17:36:49 localhost kernel: ata3.00:
ata_hpa_resize 1: sectors = 467348955, hpa_sectors =
488397168
May 28 17:36:49 localhost kernel: ata3.00: Host
Protected Area detected:
May 28 17:36:49 localhost kernel: current size:
467348955 sectors
May 28 17:36:49 localhost kernel: native size:
488397168 sectors
May 28 17:36:49 localhost kernel: ata3.00: ATA-7:
SAMSUNG SP2504C, VT100-50, max UDMA7
May 28 17:36:49 localhost kernel: ata3.00: 467348955
sectors, multi 16: LBA48 NCQ (depth 0/32)
May 28 17:36:49 localhost kernel: ata3.00:
ata_hpa_resize 1: sectors = 467348955, hpa_sectors =
488397168
May 28 17:36:49 localhost kernel: ata3.00: Host
Protected Area detected:
May 28 17:36:49 localhost kernel: current size:
467348955 sectors
May 28 17:36:49 localhost kernel: native size:
488397168 sectors
May 28 17:36:49 localhost kernel: ata3.00: configured
for UDMA/100
May 28 17:36:49 localhost kernel: scsi3 : sata_sil
May 28 17:36:49 localhost kernel: ata4: SATA link down
(SStatus 0 SControl 300)
May 28 17:36:49 localhost kernel: scsi 2:0:0:0:
Direct-Access ATA SAMSUNG SP2504C VT10 PQ: 0
ANSI: 5
May 28 17:36:49 localhost kernel: SCSI device sda:
467348955 512-byte hdwr sectors (239283 MB)
May 28 17:36:49 localhost kernel: sda: Write Protect
is off
May 28 17:36:49 localhost kernel: SCSI device sda:
write cache: enabled, read cache: enabled, doesn't
support DPO or FUA
May 28 17:36:49 localhost kernel: SCSI device sda:
467348955 512-byte hdwr sectors (239283 MB)
May 28 17:36:49 localhost kernel: sda: Write Protect
is off
May 28 17:36:49 localhost kernel: SCSI device sda:
write cache: enabled, read cache: enabled, doesn't
support DPO or FUA
..

dmesg
..
libata version 2.00 loaded.
sata_sil 0000:00:11.0: version 2.0
ACPI: PCI Interrupt 0000:00:11.0[A] -> GSI 23 (level,
low) -> IRQ 17
ata1: SATA max UDMA/100 cmd 0xF884E080 ctl 0xF884E08A
bmdma 0xF884E000 irq 17
ata2: SATA max UDMA/100 cmd 0xF884E0C0 ctl 0xF884E0CA
bmdma 0xF884E008 irq 17
scsi0 : sata_sil
PM: Adding info for No Bus:host0
ata1: SATA link down (SStatus 0 SControl 300)
scsi1 : sata_sil
..

grub boot command:
root (hd0,1)
kernel /vmlinuz-2.6.20.10 ro root=LABEL=/ rhgb quiet
initrd /initrd-2.6.20.10.img
boot libata.ignore_hpa=1

Friendly,
Nobel


________________________________________________________
180도 달라진 야후! 메일 - 신세대 메일? 이제 새로운 야후! 메일에서 만나보세요.
http://kr.content.mail.yahoo.com/cgland
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/