LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   make/make install freeze (https://www.linuxquestions.org/questions/slackware-14/make-make-install-freeze-347570/)

Casket 07-28-2005 03:46 AM

make/make install freeze
 
Hey all,

Recently ive tried installing a few packages using the

./configure
make
make install

Installation method.

However, it always freezes? It gets part way through make or make install and then the everything just freezes, i cant change terminals(?) to kill the pid or anything.

Any ideas on why this is doing so?

keefaz 07-28-2005 05:03 AM

Does it freeze after make or make install ?
Are you in X when it freeze, if yes which X, KDE ?

Casket 07-28-2005 05:10 AM

My appologies, i should have been more specific. It freezes during the installations, and its not only when im in X.

keefaz 07-28-2005 05:15 AM

What is your filesystem, reiserfs ?
Do you run slackware 10.1 or slackware current,
if slackware current, did you upgrade glibc and all ?

Any error in /var/log/syslog ?
Did you use top command to see if there is not a process
that eat all your resource ? Also what is your machine spec
(processor + ram)

Casket 07-28-2005 05:27 AM

I run slackware 10.1 on reiserfs.

Specs: P4 @ 2.4GHz

Running /var/log/syslog (as root) gives me permission denied, running it through pico gives thousands of lines. Hope that helps

Nylex 07-28-2005 06:22 AM

Quote:

Originally posted by Casket
Running /var/log/syslog (as root) gives me permission denied, running it through pico gives thousands of lines. Hope that helps
It's not meant to be executed, it's just a log file (hence why opening it with pico works). You'll need to show some of the contents, to be able to get help (maybe just some of the end of the file).

Casket 07-28-2005 06:34 AM

Code:

Jul 28 19:04:26 subby kernel: shpchp: shpc_init : shpc_cap_offset == 0
Jul 28 19:04:26 subby insmod: /lib/modules/2.4.29/kernel/drivers/hotplug/shpchp.o.gz: in$
Jul 28 19:04:26 subby insmod: /lib/modules/2.4.29/kernel/drivers/hotplug/shpchp.o.gz: Hi$
Jul 28 19:04:26 subby insmod: /lib/modules/2.4.29/kernel/drivers/hotplug/shpchp.o.gz: in$
Jul 28 19:04:26 subby insmod: /lib/modules/2.4.29/kernel/drivers/hotplug/pciehp.o.gz: in$
Jul 28 19:04:26 subby insmod: /lib/modules/2.4.29/kernel/drivers/hotplug/pciehp.o.gz: Hi$
Jul 28 19:04:26 subby insmod: /lib/modules/2.4.29/kernel/drivers/hotplug/pciehp.o.gz: in$
Jul 28 19:04:26 subby kernel: shpchp: shpc_init : shpc_cap_offset == 0
Jul 28 19:04:26 subby insmod: /lib/modules/2.4.29/kernel/drivers/hotplug/shpchp.o.gz: in$
Jul 28 19:04:26 subby insmod: /lib/modules/2.4.29/kernel/drivers/hotplug/shpchp.o.gz: Hi$
Jul 28 19:04:26 subby insmod: /lib/modules/2.4.29/kernel/drivers/hotplug/shpchp.o.gz: in$
Jul 28 19:04:26 subby insmod: /lib/modules/2.4.29/kernel/drivers/hotplug/pciehp.o.gz: in$
Jul 28 19:04:26 subby insmod: /lib/modules/2.4.29/kernel/drivers/hotplug/pciehp.o.gz: Hi$
Jul 28 19:04:26 subby insmod: /lib/modules/2.4.29/kernel/drivers/hotplug/pciehp.o.gz: in$
Jul 28 19:04:26 subby kernel: shpchp: shpc_init : shpc_cap_offset == 0
Jul 28 19:04:26 subby insmod: /lib/modules/2.4.29/kernel/drivers/hotplug/shpchp.o.gz: in$
Jul 28 19:04:26 subby insmod: /lib/modules/2.4.29/kernel/drivers/hotplug/shpchp.o.gz: Hi$
Jul 28 19:04:26 subby insmod: /lib/modules/2.4.29/kernel/drivers/hotplug/shpchp.o.gz: in$
Jul 28 19:04:26 subby insmod: /lib/modules/2.4.29/kernel/drivers/hotplug/pciehp.o.gz: in$
Jul 28 19:04:26 subby insmod: /lib/modules/2.4.29/kernel/drivers/hotplug/pciehp.o.gz: Hi$
Jul 28 19:04:26 subby insmod: /lib/modules/2.4.29/kernel/drivers/hotplug/pciehp.o.gz: in$
Jul 28 19:04:26 subby insmod: /lib/modules/2.4.29/kernel/drivers/hotplug/pciehp.o.gz: in$
Jul 28 19:04:26 subby insmod: /lib/modules/2.4.29/kernel/drivers/hotplug/pciehp.o.gz: Hi$
Jul 28 19:04:26 subby insmod: /lib/modules/2.4.29/kernel/drivers/hotplug/pciehp.o.gz: in$
Jul 28 19:04:26 subby kernel: shpchp: shpc_init : shpc_cap_offset == 0
Jul 28 19:04:26 subby insmod: /lib/modules/2.4.29/kernel/drivers/hotplug/shpchp.o.gz: in$
Jul 28 19:04:26 subby insmod: /lib/modules/2.4.29/kernel/drivers/hotplug/shpchp.o.gz: Hi$
Jul 28 19:04:26 subby insmod: /lib/modules/2.4.29/kernel/drivers/hotplug/shpchp.o.gz: in$
Jul 28 19:04:26 subby insmod: /lib/modules/2.4.29/kernel/drivers/hotplug/pciehp.o.gz: in$
Jul 28 19:04:26 subby insmod: /lib/modules/2.4.29/kernel/drivers/hotplug/pciehp.o.gz: Hi$
Jul 28 19:04:26 subby insmod: /lib/modules/2.4.29/kernel/drivers/hotplug/pciehp.o.gz: in$
Jul 28 19:04:27 subby kernel: shpchp: shpc_init : shpc_cap_offset == 0
Jul 28 19:04:27 subby insmod: /lib/modules/2.4.29/kernel/drivers/hotplug/shpchp.o.gz: in$
Jul 28 19:04:27 subby insmod: /lib/modules/2.4.29/kernel/drivers/hotplug/shpchp.o.gz: Hi$
Jul 28 19:04:27 subby insmod: /lib/modules/2.4.29/kernel/drivers/hotplug/shpchp.o.gz: in$
Jul 28 19:04:27 subby insmod: /lib/modules/2.4.29/kernel/drivers/hotplug/pciehp.o.gz: in$
Jul 28 19:04:27 subby insmod: /lib/modules/2.4.29/kernel/drivers/hotplug/pciehp.o.gz: Hi$
Jul 28 19:04:27 subby insmod: /lib/modules/2.4.29/kernel/drivers/hotplug/pciehp.o.gz: in$
Jul 28 19:04:27 subby kernel: shpchp: shpc_init : shpc_cap_offset == 0
Jul 28 19:04:27 subby insmod: /lib/modules/2.4.29/kernel/drivers/hotplug/shpchp.o.gz: in$
Jul 28 19:04:27 subby insmod: /lib/modules/2.4.29/kernel/drivers/hotplug/shpchp.o.gz: Hi$
Jul 28 19:04:27 subby insmod: /lib/modules/2.4.29/kernel/drivers/hotplug/shpchp.o.gz: in$
Jul 28 19:04:27 subby insmod: /lib/modules/2.4.29/kernel/drivers/hotplug/shpchp.o.gz: in$
Jul 28 19:04:27 subby insmod: /lib/modules/2.4.29/kernel/drivers/hotplug/shpchp.o.gz: Hi$
Jul 28 19:04:27 subby insmod: /lib/modules/2.4.29/kernel/drivers/hotplug/shpchp.o.gz: in$
Jul 28 19:04:27 subby insmod: /lib/modules/2.4.29/kernel/drivers/hotplug/pciehp.o.gz: in$
Jul 28 19:04:27 subby insmod: /lib/modules/2.4.29/kernel/drivers/hotplug/pciehp.o.gz: Hi$
Jul 28 19:04:27 subby insmod: /lib/modules/2.4.29/kernel/drivers/hotplug/pciehp.o.gz: in$
Jul 28 19:04:27 subby kernel: shpchp: shpc_init : shpc_cap_offset == 0
Jul 28 19:04:27 subby insmod: /lib/modules/2.4.29/kernel/drivers/hotplug/shpchp.o.gz: in$
Jul 28 19:04:27 subby insmod: /lib/modules/2.4.29/kernel/drivers/hotplug/shpchp.o.gz: Hi$
Jul 28 19:04:27 subby insmod: /lib/modules/2.4.29/kernel/drivers/hotplug/shpchp.o.gz: in$
Jul 28 19:04:27 subby insmod: /lib/modules/2.4.29/kernel/drivers/hotplug/pciehp.o.gz: in$
Jul 28 19:04:27 subby insmod: /lib/modules/2.4.29/kernel/drivers/hotplug/pciehp.o.gz: Hi$
Jul 28 19:04:27 subby insmod: /lib/modules/2.4.29/kernel/drivers/hotplug/pciehp.o.gz: in$

Is this what is wanted? Appologies if its not

keefaz 07-28-2005 07:10 AM

Add shpchp and pciehp to /etc/hotplug/blacklist with :
Code:

echo shpchp >> /etc/hotplug/blacklist
echo  pciehp >> /etc/hotplug/blacklist

(do these commands as root)

Casket 07-28-2005 08:12 AM

Unfortuantly that didnt work.

I tried to install CUPS yet again, and it froze during make.

keefaz 07-28-2005 08:26 AM

Nothing is magic :p
That should have stopped the errors that fill your /var/log/syslog though

I assume you wail a little time before consider the system is frozen, right ?

Now what is the output with :
Code:

tail -n 20 /var/log/syslog

Casket 07-28-2005 08:52 AM

Quote:

I assume you wail a little time before consider the system is frozen, right ?
Your assumption was correct xD

Code:

root@subby:~# tail -n 20 /var/log/syslog
Jul 28 23:01:49 subby kernel: reiserfs: found format "3.6" with standard journal
Jul 28 23:01:49 subby kernel: reiserfs: checking transaction log (device ide0(3,72)) ...
Jul 28 23:01:49 subby kernel: for (ide0(3,72))
Jul 28 23:01:49 subby kernel: ide0(3,72):Using r5 hash to sort names
Jul 28 23:01:49 subby cardmgr[132]: no pcmcia driver in /proc/devices
Jul 28 23:01:51 subby kernel: usb.c: USB device 2 (vend/prod 0xc45/0x1050) is not claimed by any active driver.
Jul 28 23:01:56 subby kernel:  Vendor: USB MASS  Model:  STORAGE DEVICE  Rev: 0.1ß
Jul 28 23:01:56 subby kernel:  Type:  Direct-Access                      ANSI SCSI revision: 02
Jul 28 23:01:56 subby kernel: Attached scsi removable disk sda at scsi1, channel 0, id 0, lun 0
Jul 28 23:01:56 subby kernel: Current 00:00: sns = 70  2
Jul 28 23:01:56 subby kernel: ASC=3a ASCQ= 0
Jul 28 23:01:56 subby kernel: Raw sense data:0x70 0x00 0x02 0x00 0x00 0x00 0x00 0x0a 0x00 0x00 0x00 0x00 0x3a 0x00 0x00 0x00 0x00 0x00
Jul 28 23:01:56 subby kernel: sda : READ CAPACITY failed.
Jul 28 23:01:56 subby kernel: sda : status = 1, message = 00, host = 0, driver = 08
Jul 28 23:01:56 subby kernel: Current sd00:00: sns = 70  2
Jul 28 23:01:56 subby kernel: ASC=3a ASCQ= 0
Jul 28 23:01:56 subby kernel: Raw sense data:0x70 0x00 0x02 0x00 0x00 0x00 0x00 0x0a 0x00 0x00 0x00 0x00 0x3a 0x00 0x00 0x00 0x00 0x00
Jul 28 23:01:56 subby kernel: sda : block size assumed to be 512 bytes, disk size 1GB.
Jul 28 23:01:56 subby kernel:  I/O error: dev 08:00, sector 0
Jul 28 23:01:56 subby kernel:  unable to read partition table


keefaz 07-28-2005 08:58 AM

Now what is this USB device the system complain about ?
Maybe post the output with :
Code:

/sbin/lspci | grep -i usb
lsmod

Did you try to unplug it before boot ?

Casket 07-28-2005 09:20 AM

Code:

root@subby:/# /sbin/lspci | grep -i usb
00:02.2 USB Controller: Silicon Integrated Systems [SiS] USB 1.0 Controller (rev
07)
00:02.3 USB Controller: Silicon Integrated Systems [SiS] USB 1.0 Controller (rev
07)
00:0b.0 USB Controller: VIA Technologies, Inc. VT6202 [USB 2.0 controller] (rev 50)
00:0b.1 USB Controller: VIA Technologies, Inc. VT6202 [USB 2.0 controller] (rev 50)
00:0b.2 USB Controller: VIA Technologies, Inc. USB 2.0 (rev 51)

Code:

root@subby:/# lsmod
Module                  Size  Used by    Not tainted
snd-pcm-oss            36704  0
snd-mixer-oss          12152  0  [snd-pcm-oss]
usb-storage            62336  0  (unused)
usb-ohci              19368  0  (unused)
snd-intel8x0          18080  0
snd-ac97-codec        52472  0  [snd-intel8x0]
snd-pcm                54504  0  [snd-pcm-oss snd-intel8x0 snd-ac97-codec]
snd-timer              13412  0  [snd-pcm]
snd                    31268  0  [snd-pcm-oss snd-mixer-oss snd-intel8x0
snd-ac97-codecsnd-pcm snd-timer]
soundcore              3396  4  [snd]
snd-page-alloc          4712  0  [snd-mixer-oss snd-intel8x0 snd-pcm snd-timer
snd]
uhci                  24284  0  (unused)
ehci-hcd              17516  0  (unused)
usbcore                58860  1  [usb-storage usb-ohci uhci ehci-hcd]
pcmcia_core            39172  0
ntfs                  51232  2  (autoclean)
ide-scsi                9392  0
8139too                13928  1
mii                    2272  0  [8139too]
crc32                  2880  0  [8139too]
agpgart                45092  0  (unused)

Stupid me unplugged 2 usb devices (scanner and printer) and forgot to plug them
back in. Ive done that now and restarted.

Code:

james@subby:~$ /sbin/lspci | grep -i usb
00:02.2 USB Controller: Silicon Integrated Systems [SiS] USB 1.0 Controller (rev 07)
00:02.3 USB Controller: Silicon Integrated Systems [SiS] USB 1.0 Controller (rev 07)
00:0b.0 USB Controller: VIA Technologies, Inc. VT6202 [USB 2.0 controller] (rev 50)
00:0b.1 USB Controller: VIA Technologies, Inc. VT6202 [USB 2.0 controller] (rev 50)
00:0b.2 USB Controller: VIA Technologies, Inc. USB 2.0 (rev 51)

james@subby:~$ lsmod
Module                  Size  Used by    Not tainted
snd-pcm-oss            36704  0
snd-mixer-oss          12152  0 [snd-pcm-oss]
usb-storage            62336  0 (unused)
printer                7648  0 (unused)
scanner                10720  0 (unused)
usb-ohci              19368  0 (unused)
snd-intel8x0          18080  0
snd-ac97-codec        52472  0 [snd-intel8x0]
snd-pcm                54504  0 [snd-pcm-oss snd-intel8x0 snd-ac97-codec]
snd-timer              13412  0 [snd-pcm]
snd                    31268  0 [snd-pcm-oss snd-mixer-oss snd-intel8x0 snd-ac97-codec snd-pcm snd-timer]
soundcore              3396  4 [snd]
snd-page-alloc          4712  0 [snd-mixer-oss snd-intel8x0 snd-pcm snd-timer snd]
uhci                  24284  0 (unused)
ehci-hcd              17516  0 (unused)
usbcore                58860  1 [usb-storage printer scanner usb-ohci uhci ehci-hcd]
pcmcia_core            39172  0
ntfs                  51232  2 (autoclean)
ide-scsi                9392  0
8139too                13928  1
mii                    2272  0 [8139too]
crc32                  2880  0 [8139too]
agpgart                45092  0 (unused)


keefaz 07-28-2005 09:38 AM

You don't need to reboot when pluging and unpluging usb devices
(I usually look at dmesg command output before and after I plug
an usb drive to see how it goes)

Did you try to unplug the usb device before attempt a make install ?
(sounds weird I know, but anyway...)

You are sure that the system freeze on make install but not on make
aren't you ?

Casket 07-28-2005 09:46 AM

Nope it freezes on both, weird huh?

And yes to the unplug of USB.

Oh well, enough for one night, sleep time :P. Thanks very much for your help.


All times are GMT -5. The time now is 11:50 AM.