* [gentoo-user] how would I use device names in fstab?
@ 2007-12-27 9:38 Thufir
2007-12-27 11:26 ` Dirk Heinrichs
` (2 more replies)
0 siblings, 3 replies; 18+ messages in thread
From: Thufir @ 2007-12-27 9:38 UTC (permalink / raw
To: gentoo-user
I think that the fstab needs to be changed to use device names, but I'm
not sure what that means:
arrakis ~ #
arrakis ~ # dmesg |grep hd
Kernel command line: root=/dev/ram0 init=/linuxrc ramdisk=8192 real_root=/
dev/hdb3
ide0: BM-DMA at 0x4000-0x4007, BIOS settings: hda:pio, hdb:pio
ide1: BM-DMA at 0x4008-0x400f, BIOS settings: hdc:pio, hdd:pio
hda: WDC WD800BB-22JHC0, ATA DISK drive
hdb: Maxtor 2F030L0, ATA DISK drive
hdc: SAMSUNG CD-ROM SC-148C, ATAPI CD/DVD-ROM drive
hdd: CD-RW CDR-6S52, ATAPI CD/DVD-ROM drive
hdc: Disabling (U)DMA for SAMSUNG CD-ROM SC-148C (blacklisted)
hda: max request size: 128KiB
hda: 156301488 sectors (80026 MB) w/2048KiB Cache, CHS=65535/16/63, UDMA
(100)
hda: cache flushes supported
hda: hda1 hda2 hda3
hdb: max request size: 128KiB
hdb: 60058656 sectors (30750 MB) w/2048KiB Cache, CHS=59582/16/63, UDMA
(133)
hdb: cache flushes supported
hdb: hdb1 hdb2 hdb3
hdc: ATAPI 48X CD-ROM drive, 128kB Cache
hdd: ATAPI 52X CD-ROM CD-R/RW drive, 2048kB Cache, UDMA(33)
EXT3 FS on hdb3, internal journal
Adding 960616k swap on /dev/hdb2. Priority:-1 extents:1 across:960616k
hdc: Disabling (U)DMA for SAMSUNG CD-ROM SC-148C (blacklisted)
hdc: Disabling (U)DMA for SAMSUNG CD-ROM SC-148C (blacklisted)
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 ~ #
thanks,
Thufir
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [gentoo-user] how would I use device names in fstab?
2007-12-27 9:38 [gentoo-user] how would I use device names in fstab? Thufir
@ 2007-12-27 11:26 ` Dirk Heinrichs
2008-01-02 10:27 ` [gentoo-user] " Thufir
2007-12-27 13:31 ` [gentoo-user] " Stroller
2008-01-02 3:50 ` [gentoo-user] mount cdrom: No buffer space available Cocoy Dayao
2 siblings, 1 reply; 18+ messages in thread
From: Dirk Heinrichs @ 2007-12-27 11:26 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 1034 bytes --]
Am Donnerstag, 27. Dezember 2007 schrieb Thufir:
> I think that the fstab needs to be changed to use device names, but I'm
> not sure what that means:
>
> 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
Looks good, except for the last column of the ext[23] volumes. Should be 1
for / and 2 for the others. The "dump" column (5th) can be zero for
everything.
Bye...
Dirk
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 18+ messages in thread
* [gentoo-user] Re: how would I use device names in fstab?
2007-12-27 11:26 ` Dirk Heinrichs
@ 2008-01-02 10:27 ` Thufir
0 siblings, 0 replies; 18+ messages in thread
From: Thufir @ 2008-01-02 10:27 UTC (permalink / raw
To: gentoo-user
On Thu, 27 Dec 2007 12:26:20 +0100, Dirk Heinrichs wrote:
> Looks good, except for the last column of the ext[23] volumes. Should be
> 1 for / and 2 for the others. The "dump" column (5th) can be zero for
> everything.
Thanks :)
The last line now reads:
/dev/VolGroup00/LogVol00 /mnt/VolGroup00/LogVol00 ext3
users,rw 1 2
-Thufir
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [gentoo-user] how would I use device names in fstab?
2007-12-27 9:38 [gentoo-user] how would I use device names in fstab? Thufir
2007-12-27 11:26 ` Dirk Heinrichs
@ 2007-12-27 13:31 ` Stroller
2007-12-28 19:45 ` [gentoo-user] " Thufir
2008-01-02 3:50 ` [gentoo-user] mount cdrom: No buffer space available Cocoy Dayao
2 siblings, 1 reply; 18+ messages in thread
From: Stroller @ 2007-12-27 13:31 UTC (permalink / raw
To: gentoo-user
On 27 Dec 2007, at 09:38, Thufir wrote:
> I think that the fstab needs to be changed to use device names, but
> I'm
> not sure what that means:
> ...
> hda: WDC WD800BB-22JHC0, ATA DISK drive
> hdb: Maxtor 2F030L0, ATA DISK drive
> hdc: SAMSUNG CD-ROM SC-148C, ATAPI CD/DVD-ROM drive
> hdd: CD-RW CDR-6S52, ATAPI CD/DVD-ROM drive
> hdc: Disabling (U)DMA for SAMSUNG CD-ROM SC-148C (blacklisted)
> hda: max request size: 128KiB
> hda: 156301488 sectors (80026 MB) w/2048KiB Cache, CHS=65535/16/63,
> UDMA
> (100)
> hda: cache flushes supported
> hda: hda1 hda2 hda3
> hdb: max request size: 128KiB
> hdb: 60058656 sectors (30750 MB) w/2048KiB Cache, CHS=59582/16/63,
> UDMA
> (133)
> hdb: cache flushes supported
> hdb: hdb1 hdb2 hdb3
> hdc: ATAPI 48X CD-ROM drive, 128kB Cache
> hdd: ATAPI 52X CD-ROM CD-R/RW drive, 2048kB Cache, UDMA(33)
> EXT3 FS on hdb3, internal journal
> Adding 960616k swap on /dev/hdb2. Priority:-1 extents:1 across:
> 960616k
> hdc: Disabling (U)DMA for SAMSUNG CD-ROM SC-148C (blacklisted)
> hdc: Disabling (U)DMA for SAMSUNG CD-ROM SC-148C (blacklisted)
> 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
Unless I'm very much mistaken device names are the kind of names on
traditionally finds in /dev - eg. /dev/hda, /dev/hdb &c. ISTM that in
referring to partitions in /etc/fstab as /dev/hdb1 & so on you ARE
using device names.
I'm not seeing any critical error messages in your output - could you
perhaps explain what the problem is exactly?
More modern kernels allow you to refer to volume labels in /etc/
fstab, thus:
LABEL=boot /boot ext3
noauto,noatime 1 2
LABEL=root / reiserfs
noatime 0 1
but I don't believe there's any necessity to change anything if it's
working.
Stroller.
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 18+ messages in thread
* [gentoo-user] Re: how would I use device names in fstab?
2007-12-27 13:31 ` [gentoo-user] " Stroller
@ 2007-12-28 19:45 ` Thufir
2007-12-29 8:16 ` Dirk Heinrichs
0 siblings, 1 reply; 18+ messages in thread
From: Thufir @ 2007-12-28 19:45 UTC (permalink / raw
To: gentoo-user
On Thu, 27 Dec 2007 13:31:17 +0000, Stroller wrote:
> I'm not seeing any critical error messages in your output - could you
> perhaps explain what the problem is exactly?
I'll post some details later tonight, but data discs, blank media or
music cd's -- none work. When I boot into Fedora on the same machine,
both drives (CD-ROM and CD-R/W) work fine.
-Thufir
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [gentoo-user] Re: how would I use device names in fstab?
2007-12-28 19:45 ` [gentoo-user] " Thufir
@ 2007-12-29 8:16 ` Dirk Heinrichs
2007-12-31 7:49 ` Thufir
0 siblings, 1 reply; 18+ messages in thread
From: Dirk Heinrichs @ 2007-12-29 8:16 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 648 bytes --]
Am Freitag, 28. Dezember 2007 schrieb Thufir:
> On Thu, 27 Dec 2007 13:31:17 +0000, Stroller wrote:
> > I'm not seeing any critical error messages in your output - could you
> > perhaps explain what the problem is exactly?
>
> I'll post some details later tonight, but data discs, blank media or
> music cd's -- none work. When I boot into Fedora on the same machine,
> both drives (CD-ROM and CD-R/W) work fine.
Are the device files (links) present in /dev (ll /dev/cdr*)?
Maybe no CDRom driver in your kernel or module not loaded? Or no iso9660
filesystem module?
Could you post your kernel config, please.
Bye...
Dirk
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 18+ messages in thread
* [gentoo-user] Re: how would I use device names in fstab?
2007-12-29 8:16 ` Dirk Heinrichs
@ 2007-12-31 7:49 ` Thufir
2007-12-31 8:41 ` Dirk Heinrichs
0 siblings, 1 reply; 18+ messages in thread
From: Thufir @ 2007-12-31 7:49 UTC (permalink / raw
To: gentoo-user
On Sat, 29 Dec 2007 09:16:26 +0100, Dirk Heinrichs wrote:
> Are the device files (links) present in /dev (ll /dev/cdr*)?
arrakis ~ #
arrakis ~ # ll /dev/cdr*
lrwxrwxrwx 1 root root 3 Dec 30 23:11 /dev/cdrom -> hdc
lrwxrwxrwx 1 root root 3 Dec 30 23:11 /dev/cdrom1 -> hdd
lrwxrwxrwx 1 root root 3 Dec 30 23:11 /dev/cdrw1 -> hdd
arrakis ~ #
> Maybe no CDRom driver in your kernel or module not loaded? Or no iso9660
> filesystem module?
I'm not sure.
> Could you post your kernel config, please.
I ran zcat /proc/config.gz and put the results at http://rafb.net/p/
DirL3Z54.html for the kernel.
Thanks,
Thufir
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [gentoo-user] Re: how would I use device names in fstab?
2007-12-31 7:49 ` Thufir
@ 2007-12-31 8:41 ` Dirk Heinrichs
2008-01-02 10:59 ` Thufir
0 siblings, 1 reply; 18+ messages in thread
From: Dirk Heinrichs @ 2007-12-31 8:41 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 1030 bytes --]
Am Montag, 31. Dezember 2007 schrieb Thufir:
> On Sat, 29 Dec 2007 09:16:26 +0100, Dirk Heinrichs wrote:
> > Are the device files (links) present in /dev (ll /dev/cdr*)?
>
> arrakis ~ #
> arrakis ~ # ll /dev/cdr*
> lrwxrwxrwx 1 root root 3 Dec 30 23:11 /dev/cdrom -> hdc
> lrwxrwxrwx 1 root root 3 Dec 30 23:11 /dev/cdrom1 -> hdd
> lrwxrwxrwx 1 root root 3 Dec 30 23:11 /dev/cdrw1 -> hdd
Looks good.
> > Maybe no CDRom driver in your kernel or module not loaded? Or no iso9660
> > filesystem module?
>
> I'm not sure.
>
> > Could you post your kernel config, please.
>
> I ran zcat /proc/config.gz and put the results at http://rafb.net/p/
> DirL3Z54.html for the kernel.
Other than that you have enabled way too much stuff, I don't see any problem
with CDRom support. Everyting that is needed is compiled into the kernel
directly.
So we need a more detailed description of your problem, now. What exactly is
not working and what is the exact error message (if any) you get?
Bye...
Dirk
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 18+ messages in thread
* [gentoo-user] Re: how would I use device names in fstab?
2007-12-31 8:41 ` Dirk Heinrichs
@ 2008-01-02 10:59 ` Thufir
2008-01-02 11:14 ` Thufir
2008-01-03 6:31 ` Dirk Heinrichs
0 siblings, 2 replies; 18+ messages in thread
From: Thufir @ 2008-01-02 10:59 UTC (permalink / raw
To: gentoo-user
On Mon, 31 Dec 2007 09:41:39 +0100, Dirk Heinrichs wrote:
> Everyting that is needed is compiled into the kernel directly.
>
> So we need a more detailed description of your problem, now. What
> exactly is not working and what is the exact error message (if any) you
> get?
Well, I was pleasantly surprised that I was able read the disc from the
cdrw drive, but the cdrom drive is odd. Works from fedora, but in Gentoo
cycles through: spin up, pause, spin up, forever. Even ctrl-c didn't
kill it, had to reboot:
arrakis ~ #
arrakis ~ # mount /dev/cdrw1 /mnt/cdrw1
mount: block device /dev/cdrw1 is write-protected, mounting read-only
arrakis ~ #
arrakis ~ # ll /mnt/cdrw1/
total 96
-r--r--r-- 1 root root 224 May 18 2005 README.diskdefines
dr-xr-xr-x 2 root root 2048 May 22 2005 casper
dr-xr-xr-x 3 root root 2048 Apr 6 2005 dists
dr-xr-xr-x 3 root root 2048 Apr 6 2005 doc
dr-xr-xr-x 3 root root 2048 Apr 6 2005 install
dr-xr-xr-x 2 root root 4096 May 18 2005 isolinux
-r--r--r-- 1 root root 77207 Apr 6 2005 md5sum.txt
dr-xr-xr-x 2 root root 2048 Apr 6 2005 pics
dr-xr-xr-x 4 root root 2048 Apr 6 2005 pool
dr-xr-xr-x 2 root root 2048 Apr 6 2005 preseed
dr-xr-xr-x 2 root root 2048 Apr 6 2005 tools
lr-xr-xr-x 1 root root 1 May 16 2005 ubuntu -> .
arrakis ~ #
arrakis ~ # umount /mnt/cdrw1/
arrakis ~ #
arrakis ~ #
arrakis ~ # mount -a
arrakis ~ #
arrakis ~ # ll /mnt/cdrw1/
total 0
arrakis ~ #
arrakis ~ # mount /dev/cdrom1 /mnt/cdrom1
mount: No medium found
arrakis ~ #
arrakis ~ # mount /dev/cdrom /mnt/cdrom
thanks,
Thufir
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 18+ messages in thread
* [gentoo-user] Re: how would I use device names in fstab?
2008-01-02 10:59 ` Thufir
@ 2008-01-02 11:14 ` Thufir
2008-01-03 6:31 ` Dirk Heinrichs
1 sibling, 0 replies; 18+ messages in thread
From: Thufir @ 2008-01-02 11:14 UTC (permalink / raw
To: gentoo-user
On Wed, 02 Jan 2008 10:59:56 +0000, Thufir wrote:
> Well, I was pleasantly surprised that I was able read the disc from the
> cdrw drive, but the cdrom drive is odd. Works from fedora, but in
> Gentoo cycles through: spin up, pause, spin up, forever. Even ctrl-c
> didn't kill it, had to reboot:
Even after rebooting, the drive was still going crazy trying to read the
disc. How can I kill that without rebooting? I had to reboot again just
to eject the disc between POST and GRUB.
I think it may be that this particular CD-ROM drive isn't fully supported
by Gentoo, or somehow Gentoo is using different drivers than Fedora. It's
a very cheap CD-ROM, but I'd still like to get it functioning correctly.
I was quite surprised when the CD-RW drive read the disc as I thought
that I'd tried that before and it had failed.
-Thufir
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [gentoo-user] Re: how would I use device names in fstab?
2008-01-02 10:59 ` Thufir
2008-01-02 11:14 ` Thufir
@ 2008-01-03 6:31 ` Dirk Heinrichs
1 sibling, 0 replies; 18+ messages in thread
From: Dirk Heinrichs @ 2008-01-03 6:31 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 986 bytes --]
Am Mittwoch, 2. Januar 2008 schrieb ext Thufir:
> Well, I was pleasantly surprised that I was able read the disc from the
> cdrw drive, but the cdrom drive is odd. Works from fedora, but in Gentoo
> cycles through: spin up, pause, spin up, forever. Even ctrl-c didn't
> kill it, had to reboot:
Since I never had a problem like this, I can't help you with this.
However, if I had to guess, I would eventually look at hdparm settings, or
even cables.
Just out of curiosity: What if you boot from a LiveCD (like Knoppix or GRML
or even the Gentoo LiveCD) in cdrw1, can you then read another disc from
cdrom1?
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] 18+ 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
2007-12-27 11:26 ` Dirk Heinrichs
2007-12-27 13:31 ` [gentoo-user] " Stroller
@ 2008-01-02 3:50 ` Cocoy Dayao
2008-01-02 4:22 ` Jerry McBride
2 siblings, 1 reply; 18+ 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] 18+ 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; 18+ 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] 18+ 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; 18+ 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] 18+ 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; 18+ 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] 18+ 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; 18+ 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] 18+ 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; 18+ 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] 18+ 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; 18+ 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] 18+ messages in thread
end of thread, other threads:[~2008-01-03 6:38 UTC | newest]
Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-12-27 9:38 [gentoo-user] how would I use device names in fstab? Thufir
2007-12-27 11:26 ` Dirk Heinrichs
2008-01-02 10:27 ` [gentoo-user] " Thufir
2007-12-27 13:31 ` [gentoo-user] " Stroller
2007-12-28 19:45 ` [gentoo-user] " Thufir
2007-12-29 8:16 ` Dirk Heinrichs
2007-12-31 7:49 ` Thufir
2007-12-31 8:41 ` Dirk Heinrichs
2008-01-02 10:59 ` Thufir
2008-01-02 11:14 ` Thufir
2008-01-03 6:31 ` Dirk Heinrichs
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