| Summary: | mdev called via hotplug generates broken device nodes | ||
|---|---|---|---|
| Product: | uClibc | Reporter: | Waldemar Brodkorb <oss> |
| Component: | Other | Assignee: | unassigned |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | ||
| Priority: | P3 | ||
| Version: | 0.9.30 | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Linux | ||
| Host: | Debian/amd64 | Target: | Qemu/i586 |
| Build: | Debian/amd64 | ||
| Attachments: | Patch which I applied to svn | ||
|
Description
Waldemar Brodkorb
2009-01-08 09:23:25 UTC
Hi, finally found a solution. In uClibc-0.9.30/libc/sysdeps/linux/i386/bits/kernel_types.h the type for __kernel_dev_t is wrong for Linux 2.6.28. When I change it: -typedef unsigned short __kernel_dev_t; +typedef unsigned int __kernel_dev_t; Mdev works, dmsetup works and finally cryptsetup works with uClibc :} bye Waldemar Created attachment 83 [details]
Patch which I applied to svn
|