Re: [gentoo-user] no CD or DVD but rules seem correct-FIXED-or, not

2007-05-12 Thread Dirk Heinrichs
Am Freitag, 11. Mai 2007 schrieb maxim wexler:
  Can you post the relevant lines from 10.local.rules.

 [EMAIL PROTECTED] ~ $ cat /etc/udev/rules.d/10*
  BUS==ide, KERNEL==hdc, SYMLINK+=cdrom,
 GROUP=cdrom
  BUS==ide, KERNEL==hdd, SYMLINK+=dvd,
 GROUP=cdrom
 [EMAIL PROTECTED] ~ $

Maybe you should try adding OPTIONS+=last_rule to stop device node 
generations for CD/DVD devices after your rules.

  I suspect it will be re-installed at next udev
  update. What's your udev
  version, BTW.?

 udev-104-r12

Hmm, I'm at 111, but I run ~x86.

HTH...

Dirk


signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] no CD or DVD but rules seem correct-FIXED-no, really

2007-05-12 Thread maxim wexler

--- Dirk Heinrichs [EMAIL PROTECTED] wrote:

 Am Freitag, 11. Mai 2007 schrieb maxim wexler:
   Can you post the relevant lines from
 10.local.rules.
 
  [EMAIL PROTECTED] ~ $ cat /etc/udev/rules.d/10*
   BUS==ide, KERNEL==hdc, SYMLINK+=cdrom,
  GROUP=cdrom
   BUS==ide, KERNEL==hdd, SYMLINK+=dvd,
  GROUP=cdrom
  [EMAIL PROTECTED] ~ $
 
 Maybe you should try adding OPTIONS+=last_rule to
 stop device node 
 generations for CD/DVD devices after your rules.

Awesome! Eyes must have glazed over when I got to that
part.

  udev-104-r12
 
 Hmm, I'm at 111, but I run ~x86.
 

That's unreal. I last did a sync on Apr 23 and
upgraded udev the next day. That's like a new version
every other day. I was gonna say I'm running an ~x86
too, meaning an AMD product. Then I noticed the tilde.
Does that make a difference?

Thanks,

Maxim



   
Luggage?
 GPS? Comic books? 
Check out fitting gifts for grads at Yahoo! Search
http://search.yahoo.com/search?fr=oni_on_mailp=graduation+giftscs=bz
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] no CD or DVD but rules seem correct-FIXED-no, really

2007-05-12 Thread Dirk Heinrichs
Am Samstag, 12. Mai 2007 schrieb maxim wexler:

  Maybe you should try adding OPTIONS+=last_rule to
  stop device node
  generations for CD/DVD devices after your rules.

 Awesome! Eyes must have glazed over when I got to that
 part.

Does this mean it helped?

   udev-104-r12
 
  Hmm, I'm at 111, but I run ~x86.

 That's unreal. I last did a sync on Apr 23 and
 upgraded udev the next day. That's like a new version
 every other day. I was gonna say I'm running an ~x86
 too, meaning an AMD product. Then I noticed the tilde.
 Does that make a difference?

~ means testing, w/o it it's known as stable.

Bye...

Dirk


signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] no CD or DVD but rules seem correct-FIXED-no, really

2007-05-12 Thread maxim wexler
  Awesome! Eyes must have glazed over when I got to
 that
  part.
 
 Does this mean it helped?

Yes, thanks a lot.

Maxim


   
Ready
 for the edge of your seat? 
Check out tonight's top picks on Yahoo! TV. 
http://tv.yahoo.com/
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] no CD or DVD but rules seem correct-FIXED-or, not

2007-05-11 Thread Dirk Heinrichs
Am Freitag, 11. Mai 2007 schrieb ext Dan Farrell:

 Secondly, in addition to some kind of driver for IDE, either generic or
 specific, you need the cdrom driver (module: cdrom.ko) for cdrom
 support.

 My guess is, you upgraded the kernel and fell into the commonly
 experienced PATA driver burn -- there's two driver sets now, an
 experimental one and the old ones, and you have to make sure to get the
 right one for your configuration.

And if you use the new one, you have to be aware that it is attached to the 
SCSI subsystem now. This means that you have to enable SCSI as well as 
support for SCSI disks (CONFIG_BLK_DEV_SD=y) and SCSI cdroms 
(CONFIG_BLK_DEV_SR=m = sr_mod.ko), just as you would do with SATA.

Bye...

Dirk
-- 
Dirk Heinrichs  | Tel:  +49 (0)162 234 3408
Configuration Manager   | Fax:  +49 (0)211 47068 111
Capgemini Deutschland   | Mail: [EMAIL PROTECTED]
Wanheimerstraße 68  | Web:  http://www.capgemini.com
D-40468 Düsseldorf  | ICQ#: 110037733
GPG Public Key C2E467BB | Keyserver: www.keyserver.net


signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] no CD or DVD but rules seem correct-FIXED-or, not

2007-05-11 Thread maxim wexler
 And if you use the new one, you have to be aware
 that it is attached to the 
 SCSI subsystem now. This means that you have to
 enable SCSI as well as 
 support for SCSI disks (CONFIG_BLK_DEV_SD=y) and
 SCSI cdroms 
 (CONFIG_BLK_DEV_SR=m = sr_mod.ko), just as you
 would do with SATA.

Thanks, Dirk but that's not the problem anymore.
Problem is persistent-CD.rules that keeps getting
re-written every boot. I've already written a
10-local.rules to handle my _one_ CD, /dev/cdrom-
/dev/hdc and _one_ DVD, /dev/dvd- /dev/hdd drive but
persistent seems to think the symlinks should be
called /dev/cdrom4 and /dev/cdrom5.

I delete the persistant file, like I say, but it gets
rewritten when I reboot and re-establishes the wrong
symlinks, I suspect by /lib/udev/write_cd_rules.

Question is: Can I safely delete
/lib/udev/write_cd_rules or disable it somehow?

Maxim


   
Boardwalk
 for $500? In 2007? Ha! Play Monopoly Here and Now (it's updated for today's 
economy) at Yahoo! Games.
http://get.games.yahoo.com/proddesc?gamekey=monopolyherenow  
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] no CD or DVD but rules seem correct-FIXED-or, not

2007-05-11 Thread Dirk Heinrichs
Am Freitag, 11. Mai 2007 schrieb maxim wexler:

 Problem is persistent-CD.rules that keeps getting
 re-written every boot.

Hmm that's strange. Doesn't happen on my system(s).

 I've already written a 
 10-local.rules to handle my _one_ CD, /dev/cdrom-
 /dev/hdc and _one_ DVD, /dev/dvd- /dev/hdd drive but
 persistent seems to think the symlinks should be
 called /dev/cdrom4 and /dev/cdrom5.

Can you post the relevant lines from 10.local.rules.

 I delete the persistant file, like I say, but it gets
 rewritten when I reboot and re-establishes the wrong
 symlinks, I suspect by /lib/udev/write_cd_rules.

 Question is: Can I safely delete
 /lib/udev/write_cd_rules or disable it somehow?

I suspect it will be re-installed at next udev update. What's your udev 
version, BTW.?

Bye...

Dirk



signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] no CD or DVD but rules seem correct-FIXED-or, not

2007-05-11 Thread maxim wexler
 Can you post the relevant lines from 10.local.rules.

[EMAIL PROTECTED] ~ $ cat /etc/udev/rules.d/10*
 BUS==ide, KERNEL==hdc, SYMLINK+=cdrom,
GROUP=cdrom
 BUS==ide, KERNEL==hdd, SYMLINK+=dvd,
GROUP=cdrom
[EMAIL PROTECTED] ~ $ 

see http://www.reactivated.net/writing_udev_rules.html
  under Examples -
cd/dvd drives for the model I used. 

 I suspect it will be re-installed at next udev
 update. What's your udev 
 version, BTW.?

udev-104-r12

 
 Bye...
 
   Dirk



   
Be
 a better Heartthrob. Get better relationship answers from someone who knows. 
Yahoo! Answers - Check it out. 
http://answers.yahoo.com/dir/?link=listsid=396545433
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] no CD or DVD but rules seem correct-FIXED

2007-05-10 Thread Alan McKinnon
On Wednesday 09 May 2007, maxim wexler wrote:
 lrwxrwxrwx  1 root    root         3 May  9 08:25
 cdrom - hdc
 lrwxrwxrwx  1 root    root         3 May  9 08:25
 cdrom1 - hdd
 lrwxrwxrwx  1 root    root         3 May  9 08:25 cdrw
 - hdc

 appear since loading ide-generic.ko

 [EMAIL PROTECTED] ~ $ ls -l /dev/hdd
 brw-rw 1 root cdrom 22, 64 May  9 08:25 /dev/hdd

Cool. It seemed to me that you set ide-generic to M by mistake as 
everything else is *. You could either change the config and 
recompile/install, or put ide-config 
in /etc/modules.autoload.d/kernel-2.6

Does the dvd device also work correctly now?

-- 
Optimists say the glass is half full,
Pessimists say the glass is half empty,
Developers say wtf is the glass twice as big as it needs to be?

Alan McKinnon
alan at linuxholdings dot co dot za
+27 82, double three seven, one nine three five
--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] no CD or DVD but rules seem correct-FIXED-or, not

2007-05-10 Thread maxim wexler

--- Alan McKinnon [EMAIL PROTECTED] wrote:

 On Wednesday 09 May 2007, maxim wexler wrote:
  lrwxrwxrwx  1 rootroot 3 May  9 08:25
  cdrom - hdc
  lrwxrwxrwx  1 rootroot 3 May  9 08:25
  cdrom1 - hdd
  lrwxrwxrwx  1 rootroot 3 May  9 08:25
 cdrw
  - hdc
 
  appear since loading ide-generic.ko
 
  [EMAIL PROTECTED] ~ $ ls -l /dev/hdd
  brw-rw 1 root cdrom 22, 64 May  9 08:25
 /dev/hdd
 
 Cool. It seemed to me that you set ide-generic to
 M by mistake as 
 everything else is *. You could either change the
 config and 
 recompile/install, or put ide-config 
 in /etc/modules.autoload.d/kernel-2.6
 
 Does the dvd device also work correctly now?

I thought so until now having restarted the box -- I
did put ide-generic into the autoload file before
shutdown yesterday -- tried to play a DVD with
gmplayer. Couldn't find the drive again. I just
assumed it had forgotten that in preferences-misc
the path to the drive had been changed from /dev/dvd
to /dev/cdrom1. Nope, that was still correct. Then I
did an ls -l under /dev and this appeared:

...
lrwxrwxrwx 1 rootroot 3 May 10 02:23
cdrom2 - hdc
lrwxrwxrwx 1 rootroot 3 May 10 02:23
cdrom3 - hdd
lrwxrwxrwx 1 rootroot 3 May 10 02:23 cdrw2
- hdc
...

Compare this to the above. Something is incrementing
the drive numbers!

Does this have something to do with having modularized
the driver? 

Guess my next stop is /usr/src/linux...

...to be cont'd

 
 -- 
 Optimists say the glass is half full,
 Pessimists say the glass is half empty,
 Developers say wtf is the glass twice as big as it
 needs to be?
 
 Alan McKinnon
 alan at linuxholdings dot co dot za
 +27 82, double three seven, one nine three five
 --
 [EMAIL PROTECTED] mailing list
 
 


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] no CD or DVD but rules seem correct-FIXED-or, not

2007-05-10 Thread Dan Farrell
On Thu, 10 May 2007 08:50:34 -0700 (PDT)
maxim wexler [EMAIL PROTECTED] wrote:

 
 --- Alan McKinnon [EMAIL PROTECTED] wrote:
 
  On Wednesday 09 May 2007, maxim wexler wrote:
   lrwxrwxrwx  1 rootroot 3 May  9 08:25
   cdrom - hdc
   lrwxrwxrwx  1 rootroot 3 May  9 08:25
   cdrom1 - hdd
   lrwxrwxrwx  1 rootroot 3 May  9 08:25
  cdrw
   - hdc
   [ /dev device nodes for cdroms ]
   appear since loading ide-generic.ko
  
