All of lore.kernel.org
 help / color / mirror / Atom feed
* cannot eject drive using pktcdvd
@ 2004-12-14 22:29 Vince
  2004-12-22 23:04 ` Peter Osterlund
  0 siblings, 1 reply; 9+ messages in thread
From: Vince @ 2004-12-14 22:29 UTC (permalink / raw)
  To: linux-kernel; +Cc: axboe

I see the following bug since I've enabled packet writing for my dvd 
drive (using the udftools package):

- eject won't open the tray unless I'm root

- whether I'm root or not, I get the following error when running eject:
     "eject: unable to eject, last error: Invalid argument"
   and in the system logs:
"program eject is using a deprecated SCSI ioctl, please convert it to SG_IO"

The command: pktsetup dvd /dev/cdrom ; eject
should allow anyone with a cd/dvd writer to reproduce this bug.

Disabling packet writing ("pktsetup -d dvd") solves the problem and 
everything works fine (no strange message in the logs).

I _think_ this could be related to Redhat bug 137349 
(https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=137349),
but I could be wrong...

Regards,

Vince

(Please CC: me as I'm not subscribed)

^ permalink raw reply	[flat|nested] 9+ messages in thread
* 2.6.9-mm1, kernel Ooops in visor_open
@ 2004-10-25 14:48 Norbert Preining
  2004-10-26  4:43 ` Greg KH
  0 siblings, 1 reply; 9+ messages in thread
From: Norbert Preining @ 2004-10-25 14:48 UTC (permalink / raw)
  To: linux-kernel, Andrew Morton, linux-usb-devel

Hi Andrew, USB developers, list!

With:
	linux-2.6.9-mm1
	debian/sid
I get the following kernel warning:

usb 4-2: new full speed USB device using address 2
usbcore: registered new driver usbserial
drivers/usb/serial/usb-serial.c: USB Serial Driver core v2.0
drivers/usb/serial/usb-serial.c: USB Serial support registered for Handspring Visor / Palm OS
drivers/usb/serial/usb-serial.c: USB Serial support registered for Sony Clie 3.5
drivers/usb/serial/usb-serial.c: USB Serial support registered for Sony Clie 5.0
visor 4-2:1.0: Handspring Visor / Palm OS converter detected
usb 4-2: Handspring Visor / Palm OS converter now attached to ttyUSB0
usb 4-2: Handspring Visor / Palm OS converter now attached to ttyUSB1
usbcore: registered new driver visor
drivers/usb/serial/visor.c: USB HandSpring Visor / Palm OS driver v2.1
Unable to handle kernel NULL pointer dereference at virtual address 00000008
 printing eip:
e09eb036
*pde = 00000000
Oops: 0002 [#1]
PREEMPT 
Modules linked in: visor usbserial radeon irtty_sir sir_dev irda crc_ccitt eth1394 sd_mod ehci_hcd ohci1394 ieee1394 yenta_socket pcmcia_core snd_intel8x0m i2c_i801 usbhid usb_storage uhci_hcd usbcore joydev acerhk intel_agp agpgart orinoco_pci orinoco hermes b44 evdev
CPU:    0
EIP:    0060:[<e09eb036>]    Not tainted VLI
EFLAGS: 00010002   (2.6.9-mm1) 
EIP is at visor_open+0x36/0x1c6 [visor]
eax: 00000282   ebx: 00000000   ecx: d888a580   edx: d13e4000
esi: c3cf8ec0   edi: cba9b600   ebp: 00000000   esp: d13e5eb4
ds: 007b   es: 007b   ss: 0068
Process jpilot (pid: 12278, threadinfo=d13e4000 task=d205b0a0)
Stack: 00000001 00000000 00000000 d13e5ee8 00000000 00000001 c3cf8ec0 cba9b600 
       e09c7369 d5843400 d9405100 00000000 d5218580 ffffffed c4d30000 d5218580 
       00000000 c01ea00e 08028ad6 0bc00001 c4d30000 00000001 d13e4000 c788a804 
Call Trace:
 [<e09c7369>] serial_open+0xbc/0x14f [usbserial]
 [<c01ea00e>] tty_open+0x211/0x288
 [<c015894a>] chrdev_open+0xe9/0x1c2
 [<c014ffdd>] dentry_open+0x134/0x210
 [<c014fea7>] filp_open+0x4c/0x4e
 [<c01500e5>] get_unused_fd+0x2c/0xce
 [<c0150239>] sys_open+0x3c/0x76
 [<c0105ecb>] syscall_call+0x7/0xb
Code: 98 ec 00 00 00 a1 80 f1 9e e0 85 c0 0f 85 80 01 00 00 8b 4f 20 85 c9 0f 84 40 01 00 00 9c 58 fa ba 00 e0 ff ff 21 e2 83 42 14 01 <c7> 43 08 00 00 00 00 c7 03 00 00 00 00 c7 43 04 00 00 00 00 50 
 <6>note: jpilot[12278] exited with preempt_count 1
scheduling while atomic: jpilot/0x10000001/12278
 [<c02e4a6c>] schedule+0x50c/0x511
 [<c02e4ed2>] cond_resched+0x2d/0x43
 [<c0142585>] unmap_vmas+0x19e/0x1f7
 [<c01466e5>] exit_mmap+0x78/0x143
 [<c011a8f5>] mmput+0x2f/0xb6
 [<c011e840>] do_exit+0x149/0x41e
 [<c0107045>] do_divide_error+0x0/0x10e
 [<c0117d2b>] do_page_fault+0x0/0x5aa
 [<c0117d2b>] do_page_fault+0x0/0x5aa
 [<c0117ff1>] do_page_fault+0x2c6/0x5aa
 [<c0187a1a>] ext3_mark_inode_dirty+0x39/0x3b
 [<c0139a90>] buffered_rmqueue+0xf0/0x1b3
 [<c0139d78>] __alloc_pages+0x225/0x3a1
 [<c01b7cc2>] vsnprintf+0x24b/0x4b9
 [<c0117d2b>] do_page_fault+0x0/0x5aa
 [<c0106919>] error_code+0x2d/0x38
 [<c01e007b>] pnp_device_probe+0x74/0x94
 [<e09eb036>] visor_open+0x36/0x1c6 [visor]
 [<e09c7369>] serial_open+0xbc/0x14f [usbserial]
 [<c01ea00e>] tty_open+0x211/0x288
 [<c015894a>] chrdev_open+0xe9/0x1c2
 [<c014ffdd>] dentry_open+0x134/0x210
 [<c014fea7>] filp_open+0x4c/0x4e
 [<c01500e5>] get_unused_fd+0x2c/0xce
 [<c0150239>] sys_open+0x3c/0x76
 [<c0105ecb>] syscall_call+0x7/0xb
usb 4-2: USB disconnect, address 2
visor 4-2:1.0: device disconnected

Best wishes

Norbert

-------------------------------------------------------------------------------
Norbert Preining <preining AT logic DOT at>         Technische Universität Wien
gpg DSA: 0x09C5B094      fp: 14DF 2E6C 0307 BE6D AD76  A9C0 D2BF 4AA3 09C5 B094
-------------------------------------------------------------------------------
CORSTORPHINE (n.)
A very short peremptory service held in monasteries prior to teatime
to offer thanks for the benediction of digestive biscuits.
			--- Douglas Adams, The Meaning of Liff

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2004-12-29 23:12 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-12-14 22:29 cannot eject drive using pktcdvd Vince
2004-12-22 23:04 ` Peter Osterlund
2004-12-23 11:32   ` Norbert Preining
2004-12-29 23:11     ` Peter Osterlund
  -- strict thread matches above, loose matches on Subject: below --
2004-10-25 14:48 2.6.9-mm1, kernel Ooops in visor_open Norbert Preining
2004-10-26  4:43 ` Greg KH
2004-11-02  6:38   ` Norbert Preining
2004-11-05 23:10     ` Greg KH
2004-11-06  9:32       ` Norbert Preining

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.