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?



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

2011-02-26 Thread Roger Cahn
Hi,

Since I have installed kernel amd64 I have nomore
cdrom and sr0 in /dev
Here is my emerge --info:

Portage 2.1.9.25 (default/linux/amd64/10.0/desktop, gcc-4.4.4,
glibc-2.11.2-r3, 2.6.36-gentoo-r5 x86_64)
=
System uname:
Linux-2.6.36-gentoo-r5-x86_64-Intel-R-_Core-TM-2_Duo_CPU_E6850_@_3.00GHz-with-gentoo-1.12.14
Timestamp of tree: Fri, 25 Feb 2011 08:15:01 +
app-shells/bash: 4.1_p9
dev-java/java-config: 2.1.11-r3
dev-lang/python: 2.6.6-r1, 3.1.2-r4
dev-util/cmake:  2.8.1-r2
sys-apps/baselayout: 1.12.14-r1
sys-apps/sandbox:2.4
sys-devel/autoconf:  2.13, 2.65-r1
sys-devel/automake:  1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:   4.4.4-r2
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.10
sys-devel/make:  3.81-r2
virtual/os-headers:  2.6.36.1 (sys-kernel/linux-headers)
ACCEPT_KEYWORDS=amd64
ACCEPT_LICENSE=* -@EULA
CBUILD=x86_64-pc-linux-gnu
CFLAGS=-O2 -march=native -pipe
CHOST=x86_64-pc-linux-gnu
CONFIG_PROTECT=/etc /usr/share/config /usr/share/gnupg/qualified.txt
CONFIG_PROTECT_MASK=/etc/ca-certificates.conf /etc/env.d
/etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild
/etc/sandbox.d /etc/splash /etc/terminfo
CXXFLAGS=-O2 -march=native -pipe
DISTDIR=/usr/portage/distfiles
FEATURES=assume-digests binpkg-logs distlocks fixlafiles fixpackages
news parallel-fetch protect-owned sandbox sfperms strict
unknown-features-warn unmerge-logs unmerge-orphans userfetch
GENTOO_MIRRORS=http://distfiles.gentoo.org;
LANG=fr_FR.UTF.8
LC_ALL=fr_FR.UTF.8
LDFLAGS=-Wl,-O1 -Wl,--as-needed
LINGUAS=fr fr_FR
MAKEOPTS=-j2
PKGDIR=/usr/portage/packages
PORTAGE_CONFIGROOT=/
PORTAGE_RSYNC_OPTS=--recursive --links --safe-links --perms --times
--compress --force --whole-file --delete --stats --timeout=180
--exclude=/distfiles --exclude=/local --exclude=/packages
PORTAGE_TMPDIR=/var/tmp
PORTDIR=/usr/portage
SYNC=rsync://rsync.europe.gentoo.org/gentoo-portage
USE=X a52 aac acl acpi alsa amd64 berkdb bluetooth branding bzip2 cairo
cdr cli consolekit cracklib crypt cups cxx dbus dri dts dvd dvdr emboss
encode exif fam firefox flac fortran gdbm gdu gif gpm gtk iconv ipv6
jpeg lcms ldap libnotify mad mikmod mmx mng modules mp3 mp4 mpeg mudflap
multilib ncurses nls nptl nptlonly ogg opengl openmp pam pango pcre pdf
perl png policykit ppds pppd python qt3support qt4 readline sdl session
spell sse sse2 ssl startup-notification svg sysfs tcpd tiff truetype
udev unicode usb vorbis x264 xcb xml xorg xulrunner xv xvid zlib
ALSA_CARDS=ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci
emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0
intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci
ALSA_PCM_PLUGINS=adpcm alaw asym copy dmix dshare dsnoop empty extplug
file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw
multi null plug rate route share shm softvol APACHE2_MODULES=actions
alias auth_basic authn_alias authn_anon authn_dbm authn_default
authn_file authz_dbm authz_default authz_groupfile authz_host
authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock
deflate dir disk_cache env expires ext_filter file_cache filter headers
include info log_config logio mem_cache mime mime_magic negotiation
rewrite setenvif speling status unique_id userdir usertrack vhost_alias
CAMERAS=ptp2 COLLECTD_PLUGINS=df interface irq load memory rrdtool
swap syslog ELIBC=glibc GPSD_PROTOCOLS=ashtech aivdm earthmate
evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom
oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing
tsip tripmate tnt ubx INPUT_DEVICES=evdev KERNEL=linux
LCD_DEVICES=bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb
ncurses text LINGUAS=fr fr_FR PHP_TARGETS=php5-3
RUBY_TARGETS=ruby18 USERLAND=GNU VIDEO_CARDS=nvidia
XTABLES_ADDONS=quota2 psd pknock lscan length2 ipv4options ipset ipp2p
iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark
dhcpmac delude chaos account
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK,
PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS,
PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY

Thanks for the help
Roger




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.