Re: [gentoo-user] Problem with /devcdrom /dev/sro [solved]

2011-02-28 Thread Jacques Montier
Le 27/02/2011 18:38, Mike Gilbert a écrit :
 On Sun, Feb 27, 2011 at 5:32 AM, Jacques Montier
 jacques.mont...@numericable.fr wrote:
 My kernel configuration :

 # SCSI device support
 CONFIG_SCSI_MOD=y
 CONFIG_SCSI=y
 CONFIG_SCSI_DMA=y
 CONFIG_SCSI_TGT=y
 CONFIG_SCSI_NETLINK=y
 CONFIG_SCSI_PROC_FS=y
 # SCSI support type (disk, tape, CD-ROM)
 # CONFIG_SCSI_ENCLOSURE is not set
 CONFIG_SCSI_MULTI_LUN=y
 CONFIG_SCSI_CONSTANTS=y
 CONFIG_SCSI_LOGGING=y
 # CONFIG_SCSI_SCAN_ASYNC is not set
 CONFIG_SCSI_WAIT_SCAN=m
 # SCSI Transports
 CONFIG_SCSI_SPI_ATTRS=m
 CONFIG_SCSI_FC_ATTRS=m
 # CONFIG_SCSI_FC_TGT_ATTRS is not set
 CONFIG_SCSI_ISCSI_ATTRS=m
 # CONFIG_SCSI_SAS_ATTRS is not set
 # CONFIG_SCSI_SAS_LIBSAS is not set
 # CONFIG_SCSI_SRP_ATTRS is not set
 CONFIG_SCSI_LOWLEVEL=y
 
 That's a strange looking SCSI support type section. Here's mine, for
 reference:
 
 #
 # SCSI support type (disk, tape, CD-ROM)
 #
 CONFIG_BLK_DEV_SD=y
 CONFIG_CHR_DEV_ST=y
 # CONFIG_CHR_DEV_OSST is not setabsense
 CONFIG_BLK_DEV_SR=y
 # CONFIG_BLK_DEV_SR_VENDOR is not set
 CONFIG_CHR_DEV_SG=y
 # CONFIG_CHR_DEV_SCH is not set
 CONFIG_SCSI_MULTI_LUN=y
 CONFIG_SCSI_CONSTANTS=y
 # CONFIG_SCSI_LOGGING is not set
 # CONFIG_SCSI_SCAN_ASYNC is not set
 CONFIG_SCSI_WAIT_SCAN=m
 
 You need CONFIG_BLK_DEV_SR for /dev/sr* to work, so its absence in
 your config is rather suspicious.
 

Hi Mike,

I saw that CONFIG_IDE (DEPRECATED) was set to yes ; so the disk names
were hda1, hda2, hdb, hdc instead of sda1, etc...
I set CONFIG_IDE to no and use CONFIG_ATA.
Now sda1, sda2 and ...sr0 are back and everything works fine !

Thank you for your help

Cheers,

--
Jacques




Re: [gentoo-user] Problem with /devcdrom /dev/sro

2011-02-28 Thread Roger Cahn

 497 lines. Could you please: increase the buffer and turn off usb debugging?

Hi Volker,

I tried again and I hope you'llhave now the complete dmesg.
Here is the adress:

 http://dl.free.fr/qUJf6qr39





Re: [gentoo-user] Problem with /devcdrom /dev/sro [solved]

2011-02-28 Thread Roger Cahn

 I tried again and I hope you'llhave now the complete dmesg.

A friend found how to solve the problem.
He changed some settings in Device Drivers,
specially in Serial ATA and Paralell ATA drivers,
and somewhere else.
Now I have cdrom and sr0 in /dev and the player works.

Thank you for your help.
Roger




Re: [gentoo-user] Problem with /devcdrom /dev/sro

2011-02-27 Thread Jacques Montier
Le 26/02/2011 13:11, Volker Armin Hemmann a écrit :
 On Saturday 26 February 2011 13:03:00 Roger Cahn wrote:
 Hi,

 Since I have installed kernel amd64 I have nomore
 cdrom and sr0 in /dev
 Here is my emerge --info:
 which is useless. dmesg and kernel config would be much more helpfull. 
 Especially the scsi part of kernel config. Stuff like cdrom support.


Hi everybody,

I encounter the same problem with x86 system (Everything is ok on my
second x86_64 PC).
I didn't change anything in kernel configuration and recently,
/dev/cdrom and /dev/sr0 disappeared.
So, i can't mount any cdrom, but surprisingly, i can burn or erase a RW
dvdrom with Brasero...
dmesg does not show any error message before or after inserting cdrom or
dvdrom.

# dmesg | grep cdrom
#cdrom: Uniform CD-ROM driver Revision: 3.20

# dmesg | grep sr0
#


I don't use hal (-hal in make.conf)


My kernel configuration :

# SCSI device support
CONFIG_SCSI_MOD=y
CONFIG_SCSI=y
CONFIG_SCSI_DMA=y
CONFIG_SCSI_TGT=y
CONFIG_SCSI_NETLINK=y
CONFIG_SCSI_PROC_FS=y
# SCSI support type (disk, tape, CD-ROM)
# CONFIG_SCSI_ENCLOSURE is not set
CONFIG_SCSI_MULTI_LUN=y
CONFIG_SCSI_CONSTANTS=y
CONFIG_SCSI_LOGGING=y
# CONFIG_SCSI_SCAN_ASYNC is not set
CONFIG_SCSI_WAIT_SCAN=m
# SCSI Transports
CONFIG_SCSI_SPI_ATTRS=m
CONFIG_SCSI_FC_ATTRS=m
# CONFIG_SCSI_FC_TGT_ATTRS is not set
CONFIG_SCSI_ISCSI_ATTRS=m
# CONFIG_SCSI_SAS_ATTRS is not set
# CONFIG_SCSI_SAS_LIBSAS is not set
# CONFIG_SCSI_SRP_ATTRS is not set
CONFIG_SCSI_LOWLEVEL=y



# CD-ROM/DVD Filesystems
#
CONFIG_ISO9660_FS=y
CONFIG_JOLIET=y
# CONFIG_ZISOFS is not set


Thank you very much for your help,

Best regards

--
Jacques





Re: [gentoo-user] Problem with /devcdrom /dev/sro

2011-02-27 Thread Jacques Montier
Le 27/02/2011 11:32, Jacques Montier a écrit :
 Le 26/02/2011 13:11, Volker Armin Hemmann a écrit :
 On Saturday 26 February 2011 13:03:00 Roger Cahn wrote:
 Hi,

 Since I have installed kernel amd64 I have nomore
 cdrom and sr0 in /dev
 Here is my emerge --info:
 which is useless. dmesg and kernel config would be much more helpfull. 
 Especially the scsi part of kernel config. Stuff like cdrom support.

 Hi everybody,

 I encounter the same problem with x86 system (Everything is ok on my
 second x86_64 PC).
 I didn't change anything in kernel configuration and recently,
 /dev/cdrom and /dev/sr0 disappeared.
 So, i can't mount any cdrom, but surprisingly, i can burn or erase a RW
 dvdrom with Brasero...
 dmesg does not show any error message before or after inserting cdrom or
 dvdrom.

 # dmesg | grep cdrom
 #cdrom: Uniform CD-ROM driver Revision: 3.20

 # dmesg | grep sr0
 #


 I don't use hal (-hal in make.conf)


 My kernel configuration :

 # SCSI device support
 CONFIG_SCSI_MOD=y
 CONFIG_SCSI=y
 CONFIG_SCSI_DMA=y
 CONFIG_SCSI_TGT=y
 CONFIG_SCSI_NETLINK=y
 CONFIG_SCSI_PROC_FS=y
 # SCSI support type (disk, tape, CD-ROM)
 # CONFIG_SCSI_ENCLOSURE is not set
 CONFIG_SCSI_MULTI_LUN=y
 CONFIG_SCSI_CONSTANTS=y
 CONFIG_SCSI_LOGGING=y
 # CONFIG_SCSI_SCAN_ASYNC is not set
 CONFIG_SCSI_WAIT_SCAN=m
 # SCSI Transports
 CONFIG_SCSI_SPI_ATTRS=m
 CONFIG_SCSI_FC_ATTRS=m
 # CONFIG_SCSI_FC_TGT_ATTRS is not set
 CONFIG_SCSI_ISCSI_ATTRS=m
 # CONFIG_SCSI_SAS_ATTRS is not set
 # CONFIG_SCSI_SAS_LIBSAS is not set
 # CONFIG_SCSI_SRP_ATTRS is not set
 CONFIG_SCSI_LOWLEVEL=y



 # CD-ROM/DVD Filesystems
 #
 CONFIG_ISO9660_FS=y
 CONFIG_JOLIET=y
 # CONFIG_ZISOFS is not set


 Thank you very much for your help,

 Best regards

 --
 Jacques




