Firmware Version is invalid in /proc/driver/cciss/cciss0
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Fix Released
|
Medium
|
Unassigned | ||
Intrepid |
Fix Released
|
Low
|
Unassigned |
Bug Description
Binary package hint: linux-image-
While testing intrepid on an HP DL380G5, I noticed that the Firmware Version was not displayed in /proc/driver/
-------
bryan@ian:~$ cat /proc/driver/
cciss0: HP Smart Array P400 Controller
Board ID: 0x3234103c
Firmware Version:
IRQ: 2290
Logical drives: 1
Current Q depth: 0
Current # commands on controller: 0
Max Q depth since init: 8
Max # commands on controller since init: 19
Max SG entries since init: 31
Sequential access devices: 0
cciss/c0d0: 220.12GB RAID 5
-------
Using hexdump it appears that the firmware version is being displayed as four null characters:
-------
bryan@ian:~$ hexdump -C /proc/driver/
00000000 63 63 69 73 73 30 3a 20 48 50 20 53 6d 61 72 74 |cciss0: HP Smart|
00000010 20 41 72 72 61 79 20 50 34 30 30 20 43 6f 6e 74 | Array P400 Cont|
00000020 72 6f 6c 6c 65 72 0a 42 6f 61 72 64 20 49 44 3a |roller.Board ID:|
00000030 20 30 78 33 32 33 34 31 30 33 63 0a 46 69 72 6d | 0x3234103c.Firm|
00000040 77 61 72 65 20 56 65 72 73 69 6f 6e 3a 20 00 00 |ware Version: ..|
00000050 00 00 0a 49 52 51 3a 20 32 32 39 30 0a 4c 6f 67 |...IRQ: 2290.Log|
00000060 69 63 61 6c 20 64 72 69 76 65 73 3a 20 31 0a 43 |ical drives: 1.C|
00000070 75 72 72 65 6e 74 20 51 20 64 65 70 74 68 3a 20 |urrent Q depth: |
00000080 30 0a 43 75 72 72 65 6e 74 20 23 20 63 6f 6d 6d |0.Current # comm|
00000090 61 6e 64 73 20 6f 6e 20 63 6f 6e 74 72 6f 6c 6c |ands on controll|
000000a0 65 72 3a 20 31 0a 4d 61 78 20 51 20 64 65 70 74 |er: 1.Max Q dept|
000000b0 68 20 73 69 6e 63 65 20 69 6e 69 74 3a 20 38 0a |h since init: 8.|
000000c0 4d 61 78 20 23 20 63 6f 6d 6d 61 6e 64 73 20 6f |Max # commands o|
000000d0 6e 20 63 6f 6e 74 72 6f 6c 6c 65 72 20 73 69 6e |n controller sin|
000000e0 63 65 20 69 6e 69 74 3a 20 31 39 0a 4d 61 78 20 |ce init: 19.Max |
000000f0 53 47 20 65 6e 74 72 69 65 73 20 73 69 6e 63 65 |SG entries since|
00000100 20 69 6e 69 74 3a 20 33 31 0a 53 65 71 75 65 6e | init: 31.Sequen|
00000110 74 69 61 6c 20 61 63 63 65 73 73 20 64 65 76 69 |tial access devi|
00000120 63 65 73 3a 20 30 0a 0a 63 63 69 73 73 2f 63 30 |ces: 0..cciss/c0|
00000130 64 30 3a 09 20 32 32 30 2e 31 32 47 42 09 52 41 |d0:. 220.12GB.RA|
00000140 49 44 20 35 0a |ID 5.|
00000145
-------
The attached patch fixes this problem.
CVE References
Changed in linux: | |
status: | Fix Committed → Fix Released |
Changed in linux: | |
status: | Fix Released → Fix Committed |
Changed in linux (Ubuntu Intrepid): | |
assignee: | Tim Gardner (timg-tpi) → nobody |
status: | Fix Committed → Fix Released |
Hi Bryan,
Just wanted to let you know the kernel is currently frozen for Intrepid. However, this may qualify for an Intrepid SRU and can definitely be looked at for Jaunty. Thanks.