New user's registration have been
closed due to high spamming and low trafic on this forum. Please
contact forum admins directly if you need an account. Thanks !
Got problems with Bubba? Then this forum is for you.
GaryL
Posts: 87 Joined: 04 Sep 2007, 17:40
Location: Northern Ireland
Post
by GaryL » 13 Sep 2007, 04:39
Hiya
Just a quick question. I’m new to Bubba btw. I’ve done a clean fresh install with a new 500gig hard drive. Yet total disk size is only 379246mb, which works out as 370.36gb.
Now I was expecting to lose a few gig as you do with hard drives, but losing 130gig is a bit much I felt. Is this right? Or is there something up?
picy:
HDD is a Western Digital 500GB, possibly a WD5000AAJB but could easily check if need be, just can’t remember off hand.
Regards
Gary
[/img]
hooper35
Posts: 23 Joined: 13 Sep 2007, 04:43
Post
by hooper35 » 13 Sep 2007, 04:49
I have exactly the same problem. I have a WD 500g drive that I installed myself yesterday. I got exactly the same available space. The drive is:
WD5000AAKB
Caviar SE16 500gb U133 16M
GaryL
Posts: 87 Joined: 04 Sep 2007, 17:40
Location: Northern Ireland
Post
by GaryL » 13 Sep 2007, 05:53
On second look my drive is the same model as yours:
Western Digital WD5000AAKB 500GB Hard Drive 7200rpm 16MB Cache OEM
Which I bought from Ebuyer.com.
tor
Posts: 703 Joined: 06 Dec 2006, 12:24
Contact:
Post
by tor » 13 Sep 2007, 08:06
Hi,
This sounds strange. The only thing i can think of is that these disks report their size in a non expected way. Could one of you please get the contents of the
/proc/partitions , which is used by the installer to calculate the disk size, of one of these units.
A simple
when logged in on a terminal should give you that info. Further more a
[edit]Fixed typo in command[/edit]
could also be interesting.
/Tor
Last edited by
tor on 13 Sep 2007, 08:27, edited 1 time in total.
GaryL
Posts: 87 Joined: 04 Sep 2007, 17:40
Location: Northern Ireland
Post
by GaryL » 13 Sep 2007, 08:26
Can do, but it'll be another 6hrs until I get home from work.
hooper35
Posts: 23 Joined: 13 Sep 2007, 04:43
Post
by hooper35 » 13 Sep 2007, 08:36
Over to Gary. I am at work too, but would need to learn SSH etc.
GaryL
Posts: 87 Joined: 04 Sep 2007, 17:40
Location: Northern Ireland
Post
by GaryL » 13 Sep 2007, 14:53
As requested:
Code: Select all
garyl@bubba:~$ cat /proc/partitions
major minor #blocks name
3 0 396111896 hda
3 1 394540303 hda1
3 2 1566337 hda2
31 0 66 mtdblock0
31 1 1584 mtdblock1
31 2 462 mtdblock2
garyl@bubba:~$
Code: Select all
garyl@bubba:~$ df -h
Filesystem Size Used Avail Use% Mounted on
/dev/hda1 371G 432M 352G 1% /
tmpfs 62M 0 62M 0% /dev/shm
/var/samba/public 371G 432M 352G 1% /home/storage
/var/www/html 371G 432M 352G 1% /home/web
tmpfs 10M 2.3M 7.8M 23% /dev
garyl@bubba:~$
[Edit]
Also, I removed the HDD from Bubba and fitted it to a usb caddy and plugged it into my Win XP machine, heres the results:
Bubba HDD is Disk 5. (Note 88gig Unallocated)
[Edit]
SwissKnife Utility (Note Disk size = 476937Mb (465.76Gb))
GaryL
Posts: 87 Joined: 04 Sep 2007, 17:40
Location: Northern Ireland
Post
by GaryL » 13 Sep 2007, 16:14
Not quite sure if this is of any use, but here you go.
Code: Select all
bubba:/home/garyl#
hdparm -I /dev/hda
/dev/hda:
ATA device, with non-removable media
Model Number: WDC WD5000AAKB-00UKA0
Serial Number: WD-WCAPW3101066
Firmware Revision: 07.01N01
Standards:
Supported: 7 6 5 4
Likely used: 7
Configuration:
Logical max current
cylinders 16383 16383
heads 16 1
sectors/track 63 63
--
CHS current addressable sectors: 1032129
LBA user addressable sectors: 268435455
LBA48 user addressable sectors: 792223792
device size with M = 1024*1024: 386828 MBytes
device size with M = 1000*1000: 405618 MBytes (405 GB)
Capabilities:
LBA, IORDY(can be disabled)
Queue depth: 1
Standby timer values: spec'd by Standard, with device specific minimum
R/W multiple sector transfer: Max = 16 Current = 0
Recommended acoustic management value: 128, current value: 254
DMA: mdma0 mdma1 *mdma2 udma0 udma1 udma2 udma3 udma4 udma5
Cycle time: min=120ns recommended=120ns
PIO: pio0 pio1 pio2 pio3 pio4
Cycle time: no flow control=120ns IORDY flow control=120ns
Commands/features:
Enabled Supported:
* NOP cmd
* READ BUFFER cmd
* WRITE BUFFER cmd
* Host Protected Area feature set
* Look-ahead
* Write cache
* Power Management feature set
Security Mode feature set
* SMART feature set
* FLUSH CACHE EXT command
* Mandatory FLUSH CACHE command
* Device Configuration Overlay feature set
* 48-bit Address feature set
Automatic Acoustic Management feature set
SET MAX security extension
* DOWNLOAD MICROCODE cmd
* General Purpose Logging feature set
* SMART self-test
* SMART error logging
Security:
Master password revision code = 65534
supported
not enabled
not locked
not frozen
not expired: security count
not supported: enhanced erase
122min for SECURITY ERASE UNIT.
HW reset results:
CBLID- above Vih
Device num = 0 determined by the jumper
Checksum: correct
bubba:/home/garyl#
Code: Select all
bubba:/home/garyl# fdisk -l
Disk /dev/hda: 405.6 GB, 405618581504 bytes
255 heads, 63 sectors/track, 49313 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/hda1 1 49118 394540303+ 83 Linux
/dev/hda2 49119 49313 1566337+ 82 Linux swap / Solaris
bubba:/home/garyl#
GaryL
Posts: 87 Joined: 04 Sep 2007, 17:40
Location: Northern Ireland
Post
by GaryL » 14 Sep 2007, 04:00
Just a little update.
I removed the HDD from Bubba and repartitioned & reformatted it in Windows XP (NTFS file system).
The end result was 465GB, which is identical to my 500GB SATA drive in my Windows Media Center PC.
I then refitted the HDD to my Bubba and reinstalled the OS, but it still was picked up as 379 246 MB (370GB).
hooper35
Posts: 23 Joined: 13 Sep 2007, 04:43
Post
by hooper35 » 14 Sep 2007, 09:03
Lots of good information, Gary. I hope this is software issue rather than the discs themselves - sending things back is a pain.
Any thoughts Tor?
GaryL
Posts: 87 Joined: 04 Sep 2007, 17:40
Location: Northern Ireland
Post
by GaryL » 14 Sep 2007, 09:46
Well I hope its enough, cause to be quite honest I know bugger about Linux. I was just google’ing commands and giving them ago.
Its defo not a hard drive fault as it was recognized on my windows PC as 465gb.
And its not a Bubba hardware limitation as I believe Excito use Seagate 500gb drives without problem
But there could possibly be a compatibility issue with this particular model I guess, who knows?
Might see if I can use Partition Magic to expand the 376.26gb partition into the unallocated 88gb space. That would leave me with the correct 464.26gb of storage space if it worked.
But to be quite honest I still don’t think I would be happy with this even if it did work. I would rather the Bubba install process partitioned the drive correctly in the first place.
tor
Posts: 703 Joined: 06 Dec 2006, 12:24
Contact:
Post
by tor » 15 Sep 2007, 08:19
Hi,
This was a tough one.
Unforetunately it seems like Linux does not think this disk is a 500GB. /proc/partitions says that the disk contains 396111896 sectors of 1K each giving us 405GB or 377GB depending on how you interpret a MB. This is also verified by the hdparm output that GaryL provided.
Why this gets reported wrong a mystery to me. Could one of you also provide the output of dmesg so we could see how the bootlog presents the disk?
/Tor
GaryL
Posts: 87 Joined: 04 Sep 2007, 17:40
Location: Northern Ireland
Post
by GaryL » 15 Sep 2007, 08:52
Will give dmesg a go. Just need to reinstall the Bubba OS again.
Partition Magic was unable to extend the partition. But I got hold of SystemRescueCd
http://www.sysresccd.org/ and I was able to extend the Ext3 partition with it. But no matter what I tried I could not get Bubba to boot. Just kept getting the flashing LED no matter low many times i rebooted it or how long i left it.
GaryL
Posts: 87 Joined: 04 Sep 2007, 17:40
Location: Northern Ireland
Post
by GaryL » 15 Sep 2007, 09:21
Code: Select all
garyl@bubba:~$ dmesg
Linux version 2.6.16.16 (tor@sid) (gcc version 4.0.1) #1 Tue May 16 21:45:07 CEST 2006
CPU: ARM920Tid(wb) [41129200] revision 0 (ARMv4T)
Machine: Atmel AT91RM9200-DK
Memory policy: ECC disabled, Data cache writeback
On node 0 totalpages: 32768
DMA zone: 32768 pages, LIFO batch:7
DMA32 zone: 0 pages, LIFO batch:0
Normal zone: 0 pages, LIFO batch:0
HighMem zone: 0 pages, LIFO batch:0
Clocks: CPU 159 MHz, master 79 MHz, main 18.432 MHz
CPU0: D VIVT write-back cache
CPU0: I cache: 16384 bytes, associativity 64, 32 byte lines, 8 sets
CPU0: D cache: 16384 bytes, associativity 64, 32 byte lines, 8 sets
Built 1 zonelists
Kernel command line: mem=128M root=/dev/hda1 console=ttyS0,115200
AT91: 128 gpio irqs in 4 banks
PID hash table entries: 1024 (order: 10, 16384 bytes)
Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
Memory: 128MB = 128MB total
Memory: 126720KB available (2385K code, 467K data, 92K init)
Calibrating delay loop... 79.66 BogoMIPS (lpj=398336)
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
NET: Registered protocol family 16
SCSI subsystem initialized
usbcore: registered new driver usbfs
usbcore: registered new driver hub
Bluetooth: Core ver 2.8
NET: Registered protocol family 31
Bluetooth: HCI device and connection manager initialized
Bluetooth: HCI socket layer initialized
Not adding callback
buttondriver: got 0x8000
Loaded bubba buttondriver version 0.2
NetWinder Floating Point Emulator V0.97 (double precision)
Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
io scheduler noop registered
io scheduler anticipatory registered (default)
io scheduler deadline registered
io scheduler cfq registered
ds1302: init
ds1302: RTC found.
rtc_time : 14:48:18
rtc_date : 2007-09-15
at91_usart.0: ttyS0 at MMIO 0xfefff200 (irq = 1) is a AT91_SERIAL
RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
loop: loaded (max 8 devices)
PPP generic driver version 2.4.2
PPP Deflate Compression module registered
PPP BSD Compression module registered
eth0: Link now 100-FullDuplex
eth0: AT91 ethernet at 0xfefbc000 int=24 100-FullDuplex (00:03:1c:ff:f2:b4)
eth0: Davicom 9196 PHY (Copper)
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 50MHz system bus speed for PIO modes; override with idebus=xx
Registering ide devices.
Probing IDE interface ide0...
hda: probing with STATUS(0x50) instead of ALTSTATUS(0xfd)
hda: WDC WD5000AAKB-00UKA0, ATA DISK drive
hdb: probing with STATUS(0x00) instead of ALTSTATUS(0xfd)
ide0 at 0xc8810000-0xc8810007,0xc880e000 on irq 26
hda: max request size: 512KiB
hda: Host Protected Area detected.
current capacity is 792223792 sectors (405618 MB)
native capacity is 61985760239664 sectors (31736709242 MB)
hda: Host Protected Area disabled.
hda: 792223792 sectors (405618 MB) w/16384KiB Cache, CHS=49313/255/63
hda: cache flushes supported
hda: hda1 hda2
Registering done.
at91_dataflash: AT45DB161B detected [spi0] (2162688 bytes)
Creating 3 MTD partitions on "AT45DB161B.spi0":
0x00000000-0x00010800 : "bootloader"
0x00010800-0x0019c800 : "kernel"
0x0019c800-0x00210000 : "filesystem"
at91_ohci at91_ohci: AT91 OHCI
at91_ohci at91_ohci: new USB bus registered, assigned bus number 1
at91_ohci at91_ohci: irq 23, io mem 0x00300000
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
usbcore: registered new driver cdc_acm
drivers/usb/class/cdc-acm.c: v0.25:USB Abstract Control Model driver for USB modems and ISDN adapters
usbcore: registered new driver usblp
drivers/usb/class/usblp.c: v0.13: USB Printer Device Class driver
Initializing USB Mass Storage driver...
usbcore: registered new driver usb-storage
USB Mass Storage support registered.
usbcore: registered new driver usbhid
drivers/usb/input/hid-core.c: v2.6:USB HID core driver
usbcore: registered new driver asix
usbcore: registered new driver cdc_ether
usbcore: registered new driver net1080
usbcore: registered new driver cdc_subset
usbcore: registered new driver usbserial
drivers/usb/serial/usb-serial.c: USB Serial support registered for generic
usbcore: registered new driver usbserial_generic
drivers/usb/serial/usb-serial.c: USB Serial Driver core
mice: PS/2 mouse device common for all mice
Bluetooth: Virtual HCI driver ver 1.2
NET: Registered protocol family 2
IP route cache hash table entries: 2048 (order: 1, 8192 bytes)
TCP established hash table entries: 8192 (order: 3, 32768 bytes)
TCP bind hash table entries: 8192 (order: 3, 32768 bytes)
TCP: Hash tables configured (established 8192 bind 8192)
TCP reno registered
TCP bic registered
NET: Registered protocol family 1
NET: Registered protocol family 17
NET: Registered protocol family 15
Bluetooth: L2CAP ver 2.8
Bluetooth: L2CAP socket layer initialized
Bluetooth: SCO (Voice Link) ver 0.5
Bluetooth: SCO socket layer initialized
Bluetooth: RFCOMM socket layer initialized
Bluetooth: RFCOMM TTY layer initialized
Bluetooth: RFCOMM ver 1.7
Bluetooth: BNEP (Ethernet Emulation) ver 1.2
Bluetooth: BNEP filters: protocol multicast
Bluetooth: HIDP (Human Interface Emulation) ver 1.1
kjournald starting. Commit interval 5 seconds
EXT3 FS on hda1, internal journal
EXT3-fs: mounted filesystem with ordered data mode.
VFS: Mounted root (ext3 filesystem).
Freeing init memory: 92K
Adding 1566328k swap on /dev/hda2. Priority:-1 extents:1 across:1566328k
EXT3 FS on hda1, internal journal
eth0: Link now 100-FullDuplex
garyl@bubba:~$
GaryL
Posts: 87 Joined: 04 Sep 2007, 17:40
Location: Northern Ireland
Post
by GaryL » 17 Sep 2007, 10:46
Do you reckon there is a software fix for this??
Or is this a Hardware compatibility issue??
Also just for my own reference, what are the makes/models of the hard drives that you use for the following;
Bubba 80GB
Bubba 320GB
Bubba 500GB
Bubba 750GB
.