Slackware This 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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
|
07-10-2010, 12:12 AM
|
#1
|
|
Member
Registered: Aug 2003
Location: Melbourne, Australia
Distribution: Slackware, Salix and Porteus
Posts: 529
Rep:
|
boot hangs when udev encounters webcam
I have just installed slack-13.1 on an acer aspire one netbook from a usb stick by booting the install kernel with noudev. I was able to do a complete install including lilo but upon rebooting my boot hangs when encountering my webcam.
I see enough info to note the id as 0c45:62c0. This is a microdia webcam which I may be able to do something about later but in the first instance I'd like to be able to boot my system. The bios is very basic and there is no way to disable devices.
Can anyone suggest another way to bypass loading the webcam modules at boot?
|
|
|
|
07-10-2010, 03:51 AM
|
#2
|
|
Guru
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,706
|
You should blacklist the module in '/etc/modprobe.d/blacklist.conf', but if you're using the huge kernel, the driver may be built-in, in which case it won't work. You'll have to use the generic kernel + initrd.
Is it using the uvc drivers ? I don't think they come with the kernel, so it might be something else.
|
|
|
|
07-10-2010, 04:35 AM
|
#3
|
|
Senior Member
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware-current
Posts: 2,810
|
Curious.
I have this device in my Acer eMachine 250.
Running '/sbin/lsusb' gives:
Quote:
|
Bus 001 Device 002: ID 0c45:62c0 Microdia Sonix USB 2.0 Camera
|
It is supported out of the box by the uvcvideo.ko kernel module.
I am running the 2.6.33.4-smp generic kernel with an initrd.
I do not understand this:
Quote:
|
..booting the install kernel with noudev.
|
On my machine, it uses v4l that is setup by /lib/udev/rules.d/60-persistent-v4l.rules, so you will need udev for this.
|
|
|
|
07-10-2010, 06:03 AM
|
#4
|
|
Member
Registered: Aug 2003
Location: Melbourne, Australia
Distribution: Slackware, Salix and Porteus
Posts: 529
Original Poster
Rep:
|
Quote:
|
..booting the install kernel with noudev.
|
It hangs when udev is doing its thing so maybe without udev doing its thing, it won't hang, I don't know.
I do know that a webcam with a microdia chip was very problematic 2 years ago on another machine.
I don't need a webcam but running slack on this machine would be better than a tu .... so I ask.
|
|
|
|
07-11-2010, 03:02 PM
|
#5
|
|
Member
Registered: Aug 2003
Location: Melbourne, Australia
Distribution: Slackware, Salix and Porteus
Posts: 529
Original Poster
Rep:
|
Quote:
|
It is supported out of the box by the uvcvideo.ko kernel module.
|
I had another chance to try booting this box and I can see now that the uvcvideo module is loaded and that the boot hangs after the lines:
Quote:
usbcore: registered new device interface driver uvcvideo
USB Video Class driver (v0.1.0)
|
The only other things listed after the line "Triggering udev events" and before the webcam are the ethernet and ACPI
After booting with the bootimg and running lspci I can see that my wireless is a BCM4312 802.11b/g. I have found some info on the net indicating that the 2.6.33 drivers may not work with this card although theres an Arch wiki on this chipset here http://wiki.archlinux.org/index.php/Broadcom_BCM4312 which may prove usefull if indeed it is the wireless module.
|
|
|
|
07-11-2010, 03:24 PM
|
#6
|
|
Member
Registered: Aug 2005
Location: The Big Easy
Distribution: Slackware, RHEL
Posts: 678
Rep:
|
Quote:
Originally Posted by justwantin
I had another chance to try booting this box and I can see now that the uvcvideo module is loaded and that the boot hangs after the lines:
The only other things listed after the line "Triggering udev events" and before the webcam are the ethernet and ACPI
After booting with the bootimg and running lspci I can see that my wireless is a BCM4312 802.11b/g. I have found some info on the net indicating that the 2.6.33 drivers may not work with this card although theres an Arch wiki on this chipset here http://wiki.archlinux.org/index.php/Broadcom_BCM4312 which may prove usefull if indeed it is the wireless module.
|
I had a similar problem with my HP Mini and that Broadcom chip. Try black listing the following modules to see if that helps:
Code:
blacklist ssb
blacklist b43
blacklist b43-pci-bridge
Give that a try to see if it helps.
|
|
|
|
07-11-2010, 03:44 PM
|
#7
|
|
Member
Registered: Aug 2003
Location: Melbourne, Australia
Distribution: Slackware, Salix and Porteus
Posts: 529
Original Poster
Rep:
|
Thanks,
I was thinking along those lines. It'll be next on my list when I have the time.
I normally build my own boxes. Haven't purchased a computer off the shelf in a very long time, What a pain in the butt!
|
|
|
|
07-11-2010, 03:50 PM
|
#8
|
|
Member
Registered: Aug 2005
Location: The Big Easy
Distribution: Slackware, RHEL
Posts: 678
Rep:
|
Quote:
Originally Posted by justwantin
Thanks,
I was thinking along those lines. It'll be next on my list when I have the time.
I normally build my own boxes. Haven't purchased a computer off the shelf in a very long time, What a pain in the butt!
|
Yes, that was a pain to deal with. I wish I could build my own laptops. :/
|
|
|
|
07-11-2010, 04:02 PM
|
#9
|
|
Guru
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,706
|
Quote:
Originally Posted by stormtracknole
Yes, that was a pain to deal with. I wish I could build my own laptops. :/
|
That's why I don't buy laptops anymore. I ordered a pandora, maybe it will be enough to fill this gap for me.
Supposedly there may be a way to stop modules from loading by passing boot options, I've never heard of this, and it may be distro-specific.
http://www.debian.org/releases/stabl...h05s02.html.en
http://kerneltrap.org/mailarchive/li...007/1/27/48498
Last edited by H_TeXMeX_H; 07-11-2010 at 04:08 PM.
|
|
|
|
07-11-2010, 07:31 PM
|
#10
|
|
Senior Member
Registered: Oct 2003
Location: Australia
Posts: 4,424
Rep: 
|
hi justwantin
its not clear to me, if you are using wireless to connect to net or not. Also if its wireless issue maybe you could post your lspci id for that pesky device?
if its now the wireless issue, maybe you could edit your first post to change the subject, when you get a chance please?
You may like to publish your exact make and model of your computer and maybe do a search for it and wireless?
BTW I am not a wireless expert, I came here as I have some webcam experience.
good luck
|
|
|
|
07-11-2010, 08:50 PM
|
#11
|
|
Member
Registered: Aug 2003
Location: Melbourne, Australia
Distribution: Slackware, Salix and Porteus
Posts: 529
Original Poster
Rep:
|
I haven't connected to the net yet. I haven't been able to boot after install yet due to what I at first thought was udev failing on loding the web cam drivers but now thats not the problem and I'm thinking the next in line for udev would be the wireless and I'm just thinking it might be the driver stock driverfor the broadcom chipset not being quite right for my machine.
Can't do much more as I'm at work on a very thin client
|
|
|
|
07-12-2010, 03:52 AM
|
#12
|
|
Member
Registered: Aug 2003
Location: Melbourne, Australia
Distribution: Slackware, Salix and Porteus
Posts: 529
Original Poster
Rep:
|
Quote:
blacklist ssb
blacklist b43
blacklist b43-pci-bridge
|
Yes, blacklisting those modules did the trick and I've got 13.1 up and running To be precise I had booted of the install usb using the huge.s kernel and it hung on b43-pci-bridge which was the first off the rank.
I'll have a look at the Broadcom wireless modules later and will probably set up eth0 for now.
Just for the record, this was an Acer Aspire One 751. It just went to sleep and don't want to wake up LOL!
|
|
|
|
07-12-2010, 01:34 PM
|
#13
|
|
Member
Registered: Aug 2005
Location: The Big Easy
Distribution: Slackware, RHEL
Posts: 678
Rep:
|
Quote:
Originally Posted by justwantin
Yes, blacklisting those modules did the trick and I've got 13.1 up and running To be precise I had booted of the install usb using the huge.s kernel and it hung on b43-pci-bridge which was the first off the rank.
I'll have a look at the Broadcom wireless modules later and will probably set up eth0 for now.
Just for the record, this was an Acer Aspire One 751. It just went to sleep and don't want to wake up LOL!
|
Excellent!! Now, in order to get the wireless working, you will need to install the proprietary driver. Here's the slackbuild link. Reboot after installing the driver. It works great with either wicd or NetworkManager.
|
|
|
|
07-12-2010, 03:13 PM
|
#14
|
|
Member
Registered: Aug 2003
Location: Melbourne, Australia
Distribution: Slackware, Salix and Porteus
Posts: 529
Original Poster
Rep:
|
Thanks again!
did the slackbuilds up but il defer setting up wireless until I read up on it a bit. If I need a heads up I'll do it in a new thread.
How do I marke this thread solved?
|
|
|
|
07-12-2010, 03:21 PM
|
#15
|
|
Member
Registered: Aug 2005
Location: The Big Easy
Distribution: Slackware, RHEL
Posts: 678
Rep:
|
Quote:
Originally Posted by justwantin
Thanks again!
did the slackbuilds up but il defer setting up wireless until I read up on it a bit. If I need a heads up I'll do it in a new thread.
How do I marke this thread solved?
|
I don't have much experience setting up wireless through the command line. WICD sets all of that automatically. It's available on Slackware /extra.
There is a setting in the forum software that allows you to change the thread to SOLVED. I can't remember where it is though.
|
|
|
1 members found this post helpful.
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 12:32 AM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|