Sign in to follow this  
Followers 0
Payphone Ed

Freezing Problem

18 posts in this topic

For some strange reason, accessing the porn on my external HDD (connected via USB and partitioned into three volumes) will cause Linux to just freeze up... I'd hate to have to go into Windows all the time to just look at my porno... any ideas on the cause and (hopefully) a solution?

0

Share this post


Link to post
Share on other sites

heh. Don't look at pron! Check if syslog reports any funkiness when loading the usb modules and/or accessing the drive. and what exactly do you mean by "freezes" ? the terminal halts ? kernel panic ?

0

Share this post


Link to post
Share on other sites

It just locks up. Nothing on screen functions anymore, no keys work, have to force power down the computer. That kind of freeze. It literally just freezes and never recovers itself.

0

Share this post


Link to post
Share on other sites
It just locks up. Nothing on screen functions anymore, no keys work, have to force power down the computer. That kind of freeze. It literally just freezes and never recovers itself.

that sounds like a kernel panic and i've had this happen when i had a usb device plugged in that i suddenly took out of the drive.

0

Share this post


Link to post
Share on other sites

ya, that sometimes happens with USB drives. Try shutting the box down without the device plugged in, then plug it in and boot up. Linux should see it as attached on startup, and everything should work fine.

0

Share this post


Link to post
Share on other sites
It just locks up. Nothing on screen functions anymore, no keys work, have to force power down the computer. That kind of freeze. It literally just freezes and never recovers itself.

Do your num lock, caps lock and scroll lock keys start flashing when your computer goes Helen Keller?

If they do, it's a panic, if not, you are just freezing up, neither are good, but the freeze is worse.

If it's a lock up, (assuming you are in X) press ctrl+alt+f6 and walk away, get your favorite beverage (preferably alcoholic , but if you aren't 21, tough luck, grab a coke and leave Mr. Daniels alone) and make yourself a sandwich. After that, walk back to your computer to see if the screen has changed at all. If so, it's probably an I/O or a disk problem. If not, could be anything, but hey, with a sandwich in hand, all is right with the world. :lol:

Yes, there is logic behind this: I've seen boxes with disks that are starting to go behave close to what you are describing. It was a problem in the I/O scheduler. The process would request data from the bad portion of the disk disk, and the disk would repeatedly try to access the bad portion, and ultimately fail. The disk would not give the program the data it needs, so the program requests it again. Rather, rinse, repeat. Outcome: a 'hung' box, where in reality it is just REALLLLLLLLLLLLLLLLLLLLLLY slow, as it is concentrating on that disk.

0

Share this post


Link to post
Share on other sites
Do your num lock, caps lock and scroll lock keys start flashing when your computer goes Helen Keller?

heehee. Or check if they will toggle when you push the keys. If not, then you might have a problem.

Boy do I like the having Magic Sysrq keys compiled in. All precompiled kernels should have this, in my opinion.

0

Share this post


Link to post
Share on other sites

No, no flashing lights.

If I push the "Fn" key (It's a Toshiba Satellite A25 laptop) the Fn light comes on but the light may be controlled entirely by hardware.

Next time it happens I'll try hitting the Num Lock and all those keys and that Ctrl+Alt+F6 and wait trick.

Also, I am under 21 but I can't stand the taste of alcohol anyway, lol. If you think about it it's probably a good thing.

Once I get this problem fixed all that's left is getting Linux to recognize that my Trident video card does have HW OpenGL support and figuring out why Flash anims go out of sync. After that I won't need Windows anymore. :)

0

Share this post


Link to post
Share on other sites
Also, I am under 21 but I can't stand the taste of alcohol anyway, lol. If you think about it it's probably a good thing.

Once I get this problem fixed all that's left is getting Linux to recognize that my Trident video card does have HW OpenGL support and figuring out why Flash anims go out of sync. After that I won't need Windows anymore. :)

That is a good thing :P

as far as the video card, would need more details.

And for flash, it will always be out of sync, happens for everyone, flash is lame, almost exclusive x86 bullcrap, and barely works on x86 too. people that use it, need to die.

0

Share this post


Link to post
Share on other sites

Aw, but... It doesn't happen on Windows... I NEED MY HOMESTAR RUNNER FIX! XD

Anyway, lemme grab the data from the sysinfo thing... Here.

Name Trident CyberALADDiN-P4 v6.4627.22ICD_SE_NP

PNP Device ID PCI\VEN_1023&DEV_8820&SUBSYS_00011179&REV_82\4&122A2372&0&0008

Adapter Type Trident CyberALADDiN-T, Trident compatible

Adapter Description Trident CyberALADDiN-P4 v6.4627.22ICD_SE_NP

Adapter RAM 32.00 MB (33,554,432 bytes)

Installed Drivers tridxp.dll

Driver Version 6.14.1.0013

INF File oem16.inf (tridxp section)

Color Planes 1

Color Table Entries 4294967296

Resolution 1024 x 768 x 60 hertz

Bits/Pixel 32

Memory Address 0xFC000000-0xFDFFFFFF

Memory Address 0xFBC00000-0xFBFFFFFF

Memory Address 0xF8000000-0xF9FFFFFF

Memory Address 0xF7FF8000-0xF7FFFFFF

IRQ Channel IRQ 11

I/O Port 0x000003B0-0x000003BB

I/O Port 0x000003C0-0x000003DF

Memory Address 0xA0000-0xBFFFF

Driver c:\windows\system32\drivers\tridxpm.sys (6.14.1.0013 built by: WinDDK, 243.63 KB (249,472 bytes), 6/15/2003 8:56 PM)

0

Share this post


Link to post
Share on other sites

I looked in the logs, tried to find gaps where maybe there was an improper shutdown, but I couldn't find any (I'm lazy). I did the unplug and shut off then plug and power on trick, but I'll try to reproduce it again later and see if it happens again, then write down the time it happens. :ninja:

0

Share this post


Link to post
Share on other sites

Okay, here we go.

Info A: KDE stops momentairly at "Initializing Perhipherals", then resumes after about 10sec.

Info B: It locked up again. Various baubles and devices worked (Fn key, Media controls on from and DVD Drive opened). Hit Ctrl+Alt+F6, waited about 17min then gave up and restarted. Below is the contents of the /var/log/messages which I believe are pertinent to this problem.

Here's where it crashed, logs stopped at 11:31:15 (All the following stamps are that time) and Clock on taskbar froze saying 11:32:00.

Logs now:

Aug 21 11:31:15 linux kernel: hdc: packet command error: status=0x51 { DriveReady SeekComplete Error }

Aug 21 11:31:15 linux kernel: hdc: packet command error: error=0x50

Aug 21 11:31:15 linux kernel: cdrom: open failed.

Aug 21 11:31:15 linux kernel: udf: registering filesystem

Aug 21 11:31:15 linux kernel: hdc: packet command error: status=0x51 { DriveReady SeekComplete Error }

Aug 21 11:31:15 linux kernel: hdc: packet command error: error=0x50

Aug 21 11:31:15 linux kernel: cdrom: open failed.

Aug 21 11:31:15 linux submountd: mount failure, No medium found

Aug 21 11:31:15 linux kernel: subfs: unsuccessful attempt to mount media (256)

Aug 21 11:31:15 linux kernel: hdc: packet command error: status=0x51 { DriveReady SeekComplete Error }

Aug 21 11:31:15 linux kernel: hdc: packet command error: error=0x50

Aug 21 11:31:15 linux kernel: cdrom: open failed.

Aug 21 11:31:15 linux kernel: hdc: packet command error: status=0x51 { DriveReady SeekComplete Error }

Aug 21 11:31:15 linux kernel: hdc: packet command error: error=0x50

Aug 21 11:31:15 linux kernel: cdrom: open failed.

Aug 21 11:31:15 linux submountd: mount failure, No medium found

Aug 21 11:31:15 linux kernel: subfs: unsuccessful attempt to mount media (256)

Upon restarting, the logs have some of these:

Aug 21 11:50:33 linux /etc/hotplug/usb.agent[2496]: need a device for this command

Aug 21 11:50:33 linux /etc/hotplug/usb.agent[2558]: need a device for this command

Aug 21 11:50:33 linux /etc/hotplug/usb.agent[2636]: need a device for this command

Aug 21 11:50:34 linux /etc/hotplug/usb.agent[2711]: need a device for this command

Aug 21 11:50:34 linux kernel: usb 3-1: new high speed USB device using address 2

Aug 21 11:50:34 linux kernel: usb 3-1: Product: Western Digital USB Hard Drive

Aug 21 11:50:34 linux kernel: usb 3-1: Manufacturer: Western Digital Corporation

Aug 21 11:50:34 linux kernel: usb 3-1: SerialNumber: AB040511020550

Aug 21 11:50:34 linux /etc/hotplug/usb.agent[2785]: need a device for this command

Aug 21 11:50:40 linux kernel: Initializing USB Mass Storage driver...

Aug 21 11:50:40 linux kernel: scsi0 : SCSI emulation for USB Mass Storage devices

Aug 21 11:50:40 linux sshd[3203]: Server listening on :: port 22.

Aug 21 11:50:40 linux kernel: Vendor: WDC Model: WD800BB-22FRA0 Rev: 77.0

Aug 21 11:50:40 linux kernel: Type: Direct-Access ANSI SCSI revision: 02

Aug 21 11:50:40 linux kernel: USB Mass Storage device found at 2

Aug 21 11:50:40 linux kernel: usbcore: registered new driver usb-storage

Aug 21 11:50:40 linux kernel: USB Mass Storage support registered.

Aug 21 11:50:40 linux [powersaved][3138]: resmgr: server response code 200

Aug 21 11:50:40 linux kernel: hda: task_no_data_intr: status=0x51 { DriveReady SeekComplete Error }

Aug 21 11:50:40 linux kernel: hda: task_no_data_intr: error=0x04 { DriveStatusError }

Aug 21 11:50:40 linux kernel: SCSI device sda: 156301488 512-byte hdwr sectors (80026 MB)

Aug 21 11:50:40 linux kernel: sda: assuming drive cache: write through

Aug 21 11:50:40 linux kernel: sda: sda1 sda2 sda3

Aug 21 11:50:40 linux kernel: Attached scsi disk sda at scsi0, channel 0, id 0, lun 0

Aug 21 11:50:40 linux kernel: Attached scsi generic sg0 at scsi0, channel 0, id 0, lun 0, type 0

Aug 21 11:50:41 linux kernel: usbcore: registered new driver hiddev

Aug 21 11:50:41 linux kernel: usbcore: registered new driver hid

Aug 21 11:50:41 linux kernel: drivers/usb/input/hid-core.c: v2.0:USB HID core driver

Aug 21 11:50:41 linux /etc/hotplug/block.agent[3255]: new block device /block/sda

Aug 21 11:50:41 linux /etc/hotplug/block.agent[3296]: waiting for /var/lock/block.agent.lock, process 3255 holds it

Aug 21 11:50:41 linux /etc/hotplug/block.agent[3310]: waiting for /var/lock/block.agent.lock, process 3255 holds it

Aug 21 11:50:41 linux /etc/hotplug/block.agent[3319]: new block device /block/sda/sda3

Aug 21 11:50:41 linux /etc/hotplug/block.agent[3319]: mount by-path/usb-storage-AB040511020550:0:0:0p3

Aug 21 11:50:42 linux /etc/hotplug/block.agent[3296]: new block device /block/sda/sda1

Aug 21 11:50:42 linux /etc/hotplug/block.agent[3310]: waiting for /var/lock/block.agent.lock, process 3296 holds it

Aug 21 11:50:42 linux /etc/hotplug/block.agent[3296]: mount by-path/usb-storage-AB040511020550:0:0:0p1

Aug 21 11:50:43 linux /etc/hotplug/block.agent[3310]: new block device /block/sda/sda2

Aug 21 11:50:43 linux /etc/hotplug/block.agent[3310]: mount by-path/usb-storage-AB040511020550:0:0:0p2

Aug 21 11:50:44 linux kernel: lp: driver loaded but no devices found

Aug 21 11:50:44 linux kernel: serial8250: too much work for irq11

And I believe that's it... any ideas?

0

Share this post


Link to post
Share on other sites

UPDATE!

I enabled the Magic SysRq keys (They were in the kernel by default and just disabled.) and using the combination to reboot the system ( Alt+SysRq+B ) DOES reboot the system, so apparantly it's still in an operable state...

I noticed it ALWAYS freezes when I choose to load thumbnails from a directory. That's a never-fail way of reproducing it.

So, any ideas on how to fix it now? :help:

Edited by Payphone Ed
0

Share this post


Link to post
Share on other sites

Hm... It seems that the ONLY time it locks up is when I'm going through the pictures... This is weird. :wacko:

0

Share this post


Link to post
Share on other sites

Well shit... now if I don't boot with the option "acpi=oldboot" it gets stuck in the boot process just repeating the line "serial8250: Too much work for IRQ11" over and over. :\

I'd like to migrate all the way to Linux, especially now that I've gotten more used to it but this problem is making any chance of that impossible as of yet. :(

0

Share this post


Link to post
Share on other sites

YES! I think I got it! I had to manually mount the volume as a vfat volume, I just loaded a fuckload of thumbnails and it didn't freeze. :)

0

Share this post


Link to post
Share on other sites
YES! I think I got it! I had to manually mount the volume as a vfat volume, I just loaded a fuckload of thumbnails and it didn't freeze.  :)

:voteyes:

Good Job, you diagnosed a problem in Linux, asked a forum, got some suggestions, and fixed it yourself!

Consider yourself a full fledged Linux user :borg:

(FYI: No sarcasm there. Thats the rule of thumb I use in Linux.) :)

0

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0