Re: [gentoo-user] mount cdrom: No buffer space available

2008-01-01 Thread Cocoy Dayao

Encountered:

warhammer etc # mount /dev/cdrom
mount: block device /dev/cdrom is write-protected, mounting read-only
mount: No buffer space available

i googled and found a no buffer space available.

followed suggestions on the thread:

warhammer etc # mount -va  df  mount -v /mnt/cdrom
mount: /dev/sda7 already mounted on /mnt/home1
mount: /dev/sda5 already mounted on /mnt/oldroot
mount: /dev/sda1 already mounted on /mnt/Movies
mount: /dev/sda2 already mounted on /mnt/windows2
mount: /dev/sda3 already mounted on /mnt/boot
mount: shm already mounted on /dev/shm
mount: you didn't specify a filesystem type for /dev/cdrom
   I will try all types mentioned in /etc/filesystems or /proc/ 
filesystems

Trying #
Trying #vfat
Trying ext4dev
mount: block device /dev/cdrom is write-protected, mounting read-only
mount: you didn't specify a filesystem type for /dev/cdrom
   I will try all types mentioned in /etc/filesystems or /proc/ 
filesystems

Trying #
Trying #vfat
Trying ext4dev
Trying squashfs
Trying msdos
Trying hfsplus
Trying gfs2
mount: No buffer space available

***
so i guess it was looking for a lot of fs, but the machine couldn't  
find the right one.

i dunno why.

my fstab:

/dev/cdrom  /mnt/cdrom  autoauto,users  0 0
#/dev/fd0   /mnt/floppy autonoauto  0 0
/dev/hda1   /   ext3noatime 0 1
/dev/sda7   /mnt/home1  xfs user0 0
/dev/sda6   noneswapsw  0 0
/dev/sda5   /mnt/oldrootxfs user0 0
/dev/sda1   /mnt/Movies xfs user0 0
/dev/sda2   /mnt/windows2   vfatuser0 0
/dev/sda3   /mnt/boot   ext3noatime 1 2
/dev/sdb/mnt/ipod   hfsplus noauto,user 0 0

so i changed /mnt/cdrom from auto to iso9660

and... everything works. no more no buffer buffer space available  
error after that.


my question is... is there a way to set it to auto and still it will  
pick up iso9660? or maybe i missed some setting on the kernel that  
needs to be set?


thanks.
--
Cocoy
People who are really serious about software should make their own  
hardware. --Alan Kay


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] mount cdrom: No buffer space available

2008-01-01 Thread Jerry McBride
On Tuesday 01 January 2008 10:50:26 pm Cocoy Dayao wrote:
 Encountered:

 warhammer etc # mount /dev/cdrom
 mount: block device /dev/cdrom is write-protected, mounting read-only
 mount: No buffer space available

 i googled and found a no buffer space available.

 followed suggestions on the thread:

 warhammer etc # mount -va  df  mount -v /mnt/cdrom
 mount: /dev/sda7 already mounted on /mnt/home1
 mount: /dev/sda5 already mounted on /mnt/oldroot
 mount: /dev/sda1 already mounted on /mnt/Movies
 mount: /dev/sda2 already mounted on /mnt/windows2
 mount: /dev/sda3 already mounted on /mnt/boot
 mount: shm already mounted on /dev/shm
 mount: you didn't specify a filesystem type for /dev/cdrom
 I will try all types mentioned in /etc/filesystems or /proc/
 filesystems
 Trying #
 Trying #vfat
 Trying ext4dev
 mount: block device /dev/cdrom is write-protected, mounting read-only
 mount: you didn't specify a filesystem type for /dev/cdrom
 I will try all types mentioned in /etc/filesystems or /proc/
 filesystems
 Trying #
 Trying #vfat
 Trying ext4dev
 Trying squashfs
 Trying msdos
 Trying hfsplus
 Trying gfs2
 mount: No buffer space available

 ***
 so i guess it was looking for a lot of fs, but the machine couldn't
 find the right one.
 i dunno why.

 my fstab:

 /dev/cdrom/mnt/cdrom  autoauto,users  0 0
 #/dev/fd0 /mnt/floppy autonoauto  0 0
 /dev/hda1 /   ext3noatime 0 1
 /dev/sda7 /mnt/home1  xfs user0 0
 /dev/sda6 noneswapsw  0 0
 /dev/sda5 /mnt/oldrootxfs user0 0
 /dev/sda1 /mnt/Movies xfs user0 0
 /dev/sda2 /mnt/windows2   vfatuser0 0
 /dev/sda3 /mnt/boot   ext3noatime 1 2
 /dev/sdb  /mnt/ipod   hfsplus noauto,user 0 0

 so i changed /mnt/cdrom from auto to iso9660

 and... everything works. no more no buffer buffer space available
 error after that.

 my question is... is there a way to set it to auto and still it will
 pick up iso9660? or maybe i missed some setting on the kernel that
 needs to be set?


What is the cdrom? Music or Data? You can't mount a music cdrom... period. 
However, if it's a data cd, then iso9660 MUST either be build into the kernel 
or available as a module for the auto part of your cdrom fstab line to work 
correctly... hmmm... maybe need also autoload in the module loading section 
of the kernel configurator.


Cheers.








-- 


From the Desk of: Jerome D. McBride
--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] mount cdrom: No buffer space available

2008-01-01 Thread Cocoy Dayao


On Jan 2, 2008, at 12:22 PM, Jerry McBride wrote:


On Tuesday 01 January 2008 10:50:26 pm Cocoy Dayao wrote:




What is the cdrom? Music or Data? You can't mount a music cdrom...  
period.


data

However, if it's a data cd, then iso9660 MUST either be build into  
the kernel
or available as a module for the auto part of your cdrom fstab  
line to work
correctly... hmmm... maybe need also autoload in the module  
loading section

of the kernel configurator.




ok. thanks! i'll check that out.

--
Cocoy
People who are really serious about software should make their own  
hardware. --Alan Kay


--
[EMAIL PROTECTED] mailing list



RE: [gentoo-user] mount cdrom: No buffer space available

2008-01-01 Thread Adam Carter
 data
 
  However, if it's a data cd, then iso9660 MUST either be build into  
  the kernel
  or available as a module for the auto part of your cdrom fstab  
  line to work
  correctly... hmmm... maybe need also autoload in the module  
  loading section
  of the kernel configurator.
 
 
 
 ok. thanks! i'll check that out.

Try;
$ grep ISO9660 /usr/src/linux/.config

If it says
CONFIG_ISO9660_FS=y - its built into the kernel, and should be working
CONFIG_ISO9660_FS=m - its built as a module, so try 'modprobe iso9660'
and attempt the mount again (but it should load the module automatically
# CONFIG_ISO9660_FS is not set - you need to build it. You might as
well just build it as a module, so you don't have to change your kernel
and reboot etc. Just update your .config file, then run make modules 
make modules_install  modprobe iso9660 and try to mount it again. 

-Ad


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] mount cdrom: No buffer space available

2008-01-01 Thread Cocoy Dayao


On Jan 2, 2008, at 1:32 PM, Adam Carter wrote:




If it says
CONFIG_ISO9660_FS=y - its built into the kernel, and should be  
working


yep. it is built into the kernel. so auto should work, correct?

--
Cocoy
People who are really serious about software should make their own  
hardware. --Alan Kay


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] mount cdrom: No buffer space available

2008-01-01 Thread Paul Colquhoun
On Wed, 2 Jan 2008, Cocoy Dayao wrote:
 
 On Jan 2, 2008, at 1:32 PM, Adam Carter wrote:
 
 
  If it says
  CONFIG_ISO9660_FS=y - its built into the kernel, and should be  
  working
 
 yep. it is built into the kernel. so auto should work, correct?


You could try moving iso9660 to the top in /etc/filesystems, so it gets 
tried first.


-- 
Reverend Paul Colquhoun, ULC.http://andor.dropbear.id.au/~paulcol
 Asking for technical help in newsgroups?  Read this first:
http://catb.org/~esr/faqs/smart-questions.html#intro
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] mount cdrom: No buffer space available

2008-01-01 Thread Cocoy Dayao


On Jan 2, 2008, at 2:42 PM, Paul Colquhoun wrote:


On Wed, 2 Jan 2008, Cocoy Dayao wrote:






You could try moving iso9660 to the top in /etc/filesystems, so it  
gets

tried first.




yep. done. thanks!

--
Cocoy
People who are really serious about software should make their own  
hardware. --Alan Kay


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] mount cdrom: No buffer space available

2007-11-25 Thread Dirk Heinrichs
Am Freitag, 23. November 2007 schrieb ext Dan Farrell:
 On Fri, 23 Nov 2007 09:11:06 +

 Neil Bothwick [EMAIL PROTECTED] wrote:
  On Fri, 23 Nov 2007 08:15:48 + (UTC), Thufir wrote:
   In this case, the discs are fine, as are the drives.  The drives
   mount fine in Fedora and read these particular discs fine (music
   CD's).
 
  You don't mount audio CDs.

 But can't you mount them?

There is no need to do so. However, a fuse based filesystem for mounting 
audio CDs exists, see http://castet.matthieu.free.fr/cddfs/.

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] mount cdrom: No buffer space available

2007-11-23 Thread Dan Farrell
On Fri, 23 Nov 2007 07:36:44 +0100
Dirk Heinrichs [EMAIL PROTECTED] wrote:

 Am Donnerstag, 22. November 2007 schrieb ext Stroller:
 
  A Google seems to suggest that mount: No buffer space available
  is commonly returned when the device is already mounted.
 
 I also found (with Google) one forum posting where it was stated that
 the cause was a bad, self-burned disk in the drive. When the poster
 changed the disk, the problem disapeared.
 
 Bye...
 
   Dirk

Who knows?  If the mounting process does a whole bunch of stuff before
allocating buffer space or dying on that error, it's difficult to say
what's going on ... without looking at the code.  
-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] mount cdrom: No buffer space available

2007-11-22 Thread Thufir
I'm going by http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?
part=1chap=8 to mount the cdrom and cdrw drives, but it's failing.

There are two optical drives:  a CD-ROM and a CD-R/W; both drives work 
physically.

When I enter mount /mnt/cdrom1 or mount /mnt/cdrw1 then I hear a 
drive spin before it fails, but mount /dev/cdrom doesn't cause any 
noise.  They all fail, error messages:


arrakis ~ # 
arrakis ~ # 
arrakis ~ # ll /dev/cd*
lrwxrwxrwx 1 root root 3 Nov 21 23:36 /dev/cdrom - hdc
lrwxrwxrwx 1 root root 3 Nov 21 23:36 /dev/cdrom1 - hdd
lrwxrwxrwx 1 root root 3 Nov 21 23:36 /dev/cdrw1 - hdd
arrakis ~ # 
arrakis ~ # cat /etc/fstab
/dev/cdrom  /mnt/cdrom  autonoauto,user 0 0
/dev/cdrom1 /mnt/cdrom1 autonoauto,user 0 0
/dev/cdrw1  /mnt/cdrw1  autonoauto,user 0 0

/dev/hdb1   /boot   ext2defaults1 2
/dev/hdb2   noneswapsw  0 0
/dev/hdb3   /   ext3noatime 0 1
none/proc   procdefaults0 0
none/dev/shmtmpfs   defaults0 0
/dev/VolGroup00/LogVol00/mnt/VolGroup00/LogVol00ext3
users,rw0 0

arrakis ~ # 
arrakis ~ # mount -a
arrakis ~ # 
arrakis ~ # mount /mnt/cdrom
mount: block device /dev/cdrom is write-protected, mounting read-only
mount: No buffer space available
arrakis ~ # 
arrakis ~ # mount /mnt/cdrom1
mount: block device /dev/cdrom1 is write-protected, mounting read-only
mount: No buffer space available
arrakis ~ # 
arrakis ~ # mount /mnt/cdrw1 
mount: block device /dev/cdrw1 is write-protected, mounting read-only
mount: No buffer space available
arrakis ~ # 




thanks,

Thufir

-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] mount cdrom: No buffer space available

2007-11-22 Thread Stroller


On 22 Nov 2007, at 09:18, Thufir wrote:

...
arrakis ~ #
arrakis ~ # mount -a
arrakis ~ #
arrakis ~ # mount /mnt/cdrom
mount: block device /dev/cdrom is write-protected, mounting read-only
mount: No buffer space available
arrakis ~ #
arrakis ~ # mount /mnt/cdrom1
mount: block device /dev/cdrom1 is write-protected, mounting read-only
mount: No buffer space available
arrakis ~ #
arrakis ~ # mount /mnt/cdrw1
mount: block device /dev/cdrw1 is write-protected, mounting read-only
mount: No buffer space available
arrakis ~ #

...

A Google seems to suggest that mount: No buffer space available is  
commonly returned when the device is already mounted.


The manpage for `mount` indicates that `mount -a` will mount all  
devices listed in /etc/fstab, so your output suggests to me that the  
CD drives are mounted when you issue this command - no wonder they  
fail when you try to mount them again separately!


I don't use optical drives very much under Linux, so please forgive  
me if I'm mistaken. I'd think that `df` would show the mount status  
of optical drives, so IMO it'd be useful to post the output of `mount  
-va  df  mount -v /mnt/cdrom`


Stroller.

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] mount cdrom: No buffer space available

2007-11-22 Thread Dan Farrell
On Thu, 22 Nov 2007 15:20:43 +
Stroller [EMAIL PROTECTED] wrote:

 A Google seems to suggest that mount: No buffer space available is  
 commonly returned when the device is already mounted.

Possibly, but I think this is unlikely.  I have seen the 'already
mounted' error many times but never this buffer error.  
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] mount cdrom: No buffer space available

2007-11-22 Thread Dirk Heinrichs
Am Donnerstag, 22. November 2007 schrieb ext Stroller:

 A Google seems to suggest that mount: No buffer space available is  
 commonly returned when the device is already mounted.

I also found (with Google) one forum posting where it was stated that the 
cause was a bad, self-burned disk in the drive. When the poster changed the 
disk, the problem disapeared.

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.