LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 10-05-2004, 03:29 PM   #1
rebelcan
Member
 
Registered: Jun 2003
Location: British Columbia, Canada
Distribution: Debian unstable
Posts: 83

Rep: Reputation: 15
2.6 kernel is becoming a pain.


i recently upgraded from the 2.4.24 kernel to the 2.6.8.1 kernel. i compiled my own version of the 2.6.8.1 kernel.

it has been a hellish week. the reason for the upgrade is that i was recently given a handspring visor, and the visor module comes with the 2.6 kernel, which made me happy. what made me not happy was the fact that all my usb devices ( all one of them, a daewoo mp3 player ) and my audio decided to stop working with the 2.6 kernel.

i think i know what is wrong with the audio, i think it's just loading the wrong modules ( it should be loading snd_via82xx, but it loads snd_a7 or something like that instead ). but what i don't get is why is it that when i load the proper module, all the audio devices ( audio*, mixer*, midi*, etc ) get created in the directory i'm currently in? it doesn't help when i'm trying to listen to music, and audio0 is sitting in /home .

with the usb, i'm trying to figure out why my mp3 player isn't recognized anymore. on the 2.4 kernel, when i plugged it in, it would recognize it and make the appropriate device ( /dev/sda1 ). on the 2.6 kernel, `dmesg | tail ` just shows a bunch of errors. i don't have access to said error messages right now, but as soon as i do, i'll post them.

anyhoo.... if anyone can make sense of anything i've written, help would be muchly appreciated. if i can't get this all working mabey i'll switch to a different distro ( currently using debian ). or mabey if i recompile the kernel a couple of times and everything will start to work.

oh, and if anyone knows about a good program that can work with the files i synced from my visor, please tell me. jpilot can't work with the .pdb's that coldsync retrieves, and kpilot is a piece of junk. after a hotsync, kpilot says i can't add memos or addresses or whatever because i still have yet to perform a hotsync
 
Old 10-05-2004, 03:43 PM   #2
crashmeister
Senior Member
 
Registered: Feb 2002
Distribution: t2 - trying to anyway
Posts: 2,541

Rep: Reputation: 47
I didn't even touch RH with a stick after one try so this might be completely wrong but it sounds like there is some mixup in the modules.Try to compile the kernel with everything possible in the kernel and not as a module and see what that does.
 
Old 10-05-2004, 03:45 PM   #3
hkxx9
Member
 
Registered: Sep 2004
Location: Smoky Mtns
Distribution: Slackware 10
Posts: 64

Rep: Reputation: 15
rebelcan: Are the sdax devices showing up under /dev? If not, try compiling the
kernel without SCSI emulation but with SCSI generic support and SCSI disk support.
Fixed things up for me.

As far as the sound, I have VIA also. Basically, I selected anything that stated it was
for VIA and all my onboard stuff works just fine.

good luck
 
Old 10-05-2004, 04:01 PM   #4
masand
LQ Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 69
hi there

what i can suggest is that if u have mixed onto some configuritons then u should perhaps install a new kernel from rpm then use that config file if that rpm works for u

http://people.redhat.com/arjanv/2.6/RPMS.kernel/

alsu upgrade ur modutils , mod ini tools package from here

regards
 
Old 10-05-2004, 08:39 PM   #5
comprookie2000
Gentoo Developer
 
Registered: Feb 2004
Location: Fort Lauderdale FL.
Distribution: Gentoo
Posts: 3,291
Blog Entries: 5

Rep: Reputation: 58
Are you using redhat or debian?
 
Old 10-05-2004, 09:08 PM   #6
rebelcan
Member
 
Registered: Jun 2003
Location: British Columbia, Canada
Distribution: Debian unstable
Posts: 83

Original Poster
Rep: Reputation: 15
debian. i just haven't had problems i couldn't solve on my own since i switched to debian
 
Old 10-06-2004, 02:33 AM   #7
rebelcan
Member
 
Registered: Jun 2003
Location: British Columbia, Canada
Distribution: Debian unstable
Posts: 83

Original Poster
Rep: Reputation: 15
here's the error message i get when i plug in my usb mp3 player, before i even try to mount it.

dmesg:
Code:
sda: assuming drive cache: write through
 sda:SCSI error : <0 0 0 0> return code = 0x10070000
end_request: I/O error, dev sda, sector 0
Buffer I/O error on device sda, logical block 0
SCSI error : <0 0 0 0> return code = 0x10070000
end_request: I/O error, dev sda, sector 0
Buffer I/O error on device sda, logical block 0
 unable to read partition table
Attached scsi removable disk sda at scsi0, channel 0, id 0, lun 0
USB Mass Storage device found at 2
and how do i turn off scsi-emulation? a quick couple searches on google shows that scsi-emulation is off by default in the 2.6 kernel, and i can't find anything when i use gconfig.
 
Old 10-06-2004, 03:51 AM   #8
masand
LQ Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 69
hi there
u can find, scsi emulation run make xconfig

then

go to device drivers--->ATA/ATAPI support--> scsi emulation


then u will have to compile ur kernel , so load ur present config file and remove scsi emulation from there

regards
 
Old 10-06-2004, 04:06 AM   #9
rebelcan
Member
 
Registered: Jun 2003
Location: British Columbia, Canada
Distribution: Debian unstable
Posts: 83

Original Poster
Rep: Reputation: 15
um... one question about my usb mp3 player... would the fact that i had to use 'umsdos' as the fs on the 2.4 kernel have anything to do the fact that i can't mount it anymore?
 
Old 10-06-2004, 04:27 AM   #10
masand
LQ Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 69
hi there

yes u need to have that FS support in ur kernel

also check out whether the name of he module has changed ,while from 2.4 to 2.6

regards
 
Old 10-06-2004, 02:44 PM   #11
rebelcan
Member
 
Registered: Jun 2003
Location: British Columbia, Canada
Distribution: Debian unstable
Posts: 83

Original Poster
Rep: Reputation: 15
well... i turend off scsi emulation, and linux still has problems with the mp3 player. i'm pretty sure that it has to do with the fact that i need the umsdos fs, but there's only one problem. umsdos was removed from the 2.6 kernel! i went to the umsdos site, but the only thing there is a 'diff' patch, which i've never used before. any hints?
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Sorry to be a pain, but can someone help please? twirl Programming 5 09-06-2005 05:15 PM
Kernel 2.6.6 / Gkrellm / lmsensors / Pain in head Evilone Linux - Software 19 06-17-2004 04:45 PM
What a pain BajaNick General 4 08-30-2003 11:15 PM
The Pain... crichards General 11 02-22-2003 05:19 AM
oh the pain, the pain of c bobthebat Programming 2 07-04-2002 11:30 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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