Some info : when i run udevadm monitor --kernel, nothing happens when
inserting cdrom.
# udevadm monitor --kernel
monitor will print the received events for:
KERNEL - the kernel uevent


--
Jacques



Re: [gentoo-user] Problem with /devcdrom /dev/sro

2011-02-27 Thread Roger Cahn
Thank you Volker for your answer.

 dmesg and kernel config would be much more helpfull. 

dmesg | grep cdrom and grep sr0 didn't give any answer

 Especially the scsi part of kernel config. Stuff like cdrom support.

Here is my scsi config in the kernel:

  RAID Transport Class

-*- SCSI device support

  SCSI target support

[*] legacy /proc/scsi/ support

 *** SCSI support type (disk, tape, CD-ROM)***
 * SCSI disk support

  SCSI tape support

  SCSI OnStream SC-x0 tape support

* SCSI CDROM support

[*]   Enable vendor-specificextensions(forSCSICDROM)
  * SCSI generic support

  SCSI media changer support

Probe all LUNs on each SCSI device

[*] Verbose SCSI error reporting (kernel size+=12K)

SCSI logging facility

[ ] Asynchronous SCSI scanning

SCSI Transports  ---

[ ] SCSI low-level drivers  ---

[ ] PCMCIA SCSI adapter support  ---
  SCSI Device Handlers  ---

  OSD-Initiator library

I hope it will help you...and me   :-)
Roger




Re: [gentoo-user] Problem with /devcdrom /dev/sro

2011-02-27 Thread Volker Armin Hemmann
On Sunday 27 February 2011 14:14:57 Roger Cahn wrote:
 Thank you Volker for your answer.
 
  dmesg and kernel config would be much more helpfull.
 
 dmesg | grep cdrom and grep sr0 didn't give any answer

complete dmesg would be nice nonetheless.


 
 * SCSI CDROM support
 
 [*]   Enable vendor-specificextensions(forSCSICDROM)
   * SCSI generic support
 

try that as module and reload it - what happens?




Re: [gentoo-user] Problem with /devcdrom /dev/sro

2011-02-27 Thread Pintér Tibor
On 02/26/2011 01:03 PM, Roger Cahn wrote:
 Hi,
 
 Since I have installed kernel amd64 I have nomore
 cdrom and sr0 in /dev

isnt it a pioneer sata device by any chance?

t



Re: [gentoo-user] Problem with /devcdrom /dev/sro

2011-02-27 Thread Roger Cahn

 complete dmesg would be nice nonetheless.

But in dmesg there are 1106 lines!
Would you like I send all or only a part of them?

 * SCSI CDROM support
 [*]   Enable vendor-specificextensions(forSCSICDROM)
   * SCSI generic support

 try that as module and reload it - what happens?

Nothing, bad luck!
Neither no cdrom nor sr0 in /dev





Re: [gentoo-user] Problem with /devcdrom /dev/sro

2011-02-27 Thread Roger Cahn

 isnt it a pioneer sata device by any chance?

No, it isn't.
Thanks for your answer
Roger




Re: [gentoo-user] Problem with /devcdrom /dev/sro

2011-02-27 Thread Mike Gilbert
On Sun, Feb 27, 2011 at 5:32 AM, Jacques Montier
jacques.mont...@numericable.fr wrote:
 My kernel configuration :

 # SCSI device support
 CONFIG_SCSI_MOD=y
 CONFIG_SCSI=y
 CONFIG_SCSI_DMA=y
 CONFIG_SCSI_TGT=y
 CONFIG_SCSI_NETLINK=y
 CONFIG_SCSI_PROC_FS=y
 # SCSI support type (disk, tape, CD-ROM)
 # CONFIG_SCSI_ENCLOSURE is not set
 CONFIG_SCSI_MULTI_LUN=y
 CONFIG_SCSI_CONSTANTS=y
 CONFIG_SCSI_LOGGING=y
 # CONFIG_SCSI_SCAN_ASYNC is not set
 CONFIG_SCSI_WAIT_SCAN=m
 # SCSI Transports
 CONFIG_SCSI_SPI_ATTRS=m
 CONFIG_SCSI_FC_ATTRS=m
 # CONFIG_SCSI_FC_TGT_ATTRS is not set
 CONFIG_SCSI_ISCSI_ATTRS=m
 # CONFIG_SCSI_SAS_ATTRS is not set
 # CONFIG_SCSI_SAS_LIBSAS is not set
 # CONFIG_SCSI_SRP_ATTRS is not set
 CONFIG_SCSI_LOWLEVEL=y

That's a strange looking SCSI support type section. Here's mine, for
reference:

#
# SCSI support type (disk, tape, CD-ROM)
#
CONFIG_BLK_DEV_SD=y
CONFIG_CHR_DEV_ST=y
# CONFIG_CHR_DEV_OSST is not setabsense
CONFIG_BLK_DEV_SR=y
# CONFIG_BLK_DEV_SR_VENDOR is not set
CONFIG_CHR_DEV_SG=y
# CONFIG_CHR_DEV_SCH is not set
CONFIG_SCSI_MULTI_LUN=y
CONFIG_SCSI_CONSTANTS=y
# CONFIG_SCSI_LOGGING is not set
# CONFIG_SCSI_SCAN_ASYNC is not set
CONFIG_SCSI_WAIT_SCAN=m

You need CONFIG_BLK_DEV_SR for /dev/sr* to work, so its absence in
your config is rather suspicious.



Re: [gentoo-user] Problem with /devcdrom /dev/sro

2011-02-27 Thread Volker Armin Hemmann
On Sunday 27 February 2011 16:55:26 Roger Cahn wrote:
  complete dmesg would be nice nonetheless.
 
 But in dmesg there are 1106 lines!
 Would you like I send all or only a part of them?
 
  * SCSI CDROM support
  [*]   Enable vendor-specificextensions(forSCSICDROM)
  
* SCSI generic
support
  
  try that as module and reload it - what happens?
 
 Nothing, bad luck!
 Neither no cdrom nor sr0 in /dev

and dmesg says  what?



Re: [gentoo-user] Problem with /devcdrom /dev/sro

2011-02-27 Thread Roger Cahn

 and dmesg says  what?

Because threre are many lines (1106)
you can get it at this adress:

 http://dl.free.fr/eaWeJr0WB

I hope it will work!




Re: [gentoo-user] Problem with /devcdrom /dev/sro

2011-02-27 Thread Volker Armin Hemmann
On Sunday 27 February 2011 19:45:53 Roger Cahn wrote:
  and dmesg says  what?
 
 Because threre are many lines (1106)
 
 you can get it at this adress:
  http://dl.free.fr/eaWeJr0WB
 
 I hope it will work!

497 lines. Could you please: increase the buffer and turn off usb debugging?



Re: [gentoo-user] Problem with /devcdrom /dev/sro

2011-02-26 Thread Volker Armin Hemmann
On Saturday 26 February 2011 13:03:00 Roger Cahn wrote:
 Hi,
 
 Since I have installed kernel amd64 I have nomore
 cdrom and sr0 in /dev
 Here is my emerge --info:

which is useless. dmesg and kernel config would be much more helpfull. 
Especially the scsi part of kernel config. Stuff like cdrom support.