Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Portage extraction fails during installation on old Pentium
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
free_flyer
n00b
n00b


Joined: 22 Jan 2006
Posts: 4

PostPosted: Sun Jan 22, 2006 7:32 pm    Post subject: Portage extraction fails during installation on old Pentium Reply with quote

Hi everyone.

I've run in to some problems with my Gentoo installation on a old Pentium 133 machine. I'am using the Gentoo x86 2005.1 livecd CD and been using the guides Gentoo LVM2 installation and Gentoo Linux x86 Handbook.

I hope anyone has an idea whats wrong and how it can be solved.

Everthing were working as expected until the step "5.d. Installing Portage -> Code Listing 14: Extracting the Portage snapshot" where the tar extracting fails. I used following command:

Quote:

tar xvjf portage-20060121.tar.bz2 -C /mnt/gentoo/usr


The crash dump
Quote:

Jan 22 16:40:04 livecd kernel BUG at <bad filename>:50307!
Jan 22 16:40:04 livecd invalid operand: 0000 [#1]
Jan 22 16:40:04 livecd PREEMPT SMP
Jan 22 16:40:04 livecd Modules linked in: 8139too mii dm_mod ata_piix ahci sata_
qstor sata_vsc sata_uli sata_sis sata_sx4 sata_nv sata_via sata_svw sata_sil sat
a_promise libata sbp2 ohci1394 ieee1394 sl811_hcd ohci_hcd uhci_hcd usb_storage
usbhid ehci_hcd
usbcore
Jan 22 16:40:04 livecd CPU: 0
Jan 22 16:40:04 livecd EIP: 0060:[<c01ae862>] Not tainted VLI
Jan 22 16:40:04 livecd EFLAGS: 00010286 (2.6.12-gentoo-r6)
Jan 22 16:40:04 livecd eax: 00000071 ebx: c50e7528 ecx: c5666ed8 edx: c035
a840
Jan 22 16:40:04 livecd esi: c3eecfb8 edi: c3eecfb8 ebp: c22be0e0 esp: c566
6ed4
Jan 22 16:40:04 livecd ds: 007b es: 007b ss: 0068
Jan 22 16:40:04 livecd Process kjournald (pid: 8403, threadinfo=c5666000 task=c5
e65a40)
Jan 22 16:40:04 livecd Stack: c035a840 c033bf00 c0351f0c 00000288 c035d760 00000
000 000004dc c3313b24
Jan 22 16:40:04 livecd 00000000 00000000 c46d1000 c3eec8d0 000011df 00000000 c5e
65a40 c3048550
Jan 22 16:40:04 livecd c4b8a0a0 c2b6ac6c c4b8a0a0 00000000 c10c4d60 0000001f c04
13120 00000000
Jan 22 16:40:04 livecd Call Trace:
Jan 22 16:40:04 livecd [<c011d064>]
Jan 22 16:40:04 livecd [<c01b09b2>]
Jan 22 16:40:04 livecd [<c0126b26>]
Jan 22 16:40:04 livecd [<c0126b26>]
Jan 22 16:40:04 livecd [<c033511d>]
Jan 22 16:40:04 livecd [<c0110ed5>]
Jan 22 16:40:04 livecd [<c01b08d4>]
Jan 22 16:40:04 livecd [<c01b08de>]
Jan 22 16:40:04 livecd [<c0100d39>]
Jan 22 16:40:04 livecd Code: f5 a3 f9 ff 58 8b 43 0c 5a 85 c0 74 23 68 60 d7 35
c0 68 88 02 00 00 68 0c 1f 35 c0 68 00 bf 33 c0
68 40 a8 35 c0 e8 a7 79 f6 ff <0f> 0b 83 c4 14 53 e8 54 c4 f9 ff 8b 45 30 5f 8b
70 24 8b 1e f0


I've tried twice, with the same result, but the crash doesn't occur at the same file of extraction.

My mounts
Quote:

tmpfs on / type tmpfs (rw)
/dev/cdroms/cdrom0 on /mnt/cdrom type iso9660 (ro)
/dev/loop/0 on /mnt/livecd type squashfs (ro)
proc on /proc type proc (rw,nodiratime)
sysfs on /sys type sysfs (rw)
udev on /dev type tmpfs (rw,nosuid)
devpts on /dev/pts type devpts (rw)
cachedir on /mnt/livecd/lib/splash/cache type tmpfs (rw)
tmpfs on /lib/firmware type tmpfs (rw)
tmpfs on /usr/portage type tmpfs (rw)
usbfs on /proc/bus/usb type usbfs (rw)
/dev/hda3 on /mnt/gentoo type ext3 (rw)
/dev/vg/usr on /mnt/gentoo/usr type ext3 (rw)
/dev/vg/var on /mnt/gentoo/var type ext3 (rw)
/dev/vg/home on /mnt/gentoo/home type ext3 (rw)
/dev/vg/tmp on /mnt/gentoo/tmp type ext3 (rw)
/dev/hda1 on /mnt/gentoo/boot type ext2 (rw)

Filesystem Size Used Avail Use% Mounted on
tmpfs 46M 3.6M 43M 8% /
/dev/cdroms/cdrom0 60M 60M 0 100% /mnt/cdrom
/dev/loop/0 42M 42M 0 100% /mnt/livecd
udev 46M 732K 45M 2% /dev
cachedir 42M 42M 0 100% /mnt/livecd/lib/splash/cache
tmpfs 46M 3.5M 43M 8% /lib/firmware
tmpfs 46M 0 46M 0% /usr/portage
/dev/hda3 966M 142M 776M 16% /mnt/gentoo
/dev/vg/usr 1008M 472M 486M 50% /mnt/gentoo/usr
/dev/vg/var 1008M 50M 907M 6% /mnt/gentoo/var
/dev/vg/home 496M 8.1M 463M 2% /mnt/gentoo/home
/dev/vg/tmp 496M 8.1M 463M 2% /mnt/gentoo/tmp
/dev/hda1 99M 13K 94M 1% /mnt/gentoo/boot


Modules
Quote:

Module Size Used by
ipv6 188544 10
8139too 18336 0
mii 2944 1 8139too
dm_mod 38340 5
ata_piix 6244 0
ahci 7972 0
sata_qstor 6468 0
sata_vsc 5284 0
sata_uli 4576 0
sata_sis 4448 0
sata_sx4 9924 0
sata_nv 5988 0
sata_via 5572 0
sata_svw 4868 0
sata_sil 6116 0
sata_promise 7268 0
libata 28036 12 ata_piix,ahci,sata_qstor,sata_vsc,sata_uli,sata_sis,sata_sx4,sata_nv,sata_via,sata_svw,sata_sil,sata_promise
sbp2 17160 0
ohci1394 26388 0
ieee1394 59192 2 sbp2,ohci1394
sl811_hcd 9664 0
ohci_hcd 15396 0
uhci_hcd 24368 0
usb_storage 50464 0
usbhid 26112 0
ehci_hcd 23272 0
usbcore 76892 7 sl811_hcd,ohci_hcd,uhci_hcd,usb_storage,usbhid,ehci_hcd


dmesg
Quote:

Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
Memory: 76852k/98304k available (2263k kernel code, 20944k reserved, 596k data, 192k init, 0k highmem)
Checking if this processor honours the WP bit even in supervisor mode... Ok.
Calibrating delay loop... 254.97 BogoMIPS (lpj=127488)
Mount-cache hash table entries: 512
Couldn't initialize miscdevice /dev/synth.
CPU: After generic identify, caps: 000001bf 00000000 00000000 00000000 00000000 00000000 00000000
CPU: After vendor identify, caps: 000001bf 00000000 00000000 00000000 00000000 00000000 00000000
Intel Pentium with F0 0F bug - workaround enabled.
CPU: After all inits, caps: 000001bf 00000000 00000000 00000000 00000000 00000000 00000000
Checking 'hlt' instruction... OK.
CPU0: Intel Pentium 75 - 200 stepping 0c
SMP motherboard not detected.
Local APIC not detected. Using dummy APIC emulation.
Brought up 1 CPUs
CPU0 attaching sched-domain:
domain 0: span 01
groups: 01
domain 1: span 01
groups: 01
checking if image is initramfs... it is
Freeing initrd memory: 16420k freed
NET: Registered protocol family 16
EISA bus registered
PCI: PCI BIOS revision 2.10 entry at 0xf0450, last bus=0
PCI: Using configuration type 1
mtrr: v2.0 (20020519)
ACPI: Subsystem revision 20050309
ACPI: Interpreter disabled.
Linux Plug and Play Support v0.97 (c) Adam Belay
pnp: PnP ACPI: disabled
SCSI subsystem initialized
PCI: Probing PCI hardware
PCI: Probing PCI hardware (bus 00)
Boot video device is 0000:00:0c.0
PCI: Using IRQ router PIIX/ICH [8086/7000] at 0000:00:07.0
inotify device minor=63
Squashfs 2.1 (released 2004/12/10) (C) 2002-2004 Phillip Lougher
SGI XFS with ACLs, security attributes, realtime, large block numbers, no debug enabled
SGI XFS Quota Management subsystem
Initializing Cryptographic API
Limiting direct PCI/PCI transfers.
Activating ISA DMA hang workarounds.
vesafb: framebuffer at 0xe6000000, mapped to 0xc6880000, using 3072k, total 4096k
vesafb: mode is 1024x768x16, linelength=2048, pages=0
vesafb: protected mode interface info at c000:4974
vesafb: scrolling: redraw
vesafb: Truecolor: size=0:5:6:5, shift=0:11:5:0
Console: switching to colour frame buffer device 128x48
fbsplash: console 0 using theme 'livecd-2005.1'
fbsplash: switched splash state to 'on' on console 0
fb0: VESA VGA frame buffer device
isapnp: Scanning for PnP cards...
isapnp: No Plug & Play device found
PNP: No PS/2 controller found. Probing ports directly.
serio: i8042 AUX port at 0x60,0x64 irq 12
serio: i8042 KBD port at 0x60,0x64 irq 1
Serial: 8250/16550 driver $Revision: 1.90 $ 48 ports, IRQ sharing enabled
ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
mice: PS/2 mouse device common for all mice
io scheduler noop registered
io scheduler deadline registered
RAMDISK driver initialized: 16 RAM disks of 8192K size 1024 blocksize
loop: loaded (max 8 devices)
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
PIIX3: IDE controller at PCI slot 0000:00:07.1
PIIX3: chipset revision 0
PIIX3: not 100% native mode: will probe irqs later
ide0: BM-DMA at 0xe800-0xe807, BIOS settings: hda:DMA, hdb:DMA
ide1: BM-DMA at 0xe808-0xe80f, BIOS settings: hdc:DMA, hdd:pio
Probing IDE interface ide0...
input: AT Translated Set 2 keyboard on isa0060/serio0
hda: QUANTUM FIREBALL ST4.3A, ATA DISK drive
input: ImPS/2 Generic Wheel Mouse on isa0060/serio1
hdb: QUANTUM SIROCCO1700A, ATA DISK drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
Probing IDE interface ide1...
hdc: NEC CD-ROM DRIVE:283, ATAPI CD/DVD-ROM drive
ide1 at 0x170-0x177,0x376 on irq 15
Probing IDE interface ide2...
Probing IDE interface ide3...
Probing IDE interface ide4...
Probing IDE interface ide5...
hda: max request size: 128KiB
hda: 8418816 sectors (4310 MB) w/81KiB Cache, CHS=14848/9/63, (U)DMA
hda: cache flushes not supported
hda: hda1 hda2 hda3 hda4
hdb: max request size: 128KiB
hdb: 3335472 sectors (1707 MB) w/75KiB Cache, CHS=3309/16/63, DMA
hdb: cache flushes not supported
hdb: hdb1
hdc: ATAPI 8X CD-ROM drive, 128kB Cache, DMA
Uniform CD-ROM driver Revision: 3.20
EISA: Probing bus 0 at eisa.0
EISA: Detected 0 cards.
NET: Registered protocol family 2
IP: routing cache hash table of 256 buckets, 4Kbytes
TCP established hash table entries: 4096 (order: 4, 65536 bytes)
TCP bind hash table entries: 4096 (order: 3, 49152 bytes)
TCP: Hash tables configured (established 4096 bind 4096)
NET: Registered protocol family 1
NET: Registered protocol family 17
Freeing unused kernel memory: 192k freed
usbcore: registered new driver usbfs
usbcore: registered new driver hub
usbcore: registered new driver hiddev
usbcore: registered new driver usbhid
drivers/usb/input/hid-core.c: v2.01:USB HID core driver
Initializing USB Mass Storage driver...
usbcore: registered new driver usb-storage
USB Mass Storage support registered.
USB Universal Host Controller Interface driver v2.2
PCI: Found IRQ 5 for device 0000:00:07.2
PCI: Sharing IRQ 5 with 0000:00:09.0
uhci_hcd 0000:00:07.2: UHCI Host Controller
uhci_hcd 0000:00:07.2: new USB bus registered, assigned bus number 1
uhci_hcd 0000:00:07.2: irq 5, io base 0x0000e400
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 2 ports detected
ohci_hcd: 2004 Nov 08 USB 1.1 'Open' Host Controller (OHCI) Driver (PCI)
sl811: driver sl811-hcd, 19 May 2005
ieee1394: Initialized config rom entry `ip1394'
sbp2: $Rev: 1219 $ Ben Collins <bcollins@debian.org>
libata version 1.11 loaded.
sata_sil version 0.9
PCI: Found IRQ 10 for device 0000:00:0b.0
ata1: SATA max UDMA/100 cmd 0xC6D1E080 ctl 0xC6D1E08A bmdma 0xC6D1E000 irq 10
ata2: SATA max UDMA/100 cmd 0xC6D1E0C0 ctl 0xC6D1E0CA bmdma 0xC6D1E008 irq 10
ata1: dev 0 cfg 49:2f00 82:746b 83:7f01 84:4023 85:7469 86:3c01 87:4023 88:20ff
ata1: dev 0 ATA, max UDMA7, 488397168 sectors: lba48
ata1: dev 0 configured for UDMA/100
scsi0 : sata_sil
ata2: dev 0 cfg 49:2f00 82:746b 83:7f01 84:4023 85:7469 86:3c01 87:4023 88:20ff
ata2: dev 0 ATA, max UDMA7, 488397168 sectors: lba48
ata2: dev 0 configured for UDMA/100
scsi1 : sata_sil
Vendor: ATA Model: SAMSUNG SP2504C Rev: VT10
Type: Direct-Access ANSI SCSI revision: 05
SCSI device sda: 488397168 512-byte hdwr sectors (250059 MB)
SCSI device sda: drive cache: write back
SCSI device sda: 488397168 512-byte hdwr sectors (250059 MB)
SCSI device sda: drive cache: write back
sda: unknown partition table
Attached scsi disk sda at scsi0, channel 0, id 0, lun 0
Vendor: ATA Model: SAMSUNG SP2504C Rev: VT10
Type: Direct-Access ANSI SCSI revision: 05
SCSI device sdb: 488397168 512-byte hdwr sectors (250059 MB)
SCSI device sdb: drive cache: write back
SCSI device sdb: 488397168 512-byte hdwr sectors (250059 MB)
SCSI device sdb: drive cache: write back
sdb: unknown partition table
Attached scsi disk sdb at scsi1, channel 0, id 0, lun 0
device-mapper: 4.4.0-ioctl (2005-01-12) initialised: dm-devel@redhat.com
ReiserFS: hdc: warning: sh-2021: reiserfs_fill_super: can not find reiserfs on hdc
VFS: Can't find ext3 filesystem on dev hdc.
VFS: Can't find an ext2 filesystem on dev hdc.
SQUASHFS error: Can't find a SQUASHFS superblock on hdc
FAT: bogus number of reserved sectors
VFS: Can't find a valid FAT filesystem on dev hdc.
ISO 9660 Extensions: Microsoft Joliet Level 3
ISO 9660 Extensions: RRIP_1991A
parport0: PC-style at 0x378 (0x778) [PCSPP,TRISTATE,EPP]
parport0: irq 7 detected
8139too Fast Ethernet driver 0.9.27
PCI: Found IRQ 9 for device 0000:00:0a.0
eth0: RealTek RTL8139 at 0xc6b82000, 00:0a:cd:09:1c:d7, IRQ 9
eth0: Identified 8139 chip type 'RTL-8100B/8139D'
8139too Fast Ethernet driver 0.9.27
PCI: Found IRQ 9 for device 0000:00:0a.0
eth0: RealTek RTL8139 at 0xc6b82000, 00:0a:cd:09:1c:d7, IRQ 9
eth0: Identified 8139 chip type 'RTL-8100B/8139D'
eth0: link up, 100Mbps, full-duplex, lpa 0x45E1
eth0: link up, 100Mbps, full-duplex, lpa 0x45E1
kjournald starting. Commit interval 5 seconds
EXT3 FS on hda3, internal journal
EXT3-fs: recovery complete.
EXT3-fs: mounted filesystem with ordered data mode.
Adding 506036k swap on /dev/hda2. Priority:-1 extents:1
kjournald starting. Commit interval 5 seconds
EXT3 FS on hda3, internal journal
EXT3-fs: mounted filesystem with ordered data mode.
EXT2-fs warning: mounting unchecked fs, running e2fsck is recommended
kjournald starting. Commit interval 5 seconds
EXT3 FS on dm-0, internal journal
EXT3-fs: recovery complete.
EXT3-fs: mounted filesystem with ordered data mode.
kjournald starting. Commit interval 5 seconds
EXT3 FS on dm-1, internal journal
EXT3-fs: mounted filesystem with ordered data mode.
kjournald starting. Commit interval 5 seconds
EXT3 FS on dm-2, internal journal
EXT3-fs: recovery complete.
EXT3-fs: mounted filesystem with ordered data mode.
kjournald starting. Commit interval 5 seconds
EXT3 FS on dm-3, internal journal
EXT3-fs: recovery complete.
EXT3-fs: mounted filesystem with ordered data mode.
Assertion failure in journal_commit_transaction() at fs/jbd/commit.c:648: "((&bh->b_count)->counter) == 0"


The sata drives are not part tof the installation, they will be a separate RAID-1 storage later...
Back to top
View user's profile Send private message
seren
Guru
Guru


Joined: 27 Aug 2005
Posts: 448
Location: Wisconsin

PostPosted: Mon Jan 23, 2006 9:44 am    Post subject: Reply with quote

did you check the md5sum of the portage snapshot?
Back to top
View user's profile Send private message
free_flyer
n00b
n00b


Joined: 22 Jan 2006
Posts: 4

PostPosted: Mon Jan 23, 2006 10:47 am    Post subject: Reply with quote

seren wrote:
did you check the md5sum of the portage snapshot?


Yes I did and it reported OK.

I wondering if something is wrong with the filesystem, is there a method to check that the LVM2 setup is correct?

/mnt/gentoo/usr have the size 1Gb, is that not enough for installation, it doesnt't looks like it got flooded?

The computer will later be used as a SMB fileserver with no GUI using the SATA disks in RAID-1 for storage.

I'am now running memtest from the the Knoppix CD to check if something is wrong with the HW (report later).
It was not possible to use Knoppix live CD as alternative installation method cause the lack of LVM2 tools.

*UPDATE*
Quote:

I've now been running Memtest86 for 10 hours without a single error.
Doesn't look like memory problems....
Back to top
View user's profile Send private message
nixnut
Bodhisattva
Bodhisattva


Joined: 09 Apr 2004
Posts: 10974
Location: the dutch mountains

PostPosted: Mon Jan 23, 2006 7:08 pm    Post subject: Reply with quote

Check your harddisk(s) for bad sectors too.
_________________
Please add [solved] to the initial post's subject line if you feel your problem is resolved. Help answer the unanswered

talk is cheap. supply exceeds demand
Back to top
View user's profile Send private message
free_flyer
n00b
n00b


Joined: 22 Jan 2006
Posts: 4

PostPosted: Mon Jan 23, 2006 8:27 pm    Post subject: Reply with quote

nixnut wrote:
Check your harddisk(s) for bad sectors too.


How do I run a check for bad sectors? :roll:
Is it possible from the Gentoo live CD?
Back to top
View user's profile Send private message
free_flyer
n00b
n00b


Joined: 22 Jan 2006
Posts: 4

PostPosted: Tue Jan 24, 2006 12:05 pm    Post subject: Reply with quote

I've now tried running e2fsck on all drives without any failure but does this really check for bad sectors?
Doesn't it just check that the filesystem is OK?

Did vanilla check like:
e2fsck /dev/hda3
e2fsck /dev/vg/usr

Is there any more lowlevel check I can do?
Back to top
View user's profile Send private message
Ivar
n00b
n00b


Joined: 21 May 2003
Posts: 42
Location: Mullsjö, Jönköping, Sweden

PostPosted: Tue Jan 24, 2006 3:44 pm    Post subject: Reply with quote

To check for bad blocks try 'e2fsck -c /dev/whatever'
_________________
/Ivar
Back to top
View user's profile Send private message
mdeininger
Veteran
Veteran


Joined: 15 Jun 2005
Posts: 1740
Location: Emerald Isles, observing Dublin's docklands

PostPosted: Tue Jan 24, 2006 9:40 pm    Post subject: Reply with quote

a more "generic" way would be:

Code:

 # badblocks -s /dev/hda


(this checks all of /dev/hda in read-only mode and shows a little progress indicator)

to run a read/write test, do

Code:

 # badblocks -sw /dev/hda


(the -w switch activates *destructive* write tests, you will lose all data on the disk, but it will make sure the disk is ok, you can also substitute -w for -n to do a non-destructive read/write test)
_________________
"Confident, lazy, cocky, dead." -- Felix Jongleur, Otherland

( Twitter | Blog | GitHub )
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum