LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 12-30-2003, 08:37 AM   #1
ttilt
Member
 
Registered: Dec 2003
Location: Campinas, Brasil
Distribution: slackware 10
Posts: 150

Rep: Reputation: 15
no usb or network on 2.6 kernel


Hi,

I was using kernel 2.4.22-10mdk that comes w/ mandrake 9.2

I've installed 2.6, I get some strange error messages during boot-up saying some of my /etc/fstab needs to be changed. My cdrom now is no longer called /dev/scd0 but is now called /dev/hdc. Among other differences. Other than that my USB optical mouse doens't work anymore, I've already selected all the USB options on config that I can think of.

Another problem is no network either. I select all network options I can think of in the kernel configuration but I have no network enabled after boot-up.

Is there any particular option that I might be missing? Are other people having this same problem?

On a separate note: I'm using reiserfs. Does that mean that I have to select reiserfs as compiled into kernel insetad of separate module? I had already selected it as a module and it still booted-up successfully, that's why I was wondering.

Thanks for any help
 
Old 12-30-2003, 03:06 PM   #2
tokkee
Member
 
Registered: Dec 2003
Distribution: Debian, OpenBSD
Posts: 46

Rep: Reputation: 15
Re: no usb or network on 2.6 kernel

Quote:
Originally posted by ttilt
My cdrom now is no longer called /dev/scd0 but is now called /dev/hdc.

well, this should not be a problem, eh? ;) i think i've heard that before, so it should be okay...


Quote:
Originally posted by ttilt
Among other differences. Other than that my USB optical mouse doens't work anymore, I've already selected all the USB options on config that I can think of.

i just bought an usb optical mouse (logitech) today, and i got it to work without many problems. here's part of my .config (can't copy and paste right now, so I hope there won't be any typos :)):

Code:
CONFIG_USB=y
CONFIG_USB_EHCI_HCD=y #
CONFIG_USB_OHCI_HCD=y # one of them should be enough!
CONFIG_USB_UHCI_HCD=y #
CONFIG_USB_HID=y
CONFIG_USB_HIDINPUT=y
this should be all you need. since your mouse was working with 2.4.x you should not need to change your XF86Config(-4)


Quote:
Originally posted by ttilt
Another problem is no network either. I select all network options I can think of in the kernel configuration but I have no network enabled after boot-up.
network is working all right for me... didn't change anything since 2.4.x (using some sis-networkcard)


Quote:
Originally posted by ttilt
On a separate note: I'm using reiserfs. Does that mean that I have to select reiserfs as compiled into kernel insetad of separate module? I had already selected it as a module and it still booted-up successfully, that's why I was wondering.
sounds strange to me, too.... sound like the module is loaded before any harddisk-access ;) ...

Last edited by tokkee; 12-30-2003 at 03:07 PM.
 
Old 12-30-2003, 04:09 PM   #3
ttilt
Member
 
Registered: Dec 2003
Location: Campinas, Brasil
Distribution: slackware 10
Posts: 150

Original Poster
Rep: Reputation: 15
i have most of those usb options that u listed as Modules. Do you think that would be a problem?
 
Old 12-30-2003, 05:31 PM   #4
ttilt
Member
 
Registered: Dec 2003
Location: Campinas, Brasil
Distribution: slackware 10
Posts: 150

Original Poster
Rep: Reputation: 15
ok i got usb mouse to work. BUt it's working as psaux mouse when listed on the hardware tab of Mandrake Control Center.

Also, the network is still down, I try to use drakconnect but after the second screen it goes back to the beginning instead of letting me configure my ip address etc.

Also I think that my cd-burner, which was previously listed as /dev/scd0 and now is listed as /dev/hdc is not recognied as a burner as it should. But I'll worry about that later.

Thanks for the help so far. But what could be causing these other problems now? Does drakconnect work for you on 2.6 if u are using Mandrake?

Thanks
 
Old 12-30-2003, 08:28 PM   #5
ttilt
Member
 
Registered: Dec 2003
Location: Campinas, Brasil
Distribution: slackware 10
Posts: 150

Original Poster
Rep: Reputation: 15
btw.: is there a way to pause the scrolling of messages as linux boots up? I tried the pause key but it doesn't seem to work.
 
Old 12-30-2003, 08:36 PM   #6
tricky_linux
Member
 
Registered: Jul 2003
Distribution: Red Hat Linux 9.0; Old and Solid
Posts: 674

Rep: Reputation: 30
Quote:
Originally posted by ttilt

Also I think that my cd-burner, which was previously listed as /dev/scd0 and now is listed as /dev/hdc is not recognied as a burner as it should. But I'll worry about that later.
The reason why you drive changed from /dev/scd0 to /dev/hdc was that your drive was scsi emulated before and somehow after you compiled your kernel you did add string "hdc=ide-scsi" option to your boot loader which makes it back to unemulated mode. you just need add to /etc/grub.conf if you are using grub.
Don't know about lilo.

Also, for your ethenet card. do you need to compile a driver or something to get your card working? what kind ethernet card do you have?
 
Old 12-30-2003, 09:12 PM   #7
ttilt
Member
 
Registered: Dec 2003
Location: Campinas, Brasil
Distribution: slackware 10
Posts: 150

Original Poster
Rep: Reputation: 15
regarding my cd drive:

Originally I had the following line on my lilo for the 2.6.0 section (as well as for my current 2.4.22 section):
append="quiet failsafe devfs=nomount splash=silent hdc=ide-scsi acpi=ht"

But then I decided to remove that line from my 2.6.0, and only keep it at the 2.4.22-10mdk section since I thought that was more of a Mandrake dependant thing. That line includes the "hdc=ide-scsi" that u said I should remove. But like I said I had already removed it for my 2.6, so shouldn't that have fixed the problem?

as for my network:

I have network working fine for 2.4.22 (that's why I'm sending this post right now). I don't change any network settings when I go to 2.6. If I have something installed as a module that I should have as internally in the kernel, should I modprobe something? My ethernet card is some generic card called admtek. It's recognized by 2.4 fine... Maybe I have to modprobe something when in 2.6.

Thanks
 
Old 12-07-2005, 03:53 AM   #8
dsumedh
LQ Newbie
 
Registered: Dec 2005
Distribution: Slackware, Mandrake
Posts: 15

Rep: Reputation: 0
regarding u wanting to see the messages at start up, try
Code:
# dmesg | more
(after boot up,from ur shell that is)
 
Old 12-08-2005, 11:04 AM   #9
sundialsvcs
LQ Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 10,609
Blog Entries: 4

Rep: Reputation: 3905Reputation: 3905Reputation: 3905Reputation: 3905Reputation: 3905Reputation: 3905Reputation: 3905Reputation: 3905Reputation: 3905Reputation: 3905Reputation: 3905
Smile

Here's how to diagnose a problem like this ...

(1) Can the device be seen? Commands like lspci, lsusb and so on will tell you whether or not the device can be physically seen on the system bus. On 2.6 systems, there's also the /sys directory to look at...

(1a) If you have kudzu, or something like it, then take a look at its output (dmesg), and also its hardware configuration database, probably /etc/sysconfig/hwconf.

(2) Does the device exist in /dev? You pretty-much need to refer to the output from step (1) to see where the device/controller is physically located, to be sure that the dev-entry exists. On 2.6 systems with udev it's a lot easier, because the directory isn't cluttered with thousands of useless entries, and dmesg shows you the messages that it produces when identifying and registering each device.

(2a) If you conclude that the device is not there, device-name issues will be red herrings, because the naming of devices depends upon what udev or the kernel can actually see. The root cause of the problem will be the device drivers in the kernel. I like to put all of the drivers needed to boot the system directly into the kernel, but the "initrd" sequence at boot-time can also load them, from modules.

(3) User-interface device issues, specifically mice and keyboards, depend mostly on the configuration of XWindows/XOrg, assuming that the system can "see" that the devices exist.

(4) Removable-device issues can also suggest a failure of the "hot plugging" mechanism, which responds to notifications that the device has been added or removed. Hot-plugging is also a kernel selectable option, chosen at installation.

(5) If you're not sure what driver is needed, one way to "cheat" is to boot a LiveCD, then do lsmod to see what device-driver kernel modules are loaded... If the device is active, then the driver should be there, and even if it's not the best one for that device, it's obviously one that does work...
 
  


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
Network over USB 2.0s!?? FreakboY Linux - General 3 04-06-2005 08:16 AM
SuSE 9.1 USB-G Network Adapter thaw Linux - Wireless Networking 7 07-27-2004 11:14 PM
Kernel 2.6.6 kernel heads up ! (Nvidia and Alcatel usb modem users) Evilone Linux - Software 0 04-18-2004 01:08 PM
Connecting to network and router by USB arubin Linux - Networking 0 03-27-2004 05:39 PM
USB network hotplug KrYpToN Linux - Hardware 1 12-11-2003 06:39 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:53 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
Open Source Consulting | Domain Registration