SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
EDIT Pinpointed the problem.. The explanation starts at post #8
I've been having alot of trouble with slack 10.1 lately on my laptop (presario x1000). I witnessed some file system corruption when i recompiled a kernel, but that's so far solved.
Now (with a clean install of kernel 2.4.28 from slack's site), when i boot up, i get a Segmentation fault. Its too fast to read, but i think it comes right after agpgart.
Also, if i login, and type dmesg, i cant see what happened in booting, all i see is pages and pages of this
The only weird thing i see now is that i get these ... 'signal errors' (signal 2) with Mplayer whenever i move any folder, surf the web, etc.. while watching an avi or dvd...
Any help appreciated.
Thanks
Code:
i810_rng: RNG not detected
i810_rng: RNG not detected
hw_random: RNG not detected
hw_random: RNG not detected
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
shpchp: shpc_init : shpc_cap_offset == 0
shpchp: shpc_init : shpc_cap_offset == 0
shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
shpchp: shpc_init : shpc_cap_offset == 0
shpchp: shpc_init : shpc_cap_offset == 0
shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
pciehp: PCI Express Hot Plug Controller Driver version: 0.5
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
pciehp: PCI Express Hot Plug Controller Driver version: 0.5
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
shpchp: shpc_init : shpc_cap_offset == 0
shpchp: shpc_init : shpc_cap_offset == 0
shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
shpchp: shpc_init : shpc_cap_offset == 0
shpchp: shpc_init : shpc_cap_offset == 0
shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
pciehp: PCI Express Hot Plug Controller Driver version: 0.5
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
pciehp: PCI Express Hot Plug Controller Driver version: 0.5
i810_rng: RNG not detected
i810_rng: RNG not detected
hw_random: RNG not detected
hw_random: RNG not detected
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
shpchp: shpc_init : shpc_cap_offset == 0
shpchp: shpc_init : shpc_cap_offset == 0
shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
shpchp: shpc_init : shpc_cap_offset == 0
shpchp: shpc_init : shpc_cap_offset == 0
shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
pciehp: PCI Express Hot Plug Controller Driver version: 0.5
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
pciehp: PCI Express Hot Plug Controller Driver version: 0.5
You sure do hate hotplug. =). Btw this problem comes before hotplug is being loaded. I've recompiled the kernel, and got rid of PCI Express, so that's gone. But i still have a
hw_random: RNG not detected
i810_rng: RNG not detected
errors as you can see. I'ts probably the usb mouse (which it detects, but is not working atm). As for data corruption, ill keep an eye out for that today and see if it happens again or not.
Also, slight off topic, When i recompile the kernel, is it safe to use 'checkinstall' instead of 'make install' ? If not, is it safe to remove kernel-ide-2.4.28 from pkgtool, since i recompile anyway?
Code:
Linux version 2.4.28 (root@xushitop) (gcc version 3.3.4) #10 Thu Dec 30 14:35:02 GMT 2004
SCSI subsystem driver Revision: 1.00
kmod: failed to exec /sbin/modprobe -s -k scsi_hostadapter, errno = 2
kmod: failed to exec /sbin/modprobe -s -k scsi_hostadapter, errno = 2
kmod: failed to exec /sbin/modprobe -s -k scsi_hostadapter, errno = 2
ieee1394: Host added: ID:BUS[0-00:1023] GUID[00023f3a380067ca]
intel8x0_measure_ac97_clock: measured 49431 usecs
intel8x0: clocking to 48000
i810_rng: RNG not detected
hw_random: RNG not detected
usb.c: registered new driver usbdevfs
usb.c: registered new driver hub
PCI: Guessed IRQ 5 for device 00:1d.7
PCI: Setting latency timer of device 00:1d.7 to 64
ehci_hcd 00:1d.7: Intel Corp. 82801DB USB2
ehci_hcd 00:1d.7: irq 5, pci mem f8c0a000
usb.c: new USB bus registered, assigned bus number 1
ehci_hcd 00:1d.7: enabled 64bit PCI DMA
PCI: cache line size of 32 is not supported by device 00:1d.7
ehci_hcd 00:1d.7: USB 2.0 enabled, EHCI 1.00, driver 2003-Dec-29/2.4
hub.c: USB hub found
hub.c: 6 ports detected
uhci.c: USB Universal Host Controller Interface driver v1.1
PCI: Guessed IRQ 10 for device 00:1d.0
PCI: Sharing IRQ 10 with 01:00.0
PCI: Sharing IRQ 10 with 02:00.0
PCI: Setting latency timer of device 00:1d.0 to 64
uhci.c: USB UHCI at I/O 0x48c0, IRQ 10
usb.c: new USB bus registered, assigned bus number 2
hub.c: USB hub found
hub.c: 2 ports detected
PCI: Guessed IRQ 5 for device 00:1d.1
PCI: Setting latency timer of device 00:1d.1 to 64
uhci.c: USB UHCI at I/O 0x48e0, IRQ 5
usb.c: new USB bus registered, assigned bus number 3
hub.c: USB hub found
hub.c: 2 ports detected
PCI: Guessed IRQ 5 for device 00:1d.2
PCI: Sharing IRQ 5 with 00:1f.1
PCI: Sharing IRQ 5 with 02:04.0
PCI: Setting latency timer of device 00:1d.2 to 64
uhci.c: USB UHCI at I/O 0x4c00, IRQ 5
usb.c: new USB bus registered, assigned bus number 4
hub.c: USB hub found
hub.c: 2 ports detected
i810_rng: RNG not detected
hw_random: RNG not detected
i810_rng: RNG not detected
hw_random: RNG not detected
i810_rng: RNG not detected
hw_random: RNG not detected
i810_rng: RNG not detected
hw_random: RNG not detected
i810_rng: RNG not detected
hw_random: RNG not detected
i810_rng: RNG not detected
hw_random: RNG not detected
i810_rng: RNG not detected
hw_random: RNG not detected
hub.c: new USB device 00:1d.7-5, assigned address 2
usb.c: USB device 2 (vend/prod 0x4b4/0x6830) is not claimed by any active driver.
i810_rng: RNG not detected
hw_random: RNG not detected
i810_rng: RNG not detected
hw_random: RNG not detected
i810_rng: RNG not detected
hub.c: new USB device 00:1d.0-1, assigned address 2
hw_random: RNG not detected
usb.c: USB device 2 (vend/prod 0x45e/0x39) is not claimed by any active driver.
i810_rng: RNG not detected
hw_random: RNG not detected
i810_rng: RNG not detected
hw_random: RNG not detected
hub.c: new USB device 00:1d.0-2, assigned address 3
usb.c: USB device 3 (vend/prod 0x4b8/0x5) is not claimed by any active driver.
i810_rng: RNG not detected
hw_random: RNG not detected
i810_rng: RNG not detected
hw_random: RNG not detected
i810_rng: RNG not detected
hw_random: RNG not detected
i810_rng: RNG not detected
hw_random: RNG not detected
Initializing USB Mass Storage driver...
usb.c: registered new driver usb-storage
scsi1 : SCSI emulation for USB Mass Storage devices
Vendor: _NEC Model: DVD_RW ND-2510A Rev: 2.04
Type: CD-ROM ANSI SCSI revision: 02
Attached scsi CD-ROM sr1 at scsi1, channel 0, id 0, lun 0
sr1: scsi-1 drive
WARNING: USB Mass Storage data integrity not assured
USB Mass Storage device found at 2
USB Mass Storage support registered.
usb.c: registered new driver usbmouse
input0: Microsoft Microsoft 5-Button Mouse with IntelliEye(TM) on usb2:2.0
usbmouse.c: v1.6:USB HID Boot Protocol mouse driver
usb.c: registered new driver hiddev
usb.c: registered new driver hid
hid-core.c: v1.8.1 Andreas Gal, Vojtech Pavlik <vojtech@suse.cz>
hid-core.c: USB HID support drivers
mice: PS/2 mouse device common for all mice
usb.c: registered new driver usblp
printer.c: usblp0: USB Bidirectional printer dev 3 if 0 alt 0 proto 2 vid 0x04B8 pid 0x0005
printer.c: v0.13: USB Printer Device Class driver
Originally posted by Cedrik Did you compile hw_random as module ? If yes, what happen when you rmmod, then
modprobe it ?
I don't think i did, i didn't see it in the kernel setup when i was modifying a few things.. And its not loaded, if i do try to modprobe it i get
Code:
root@xushitop:~# modprobe hw_random
/lib/modules/2.4.28/kernel/drivers/char/hw_random.o: init_module: No such device
/lib/modules/2.4.28/kernel/drivers/char/hw_random.o: Hint: insmod errors can be caused by incorrect module parameters, including invalid IO or IRQ parameters.
You may find more information in syslog or the output fromdmesg
/lib/modules/2.4.28/kernel/drivers/char/hw_random.o: insmod /lib/modules/2.4.28/kernel/drivers/char/hw_random.o failed
/lib/modules/2.4.28/kernel/drivers/char/hw_random.o: insmod hw_random failed
Is it important?
Quote:
For your last post, what was your last action and what programs were running in your comp ?
The usual KDE, xmms, xchat, but it happened when i tried loading Azureus. Laptop froze, and caps lock kept flashing. When i rebooted, i tried running it again, but it refused, untill i tried through the console. Afterwards i ran dmesg and got the message above.
If you're using hotplug, you could try to add hw_random to /etc/hotplug/blacklist as your
hardware does not seem have a random generator (I guess that from your output of
modprobe hw_random).
Still need help =/ I'm not sure if i should start a new thread or not, so ill just continue here..
I've managed to get rid of almost all the problems but two... I added the following to the blacklist, and dmesg is much cleaner now. I'd opt them out with a kernel recompile, but... see below.. =/
snd-intel8x0m
fglrx (drivers kept hanging)
hw_random
pciehp
pci_hotplug
shpchp
i810_rng
scsi_hostadapter
But..
I still am getting one Segmentation fault in bootup, and its from agpgart.
Sometimes it goes through, but says can't modprobe agpgart due to some error (i'll post it when i see it again).
The second problem i guess i'll solve later with a new thread.. Its got to do with the fact that my laptop totally fails on me whenever i recompile the kernel (2.4.28).. All i want to do is enable highmem (1Gig), and all i get when i recompile the kernel are segmentation faults, kernel panicks, laptop hangs, data corruption, etc... (like the random firefox, mplayer seg faults above) Leading me to revert back to the default ide kernel from slack/pb. I'm going to try not modifying anything, and just do a recompile, and see if it still happens.
Download and burn the iso image and boot from the CD, it will test your memory
Another thing to test is play with your bios values for AGP (disable fastwrite, etc...) you can put
agpart in hotplug too or boot with kernel parameter option : "noagp" or append="noagp" in a
lilo.conf
Originally posted by Cedrik You could try a memory test : http://freshmeat.net/projects/memtest86/
Download and burn the iso image and boot from the CD, it will test your memory
Thanks. I let it run for a few hours.. It did the tests 5 times over, and thankfully there were no errors. My memory is alright.
Quote:
Another thing to test is play with your bios values for AGP (disable fastwrite, etc...) you can put
agpart in hotplug too or boot with kernel parameter option : "noagp" or append="noagp" in a
lilo.conf
The laptop's BIOS is simple.. no AGP settings there. However, if i put agpgart in the blacklist, wont that prevent X from loading up?
As for the problem.. I've almost pinpointed it. Everytime i recompiled the kernel, i changed three things..
Toshiba Laptop support (n)
Dell Laptop Support (n)
High Memory Support (4Gb)
The first two, because my laptop is a Compaq (HP) Presario X1000, and the third because i have 1Gb ram. But this time, i haven't changed anything, just did a recompile, and so far everything still works fine. So i guess my problems are coming from one of these three, most probably the High mem support...
I could just enable that to make sure, but it will take time to recompile, and i don't want to risk any data corruption again.. I'm just confused to why the problems are happening, especially when i have 1Gig of ram..
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.