LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 09-09-2004, 06:01 PM   #1
Lord Zoltar
Member
 
Registered: Jun 2004
Distribution: Slackware
Posts: 200

Rep: Reputation: 30
kernel 2.6.7 configuration issues and mouse doesn't work


I just finished installing a new kernel, 2.6.7 to get the nvidia driver working. details are here: http://www.linuxquestions.org/questi...5&pagenumber=3

anyways, the new kernel works fine with the nvidia driver, but my mouse doesn't work at all!
It's NOT a driver issue like I originally thought because I went back to the nv driver with kernel 2.6.7 and still the mouse refuses to work. I thought maybe I had compiled the kernel wrong, but I can't tell for sure because KDE won't let me configure a kernel >=2.5.
also, for the /boot/config* files:
After I installed the new kernel, /boot/config was a link to /boot/config-2.4.26 At first I thought this might be the problem but `diff config-2.4.26 config-2.6.7` returned nothing. So then I copied /usr/src/linux/.config (where linux -> linux-2.6.7) to /boot and renamed it config-2.6.7, since this was the config file i used to compile the kernel, does this make sense to do? then I linked /boot/config to the new /boot/config-2.6.7.
STILL THE MOUSE DOES NOT WORK!!!!

How can I configure the kernel, or check how it is currently configured? I tried running `make menuconfig` in /usr/src/linux but it prompted me to run make. I didn't want to compile a whole new kernel, just to see what was in my cuirrent one!
 
Old 09-09-2004, 06:57 PM   #2
lupin_the_3rd
Member
 
Registered: Oct 2003
Location: Memphis, TN
Distribution: Slackware current
Posts: 485

Rep: Reputation: 30
you should be able to run make menuconfig without running make... is it telling you to run make before the menuconfig comes up? if so... /usr/src/linux is probably a symlink to the 2.4.26 sources since you built the new one in /usr/src/linux-2.6.7 right?


Also, make install would have copied over a new config, System.map, and vmlinuz if you edited the Makefile in /usr/src/linux-2.6.7.

I'm willing to keep helping though...
 
Old 09-09-2004, 07:05 PM   #3
Lord Zoltar
Member
 
Registered: Jun 2004
Distribution: Slackware
Posts: 200

Original Poster
Rep: Reputation: 30
ls -l /usr/src/linux
lrwxrwxrwx 1 root root 11 2004-09-08 20:50 /usr/src/linux -> linux-2.6.7

When I use `make menuconfig` it really wants me to rebuild the kernel:

/usr/src/linux# make menuconfig
scripts/kconfig/mconf arch/i386/Kconfig
#
# using defaults found in .config
#


*** End of Linux kernel configuration.
*** Execute 'make' to build the kernel or try 'make help'.
 
Old 09-09-2004, 07:18 PM   #4
lupin_the_3rd
Member
 
Registered: Oct 2003
Location: Memphis, TN
Distribution: Slackware current
Posts: 485

Rep: Reputation: 30
weird... try copying /boot/config-2.6.7 back to /usr/src/linux/.config and run make menuconfig...
 
Old 09-09-2004, 08:52 PM   #5
Lord Zoltar
Member
 
Registered: Jun 2004
Distribution: Slackware
Posts: 200

Original Poster
Rep: Reputation: 30
OK... everything (almost) seems to be working. The mouse problem was fixed. turns out I needed to add `/sbin/modprobe psmouse` to /etc/rc.d/rc.modules
When I tried to do this under 2.4.26, I got an error that the module could not be found, but I think this was probably because it was built into tha kernel. This time I think i made it a module. What also threw me was that this line did not appear in the modules file (it wasn't already yhere, but commented out) I had to add it myself. well, it seems to be working now, except for the dreaded

# cdrecord -scanbus
Cdrecord 2.00.3 (i686-pc-linux-gnu) Copyright (C) 1995-2002 Jörg Schilling
cdrecord: No such file or directory. Cannot open '/dev/pg*'. Cannot open SCSI driver.
cdrecord: For possible targets try 'cdrecord -scanbus'. Make sure you are root.
cdrecord: For possible transport specifiers try 'cdrecord dev=help'.

headache. but I do remember hearing there was a patch to fix that, so I should probably go look that up before I post again.
thanks, all!
 
Old 09-09-2004, 09:26 PM   #6
lupin_the_3rd
Member
 
Registered: Oct 2003
Location: Memphis, TN
Distribution: Slackware current
Posts: 485

Rep: Reputation: 30
you can still use append="hdc=ide-scsi" and use scsi emulation (which is what I do even though it is officially frowned on) or use ide-cd...

also, if you're using 2.6.7 now I'd look into udev... (/etc/rc.d/rc.udev) and see if it is starting at boot... if it isn't chmod 0755 rc.udev so that it will...

then, you need to write some rules for udev to set up symlinks for you. Here are some for ide and scsi cdroms (you can have both it will create symlinks for whichever one you're using:"

create a file called /etc/udev/rules.d/10-local.rules

-----10-local.rules-----
BUS="ide", KERNEL="hdc", NAME="%k", GROUP="cdrom", SYMLINK="cdrom dvd cdrw"

BUS="scsi", KERNEL="sr0", NAME="%k", GROUP="cdrom", SYMLINK="cdrom dvd cdrw"

-----END-----

Using udev with ide-scsi should fix your cdrecord error... or you can use this in the meantime:

cdrecord dev=ATAPI -scanbus
 
Old 09-09-2004, 10:49 PM   #7
Lord Zoltar
Member
 
Registered: Jun 2004
Distribution: Slackware
Posts: 200

Original Poster
Rep: Reputation: 30
"Using udev with ide-scsi"... do you mean i should continue to have append="hdc=ide-scsi" in lilo.conf? I don't have it for my 2.6.7 image. I did everything else, though, and nothing seems to have changed.

also, video playback (mpg, haven't tried any others yet.) is completely screwed up. frame rate drops way low, tons of artifacting.
 
Old 09-10-2004, 06:45 AM   #8
lupin_the_3rd
Member
 
Registered: Oct 2003
Location: Memphis, TN
Distribution: Slackware current
Posts: 485

Rep: Reputation: 30
It's a personal choice to continue to use scsi emulation... I'm still using it... but it should fix the cdrecord error... as for the choppy video... not sure... do you have dma enabled on your drives?
 
Old 09-10-2004, 10:14 AM   #9
Lord Zoltar
Member
 
Registered: Jun 2004
Distribution: Slackware
Posts: 200

Original Poster
Rep: Reputation: 30
I'm getting quite confused here...
Was your post completely about scsi emulation? how would I use the device normally (without scsi emulation)?

tunrs out only mpg is choppy. avi is fine. haven't tried wmv yet
 
Old 09-10-2004, 10:38 AM   #10
Cedrik
Senior Member
 
Registered: Jul 2004
Distribution: Slackware
Posts: 2,140

Rep: Reputation: 244Reputation: 244Reputation: 244
try :
append="hdc=ide-cd"
with kernel 2.6.x

and :
cdrecord dev=ATAPI:/dev/hdc -scanbus

burn cd image with (example with 16x speed) :
cdrecord -v dev=ATAPI:/dev/hdc -speed 16 <file.iso>

Last edited by Cedrik; 09-10-2004 at 10:41 AM.
 
Old 09-10-2004, 10:57 AM   #11
lupin_the_3rd
Member
 
Registered: Oct 2003
Location: Memphis, TN
Distribution: Slackware current
Posts: 485

Rep: Reputation: 30
Quote:
Originally posted by Lord Zoltar
I'm getting quite confused here...
Was your post completely about scsi emulation? how would I use the device normally (without scsi emulation)?

tunrs out only mpg is choppy. avi is fine. haven't tried wmv yet
My post was about using scsi emulation with kernel 2.6 (which is officially deprecated but works)... Cedrick posted how to use cdrecord w/o scsi emulation ----> this was to address your cdrecord issue.


The udev part is about device loading with kernel 2.6... you can use devfs (which is the standard, old way with 2.4 kernels) or use udev (which I described how to set up by creating a 10-local.rules file in /etc/udev/rules.d). This won't do you any good though if udev isn't loading at boot, hence the:

chmod 0755 /etc/rc.d/rc.udev

Sorry if my responses don't make any sense...
 
Old 09-10-2004, 03:40 PM   #12
Lord Zoltar
Member
 
Registered: Jun 2004
Distribution: Slackware
Posts: 200

Original Poster
Rep: Reputation: 30
/etc/rc.d/rc.udev has permission set so that everyone can execute. and I did the whole 10-local.rules thingy just like you said. I'm not using the scsi emu if it's not considered the proper thing for this kernel.
Cedric's tip seemed to work:

# cdrecord dev=ATAPI:/dev/hdc -scanbus
Cdrecord 2.00.3 (i686-pc-linux-gnu) Copyright (C) 1995-2002 Jörg Schilling
scsidev: 'ATAPI:/dev/hdc'
devname: 'ATAPI:/dev/hdc'
scsibus: -2 target: -2 lun: -2
Warning: Using ATA Packet interface.
Warning: The related libscg interface code is in pre alpha.
Warning: There may be fatal problems.
Using libscg version 'schily-0.7'
scsibus0:
0,0,0 0) 'HL-DT-ST' 'CD-RW GCE-8523B ' '1.01' Removable CD-ROM
0,1,0 1) *
0,2,0 2) *
0,3,0 3) *
0,4,0 4) *
0,5,0 5) *
0,6,0 6) *
0,7,0 7) *

only those warnings are kinda troubling... had anyone really had problems with it? and is there an easier way to get it working? it's quite a mouthful to remember
 
Old 09-10-2004, 04:11 PM   #13
Cedrik
Senior Member
 
Registered: Jul 2004
Distribution: Slackware
Posts: 2,140

Rep: Reputation: 244Reputation: 244Reputation: 244
You don't have to use scanbus with kernel 2.6 and ide-cd driver anyway.

Just make your iso file and burn cd like that :
mkisofs -o file.iso /directory/to/burn
cdrecord -v -speed 16 dev=/dev/hdc file.iso

or :
mkisofs -R /directory/to/burn | cdrecord -v fs=6m speed=16 dev=/dev/hdc -

You can try -dummy option to simulate a burn command (won't burn the CD)
cdrecord -dummy -speed 16 dev=/dev/hdc file.iso

[edit]
For each example the speed is 16x, up to you to set it

Last edited by Cedrik; 09-10-2004 at 04:13 PM.
 
  


Reply



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
Slackware 10 mouse configuration issues libranikki Slackware 3 08-07-2004 06:41 PM
XF86 Configuration Mouse and Monitor issues.. fastly Linux - Laptop and Netbook 3 05-08-2004 11:37 AM
No keyboard or mouse after kernel 2.4 configuration Mrcdm Linux - Distributions 2 05-02-2004 05:23 AM
Slack 9.1+Kernel 2.6.5+broadband+mouse issues quo_vadis Slackware 6 04-08-2004 11:02 AM
kernel-2.6.0-test9 mouse issues kadaver Slackware 3 11-27-2003 04:09 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 11:54 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