* [gentoo-user] mount cdrom: No buffer space available
@ 2007-11-22 9:18 Thufir
2007-11-22 15:20 ` Stroller
0 siblings, 1 reply; 13+ 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] 13+ 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; 13+ 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] 13+ 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; 13+ 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] 13+ 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; 13+ 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] 13+ 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; 13+ 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] 13+ 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; 13+ 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] 13+ 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; 13+ 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] 13+ 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; 13+ 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] 13+ 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; 13+ 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] 13+ 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; 13+ 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] 13+ 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; 13+ 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] 13+ 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; 13+ 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] 13+ 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; 13+ 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] 13+ messages in thread
end of thread, other threads:[~2007-11-27 19:42 UTC | newest]
Thread overview: 13+ 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
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox