LinuxQuestions.org
Visit Jeremy's Blog.
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 07-26-2005, 04:46 PM   #1
xushi
Senior Member
 
Registered: Jun 2003
Location: UK
Distribution: Gentoo
Posts: 1,288

Rep: Reputation: 45
udev 064 still problematic


Contrary to what pat said in his recent changelog
Quote:
a/udev-064-i486-1.tgz: Upgraded to udev-064. With the help of two new
lines in udev.rules, and a symlink added in /etc/hotplug.d/default that
used to be added by earlier versions of hotplug, udev-064 appears to be
working! Thanks to Piter Punk for the rules and Kris Karas for the link.
Udev 064 doesn't like my usb devices anymore. I can mount my iriver and SD cards, and they get registered,

Code:
  Vendor: GENERIC   Model: USB Storage-CFC   Rev: 010D
  Type:   Direct-Access                      ANSI SCSI revision: 00
Attached scsi removable disk sdb at scsi6, channel 0, id 0, lun 0
  Vendor: GENERIC   Model: USB Storage-MMC   Rev: 010D
  Type:   Direct-Access                      ANSI SCSI revision: 00
SCSI device sdc: 62720 512-byte hdwr sectors (32 MB)
sdc: Write Protect is off
sdc: Mode Sense: 00 00 00 00
sdc: assuming drive cache: write through
SCSI device sdc: 62720 512-byte hdwr sectors (32 MB)
sdc: Write Protect is off
sdc: Mode Sense: 00 00 00 00
sdc: assuming drive cache: write through
 /dev/scsi/host6/bus0/target0/lun1: p1
Attached scsi removable disk sdc at scsi6, channel 0, id 0, lun 1
  Vendor: GENERIC   Model: USB Storage-MSC   Rev: 010D
  Type:   Direct-Access                      ANSI SCSI revision: 00
Attached scsi removable disk sdd at scsi6, channel 0, id 0, lun 2
usb-storage: device scan complete
And
Code:
usb-storage: waiting for device to settle before scanning
  Vendor: TOSHIBA   Model: MK4004GAH         Rev: JC00
  Type:   Direct-Access                      ANSI SCSI revision: 00
SCSI device sda: 78126048 512-byte hdwr sectors (40001 MB)
sda: assuming drive cache: write through
SCSI device sda: 78126048 512-byte hdwr sectors (40001 MB)
sda: assuming drive cache: write through
 /dev/scsi/host7/bus0/target0/lun0: p1
Attached scsi disk sda at scsi7, channel 0, id 0, lun 0
usb-storage: device scan complete
But when trying to mount,
Code:
mount: special device /dev/sda1 does not exist
And indeed,
Code:
:/dev# ls /dev
adsp@     hda       mem        ram2@    tty0@   tty26@  tty43@  tty60@   vcsa1@
agpgart@  hda1      misc/      ram3@    tty1@   tty27@  tty44@  tty61@   vcsa2@
audio@    hda2      mixer@     ram4@    tty10@  tty28@  tty45@  tty62@   vcsa3@
cdrom@    hda3      null       ram5@    tty11@  tty29@  tty46@  tty63@   vcsa4@
cdrom0@   hdc       nvidia0    ram6@    tty12@  tty3@   tty47@  tty7@    vcsa5@
console   initctl|  nvidia1    ram7@    tty13@  tty30@  tty48@  tty8@    vcsa6@
core@     input/    nvidiactl  ram8@    tty14@  tty31@  tty49@  tty9@    vcsa7@
cpu/      kmem      port       ram9@    tty15@  tty32@  tty5@   urandom  vmmon
dsp@      kmsg      ppp        random   tty16@  tty33@  tty50@  vc/      vmnet0
dvd@      log=      ptmx       raw/     tty17@  tty34@  tty51@  vcc/     vmnet1
dvd0@     loop/     pts/       rd/      tty18@  tty35@  tty52@  vcs@     vmnet2
fb/       loop0@    ram0@      rtc@     tty19@  tty36@  tty53@  vcs1@    vmnet3
fb0@      loop1@    ram1@      shm/     tty2@   tty37@  tty54@  vcs2@    vmnet4
fd@       loop2@    ram10@     snd/     tty20@  tty38@  tty55@  vcs3@    vmnet5
fd0       loop3@    ram11@     sound/   tty21@  tty39@  tty56@  vcs4@    vmnet6
fd1       loop4@    ram12@     stderr@  tty22@  tty4@   tty57@  vcs5@    vmnet7
fd2       loop5@    ram13@     stdin@   tty23@  tty40@  tty58@  vcs6@    vmnet8
fd3       loop6@    ram14@     stdout@  tty24@  tty41@  tty59@  vcs7@    vmnet9
full      loop7@    ram15@     tty      tty25@  tty42@  tty6@   vcsa@    zero
Haven't tried burning a cd yet.. So take care when upgrading.
 
Old 07-26-2005, 06:18 PM   #2
Nille_kungen
Member
 
Registered: Jul 2005
Posts: 410

Rep: Reputation: 132Reputation: 132
Well this are the things we have to live with if we use current.
But thanks for the warning.
 
Old 07-27-2005, 06:55 AM   #3
xushi
Senior Member
 
Registered: Jun 2003
Location: UK
Distribution: Gentoo
Posts: 1,288

Original Poster
Rep: Reputation: 45
Hmm, my apologies, but i'm not sure if i rebooted my machine after updating udev or not..

Now after updating again, all my usb devices work.. So i can confirm that to me, udev 064 works well, and its safe enough for others to try.

On a side note, i'm on 2.6.12.3
 
Old 07-27-2005, 07:16 AM   #4
satinet
Senior Member
 
Registered: Feb 2004
Location: England
Distribution: Slackware 14.1
Posts: 1,469

Rep: Reputation: 46
We've all been there!

On a udev note. My devices are created as /dev/sda1-2-3 etc. Fine.

But in KDE i want this to show as a pen drive rather than a disk drive (i'm selecting show mounted and unmounted devices on my desktop). Is there a way to make KDE feel this is a usb stick icon rather than a disk drive (with the disk drive icon).

hardly a killer, but i'm just being harsh with my slackware install at the moment. want it 100% nice.

thanks
 
Old 07-27-2005, 09:41 AM   #5
keefaz
LQ Guru
 
Registered: Mar 2004
Distribution: Slackware
Posts: 5,451

Rep: Reputation: 420Reputation: 420Reputation: 420Reputation: 420Reputation: 420
How does KDE do the distinction between a pen drive and a disk drive ?
Does it recognize custom udev rules or do you tell about ide disk vs usb ?

Last edited by keefaz; 07-27-2005 at 09:43 AM.
 
Old 07-27-2005, 11:39 AM   #6
satinet
Senior Member
 
Registered: Feb 2004
Location: England
Distribution: Slackware 14.1
Posts: 1,469

Rep: Reputation: 46
Hmm, yes.

I'm really not sure, so that's why i posted. I'm presuming it recognises it from it's naming convention in udev. namely sda1 which i guess is in fact a SCSI disk.

But i would love to be corrected. Anyone know how KDE does this? and why usb devices have to be like SCSI devices in the latest kernel?

Thanks
 
Old 07-27-2005, 03:14 PM   #7
Nille_kungen
Member
 
Registered: Jul 2005
Posts: 410

Rep: Reputation: 132Reputation: 132
Hmm that i don't know but maybe it uses the same as proc like
cat /proc/ide/hdc/media
cdrom
On my system.
But i actually got no idea how KDE does it.
 
  


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
What should I do Problematic Inspiron 6000 derrekito Linux - Laptop and Netbook 1 09-20-2005 02:28 PM
problematic case statement alaios Programming 4 08-24-2005 10:05 AM
Gentoo install...Problematic whoever Linux - Newbie 15 08-09-2005 12:44 PM
2.4 kernel ok but how do I remove the problematic attempts? jsnto Linux - Newbie 1 10-27-2004 08:02 PM
newb needs help with some problematic hardware sgcam2000 Debian 3 06-24-2004 04:47 AM

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

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