public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user]  mount cdrom:   No buffer space available
@ 2007-11-22  9:18 Thufir
  2007-11-22 15:20 ` Stroller
  0 siblings, 1 reply; 20+ messages in thread
From: Thufir @ 2007-11-22  9:18 UTC (permalink / raw
  To: gentoo-user

I'm going by <http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?
part=1&chap=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      auto    noauto,user             0 0
/dev/cdrom1     /mnt/cdrom1     auto    noauto,user             0 0
/dev/cdrw1      /mnt/cdrw1      auto    noauto,user             0 0

/dev/hdb1       /boot           ext2    defaults                1 2
/dev/hdb2       none                    swap            sw      0 0
/dev/hdb3       /               ext3    noatime                 0 1
none            /proc           proc    defaults                0 0
none            /dev/shm        tmpfs   defaults                0 0
/dev/VolGroup00/LogVol00        /mnt/VolGroup00/LogVol00        ext3    
users,rw        0 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

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: [gentoo-user]  mount cdrom:   No buffer space available
  2007-11-22  9:18 [gentoo-user] mount cdrom: No buffer space available Thufir
@ 2007-11-22 15:20 ` Stroller
  2007-11-22 16:04   ` [gentoo-user] " Thufir
                     ` (2 more replies)
  0 siblings, 3 replies; 20+ messages in thread
From: Stroller @ 2007-11-22 15:20 UTC (permalink / raw
  To: gentoo-user


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.

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 20+ messages in thread

* [gentoo-user]  Re: mount cdrom:   No buffer space available
  2007-11-22 15:20 ` Stroller
@ 2007-11-22 16:04   ` Thufir
  2007-11-22 19:00   ` [gentoo-user] " Dan Farrell
  2007-11-23  6:36   ` Dirk Heinrichs
  2 siblings, 0 replies; 20+ messages in thread
From: Thufir @ 2007-11-22 16:04 UTC (permalink / raw
  To: gentoo-user

On Thu, 22 Nov 2007 15:20:43 +0000, Stroller wrote:

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

Oh, I wasn't finding that or didn't know how to interpret it.

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

Yes, I concur with everything above.  However, I guess I left out the 
fact that there's a disc in each drive; the discs are readable.


arrakis ~ # 
arrakis ~ # mount -a
arrakis ~ # 
arrakis ~ # mount
/dev/hdb3 on / type ext3 (rw,noatime)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec)
udev on /dev type tmpfs (rw,nosuid)
devpts on /dev/pts type devpts (rw,nosuid,noexec)
/dev/hdb1 on /boot type ext2 (rw)
none on /dev/shm type tmpfs (rw)
/dev/mapper/VolGroup00-LogVol00 on /mnt/VolGroup00/LogVol00 type ext3 
(rw,noexec,nosuid,nodev)
usbfs on /proc/bus/usb type usbfs 
(rw,noexec,nosuid,devmode=0664,devgid=85)
arrakis ~ # 
arrakis ~ # mount -va && df && mount -v /mnt/cdrom
mount: /dev/hdb1 already mounted on /boot
mount: none already mounted on /dev/shm
mount: /dev/VolGroup00/LogVol00 already mounted on /mnt/VolGroup00/
LogVol00
mount: proc already mounted
arrakis ~ # 
arrakis ~ # ll /mnt/     
total 20
drwxr-xr-x 3 root root 4096 Oct  7 00:17 VolGroup00
drwx------ 2 root root 4096 Jul 26 02:54 cdrom
drwxr-xr-x 2 root root 4096 Nov 22 00:37 cdrom1
drwxr-xr-x 2 root root 4096 Nov 21 23:54 cdrw1
drwx------ 2 root root 4096 Jul 26 02:54 floppy
arrakis ~ # 
arrakis ~ # ll /mnt/cdrom
total 0
arrakis ~ # 
arrakis ~ # ll /mnt/cdrom1
total 0
arrakis ~ # 
arrakis ~ # ll /mnt/cdrw1 
total 0
arrakis ~ # 
arrakis ~ # 


thanks,

Thufir

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: [gentoo-user]  mount cdrom:   No buffer space available
  2007-11-22 15:20 ` Stroller
  2007-11-22 16:04   ` [gentoo-user] " Thufir
@ 2007-11-22 19:00   ` Dan Farrell
  2007-11-23  6:36   ` Dirk Heinrichs
  2 siblings, 0 replies; 20+ messages in thread
From: Dan Farrell @ 2007-11-22 19:00 UTC (permalink / raw
  To: gentoo-user

On Thu, 22 Nov 2007 15:20:43 +0000
Stroller <stroller@stellar.eclipse.co.uk> 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.  
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: [gentoo-user]  mount cdrom:   No buffer space available
  2007-11-22 15:20 ` Stroller
  2007-11-22 16:04   ` [gentoo-user] " Thufir
  2007-11-22 19:00   ` [gentoo-user] " Dan Farrell
@ 2007-11-23  6:36   ` Dirk Heinrichs
  2007-11-23  8:01     ` Dan Farrell
  2007-11-23  8:15     ` [gentoo-user] " Thufir
  2 siblings, 2 replies; 20+ messages in thread
From: Dirk Heinrichs @ 2007-11-23  6:36 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 729 bytes --]

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: dirk.heinrichs@capgemini.com
Wanheimerstraße 68      | Web:  http://www.capgemini.com
D-40468 Düsseldorf      | ICQ#: 110037733
GPG Public Key C2E467BB | Keyserver: www.keyserver.net

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: [gentoo-user]  mount cdrom:   No buffer space available
  2007-11-23  6:36   ` Dirk Heinrichs
@ 2007-11-23  8:01     ` Dan Farrell
  2007-11-23  8:15     ` [gentoo-user] " Thufir
  1 sibling, 0 replies; 20+ messages in thread
From: Dan Farrell @ 2007-11-23  8:01 UTC (permalink / raw
  To: gentoo-user

On Fri, 23 Nov 2007 07:36:44 +0100
Dirk Heinrichs <dirk.heinrichs.ext@nsn.com> 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.  
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 20+ messages in thread

* [gentoo-user]  Re: mount cdrom:   No buffer space available
  2007-11-23  6:36   ` Dirk Heinrichs
  2007-11-23  8:01     ` Dan Farrell
@ 2007-11-23  8:15     ` Thufir
  2007-11-23  9:11       ` Neil Bothwick
  1 sibling, 1 reply; 20+ messages in thread
From: Thufir @ 2007-11-23  8:15 UTC (permalink / raw
  To: gentoo-user

On Fri, 23 Nov 2007 07:36:44 +0100, Dirk Heinrichs wrote:

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

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

What other things effect mounting devices? can I test the /dev/ 
configuration?  how about mtab?  Just shots in the dark...



thanks,

Thufir

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: [gentoo-user]  Re: mount cdrom:   No buffer space available
  2007-11-23  8:15     ` [gentoo-user] " Thufir
@ 2007-11-23  9:11       ` Neil Bothwick
  2007-11-23 18:21         ` Dan Farrell
  0 siblings, 1 reply; 20+ messages in thread
From: Neil Bothwick @ 2007-11-23  9:11 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 279 bytes --]

On Fri, 23 Nov 2007 08:15:48 +0000 (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.


-- 
Neil Bothwick

Procrastinate now!

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: [gentoo-user]  Re: mount cdrom:   No buffer space available
  2007-11-23  9:11       ` Neil Bothwick
@ 2007-11-23 18:21         ` Dan Farrell
  2007-11-26  6:53           ` [gentoo-user] " Dirk Heinrichs
  0 siblings, 1 reply; 20+ messages in thread
From: Dan Farrell @ 2007-11-23 18:21 UTC (permalink / raw
  To: gentoo-user

On Fri, 23 Nov 2007 09:11:06 +0000
Neil Bothwick <neil@digimed.co.uk> wrote:

> On Fri, 23 Nov 2007 08:15:48 +0000 (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.
> 
> 
Not to listen to them, or to get any sort of valuable information off
them.  But can't you mount them?  I vaguely remember being confused
when the files (TOC) i copied off a music CD wouldn't play by
themselves...
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: [gentoo-user]  mount cdrom:   No buffer space available
  2007-11-23 18:21         ` Dan Farrell
@ 2007-11-26  6:53           ` Dirk Heinrichs
  2007-11-26 10:20             ` [gentoo-user] " Thufir
  0 siblings, 1 reply; 20+ messages in thread
From: Dirk Heinrichs @ 2007-11-26  6:53 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 921 bytes --]

Am Freitag, 23. November 2007 schrieb ext Dan Farrell:
> On Fri, 23 Nov 2007 09:11:06 +0000
>
> Neil Bothwick <neil@digimed.co.uk> wrote:
> > On Fri, 23 Nov 2007 08:15:48 +0000 (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: dirk.heinrichs@capgemini.com
Wanheimerstraße 68      | Web:  http://www.capgemini.com
D-40468 Düsseldorf      | ICQ#: 110037733
GPG Public Key C2E467BB | Keyserver: www.keyserver.net

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 20+ messages in thread

* [gentoo-user]  Re: mount cdrom:   No buffer space available
  2007-11-26  6:53           ` [gentoo-user] " Dirk Heinrichs
@ 2007-11-26 10:20             ` Thufir
  2007-11-27 16:03               ` Joost Roeleveld
  0 siblings, 1 reply; 20+ messages in thread
From: Thufir @ 2007-11-26 10:20 UTC (permalink / raw
  To: gentoo-user

On Mon, 26 Nov 2007 07:53:40 +0100, Dirk Heinrichs wrote:


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

Oh, thank you all for your input -- I've been a bit obsessed with rails 
and let this go to the back burner a bit.

However, I did notice that when I click on "CDROM" from nautilus there's 
a message about HAL; again, though, it cannot be a hardware issue as 
these particular discs and drives work in another distro on the same 
machine.

On boot, and I think shutdown, there are messages about failing to access 
the CDROM -- this is post POST and after GRUB -- I think; maybe it's on 
shutdown only.

I believe it to be a driver issue (HAL is a hardware driver?  Hardware 
Abstraction Layer?  But isn't it more BIOS than OS?).  I'll double check 
things with some data discs on the other distro in the next few days and 
do some more googling (and wikipedia-ing).

If this sheds any light:


arrakis ~ # 
arrakis ~ # dmesg | grep 'cd'
ehci_hcd 0000:00:03.3: EHCI Host Controller
ehci_hcd 0000:00:03.3: new USB bus registered, assigned bus number 1
ehci_hcd 0000:00:03.3: irq 17, io mem 0xe1102000
ehci_hcd 0000:00:03.3: USB 2.0 started, EHCI 1.00, driver 10 Dec 2004
ohci_hcd: 2006 August 04 USB 1.1 'Open' Host Controller (OHCI) Driver 
(PCI)
ohci_hcd 0000:00:03.0: OHCI Host Controller
ohci_hcd 0000:00:03.0: new USB bus registered, assigned bus number 2
ohci_hcd 0000:00:03.0: irq 18, io mem 0xe1104000
ohci_hcd 0000:00:03.1: OHCI Host Controller
ohci_hcd 0000:00:03.1: new USB bus registered, assigned bus number 3
ohci_hcd 0000:00:03.1: irq 19, io mem 0xe1100000
ohci_hcd 0000:00:03.2: OHCI Host Controller
ohci_hcd 0000:00:03.2: new USB bus registered, assigned bus number 4
ohci_hcd 0000:00:03.2: irq 20, io mem 0xe1101000
usb 4-1: new low speed USB device using ohci_hcd and address 2
sl811: driver sl811-hcd, 19 May 2005
arrakis ~ # 



I think it's more on shutdown that I notice lotsa weird messages about 
the cdrom drive(s) since futzing with /etc/fstab.





thanks,

Thufir

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: [gentoo-user]  Re: mount cdrom:   No buffer space available
  2007-11-26 10:20             ` [gentoo-user] " Thufir
@ 2007-11-27 16:03               ` Joost Roeleveld
  2007-11-27 18:38                 ` Mick
  0 siblings, 1 reply; 20+ messages in thread
From: Joost Roeleveld @ 2007-11-27 16:03 UTC (permalink / raw
  To: gentoo-user

> On Mon, 26 Nov 2007 07:53:40 +0100, Dirk Heinrichs wrote:
>
>
>> There is no need to do so. However, a fuse based filesystem for mounting
>> audio CDs exists, see http://castet.matthieu.free.fr/cddfs/.
>
> Oh, thank you all for your input -- I've been a bit obsessed with rails
> and let this go to the back burner a bit.
>
> However, I did notice that when I click on "CDROM" from nautilus there's
> a message about HAL; again, though, it cannot be a hardware issue as
> these particular discs and drives work in another distro on the same
> machine.

If the discs and drives work on the same machine with a different distro,
then I agree, the hardware should work.

Also, as the /dev/ entries exist and it doesn't complain about that, the
drives are probably detected correctly.

> I believe it to be a driver issue (HAL is a hardware driver?  Hardware
> Abstraction Layer?  But isn't it more BIOS than OS?).  I'll double check
> things with some data discs on the other distro in the next few days and
> do some more googling (and wikipedia-ing).

Can you also check with datadiscs on the Gentoo installation?
I agree with the others that audio-discs are generally not mountable.
The FUSE-driver for Audio-discs might be installed on your other distro
(Redhat?), but is not installed by default with Gentoo.

> If this sheds any light:
>
>
> arrakis ~ #
> arrakis ~ # dmesg | grep 'cd'
> ehci_hcd 0000:00:03.3: EHCI Host Controller

<Snipped dmesg-output>

When I do the above command, it only shows me the cd/dvd writer, not the
cdrom drive.
Can you post the full output of "dmesg" after you booted the system?

> I think it's more on shutdown that I notice lotsa weird messages about
> the cdrom drive(s) since futzing with /etc/fstab.

Can you also give us the contents of your "/etc/fstab" file?

Kind regards,

Joost Roeleveld

--
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: [gentoo-user]  Re: mount cdrom:   No buffer space available
  2007-11-27 16:03               ` Joost Roeleveld
@ 2007-11-27 18:38                 ` Mick
  0 siblings, 0 replies; 20+ messages in thread
From: Mick @ 2007-11-27 18:38 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 2241 bytes --]

On Tuesday 27 November 2007, Joost Roeleveld wrote:
> > On Mon, 26 Nov 2007 07:53:40 +0100, Dirk Heinrichs wrote:
> >> There is no need to do so. However, a fuse based filesystem for mounting
> >> audio CDs exists, see http://castet.matthieu.free.fr/cddfs/.
> >
> > Oh, thank you all for your input -- I've been a bit obsessed with rails
> > and let this go to the back burner a bit.
> >
> > However, I did notice that when I click on "CDROM" from nautilus there's
> > a message about HAL; again, though, it cannot be a hardware issue as
> > these particular discs and drives work in another distro on the same
> > machine.
>
> If the discs and drives work on the same machine with a different distro,
> then I agree, the hardware should work.
>
> Also, as the /dev/ entries exist and it doesn't complain about that, the
> drives are probably detected correctly.
>
> > I believe it to be a driver issue (HAL is a hardware driver?  Hardware
> > Abstraction Layer?  But isn't it more BIOS than OS?).  I'll double check
> > things with some data discs on the other distro in the next few days and
> > do some more googling (and wikipedia-ing).
>
> Can you also check with datadiscs on the Gentoo installation?
> I agree with the others that audio-discs are generally not mountable.
> The FUSE-driver for Audio-discs might be installed on your other distro
> (Redhat?), but is not installed by default with Gentoo.
>
> > If this sheds any light:
> >
> >
> > arrakis ~ #
> > arrakis ~ # dmesg | grep 'cd'
> > ehci_hcd 0000:00:03.3: EHCI Host Controller
>
> <Snipped dmesg-output>
>
> When I do the above command, it only shows me the cd/dvd writer, not the
> cdrom drive.
> Can you post the full output of "dmesg" after you booted the system?
>
> > I think it's more on shutdown that I notice lotsa weird messages about
> > the cdrom drive(s) since futzing with /etc/fstab.
>
> Can you also give us the contents of your "/etc/fstab" file?

Haven't followed up all of this thread, but it may well be a clash between 
hald/dbus trying to control your media devices and your fstab.  Entries in 
the latter are only applicable if you want to be mounting such devices 
manually.
-- 
Regards,
Mick

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: [gentoo-user]  mount cdrom: No buffer space available
  2007-12-27  9:38 [gentoo-user] how would I use device names in fstab? Thufir
@ 2008-01-02  3:50 ` Cocoy Dayao
  2008-01-02  4:22   ` Jerry McBride
  0 siblings, 1 reply; 20+ messages in thread
From: Cocoy Dayao @ 2008-01-02  3:50 UTC (permalink / raw
  To: gentoo-user

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	auto		auto,users	0 0
#/dev/fd0		/mnt/floppy	auto		noauto		0 0
/dev/hda1		/		ext3		noatime		0 1
/dev/sda7		/mnt/home1      xfs		user		0 0
/dev/sda6		none		swap		sw		0 0
/dev/sda5		/mnt/oldroot	xfs		user		0 0
/dev/sda1		/mnt/Movies	xfs 		user		0 0
/dev/sda2		/mnt/windows2	vfat		user		0 0
/dev/sda3		/mnt/boot	ext3		noatime		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

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: [gentoo-user]  mount cdrom: No buffer space available
  2008-01-02  3:50 ` [gentoo-user] mount cdrom: No buffer space available Cocoy Dayao
@ 2008-01-02  4:22   ` Jerry McBride
  2008-01-02  4:32     ` Cocoy Dayao
  0 siblings, 1 reply; 20+ messages in thread
From: Jerry McBride @ 2008-01-02  4:22 UTC (permalink / raw
  To: gentoo-user

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	auto		auto,users	0 0
> #/dev/fd0		/mnt/floppy	auto		noauto		0 0
> /dev/hda1		/		ext3		noatime		0 1
> /dev/sda7		/mnt/home1      xfs		user		0 0
> /dev/sda6		none		swap		sw		0 0
> /dev/sda5		/mnt/oldroot	xfs		user		0 0
> /dev/sda1		/mnt/Movies	xfs 		user		0 0
> /dev/sda2		/mnt/windows2	vfat		user		0 0
> /dev/sda3		/mnt/boot	ext3		noatime		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
--
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: [gentoo-user]  mount cdrom: No buffer space available
  2008-01-02  4:22   ` Jerry McBride
@ 2008-01-02  4:32     ` Cocoy Dayao
  2008-01-02  5:32       ` Adam Carter
  0 siblings, 1 reply; 20+ messages in thread
From: Cocoy Dayao @ 2008-01-02  4:32 UTC (permalink / raw
  To: gentoo-user


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

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 20+ messages in thread

* RE: [gentoo-user]  mount cdrom: No buffer space available
  2008-01-02  4:32     ` Cocoy Dayao
@ 2008-01-02  5:32       ` Adam Carter
  2008-01-02  5:48         ` Cocoy Dayao
  0 siblings, 1 reply; 20+ messages in thread
From: Adam Carter @ 2008-01-02  5:32 UTC (permalink / raw
  To: gentoo-user

> 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


--
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: [gentoo-user]  mount cdrom: No buffer space available
  2008-01-02  5:32       ` Adam Carter
@ 2008-01-02  5:48         ` Cocoy Dayao
  2008-01-02  6:42           ` Paul Colquhoun
  0 siblings, 1 reply; 20+ messages in thread
From: Cocoy Dayao @ 2008-01-02  5:48 UTC (permalink / raw
  To: gentoo-user


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

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: [gentoo-user]  mount cdrom: No buffer space available
  2008-01-02  5:48         ` Cocoy Dayao
@ 2008-01-02  6:42           ` Paul Colquhoun
  2008-01-02  6:55             ` Cocoy Dayao
  0 siblings, 1 reply; 20+ messages in thread
From: Paul Colquhoun @ 2008-01-02  6:42 UTC (permalink / raw
  To: gentoo-user

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
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: [gentoo-user]  mount cdrom: No buffer space available
  2008-01-02  6:42           ` Paul Colquhoun
@ 2008-01-02  6:55             ` Cocoy Dayao
  0 siblings, 0 replies; 20+ messages in thread
From: Cocoy Dayao @ 2008-01-02  6:55 UTC (permalink / raw
  To: gentoo-user


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

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 20+ messages in thread

end of thread, other threads:[~2008-01-02  7:00 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-11-22  9:18 [gentoo-user] mount cdrom: No buffer space available Thufir
2007-11-22 15:20 ` Stroller
2007-11-22 16:04   ` [gentoo-user] " Thufir
2007-11-22 19:00   ` [gentoo-user] " Dan Farrell
2007-11-23  6:36   ` Dirk Heinrichs
2007-11-23  8:01     ` Dan Farrell
2007-11-23  8:15     ` [gentoo-user] " Thufir
2007-11-23  9:11       ` Neil Bothwick
2007-11-23 18:21         ` Dan Farrell
2007-11-26  6:53           ` [gentoo-user] " Dirk Heinrichs
2007-11-26 10:20             ` [gentoo-user] " Thufir
2007-11-27 16:03               ` Joost Roeleveld
2007-11-27 18:38                 ` Mick
  -- strict thread matches above, loose matches on Subject: below --
2007-12-27  9:38 [gentoo-user] how would I use device names in fstab? Thufir
2008-01-02  3:50 ` [gentoo-user] mount cdrom: No buffer space available Cocoy Dayao
2008-01-02  4:22   ` Jerry McBride
2008-01-02  4:32     ` Cocoy Dayao
2008-01-02  5:32       ` Adam Carter
2008-01-02  5:48         ` Cocoy Dayao
2008-01-02  6:42           ` Paul Colquhoun
2008-01-02  6:55             ` Cocoy Dayao

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox