reading usb memory on x86_64 ltsp client fails
Bug #415952 reported by
John Ellson
This bug affects 10 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
LTSP5 |
Fix Released
|
Medium
|
Scott Balneaves | ||
ltspfs (Fedora) |
Won't Fix
|
Medium
|
|||
ltspfs (Ubuntu) |
Fix Released
|
Medium
|
Unassigned |
Bug Description
Problem existed in fedora-10, and still exists in a freshly installed fedora-11 x86_64 server with x86_64 ltsp clients running x86_64 images.
Reading/writing USB memory sticks on i386 ltsp clients works fine, but on x86_64 clients
it always gets a malloc failure.
ellson@
cat: foo: Cannot allocate memory
Probable cause is bad casts in ltspfsd_functions.c which generate warnings during make.
Original problem report at: https:/
Related branches
Changed in ltsp: | |
assignee: | nobody → Scott Balneaves (sbalneav) |
tags: | added: patch |
Changed in ltspfs (Fedora): | |
importance: | Unknown → Medium |
status: | Unknown → Won't Fix |
To post a comment you must log in.
Description of problem:
I can plugin a usb memory stick into a client, can open a nautilus window on the mount, and can see icons for the folders and files on the mount, can open folders, but attempting to read any file with any application results in an error.
The problem is always a failure to allocate memory during read()
Version-Release number of selected component (if applicable): 0.5.8-1. fc10.x86_ 64
ltspfs-
How reproducible:
100%
Steps to Reproduce: ellson/ FEDORA/ syslinux/ boot.cat
1. strace cat /media/
2.
3.
Actual results: media/ellson/ FEDORA/ syslinux/ boot.cat" , O_RDONLY) = 3 S_IFREG| 0755, st_size=2048, ...}) = 0 ellson/ FEDORA/ syslinux/ boo"... , 38/media/ ellson/ FEDORA/ syslinux/ boot.cat) = 38 usr/share/ locale/ locale. alias", O_RDONLY) = 4 S_IFREG| 0644, st_size=2512, ...}) = 0 PROT_WRITE, MAP_PRIVATE| MAP_ANONYMOUS, -1, 0) = 0x7f2088524000 0x7f2088524000, 4096) = 0 usr/share/ locale/ en_US.UTF- 8/LC_MESSAGES/ libc.mo" , O_RDONLY) = -1 ENOENT (No such file or directory) usr/share/ locale/ en_US.utf8/ LC_MESSAGES/ libc.mo" , O_RDONLY) = -1 ENOENT (No such file or directory) usr/share/ locale/ en_US/LC_ MESSAGES/ libc.mo" , O_RDONLY) = -1 ENOENT (No such file or directory) usr/share/ locale/ en.UTF- 8/LC_MESSAGES/ libc.mo" , O_RDONLY) = -1 ENOENT (No such file or directory) usr/share/ locale/ en.utf8/ LC_MESSAGES/ libc.mo" , O_RDONLY) = -1 ENOENT (No such file or directory) usr/share/ locale/ en/LC_MESSAGES/ libc.mo" , O_RDONLY) = -1 ENOENT (No such file or directory)
...
open("/
fstat(3, {st_mode=
read(3, 0x2580000, 4096) = -1 ENOMEM (Cannot allocate memory)
write(2, "cat: "..., 5cat: ) = 5
write(2, "/media/
open("/
fstat(4, {st_mode=
mmap(NULL, 4096, PROT_READ|
read(4, "# Locale name alias data base.\n# "..., 4096) = 2512
read(4, ""..., 4096) = 0
close(4) = 0
munmap(
open("/
open("/
open("/
open("/
open("/
open("/
write(2, ": Cannot allocate memory"..., 24: Cannot allocate memory) = 24
write(2, "\n"..., 1
) = 1
close(3) = 0
close(1) = 0
close(2) = 0
exit_group(1) = ?
Expected results:
ability to open files on usb memory sticks
Additional info: