WARNING: at /build/buildd/linux-2.6.31/fs/sysfs/dir.c:487 sysfs_add_one+0x98/0x100()
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Expired
|
Undecided
|
Unassigned |
Bug Description
After working around https:/
find /sys | grep pktcdvd
find /dev | grep pktcdvd
/usr/local/
The pktcdvd tool was compiled with the mentioned patch applied. The attached file "messages.log" is a cutout of /var/log/messages with some comments in it (marked with ###).
Inserted a DVD-RAM disk in my DVD writer /dev/sr0 (-> before_add.txt). After mapping a pktcdvd device using "pktsetup dvdram /dev/sr0" (-> after_add.txt) the DVD writer's tray can only be opened for a short time (~ one or two seconds). After this time the tray is automatically loaded again. A disk change is impossible. If the eject button is depressed at the right moment the tray is not loaded again but in the message log "ata2: soft resetting link" shows up. Then it is loaded again.
At this point a DVD RAM disk can be mounted on the /dev/pktcdvd/dvdram device and works normally. Then unmounted the DVD RAM disk (-> after_umount.txt). A diff between "after_add.txt" and "after_umount.txt" shows no differences in the sysfs tree with pktcdvd.
Then the pktcdvd device is unmapped again with "pktsetup -d dvdram" (->after_
root@hal2006:~# diff before_add.txt after_unmap.txt
6a7,12
> /sys/devices/
> /sys/devices/
> /sys/devices/
> /sys/devices/
> /sys/devices/
> /sys/devices/
11a18
> /sys/class/
Then I tried to map the device again with "pktsetup dvdram /dev/sr0" (-> after_readd.txt). That leads to the kernel trace (see message.log) with the message "sysfs: cannot create duplicate filename '/devices/
The second map (readd) seems only to be partly successful. Some entries in the sysfs are now missing. But the drive's tray is again semi-locked.
root@hal2006:~# diff after_add.txt after_readd.txt
51,61d50
< /sys/devices/
< /sys/devices/
< /sys/devices/
< /sys/devices/
< /sys/devices/
< /sys/devices/
< /sys/devices/
< /sys/devices/
< /sys/devices/
< /sys/devices/
< /sys/devices/
Didn't test writing the disk but unmapped the drive again and created "after_umount2.txt"
Bug impact:
Mapping a pktcdvd device make it impossible to insert another disk. Repeated mapping and unmapping of the pktcdvd device leads to kernel trace and sysfs corruption.
ProblemType: Bug
Architecture: i386
AudioDevicesInUse:
USER PID ACCESS COMMAND
/dev/snd/
CRDA: Error: [Errno 2] No such file or directory
Card0.Amixer.info:
Card hw:0 'CK8S'/'NVidia CK8S with ALC850 at irq 23'
Mixer name : 'Realtek ALC850 rev 0'
Components : 'AC97a:414c4790'
Controls : 42
Simple ctrls : 27
Date: Wed Feb 24 00:44:31 2010
DistroRelease: Ubuntu 9.10
HibernationDevice: RESUME=
IwConfig:
lo no wireless extensions.
eth0 no wireless extensions.
eth1 no wireless extensions.
Lsusb:
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 002: ID 046d:c03d Logitech, Inc. M-BT96a Pilot Optical Mouse
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 002: ID 05e3:070e Genesys Logic, Inc. X-PRO CR20xA USB 2.0 Internal Card Reader
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Package: linux-image-
ProcCmdLine: BOOT_IMAGE=
ProcEnviron:
LANG=de_DE.UTF-8
SHELL=/bin/bash
ProcVersionSign
RelatedPackageV
linux-
linux-firmware 1.25
RfKill:
SourcePackage: linux
Uname: Linux 2.6.31-19-generic i686
dmi.bios.date: 03/23/2006
dmi.bios.vendor: Phoenix Technologies, LTD
dmi.bios.version: 6.00 PG
dmi.board.name: MS-7025
dmi.chassis.type: 3
dmi.modalias: dmi:bvnPhoenixT
tags: | added: karmic |
Changed in linux (Ubuntu): | |
status: | New → Confirmed |
Hi pirx67,
This bug was reported a while ago and there hasn't been any activity in it recently. We were wondering if this is still an issue? Can you try with the latest development release of Ubuntu? ISO CD images are available from http:// cdimage. ubuntu. com/releases/ .
If it remains an issue, could you run the following command from a Terminal (Applications- >Accessories- >Terminal) . It will automatically gather and attach updated debug information to this report.
apport-collect -p linux 526774
Also, if you could test the latest upstream kernel available that would be great. It will allow additional upstream developers to examine the issue. Refer to https:/ /wiki.ubuntu. com/KernelMainl ineBuilds . Once you've tested the upstream kernel, please remove the 'needs- upstream- testing' tag. This can be done by clicking on the yellow pencil icon next to the tag located at the bottom of the bug description and deleting the 'needs- upstream- testing' text. Please let us know your results.
Thanks in advance.
[This is an automated message. Apologies if it has reached you inappropriately; please just reply to this message indicating so.]