LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-08-2009, 03:09 AM   #1
Frullet
LQ Newbie
 
Registered: Feb 2009
Location: Sydney,Australia
Distribution: Slackware
Posts: 12

Rep: Reputation: 0
New kernel build / udev


I just did a kernel rebuild to fit my systems specs.
Ive seen a great performance in speed and boot time, but there is one problem. When plugging in any external devices ( thumbdrivers, external HDD(s) etc ) dmesg doesnt give me the information on what name udev has given the device.

This is snippet from the output from ( dmesg | tail -n 10 ) when plugging in a external HDD:

[ 819.784045] usb 4-1: usb wakeup-resume
[ 819.784049] usb 4-1: finish resume
[ 819.787046] hub 4-1:1.0: hub_resume
[ 819.795048] hub 4-0:1.0: resume on port 1, status 0
[ 819.795051] hub 4-0:1.0: port 1, status 0103, change 0004, 12 Mb/s
[ 819.795053] hub 4-1:1.0: state 7 ports 4 chg 0000 evt 0000
[ 821.997020] hub 4-1:1.0: hub_suspend
[ 821.999049] usb 4-1: usb auto-suspend
[ 824.010017] hub 4-0:1.0: hub_suspend
[ 824.010024] usb usb4: bus auto-suspend
[ 824.010027] ohci_hcd 0000:00:13.2: suspend root hub



To be able to find what udev has called the device, i have to now run ( udevadm monitor ).


What have i left out of the kernel build to make it behave like this?

Thank you


Also to make clear,

CONFIG_USB_ANNOUNCE_NEW_DEVICES *is* compiled into the build.

Last edited by Frullet; 03-08-2009 at 07:21 AM.
 
Old 03-08-2009, 09:53 PM   #2
Drakeo
Senior Member
 
Registered: Jan 2008
Location: Urbana IL
Distribution: Slackware, Slacko,
Posts: 3,147
Blog Entries: 3

Rep: Reputation: 336Reputation: 336Reputation: 336Reputation: 336
is this the same kernel version . and did you do a make modules_install. this is not needed for just building the same kernel version. but you did need to configure the the usb modules and build it to be loaded in the kernel. but if you did custom kernel and you did a make modules_install and none of your usb modules are loading is because you you did not configure them to be built. I see the basic usb modules loaded in dmesg that is the ones that are default in your kernel but none of the device modules for usb.
Quote:
#
# SCSI support type (disk, tape, CD-ROM)
#
CONFIG_BLK_DEV_SD=y
CONFIG_CHR_DEV_ST=y
CONFIG_CHR_DEV_OSST=m
CONFIG_BLK_DEV_SR=y
CONFIG_BLK_DEV_SR_VENDOR=y
CONFIG_CHR_DEV_SG=m
CONFIG_CHR_DEV_SCH=m
CONFIG_SCSI_ENCLOSURE=m
and
Quote:
# see USB_STORAGE Help for more information
#
CONFIG_USB_STORAGE=y
# CONFIG_USB_STORAGE_DEBUG is not set
CONFIG_USB_STORAGE_DATAFAB=y
CONFIG_USB_STORAGE_FREECOM=y
CONFIG_USB_STORAGE_ISD200=y
CONFIG_USB_STORAGE_DPCM=y
CONFIG_USB_STORAGE_USBAT=y
CONFIG_USB_STORAGE_SDDR09=y
CONFIG_USB_STORAGE_SDDR55=y
CONFIG_USB_STORAGE_JUMPSHOT=y
CONFIG_USB_STORAGE_ALAUDA=y
CONFIG_USB_STORAGE_ONETOUCH=y
CONFIG_USB_STORAGE_KARMA=y
CONFIG_USB_STORAGE_CYPRESS_ATACB=y
# CONFIG_USB_LIBUSUAL is not set
and
Quote:
# MemoryStick drivers
#
# CONFIG_MEMSTICK_UNSAFE_RESUME is not set
CONFIG_MSPRO_BLOCK=m

#
# MemoryStick Host Controller Drivers
#
CONFIG_MEMSTICK_TIFM_MS=m
CONFIG_MEMSTICK_JMICRON_38X=m
CONFIG_NEW_LEDS=y
CONFIG_LEDS_CLASS=m
all usb devices are considered scsi to linux kernel small computerized integrated systems. whether it is usb ide drive or a usb flash drive. the data transfer is under scsi.
so make sure you have scsi configured for your system.

Last edited by Drakeo; 03-08-2009 at 10:01 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Which is the kernel build directory? I Can't find kernel build files crabsody Debian 7 01-09-2007 04:48 AM
LXer: Howto: build Linux kernel module against installed kernel w/o full kernel source tree LXer Syndicated Linux News 0 09-03-2006 08:21 PM
Kernel 2.4.31 and udev merchtemeagle Slackware 5 04-04-2006 07:35 PM
Can I disable rc.udev with 2.4 kernel shepper Slackware 2 09-18-2005 08:45 PM
kernel 2.6.9 and udev ?? CloudyWizzard Debian 3 11-27-2004 10:36 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:57 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration