lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <4A336ECB.1080909@o2.pl>
Date:	Sat, 13 Jun 2009 11:18:03 +0200
From:	Warpme <warpme@...pl>
To:	linux kernel <linux-kernel@...r.kernel.org>
Subject: 2.6.28 -> 2.6.30 migration issue

Hi *

I just migrate from 2.6.28.10 to 2.6.30 and have following issue:

In 2.6.28.10 (and earlier kernels) listing of /sys/class/lirc/lirc0/device/
gives me following ouptput:

-----------------------------------------------------
access      user      group     date             size  name

drwxr-xr-x  root      root      Jun 13 08:14    <DIR>  ..
drwxr-xr-x  root      root      Jun 13 08:14    <DIR>  3-1:1.0
drwxr-xr-x  root      root      Jun 13 08:14    <DIR>  driver
drwxr-xr-x  root      root      Jun 13 08:14    <DIR>  ep_00
drwxr-xr-x  root      root      Jun 13 08:14    <DIR>  lirc
drwxr-xr-x  root      root      Jun 13 08:14    <DIR>  power
drwxr-xr-x  root      root      Jun 13 08:14    <DIR>  subsystem
drwxr-xr-x  root      root      Jun 13 08:14    <DIR>  usb_device
drwxr-xr-x  root      root      Jun 13 08:14    <DIR>  usb_endpoint
-rw-r--r--  root      root      Jun 13 08:14  4096  B  authorized
-rw-r--r--  root      root      Jun 13 08:14  4096  B  bConfigurationValue
-r--r--r--  root      root      Jun 13 08:14  4096  B  bDeviceClass
-r--r--r--  root      root      Jun 13 08:14  4096  B  bDeviceProtocol
-r--r--r--  root      root      Jun 13 08:14  4096  B  bDeviceSubClass
-r--r--r--  root      root      Jun 13 08:14  4096  B  bMaxPacketSize0
-r--r--r--  root      root      Jun 13 08:14  4096  B  bMaxPower
-r--r--r--  root      root      Jun 13 08:14  4096  B  bNumConfigurations
-r--r--r--  root      root      Jun 13 08:14  4096  B  bNumInterfaces
-r--r--r--  root      root      Jun 13 08:14  4096  B  bcdDevice
-r--r--r--  root      root      Jun 13 08:14  4096  B  bmAttributes
-r--r--r--  root      root      Jun 13 08:14  4096  B  busnum
-r--r--r--  root      root      Jun 13 08:14  4096  B  configuration
-r--r--r--  root      root      Jun 13 08:14    64 kB  descriptors
-r--r--r--  root      root      Jun 13 08:14  4096  B  dev
-r--r--r--  root      root      Jun 13 08:14  4096  B  devnum
-r--r--r--  root      root      Jun 13 08:14  4096  B  idProduct
-r--r--r--  root      root      Jun 13 08:14  4096  B  idVendor
-r--r--r--  root      root      Jun 13 08:14  4096  B  manufacturer
-r--r--r--  root      root      Jun 13 08:14  4096  B  maxchild
-r--r--r--  root      root      Jun 13 08:14  4096  B  product
-r--r--r--  root      root      Jun 13 08:14  4096  B  quirks
-r--r--r--  root      root      Jun 13 08:14  4096  B  serial
-r--r--r--  root      root      Jun 13 08:14  4096  B  speed
-rw-r--r--  root      root      Jun 13 08:14  4096  B  uevent
-r--r--r--  root      root      Jun 13 08:14  4096  B  urbnum
-r--r--r--  root      root      Jun 13 08:14  4096  B  version
--------------------------------------------------------

In 2.6.30 listing of /sys/class/lirc/lirc0/device/ gives me:

--------------------------------------------------------
access      user      group     date             size  name

drwxr-xr-x  root      root      Jun 13 08:18    <DIR>  ..
drwxr-xr-x  root      root      Jun 13 08:18    <DIR>  driver
drwxr-xr-x  root      root      Jun 13 08:18    <DIR>  ep_01
drwxr-xr-x  root      root      Jun 13 08:18    <DIR>  ep_81
drwxr-xr-x  root      root      Jun 13 08:18    <DIR>  input
drwxr-xr-x  root      root      Jun 13 08:18    <DIR>  lirc
drwxr-xr-x  root      root      Jun 13 08:18    <DIR>  power
drwxr-xr-x  root      root      Jun 13 08:18    <DIR>  subsystem
drwxr-xr-x  root      root      Jun 13 08:18    <DIR>  usb_endpoint
-r--r--r--  root      root      Jun 13 08:18  4096  B  bAlternateSetting
-r--r--r--  root      root      Jun 13 08:18  4096  B  bInterfaceClass
-r--r--r--  root      root      Jun 13 08:18  4096  B  bInterfaceNumber
-r--r--r--  root      root      Jun 13 08:18  4096  B  bInterfaceProtocol
-r--r--r--  root      root      Jun 13 08:18  4096  B  bInterfaceSubClass
-r--r--r--  root      root      Jun 13 08:18  4096  B  bNumEndpoints
-r--r--r--  root      root      Jun 13 08:18  4096  B  modalias
-r--r--r--  root      root      Jun 13 08:18  4096  B  supports_autosuspend
-rw-r--r--  root      root      Jun 13 08:18  4096  B  uevent
------------------------------------------------------------

As You see, in 2.6.30 there is no entry like busnum.

As my initscripts relay on this entry  - I have issue with my system 
initialization.

Is above difference and intentional incomparability between 2.6.28 and 
2.6.30 kernels or it is rather result of my environment (i.e. something 
in kernel config should be changed) .

Thx in advance
 


View attachment "warpme.vcf" of type "text/x-vcard" (84 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