[parisc-linux] statfs() problem with glibc-2.5

Guy Martin gmsoft at gentoo.org
Mon Feb 12 07:37:31 MST 2007




Hi all,


After some more troubleshooting, I've found out that parisc doesn't hook up the statfs64 syscall.

Applying the attached patch and recompile glibc with updated headers makes df works again.

Apparently, the statfs64 syscalls are available since 2.5.74.


Please review the patch.


Regards,
  Guy



On Mon, 12 Feb 2007 10:28:44 +0100
Guy Martin <gmsoft at gentoo.org> wrote:

> 
> Hi all,
> 
> 
> While running and testing glibc-2.5, I've encountered the following problem :
> 
> hope bin # ./df -h
> Filesystem            Size  Used Avail Use% Mounted on
> /dev/sda3             276Y  276Y  539Z 100% /
> sysfs                18641256972210Y 18634655137640Y 70815813734120Y  21% /sys
> udev                 18641256972210Y 18634655137640Y 70815813734120Y  21% /dev
> devpts               18641256972210Y 18634655137640Y 70815813734120Y  21% /dev/pts
> shm                  18641256972210Y 18634655137640Y 70815813734120Y  21% /dev/shm
> usbfs                18641256972210Y 18634655137640Y 70815813734120Y  21% /proc/bus/usb
> playa:/usr/portage/distfiles
>                      18641256972210Y 18634655137640Y 70815813734120Y  21% /usr/portage/distfiles
> /dev/sdb4            18641256972210Y 18634655137640Y 70815813734120Y  21% /mnt/gentoo
> /dev/sdb2            18641256972210Y 18634655137640Y 70815813734120Y  21% /mnt/gentoo/boot
> 
> 
> Despite the fact that I whish I had that capacity, there is definately an issue.
> 
> This is using glibc-2.5, 2.6.20-pa0 and corresponding headers.
> 
> 
> Let me know if you need more info.
> 
> Cheers,
>   Guy
> 
> 
> 
> -- 
> Guy Martin
> Gentoo Linux - HPPA port lead
> 
> _______________________________________________
> parisc-linux mailing list
> parisc-linux at lists.parisc-linux.org
> http://lists.parisc-linux.org/mailman/listinfo/parisc-linux


-- 
Guy Martin
Gentoo Linux - HPPA port lead

-------------- next part --------------
A non-text attachment was scrubbed...
Name: hookup-statfs64-syscall-parisc.diff
Type: text/x-patch
Size: 817 bytes
Desc: not available
Url : http://lists.parisc-linux.org/pipermail/parisc-linux/attachments/20070212/2d7d7e79/attachment.bin 


More information about the parisc-linux mailing list