Click to See Complete Forum and Search --> : No space left on device.


PeterP
04-12-2001, 04:30 AM
Running Phatlinux v3.3.
After compiling the kernel & getting as far as 'make modules', I am running up against
"No space left on device.
:10061: FATAL:cant write ibmcam.o No space left on device
***[ibmcam.o]Error 1 leaving directory ..../drivers/usb
***[modsubdir usb]Error 2leaving directory......"
Yes, I left some....bits out. Figured the first bit was most important. I have made sure that there's enough room on my C drive but I see that the linux swapfile is at 32M; is it limited to this maybe? Is this the sort of thing this error is about? Or is it something else entirely?
Can anyone help?
Cheers,
Peter.

Craig McPherson
04-12-2001, 04:55 AM
Use the "df" command, and see how much free space you have on the device. I'll assume your kernel source is under /usr/src, so you'll want to look at the free space of whatever device /usr/src is on (If you have a seperate /usr partition, that's the one you want to look at, if it's on /, then you want to look at the amount of space on your root filesystem.)

If it's full (like it almost certainly is), then clean up a bit. If you unpacked your kernel sources from a tarball, delete the tarball -- you don't need it anymore, now that the sources are unpacked. If you have any older kernel sources, delete them also. An unpacked kernel source takes up 60+MB, and the tarballs are about a third that size, so if you have several laying around, they can add up fast.

(Anybody else find it kinda interesting that 60+MB of kernel source compiles into a kernel binary that's often less than 1MB in size? Heck, even the time I went insane and said "yes" to every kernel configuration option, the kernel "only" wound up about 6MB. Oh, the wonders of life.)

By the way, what's this "C drive" thing? I've been using Linux for years and I've never heard of one.

[ 12 April 2001: Message edited by: Craig McPherson ]

PeterP
04-16-2001, 08:27 PM
Thank you, that may help. I have cleaned up & created as much space as I can...I have about a Gig left on the main drive but as Phatlinux installs within? Windows I'm not sure how much space it is allowed to take (I thought it was as much as it needed). That is what the "C Drive" thing is all about. PhatL runs on the fat32 filesystem...on the C drive in Win. I know, I should just get a real distro but I have this for now so I just want to work it out & see how much I can learn & how good I can get it running.
Thank you, though. I'll work it out somehow.
Cheers,
Peter.