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

2007-05-09 Thread Dirk Heinrichs
Am Mittwoch, 9. Mai 2007 schrieb ext maxim wexler:
 Hi group,

 After upgrading from 2.6.16 to 2.6.20 kernel I no
 longer can access CD or DVD.

Did you change anything in the setup? Forgot CDRom support, maybe?

 I can't even manually make the link cause there's no
 more /dev/hdc or /dev/hdd under $ls /dev. Nor do these
 devices appear in dmesg.

If it doesn't appear there, there's no driver loaded. Did you compile CDRom 
support into the kernel or did you (auto-)load the module?

 Which is very puzzling cause in fstab it says:

It doesn't matter what fstab says (at least this case :-) ).

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

2007-05-09 Thread Alan McKinnon
On Wednesday 09 May 2007, maxim wexler wrote:
 Hi group,

 After upgrading from 2.6.16 to 2.6.20 kernel I no
 longer can access CD or DVD.

LOTS of kernel config changes related to ATA/SATA/PATA/IDE/libata 
changed in 2.6.18 and 2.6.19 - menus moved around, the code was 
refactored, selection names changed, etc, etc.

If you are not absolutely sure your config is correct, please post 
your .config, lspci and details about what hardware you really have

alan


-- 
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

2007-05-09 Thread gummnmi-live
I can't even manually make the link cause there's no
more /dev/hdc or /dev/hdd under $ls /dev. Nor do these
devices appear in dmesg.

Maybe you didn't built your kernel with IDE support. This might be the case if 
you use SATA harddisks. Try this command:

zgrep IDE= /proc/config.gz;zgrep -w BLK_DEV_IDE= /proc/config.gz;zgrep 
BLK_DEV_IDECD= /proc/config.gz

and post the output.

Greetz,

M i c h a e l



   
-
Kennt man wirklich jeden über 3 Ecken? Die Antworten gibt's bei Yahoo! Clever.

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

2007-05-09 Thread maxim wexler

--- Alan McKinnon [EMAIL PROTECTED] wrote:

 On Wednesday 09 May 2007, maxim wexler wrote:
  Hi group,
 
  After upgrading from 2.6.16 to 2.6.20 kernel I no
  longer can access CD or DVD.
 
 LOTS of kernel config changes related to
 ATA/SATA/PATA/IDE/libata 
 changed in 2.6.18 and 2.6.19 - menus moved around,
 the code was 
 refactored, selection names changed, etc, etc.
 
 If you are not absolutely sure your config is
 correct, please post 
 your .config, lspci and details about what hardware
 you really have

done

#
# Automatically generated make config: don't edit
# Linux kernel version: 2.6.20-gentoo-r6
# Mon Apr 30 16:04:50 2007
#
CONFIG_X86_32=y
CONFIG_GENERIC_TIME=y
CONFIG_LOCKDEP_SUPPORT=y
CONFIG_STACKTRACE_SUPPORT=y
CONFIG_SEMAPHORE_SLEEPERS=y
CONFIG_X86=y
CONFIG_MMU=y
CONFIG_GENERIC_ISA_DMA=y
CONFIG_GENERIC_IOMAP=y
CONFIG_GENERIC_BUG=y
CONFIG_GENERIC_HWEIGHT=y
CONFIG_ARCH_MAY_HAVE_PC_FDC=y
CONFIG_DMI=y
CONFIG_DEFCONFIG_LIST=/lib/modules/$UNAME_RELEASE/.config

#
# Code maturity level options
#
# CONFIG_EXPERIMENTAL is not set
CONFIG_BROKEN_ON_SMP=y
CONFIG_INIT_ENV_ARG_LIMIT=32

#
# General setup
#
CONFIG_LOCALVERSION=
# CONFIG_LOCALVERSION_AUTO is not set
CONFIG_SWAP=y
CONFIG_SYSVIPC=y
# CONFIG_IPC_NS is not set
CONFIG_BSD_PROCESS_ACCT=y
# CONFIG_BSD_PROCESS_ACCT_V3 is not set
# CONFIG_TASKSTATS is not set
# CONFIG_UTS_NS is not set
# CONFIG_AUDIT is not set
CONFIG_IKCONFIG=m
CONFIG_IKCONFIG_PROC=y
# CONFIG_SYSFS_DEPRECATED is not set
# CONFIG_RELAY is not set
CONFIG_INITRAMFS_SOURCE=
CONFIG_SYSCTL=y
# CONFIG_EMBEDDED is not set
CONFIG_UID16=y
CONFIG_SYSCTL_SYSCALL=y
CONFIG_KALLSYMS=y
# CONFIG_KALLSYMS_EXTRA_PASS is not set
CONFIG_HOTPLUG=y
CONFIG_PRINTK=y
CONFIG_BUG=y
CONFIG_ELF_CORE=y
CONFIG_BASE_FULL=y
CONFIG_FUTEX=y
CONFIG_EPOLL=y
CONFIG_SHMEM=y
CONFIG_SLAB=y
CONFIG_VM_EVENT_COUNTERS=y
CONFIG_RT_MUTEXES=y
# CONFIG_TINY_SHMEM is not set
CONFIG_BASE_SMALL=0
# CONFIG_SLOB is not set

#
# Loadable module support
#
CONFIG_MODULES=y
CONFIG_MODULE_UNLOAD=y
# CONFIG_MODVERSIONS is not set
# CONFIG_MODULE_SRCVERSION_ALL is not set
CONFIG_KMOD=y

#
# Block layer
#
CONFIG_BLOCK=y
# CONFIG_LBD is not set
# CONFIG_BLK_DEV_IO_TRACE is not set
# CONFIG_LSF is not set

#
# IO Schedulers
#
CONFIG_IOSCHED_NOOP=y
CONFIG_IOSCHED_AS=m
CONFIG_IOSCHED_DEADLINE=m
CONFIG_IOSCHED_CFQ=y
# CONFIG_DEFAULT_AS is not set
# CONFIG_DEFAULT_DEADLINE is not set
CONFIG_DEFAULT_CFQ=y
# CONFIG_DEFAULT_NOOP is not set
CONFIG_DEFAULT_IOSCHED=cfq

#
# Processor type and features
#
# CONFIG_SMP is not set
CONFIG_X86_PC=y
# CONFIG_X86_ELAN is not set
# CONFIG_X86_VOYAGER is not set
# CONFIG_X86_NUMAQ is not set
# CONFIG_X86_SUMMIT is not set
# CONFIG_X86_BIGSMP is not set
# CONFIG_X86_VISWS is not set
# CONFIG_X86_GENERICARCH is not set
# CONFIG_X86_ES7000 is not set
# CONFIG_M386 is not set
# CONFIG_M486 is not set
CONFIG_M586=y
# CONFIG_M586TSC is not set
# CONFIG_M586MMX is not set
# CONFIG_M686 is not set
# CONFIG_MPENTIUMII is not set
# CONFIG_MPENTIUMIII is not set
# CONFIG_MPENTIUMM is not set
# CONFIG_MCORE2 is not set
# CONFIG_MPENTIUM4 is not set
# CONFIG_MK6 is not set
# CONFIG_MK7 is not set
# CONFIG_MK8 is not set
# CONFIG_MCRUSOE is not set
# CONFIG_MEFFICEON is not set
# CONFIG_MWINCHIPC6 is not set
# CONFIG_MWINCHIP2 is not set
# CONFIG_MWINCHIP3D is not set
# CONFIG_MGEODEGX1 is not set
# CONFIG_MGEODE_LX is not set
# CONFIG_MCYRIXIII is not set
# CONFIG_MVIAC3_2 is not set
# CONFIG_X86_GENERIC is not set
CONFIG_X86_CMPXCHG=y
CONFIG_X86_XADD=y
CONFIG_X86_L1_CACHE_SHIFT=5
CONFIG_RWSEM_XCHGADD_ALGORITHM=y
# CONFIG_ARCH_HAS_ILOG2_U32 is not set
# CONFIG_ARCH_HAS_ILOG2_U64 is not set
CONFIG_GENERIC_CALIBRATE_DELAY=y
CONFIG_X86_PPRO_FENCE=y
CONFIG_X86_F00F_BUG=y
CONFIG_X86_WP_WORKS_OK=y
CONFIG_X86_INVLPG=y
CONFIG_X86_BSWAP=y
CONFIG_X86_POPAD_OK=y
CONFIG_X86_CMPXCHG64=y
CONFIG_X86_ALIGNMENT_16=y
# CONFIG_HPET_TIMER is not set
# CONFIG_PREEMPT_NONE is not set
CONFIG_PREEMPT_VOLUNTARY=y
# CONFIG_PREEMPT is not set
# CONFIG_X86_UP_APIC is not set
CONFIG_X86_MCE=y
# CONFIG_X86_MCE_NONFATAL is not set
CONFIG_VM86=y
# CONFIG_TOSHIBA is not set
# CONFIG_I8K is not set
# CONFIG_X86_REBOOTFIXUPS is not set
# CONFIG_MICROCODE is not set
# CONFIG_X86_MSR is not set
# CONFIG_X86_CPUID is not set

#
# Firmware Drivers
#
# CONFIG_EDD is not set
# CONFIG_DELL_RBU is not set
# CONFIG_DCDBAS is not set
CONFIG_NOHIGHMEM=y
# CONFIG_HIGHMEM4G is not set
# CONFIG_HIGHMEM64G is not set
CONFIG_PAGE_OFFSET=0xC000
CONFIG_ARCH_POPULATES_NODE_MAP=y
CONFIG_FLATMEM=y
CONFIG_FLAT_NODE_MEM_MAP=y
# CONFIG_SPARSEMEM_STATIC is not set
CONFIG_SPLIT_PTLOCK_CPUS=4
# CONFIG_RESOURCES_64BIT is not set
# CONFIG_MATH_EMULATION is not set
CONFIG_MTRR=y
# CONFIG_SECCOMP is not set
# CONFIG_HZ_100 is not set
# CONFIG_HZ_250 is not set
# CONFIG_HZ_300 is not set
CONFIG_HZ_1000=y
CONFIG_HZ=1000
# CONFIG_KEXEC is not set
CONFIG_PHYSICAL_START=0x10
CONFIG_PHYSICAL_ALIGN=0x10
# CONFIG_COMPAT_VDSO is not set

#
# Power management options (ACPI, APM)
#
# 

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

2007-05-09 Thread Alan McKinnon
On Wednesday 09 May 2007, maxim wexler wrote:
 --- Alan McKinnon [EMAIL PROTECTED] wrote:
  On Wednesday 09 May 2007, maxim wexler wrote:
   Hi group,
  
   After upgrading from 2.6.16 to 2.6.20 kernel I no
   longer can access CD or DVD.
 
  LOTS of kernel config changes related to
  ATA/SATA/PATA/IDE/libata
  changed in 2.6.18 and 2.6.19 - menus moved around,
  the code was
  refactored, selection names changed, etc, etc.
 
  If you are not absolutely sure your config is
  correct, please post
  your .config, lspci and details about what hardware
  you really have

 done

You didn't say what bus type of cd  dvd you have, so I'm going to 
assume that they are IDE (or PATA in the new lingo). Speak up if they 
are actually SATA devices

[snip]
 #
 # Processor type and features
 #
[snip]
 CONFIG_M586=y
Nothing to do with your disks, but why this setting?
You seem to have a 64bit Opteron, not a MkI pentium
 # CONFIG_M586TSC is not set
 # CONFIG_M586MMX is not set
 # CONFIG_M686 is not set
 # CONFIG_MPENTIUMII is not set
 # CONFIG_MPENTIUMIII is not set
 # CONFIG_MPENTIUMM is not set
 # CONFIG_MCORE2 is not set
 # CONFIG_MPENTIUM4 is not set
 # CONFIG_MK6 is not set
 # CONFIG_MK7 is not set
 # CONFIG_MK8 is not set
maybe this one is more suitable for your hardware
[snip]
 #
 # ATA/ATAPI/MFM/RLL support
 #
 CONFIG_IDE=y
 CONFIG_BLK_DEV_IDE=y

 #
 # Please see Documentation/ide.txt for help/info on
 IDE drives
 #
 # CONFIG_BLK_DEV_IDE_SATA is not set
 # CONFIG_BLK_DEV_HD_IDE is not set
 CONFIG_BLK_DEV_IDEDISK=y
 CONFIG_IDEDISK_MULTI_MODE=y
 CONFIG_BLK_DEV_IDECD=y
 # CONFIG_BLK_DEV_IDEFLOPPY is not set
 # CONFIG_BLK_DEV_IDESCSI is not set
 # CONFIG_IDE_TASK_IOCTL is not set

 #
 # IDE chipset support/bugfixes
 #
 CONFIG_IDE_GENERIC=m