For one thing, generic IDE support is certainly less appropriate than
support for your IDE card.  Hardware-specific options cna be enabled
and you might gain DMA if your hardware is really unusual.  I can say
from experience that generic ide support doesn't provide anything that
drivers specific to your hardware fails to provide, unless I
misunderstand greatly. It's not a question of increased functionality
necessarily, but one of performance, and possibly less overhead for the
CPU.  

Secondly, in addition to some kind of driver for IDE, either generic or
specific, you need the cdrom driver (module: cdrom.ko) for cdrom
support.  

My guess is, you upgraded the kernel and fell into the commonly
experienced PATA driver burn -- there's two driver sets now, an
experimental one and the old ones, and you have to make sure to get the
right one for your configuration.  

Dont forget, you'll also need to have the ISO9660 and possibly UDF
filesysem supported.  
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] no CD or DVD but rules seem correct-FIXED-or, not

2007-05-10 Thread maxim wexler
 My guess is, you upgraded the kernel and fell into
 the commonly
 experienced PATA driver burn -- there's two driver
 sets now, an
 experimental one and the old ones, and you have to
 make sure to get the
 right one for your configuration.  

What I did was write a 10-local.rules file following
the model at reactivated.net/writing_udev_rules.html.
So now I get the proper symlinks:

[EMAIL PROTECTED] ~ $ ls -l /dev/cd*
lrwxrwxrwx 1 root root 3 May 10 10:21 /dev/cdrom -
hdc
[EMAIL PROTECTED] ~ $ ls -l /dev/dvd
lrwxrwxrwx 1 root root 3 May 10 10:21 /dev/dvd - hdd

plus these unwanted ones which are the result of
70-persistent-cd.rules 

lrwxrwxrwx 1 root root 3 May 10 10:21 /dev/cdrom4 -
hdc
lrwxrwxrwx 1 root root 3 May 10 10:21 /dev/cdrom5 -
hdd
lrwxrwxrwx 1 root root 3 May 10 10:21 /dev/cdrw4 -
hdc

question is, how do I turn off persistent-cd rules?
Even if I delete it another is generated when the PC
boots.

Do I delete /lib/udev*/write_cd_rules? 

According to the FAQ persistence is most useful for
devices that are likely to be plugged in and out
fairly often. I don't expect to do that with the
optical drives.

Maxim



 

Don't get soaked.  Take a quick peak at the forecast
with the Yahoo! Search weather shortcut.
http://tools.search.yahoo.com/shortcuts/#loc_weather
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] no CD or DVD but rules seem correct-FIXED

2007-05-09 Thread maxim wexler
 
  CONFIG_M586=y
 Nothing to do with your disks, but why this setting?
 You seem to have a 64bit Opteron, not a MkI pentium

CPU is an AMD product, sempron3100, 32bit. It's based
on the 3200 64bit. 

  CONFIG_IDE_GENERIC=m
 
 is this module loaded?

Overlooked this one. I loaded it and the lite-on CD
now works but not the DVD.

  CONFIG_BLK_DEV_AMD74XX=m
 
 is this module loaded?

Didn't make a difference.
 
 And we should check that the devices haven't changed
 names meanwhile... 
 The major/minor numbers will be the same, so run ls
 -al and grep for 
 these strings:
 
ls -al where? Under /dev

lrwxrwxrwx  1 rootroot 3 May  9 08:25
cdrom - hdc
lrwxrwxrwx  1 rootroot 3 May  9 08:25
cdrom1 - hdd
lrwxrwxrwx  1 rootroot 3 May  9 08:25 cdrw
- hdc

appear since loading ide-generic.ko

[EMAIL PROTECTED] ~ $ ls -l /dev/hdd
brw-rw 1 root cdrom 22, 64 May  9 08:25 /dev/hdd

Which matches numbers from devices.txt.

OK, success! gmplayer looks for /dev/dvd so I changed
that in gmplayer-preferences to /dev/cdrom1 and now
all is peace and light.

Thanks Alan

Maxim

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
-- 
[EMAIL PROTECTED] mailing list