LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   /dev/hda2 negative size? (https://www.linuxquestions.org/questions/linux-hardware-18/dev-hda2-negative-size-204643/)

yozd 07-13-2004 05:02 PM

/dev/hda2 negative size?
 
Hi there!

How is this possible?

$ df

Filesystem 1k-blocks Used Available Use% Mounted on
/dev/hda2 -802259910193 1 0 34% /

This is very bad, isn't?
I think it happened after the installation of firefox (+ necessary libs)
with 'apt-get install mozilla-firefox'.

A part of /var/log/messages:

Jul 13 23:01:10 yozd kernel: eepro100_detach(eth0) c5b66000
Jul 13 23:01:11 yozd kernel: cs: cb_free(bus 1)
Jul 13 23:01:11 yozd kernel: unloading PCMCIA Card Services
Jul 13 23:01:15 yozd kernel: Kernel logging (proc) stopped.
Jul 13 23:01:15 yozd kernel: Kernel log daemon terminating.
Jul 13 23:01:15 yozd exiting on signal 15
Jul 13 23:03:40 yozd syslogd 1.4.1#10: restart.
Jul 13 23:03:40 yozd kernel: klogd 1.4.1#10, log source = /proc/kmsg started.
Jul 13 23:03:40 yozd kernel: Inspecting /boot/System.map-2.2.20-idepci
Jul 13 23:03:41 yozd kernel: Loaded 8033 symbols from
/boot/System.map-2.2.20-idepci.
Jul 13 23:03:41 yozd kernel: Symbols match kernel version 2.2.20.
Jul 13 23:03:41 yozd kernel: Loaded 7 symbols from 1 module.
Jul 13 23:03:41 yozd kernel: Linux version 2.2.20-idepci (herbert@gondolin) (gcc
version 2.7.2.3) #1 Sat Apr 20 12:45:19 EST 2002
Jul 13 23:03:41 yozd kernel: BIOS-provided physical RAM map:
Jul 13 23:03:41 yozd kernel: BIOS-e801: 0009f000 @ 00000000 (usable)
Jul 13 23:03:41 yozd kernel: BIOS-e801: 05f00000 @ 00100000 (usable)
Jul 13 23:03:41 yozd kernel: Detected 233867 kHz processor.
Jul 13 23:03:41 yozd kernel: Console: colour VGA+ 80x25
Jul 13 23:03:41 yozd kernel: Calibrating delay loop... 465.30 BogoMIPS
Jul 13 23:03:41 yozd kernel: Memory: 95432k/98304k available (1164k kernel code,
412k reserved, 1224k data, 72k init)
Jul 13 23:03:41 yozd kernel: Dentry hash table entries: 16384 (order 5, 128k)
Jul 13 23:03:41 yozd kernel: Buffer cache hash table entries: 131072 (order 7,
512k)
Jul 13 23:03:41 yozd kernel: Page cache hash table entries: 32768 (order 5,
128k)
Jul 13 23:03:41 yozd kernel: CPU: Intel Mobile Pentium MMX stepping 01
Jul 13 23:03:41 yozd kernel: Checking 386/387 coupling... OK, FPU using
exception 16 error reporting.
Jul 13 23:03:41 yozd kernel: Checking 'hlt' instruction... OK.
Jul 13 23:03:41 yozd kernel: Checking for popad bug... OK.
Jul 13 23:03:41 yozd kernel: Intel Pentium with F0 0F bug - workaround enabled.
Jul 13 23:03:41 yozd kernel: POSIX conformance testing by UNIFIX
Jul 13 23:03:41 yozd kernel: PCI: PCI BIOS revision 2.10 entry at 0xf73c3
Jul 13 23:03:41 yozd kernel: PCI: Using configuration type 1
Jul 13 23:03:41 yozd kernel: PCI: Probing PCI hardware
Jul 13 23:03:41 yozd kernel: Linux NET4.0 for Linux 2.2
Jul 13 23:03:41 yozd kernel: Based upon Swansea University Computer Society
NET3.039
Jul 13 23:03:41 yozd kernel: NET4: Unix domain sockets 1.0 for Linux NET4.0.
Jul 13 23:03:41 yozd kernel: NET4: Linux TCP/IP 1.0 for NET4.0
Jul 13 23:03:41 yozd kernel: IP Protocols: ICMP, UDP, TCP
Jul 13 23:03:41 yozd kernel: TCP: Hash tables configured (ehash 131072 bhash
65536)
Jul 13 23:03:41 yozd kernel: Starting kswapd v 1.5
Jul 13 23:03:41 yozd kernel: vga16fb: initializing
Jul 13 23:03:41 yozd kernel: vga16fb: mapped to 0xc00a0000
Jul 13 23:03:41 yozd kernel: Console: switching to colour frame buffer device
80x30
Jul 13 23:03:41 yozd kernel: fb0: VGA16 VGA frame buffer device
Jul 13 23:03:41 yozd kernel: Serial driver version 4.27 with HUB-6 MANY_PORTS
MULTIPORT SHARE_IRQ enabled
Jul 13 23:03:41 yozd kernel: ttyS00 at 0x03f8 (irq = 4) is a 16550A
Jul 13 23:03:41 yozd kernel: ttyS02 at 0x03e8 (irq = 4) is a 16550A
Jul 13 23:03:41 yozd kernel: pty: 256 Unix98 ptys configured
Jul 13 23:03:41 yozd kernel: RAM disk driver initialized: 16 RAM disks of 4096K
size
Jul 13 23:03:41 yozd kernel: loop: registered device at major 7
Jul 13 23:03:41 yozd kernel: OPTI621X: IDE controller on PCI bus 00 dev a0
Jul 13 23:03:41 yozd kernel: OPTI621X: not 100%% native mode: will probe irqs
later
Jul 13 23:03:41 yozd kernel: ide0: BM-DMA at 0x1000-0x1007, BIOS settings:
hda:pio, hdb:pio
Jul 13 23:03:41 yozd kernel: hda: IBM-DTCA-23240, ATA DISK drive
Jul 13 23:03:41 yozd kernel: hdb: UJDA120, ATAPI CDROM drive
Jul 13 23:03:41 yozd kernel: ide2: ports already in use, skipping probe
Jul 13 23:03:41 yozd kernel: ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
Jul 13 23:03:41 yozd kernel: hda: IBM-DTCA-23240, 3102MB w/468kB Cache,
CHS=788/128/63
Jul 13 23:03:41 yozd kernel: hdb: ATAPI 16X CD-ROM drive, 128kB Cache
Jul 13 23:03:41 yozd kernel: Uniform CD-ROM driver Revision: 3.11
Jul 13 23:03:41 yozd kernel: Floppy drive(s): fd0 is 1.44M
Jul 13 23:03:41 yozd kernel: FDC 0 is a post-1991 82077
Jul 13 23:03:41 yozd kernel: 3c59x.c 18Feb01 Donald Becker
Jul 13 23:03:41 yozd kernel: pcnet32.c: PCI bios is present, checking for
devices...
Jul 13 23:03:41 yozd kernel: via-rhine.c:v1.08b-LK1.0.1 12/14/2000 Written by
Donald Becker
Jul 13 23:03:41 yozd kernel: Jul 13 23:03:41 yozd kernel: Partition check:
Jul 13 23:03:41 yozd kernel: hda: hda1 hda2
Jul 13 23:03:41 yozd kernel: apm: BIOS version 1.2 Flags 0x03 (Driver version
1.13)
Jul 13 23:03:41 yozd kernel: apm: disabled on user request.
Jul 13 23:03:41 yozd kernel: VFS: Mounted root (ext2 filesystem) readonly.
Jul 13 23:03:41 yozd kernel: Freeing unused kernel memory: 72k freed
Jul 13 23:03:41 yozd kernel: Adding Swap: 64476k swap-space (priority -1)
Jul 13 23:03:43 yozd kernel: Linux PCMCIA Card Services 3.1.33
Jul 13 23:03:43 yozd kernel: kernel build: 2.2.20-idepci #1 Sat Apr 20
12:45:19 EST 2002
Jul 13 23:03:43 yozd kernel: options: [pci] [cardbus] [apm]
Jul 13 23:03:43 yozd kernel: PCI routing table version 1.0 at 0xf5c00
Jul 13 23:03:43 yozd kernel: 00:11.0 -> irq 15
Jul 13 23:03:43 yozd kernel: 00:11.1 -> irq 11
Jul 13 23:03:43 yozd kernel: Intel ISA/PCI/CardBus PCIC probe:
Jul 13 23:03:43 yozd kernel: TI 1131 rev 01 PCI-to-CardBus at slot 00:11, mem
0x7fffe000
Jul 13 23:03:43 yozd kernel: host opts [0]: [ring] [pci + serial irq] [pci
irq 15] [lat 66/176] [bus 1/1]
Jul 13 23:03:43 yozd kernel: host opts [1]: [ring] [pci + serial irq] [pci
irq 11] [lat 66/176] [bus 2/2]
Jul 13 23:03:43 yozd kernel: ISA irqs (scanned) = 3,4,5,7,9,10 PCI status
changes
Jul 13 23:03:44 yozd kernel: cs: cb_alloc(bus 1): vendor 0x8086, device 0x1229
Jul 13 23:03:45 yozd kernel: eepro100.c:v1.09t 9/29/99 Donald Becker
Jul 13 23:03:46 yozd xfs: ignoring font path element
/usr/lib/X11/fonts/cyrillic/ (unreadable)
Jul 13 23:03:46 yozd kernel: cs: cb_config(bus 1)
Jul 13 23:03:46 yozd kernel: cs: IO port probe 0x0100-0x04ff: excluding
0x100-0x107 0x220-0x22f 0x250-0x257 0x330-0x337 0x378-0x37f 0x388-0x38f
0x408-0x40f 0x480-0x48f 0x4d0-0x4d7
Jul 13 23:03:46 yozd kernel: cs: IO port probe 0x0a00-0x0aff: clean.
Jul 13 23:03:46 yozd kernel: cs: IO port probe 0x0c00-0x0cff: excluding
0xcf8-0xcff
Jul 13 23:03:46 yozd kernel: fn 0 bar 1: mem 0x60060000-0x60060fff
Jul 13 23:03:46 yozd kernel: fn 0 bar 2: io 0x140-0x17f
Jul 13 23:03:46 yozd kernel: fn 0 bar 3: mem 0x60040000-0x6005ffff
Jul 13 23:03:46 yozd kernel: irq 15
Jul 13 23:03:46 yozd kernel: eepro100_attach(bus 1, function 0)
Jul 13 23:03:46 yozd kernel: eth0: Intel PCI EtherExpress Pro100 at 0xc682b000,
00:03:47:18:B2:01, IRQ 15.
Jul 13 23:03:46 yozd kernel: Board assembly 730155-001, Physical connectors
present: RJ45
Jul 13 23:03:46 yozd kernel: Primary interface chip i82555 PHY #1.
Jul 13 23:03:46 yozd kernel: General self-test: passed.
Jul 13 23:03:46 yozd kernel: Serial sub-system self-test: passed.
Jul 13 23:03:46 yozd kernel: Internal registers self-test: passed.
Jul 13 23:03:46 yozd kernel: ROM checksum self-test: passed (0xdbd8681d).
Jul 13 23:03:46 yozd kernel: Receiver lock-up workaround activated.
Jul 13 23:03:46 yozd xfs: ignoring font path element /usr/lib/X11/fonts/CID

kilou 07-13-2004 06:55 PM

well, this is probably not all that good, but it could just be an ext2 fuckup... i've seen a few odd things happen in the past.

basically, if everything works fine... leave it as is

did u fsck it ? just to make sure the drive is ok ?

yozd 07-14-2004 05:23 AM

Quote:

Originally posted by kilou
well, this is probably not all that good, but it could just be an ext2 fuckup... i've seen a few odd things happen in the past.

basically, if everything works fine... leave it as is

did u fsck it ? just to make sure the drive is ok ?

fsck:

fsck 1.27 (8-Mar-2002)
e2fsck 1.27 (8-Mar-2002)
/dev/hda2: clean, 61441/389376 files, 253218/778176 blocks

yozd 07-14-2004 05:32 PM

*kick* :cry:

Wooloomooloo 07-24-2004 08:41 PM

http://lists.debian.org/debian-user/.../msg00292.html


All times are GMT -5. The time now is 05:06 PM.