View previous topic :: View next topic |
Author |
Message |
Mr. Macdee n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 05 Mar 2009 Posts: 35
|
Posted: Sat Apr 11, 2009 6:07 pm Post subject: External USB Hardware Crashed X11 |
|
|
Whenever I connect a usb hardrive or usb CD-ROM drive (with cd in it), gnome crashes.
with a standard usb flash drive, gnome and gentoo just don't detect it. Even in lsusb, nothing changes.
With a harddrive, it isn't detected and gnome crashes, I lose keyboard and mouse functionality and I have to preform a cold reboot.
With CD player, gnome first tells me that it detects in, then displays the error that "<Name of CD/DVD> command not found" all this done in a gui pop-up. Then just before I can open the terminal and type dmesg, gnome crashes like previously stated!
I have a bunch of modules loaded, including all the ?hci and scsi drivers, vfat, ext? and lots of others. I can't give a perfect list because I am not at my computer at the moment.
Please list modules you think I should have, and I will try them as soon as possible! |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
poly_poly-man Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/2495233444c550ec2e4336.png)
Joined: 06 Dec 2006 Posts: 2477 Location: RIT, NY, US
|
Posted: Sat Apr 11, 2009 6:47 pm Post subject: |
|
|
pop over to a virtual tefminal (ctrl-alt-F1), run /etc/init.d/xdm stop, then tail -f /var/log/messages and plug in a usb device. Tell us approximately what happens.
My guess i that hal or hotplug/udev is acting up. _________________ iVBORw0KGgoAAAANSUhEUgAAA
avatar: new version of logo - see topic 838248. Potentially still a WiP. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Mr. Macdee n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 05 Mar 2009 Posts: 35
|
Posted: Sat Apr 11, 2009 7:04 pm Post subject: |
|
|
I use startx, not xdm. When I get to my computer I will post the results of plugging in a USB device.
EDIT:
would recompiling the HAL and UDEV solve anything, maybe the udev and HAL that come with the stage3 are bad for my system, or enable the usb use flag |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
poly_poly-man Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/2495233444c550ec2e4336.png)
Joined: 06 Dec 2006 Posts: 2477 Location: RIT, NY, US
|
Posted: Sat Apr 11, 2009 11:12 pm Post subject: |
|
|
Mr. Macdee wrote: | I use startx, not xdm. When I get to my computer I will post the results of plugging in a USB device.
| sure, just make sure x is not running. Quote: |
would recompiling the HAL and UDEV solve anything, maybe the udev and HAL that come with the stage3 are bad for my system, or enable the usb use flag | perhaps - always a good idea to try it. _________________ iVBORw0KGgoAAAANSUhEUgAAA
avatar: new version of logo - see topic 838248. Potentially still a WiP. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Mr. Macdee n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 05 Mar 2009 Posts: 35
|
Posted: Wed Apr 15, 2009 2:57 am Post subject: |
|
|
First of all, /var/log/messages doesn't exist, and so I used /var/log/dmesg. When I tailed that, nothing changed when I plugged a USB device in.
These are the modules I have installed,
Code: | Module Size Used by
ohci_hcd 31636 0
usblp 11008 0
cdc_acm 13600 0
usb_storage 25600 0
libusual 20244 1 usb_storage
scsi_wait_scan 1664 0
sbp2 19084 0
ohci1394 25776 0
ieee1394 67648 2 sbp2,ohci1394
test_nx 2432 0
ext4dev 180760 0
crc16 2176 1 ext4dev
jbd2 44568 1 ext4dev
msdos 7296 0
nls_cp437 5888 0
vfat 9600 0
fat 39584 2 msdos,vfat
reiserfs 179072 0
ntfs 82656 0
usbhid 37504 0
uhci_hcd 27280 0
ehci_hcd 40848 0
usbcore 124912 9 ohci_hcd,usblp,cdc_acm,usb_storage,libusual,usbhid,uhci_hcd,ehci_hcd
|
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
pappy_mcfae Watchman
![Watchman Watchman](/images/ranks/rank-G-2-watchman.gif)
![](images/avatars/2063135933479eedb93987b.jpg)
Joined: 27 Dec 2007 Posts: 5999 Location: Pomona, California.
|
Posted: Wed Apr 15, 2009 5:39 am Post subject: |
|
|
It's always best to start with the basics. Post your kernel .config, your /etc/fstab file, and the results of lspci -n and cat /proc/cpuinfo.
Blessed be!
Pappy _________________ This space left intentionally blank, except for these ASCII symbols. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Mr. Macdee n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 05 Mar 2009 Posts: 35
|
Posted: Wed Apr 15, 2009 4:57 pm Post subject: |
|
|
.config
http://pastebin.com/m77df4a98
Code: | #DEVICE MOUNT POINT FS TYPE OPTIONS DUMP PASS
/dev/sda2 none swap sw 0 0
/dev/sda1 /boot ext3 noatime,exec 0 1
/dev/sda3 / ext3 noatime,exec 0 1
/dev/sda5 /usr ext3 noatime,exec 0 1
/dev/sda6 /var ext3 noatime,exec 0 0
/dev/sda7 /var/log ext3 noatime,exec 0 0
/dev/sda8 /home ext3 noatime,exec 0 0
/dev/sda9 /tmp ext3 noatime,exec 0 0
/dev/sda10 /var/softs ext3 noatime,exec 0 0
|
Code: | 00:00.0 0600: 1106:0324 (rev 10)
00:00.1 0600: 1106:1324
00:00.2 0600: 1106:2324
00:00.3 0600: 1106:3324
00:00.4 0600: 1106:4324
00:00.7 0600: 1106:7324
00:01.0 0604: 1106:b198
00:0f.0 0101: 1106:5324
00:10.0 0c03: 1106:3038 (rev 90)
00:10.1 0c03: 1106:3038 (rev 90)
00:10.2 0c03: 1106:3038 (rev 90)
00:10.4 0c03: 1106:3104 (rev 90)
00:11.0 0601: 1106:8324
00:11.7 0600: 1106:324e
00:13.0 0600: 1106:324b
00:13.1 0604: 1106:324a
01:00.0 0300: 1106:3157 (rev 03)
02:06.0 0200: 1106:3106 (rev 8b)
80:01.0 0403: 1106:3288 (rev 10)
|
Code: | processor : 0
vendor_id : CentaurHauls
cpu family : 6
model : 10
model name : VIA Esther processor 1000MHz
stepping : 9
cpu MHz : 1000.000
cache size : 128 KB
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 1
wp : yes
flags : fpu vme de pse tsc msr pae mce apic sep mtrr pge cmov pat clflush acpi mmx fxsr sse sse2 up pni est rng rng_en ace ace_en ace2 ace2_en phe phe_en pmm pmm_en
bogomips : 1999.45
clflush size : 64
power management:
|
Posted in the order requested
Last edited by Mr. Macdee on Wed Apr 15, 2009 11:35 pm; edited 1 time in total |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
pappy_mcfae Watchman
![Watchman Watchman](/images/ranks/rank-G-2-watchman.gif)
![](images/avatars/2063135933479eedb93987b.jpg)
Joined: 27 Dec 2007 Posts: 5999 Location: Pomona, California.
|
Posted: Wed Apr 15, 2009 7:13 pm Post subject: |
|
|
I am amazed that your system ran at all. You had almost every slow-down activated. Also, with all the extra stuff turned on, the system instability is completely understandable.
There may be other issues afoot. This kernel will hopefully be the only thing needed to give you stability. Any other issues will be dealt with as they arise.
Click here for your new .config. Compile as is.
For the best results, please do the following:
1) Move your .config file out of your kernel source directory (/usr/src/linux- ).
2) Issue the command make mrproper. This is a destructive step. It returns the source to pristine condition. Unmoved .config files will be deleted!
3) Copy my .config into your source directory.
4) Issue the command make && make modules_install.
5) Install the kernel as you normally would, and reboot.
6) Once it boots, please post /var/log/dmesg so I can see how things loaded.
Blessed be!
Pappy _________________ This space left intentionally blank, except for these ASCII symbols. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Mr. Macdee n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 05 Mar 2009 Posts: 35
|
Posted: Wed Apr 15, 2009 7:57 pm Post subject: |
|
|
Quote: | For the best results, please do the following:
1) Move your .config file out of your kernel source directory (/usr/src/linux- ).
2) Issue the command make mrproper. This is a destructive step. It returns the source to pristine condition. Unmoved .config files will be deleted!
3) Copy my .config into your source directory.
4) Issue the command make && make modules_install.
5) Install the kernel as you normally would, and reboot.
6) Once it boots, please post /var/log/dmesg so I can see how things loaded. |
I am a little scared to just compile it, although I trust you know more than me, could you post what you did. A description of what you removed, and how you know my system will work with this kernel (I have had trouble in the past, with kernels).
And when the code is returned to a pristine condition, do you mean that all the .o files are removed, because won't that just slow the compilation.
And do I need to load any modules, other that the the ones I currently am (second post), or none at all.
Do I need to recompile any programs when I install a new kernel? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
pappy_mcfae Watchman
![Watchman Watchman](/images/ranks/rank-G-2-watchman.gif)
![](images/avatars/2063135933479eedb93987b.jpg)
Joined: 27 Dec 2007 Posts: 5999 Location: Pomona, California.
|
Posted: Wed Apr 15, 2009 10:32 pm Post subject: |
|
|
Mr. Macdee wrote: | I am a little scared to just compile it, although I trust you know more than me, could you post what you did. A description of what you removed, and how you know my system will work with this kernel (I have had trouble in the past, with kernels). |
If you want a diff, there are many good programs out there that will offer you a full diff. I am not about to list every change I made. Mostly because I dumped your kernel in preference for mine. There were too many incorrect settings for me to waste the time it would take to get rid of the mess in your kernel.
Why fear? Considering the huge number of incorrect settings you have set up in your present kernel, for you to be so timid after asking for help is pointless. If kernel misconfiguration hasn't killed your machine, running it with a PROPER kernel isn't going to hurt it either. I'm sorry, but I don't get that at all.
Getting past problems in kernel setup is what made me good at working with kernels. What's the worst that can possibly happen?
Quote: | And when the code is returned to a pristine condition, do you mean that all the .o files are removed, because won't that just slow the compilation. |
Yes, I mean the old .o files are gone. Once again, considering the problems with your present kernel, you NEED to get rid of the INCORRECTLY CONFIGURED .o files. Their presence can only serve to mess things up more than they are.
Quote: | And do I need to load any modules, other that the the ones I currently am (second post), or none at all.
Do I need to recompile any programs when I install a new kernel? |
No. A properly configured kernel will load modules automatically at boot without the need for modprobe invocation. The only time you have to worry is if you have blacklisted a particular module...therefore requiring it be modprobed. If you have no idea what I've just said, NO, you don't need to do anything special.
As for compiling programs against the kernel, only if you use special X video drivers that generate binary blobs. If you don't have to do such things normally, you won't have to do them now.
Once again, I fail to understand your reticence, but it's your system to do with as you please. It does kind of put the kibosh on me as far as knowing what other problems you might have over and above kernel issues.
My machines are running rather well on my seeds. I just want everyone to have the same experience.
Blessed be!
Pappy _________________ This space left intentionally blank, except for these ASCII symbols. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Mr. Macdee n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 05 Mar 2009 Posts: 35
|
Posted: Wed Apr 15, 2009 11:45 pm Post subject: |
|
|
I have started compilation (after reading your site), but my stubborn mind if still confused about the modules. I thought that I had to list the modules I wanted to load in /etc/conf.d/modules
EDIT:
I rebooted, with your kernel but USB still doesn't work. My keyboard and mouse are USB and those work?!?!
/var/log/dmesg
http://pastebin.com/m26e28fa
EDIT:
The keyboard thing caught my attention, And I found out that it is the USB Hub that may be broken. I am booting a live cd to check right now.
EDIT:
The hub doesn't work, but CD drive works now I just must have it connected to my box not the hub. As it was before, I think the new kernel fixed the locking problem by reducing the system responses to my USB plug-in. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
pappy_mcfae Watchman
![Watchman Watchman](/images/ranks/rank-G-2-watchman.gif)
![](images/avatars/2063135933479eedb93987b.jpg)
Joined: 27 Dec 2007 Posts: 5999 Location: Pomona, California.
|
Posted: Thu Apr 16, 2009 5:21 pm Post subject: |
|
|
Awesome. I figured you'd see an immediate difference.
Blessed be!
Pappy _________________ This space left intentionally blank, except for these ASCII symbols. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|
|
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
|
|