is this module loaded?

 # CONFIG_BLK_DEV_CMD640 is not set
 CONFIG_BLK_DEV_IDEPCI=y
 CONFIG_IDEPCI_SHARE_IRQ=y
 # CONFIG_BLK_DEV_OFFBOARD is not set
 # CONFIG_BLK_DEV_GENERIC is not set
 # CONFIG_BLK_DEV_RZ1000 is not set
 CONFIG_BLK_DEV_IDEDMA_PCI=y
 # CONFIG_BLK_DEV_IDEDMA_FORCED is not set
 CONFIG_IDEDMA_PCI_AUTO=y
 # CONFIG_IDEDMA_ONLYDISK is not set
 # CONFIG_BLK_DEV_AEC62XX is not set
 # CONFIG_BLK_DEV_ALI15X3 is not set
 CONFIG_BLK_DEV_AMD74XX=m

is this module loaded?

 # CONFIG_BLK_DEV_ATIIXP is not set
 # CONFIG_BLK_DEV_CMD64X is not set
 # CONFIG_BLK_DEV_TRIFLEX is not set
 # CONFIG_BLK_DEV_CY82C693 is not set
 # CONFIG_BLK_DEV_CS5530 is not set
 # CONFIG_BLK_DEV_CS5535 is not set
 # CONFIG_BLK_DEV_HPT34X is not set
 # CONFIG_BLK_DEV_HPT366 is not set
 # CONFIG_BLK_DEV_JMICRON is not set
 # CONFIG_BLK_DEV_SC1200 is not set
 # CONFIG_BLK_DEV_PIIX is not set
 # CONFIG_BLK_DEV_IT821X is not set
 # CONFIG_BLK_DEV_NS87415 is not set
 # CONFIG_BLK_DEV_PDC202XX_OLD is not set
 # CONFIG_BLK_DEV_PDC202XX_NEW is not set
 # CONFIG_BLK_DEV_SVWKS is not set
 CONFIG_BLK_DEV_SIIMAGE=m
 # CONFIG_BLK_DEV_SIS5513 is not set
 # CONFIG_BLK_DEV_SLC90E66 is not set
 # CONFIG_BLK_DEV_TRM290 is not set
 # CONFIG_BLK_DEV_VIA82CXXX is not set
 # CONFIG_IDE_ARM is not set
 CONFIG_BLK_DEV_IDEDMA=y
 # CONFIG_IDEDMA_IVB is not set
 CONFIG_IDEDMA_AUTO=y
 # CONFIG_BLK_DEV_HD is not set

[snip]

 #
 # Serial ATA (prod) and Parallel ATA (experimental)
 drivers
 #
 CONFIG_ATA=y
 # CONFIG_ATA_NONSTANDARD is not set
 # CONFIG_SATA_AHCI is not set
 # CONFIG_SATA_SVW is not set
 # CONFIG_ATA_PIIX is not set
 CONFIG_SATA_NV=y
 # CONFIG_PDC_ADMA is not set
 # CONFIG_SATA_QSTOR is not set
 # CONFIG_SATA_PROMISE is not set
 CONFIG_SATA_SIL=y
 # CONFIG_SATA_SIL24 is not set
 # CONFIG_SATA_SIS is not set
 # CONFIG_SATA_ULI is not set
 # CONFIG_SATA_VIA is not set
 # CONFIG_SATA_VITESSE is not set
 # CONFIG_PATA_AMD is not set

You could try this one as a module and see if it works

[snip]

 As in the original post have /dev/hdc lite-on cdrom
 reader/writer and /dev/hdd have creative labs dvd reader.

At first glance your .config looks ok, so make sure those modules are in 
fact loading.

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:


3,  0
22,  0
33,  0

and anything else you might find relevant in 
kernel-sources/Documentation/devices.txt

alan

 

-- 
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

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